Font Size: a A A

Research And Design Of Hot Update Management System On Android

Posted on:2019-08-31Degree:MasterType:Thesis
Country:ChinaCandidate:X ZhangFull Text:PDF
GTID:2428330572450223Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In order to gain the favor of customers under the fierce market competition,internet companies need to update the products periodically to provide new features and a better user experience after releasing mobile applications to the Application Store.The traditional method for mobile application update requires the user to manually download the new version of software and reinstall it.This kind of update consumes large amounts of traffic and slows down product conversion cycles,which has a serious impact on the expansion of new features and bug fixing.Therefore,it is imperative to study hot update technologies and solutions for mobile applications to cover all the scenarios in mobile application updates.This paper first analyzes the current development of mobile application update technology under the Android platform,elaborates the existing hot update solutions and their inherited deficiencies,and points out the research objectives of this paper.Meanwhile,Android system related theory and technology are introduced,including the process of application compiling and installation,class loading mechanism,and JNI technology.Second,a comprehensive description of the hot update technology solutions are given,combined with the composition structure of Android application,which supports the update of Java method Code,dynamic link library,application resources,as well as new business functions,an hence can cover the common scenarios of update.The technical solution can ensure that the original Android application development process is not affected,and update is only reflected in the process of patch detection and downloading when the application is started,and the user is unware for the application update process.Then,a hot update software system is designed and implemented,including server side and client side.The server is responsible for the creation and management of patches.Patches of corresponding formats are created for different types of update data,making them easier for clients to parse.Meanwhile,the patch volume needs to be controlled within a smaller range,so as to improve the speed for client application to download and load the patch.In order to achieve dynamic replacement,the code loading and resource loading process in the Android application are thoroughly studied to find the appropriate interception point in the loading process,and loading the code in the patch is preformed by intercepting the process callinglocal method.A set of client-server interaction protocols are designed and implemented,which enable clients with different versions of the application to obtain a corresponding patch.The server can dynamically control the installation or uninstallation of patches.The security of protocol transmission is guaranteed by the HTTPS protocol.Finally,a test environment is set up to verify the function and performance of the system.By developing dedicated test applications for mainstream Andoird 4.4/5.0/6.0 phones,we design user cases covering the above four application update scenarios.The test results show that the expected goal of the system function and performance is achieved.
Keywords/Search Tags:Android Application, hot update, method interception, resource replacement
PDF Full Text Request
Related items