Font Size: a A A

The Design And Implementation Of Enterprise Mobile Informatization Platform Based On Hybrid Pattern

Posted on:2019-10-13Degree:MasterType:Thesis
Country:ChinaCandidate:L MaoFull Text:PDF
GTID:2428330590992409Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the intense market competition,how to raise the working efficiency and improve the delicacy management are the primary driving factors of enterprise informatization construction.With the popularity of the intelligent device and the development of the mobile network in recent years,the enterprise application transforms the traditional informatization into the mobile informatization.There are a wide variety of intelligent devices on the market,such as iOS-and Android-based ones,but they are incompatible with each other.Mobile app developers have to invoke the various APIs from each operating system,which results in long development cycle,decreases productivity,increases the development costs,and so on.In order to address these problems,Hybrid Pattern,a new mobile application development pattern based on HTML5,is emerging.Due to the portability and easy-to-learn,hybrid pattern gets the favor of the developer.The hybrid pattern takes advantage of the built-in component of Web-Browsers to render HTML5 pages and executes JavaScript code.Different from the Native App development pattern,Hybrid App development pattern includes both web scripts for business logic and native codes for accessing operating system APIs,in which the Web-View component provides several kinds of bridging mechanisms for communication between Web scripts and native codes.There are also some side-effects in the hybrid pattern,such as negative impact on performance and security.The impact on performance of the hybrid pattern is mainly generated in UI-Stuttering.Instead of the native pattern,the hybrid pattern uses the browser built-in component to load and render UI,the performance does relatively come down.The impact on security of the hybrid pattern is mainly caused when some new features are introduced by Web-View.The Web-Files in the hybrid app can access native resources,but there isn't any security mechanism to control the communication between the Web-Layer and Native-Layer.This thesis comes up with the design and implementation of the enterprise mobile platform which is based on Hybrid Pattern.This platform provides a mobile portal to centralize the administration of all kinds of mobile applications,including application installation,upgrade,and uninstallation.Authorization management determines what kind of user have authority to access the appropriate applications.In addition,user login,information push and contacts management are also integrated into this platform.By mobile portal,various applications are under unified control.Meanwhile,because the hybrid pattern is based on HTML5,the business application only needs to be implemented by Web Layer without worry about various mobile operating systems.Consequently,it can help enterprises to save costs and improve development efficiency.First of all,this thesis describes the solution to optimization of performance and security in the hybrid pattern based on Apache Cordova.As for performance,this paper put forward two optimized mechanisms: differentiation update and offline data cache.In differentiation update mechanism,all files will be divided into some kind of parts by business catalog.When business application needs to be updated,with bsdiff algorithm,we can create a differentiation package,the mobile clients only need to download this differentiation package,and then the latest version of codes will be merged with it by bspatch algorithm.The cost of network flow has a remarkable improvement by this mechanism and the download is speeded up.In offline data cache mechanism,the web layer data are stored in the mobile device by Apache Cordova plug-in.This mechanism ensures the data integrity and then the data will be loaded from local storage,raising the data loading speed.As for security,this thesis proposes an access control mechanism of Apache Cordova plug-in.Web pages need to have the access of authority to visit the Cordova plug-in,which is loaded in hybrid applications,so that the web codes is constrained to invoke the native resources.In the end of this thesis,the test result for the optimized mobile portal is demonstrated from two aspects.Firstly,the tests for the three optimization mechanisms are performed and the their effectiveness is validated.Secondly,compared with native Apache Cordova development application,the impact on performance of the reformed framework is analyzed.The test and analysis proves that the optimization mechanism is feasible,and the reformed framework has no obvious influence on the performance of the application.
Keywords/Search Tags:Enterprise Mobile Informatization, Apache Cordova, Hybrid Application, Performance Optimization, Security
PDF Full Text Request
Related items