Font Size: a A A

Design And Implementation Of The Componentized Mobile Application Middleware

Posted on:2016-11-09Degree:MasterType:Thesis
Country:ChinaCandidate:L L MengFull Text:PDF
GTID:2348330503994316Subject:Software engineering
Abstract/Summary:PDF Full Text Request
As mobile smart terminals develop and spread,3G/4G and WLAN coverage has been expanding and mobile Internet gets a rapid development. While people depend on mobile apps more and more, it leads to the increasing demand for apps with specific functions and of different fields. Presently, there are two kinds of problems we have to address. One is that there exists tremendous workload for mobile developers caused by mobile terminal difference, variety and adaption. The other is that the present mobile development framework is not efficient and perfect enough in spite of the great demand for app market. The two problems are the main factors that restrict the development of the current mobile Internet.To address these problems descripted above, this paper, based on a practical project of a real mobile network corporation (W company) and aimed at cross-platform problems, describes how to build a mobile applications middleware system (WMM Middleware). WMM middleware can customize application functions dexterously by means of function component. Besides it provides mobile application development framework by user-defined wdml file specifications and batch self-construction. It also comes up with underlying service of function interface and consistent package, and designs and builds a component-based mobile middleware system through application framework packaging and component management. WMM middleware uses hierarchical design method, and there are 3 layers including adaptation layer, component layer and framework layer.The main research and work in this paper are as follow:1. wdml file specifications in user-defined script. XML node description and lua logical function are included in a wdml file. So developers only need to do the XML file of describing control and lua scripts of page logic operation to accomplish the development.2. Installation package design of self-construction. The self-construction discussed in this paper is mainly used in opening the package after development. Related codes can be called, compiled, packaged and deleted automatically by operating run.dat. Human-made errors are reduced because of self-construction.3. Component manager dispatch and its realization. Component manager consists of script analysis and CMS dispatch. Component object handle, function names and their parameters can be obtained from script analysis. CMS dispatch module can find corresponding message handles in the process of analyzing scripts, and then transmits related messages to CMP interface control module which corresponds with the components' names, and finally accomplishes the calling of functional components.4. The functional module encapsulation. We take an player as an example to process component encapsulation, and realize the function of corresponding component manager interface and the must-be-implemented interfaces according to package, as well as methods of calling getIDsOfNames?invoke?getParamTypes?onMessage. The transmission of information and the callback of function can come true when calling application scripts.The paper finally develops some practical applications based on WMM middleware, and then tests them in functionality and performance. Meanwhile compares them with some existing similar applications developed by other engines to verify the real value of mobile middleware.
Keywords/Search Tags:mobile middleware, cross-platform, component, application framework, automated build
PDF Full Text Request
Related items