Font Size: a A A

Research And Implementation Of A Hot Update Scheme For Android Mobile Applications

Posted on:2019-09-25Degree:MasterType:Thesis
Country:ChinaCandidate:J Z ZhaoFull Text:PDF
GTID:2428330548480195Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet,mobile applications have become an indispensable part of people's daily life.In the mobile application development process often encounter the following two issues:First,the release of new features each need to publish a new version,users download and install the full installation package can be used;Second,the new version after the release,If the application can not be used normally due to code or resource errors,developers need to republish after an urgent repair error.Therefore,how to achieve a better Android mobile application update solution is a hot topic in the industry.This thesis combines the repair technology and plug-in technology to update Android mobile application development,the main work includes:(1)This thesis has designed the Android application client hot update framework including Gradle plug-in module,patch check and verify module and patch loading module,and Android application server hot patch including patch distribution platform module,MIS management platform module and patch storage module frame.(2)Patch synthesis uses a class-based full Dex composition scheme,Dalvik virtual machine adopts the scheme of removing the Dex class definition of the reference package,and the ART virtual machine adopts the scheme of changing the Dex and the Dex file names of the benchmark package Dex and the patch file to avoid the benchmark Package Dex and Package Dex Dex complete synthesis of the performance loss caused by.The patch generation draws on the DexDiff algorithm,which expands the comparative granularity of patch generation from each Section within a Dex file to a class level.(3)In addition to supporting the basic hot fixes such as class repair,resource recovery and SO repair,the program also adds support for the four newly added components to implement the hot update function.(4)The solution was designed and implemented in detail.The entire process of patch generation,patch configuration,patch delivery,patch synthesis,patch loading,and patch management was implemented and tested.The hot update scheme proposed in this thesis has realized the dynamic delivery of the patch file,real-time management and dynamic loading,and also supports the dynamic update of components.The actual use shows that the program has good application effect.
Keywords/Search Tags:Hot Update, Mobile Application, Patch
PDF Full Text Request
Related items