| With the rapid development of modern industry and mobile communication technology,the use of smart phones has been all over the world.As the Android system has a good openness and platform development convenience,more and more smart phones using Android system as a mobile phone operating system.Because the bug fixes and the addition of new features make the system upgrade very frequently,and users of the system running fluency and security requirements are getting higher and higher,resulting in system updates to upgrade files.At present,the major mobile phone manufacturers to provide different ways to upgrade the system,most of the way to use the full upgrade,this method of large amounts of data,download time-consuming,prone to equipment battery exhaustion and other abnormalities,resulting in failure to cause the system to crash in the process of installing the upgrade file.The other part of the incremental upgrade,but there are security risks easily lead to failure to upgrade.In this thesis,according to the status quo of mobile phone system upgrade,combined with the actual needs of a communications equipment manufacturing enterprises in Nanjing,the OTA incremental upgrade system based on Android platform has been studied and designed.Based on the principle of incremental upgrade,this thesis studies the difference algorithm based on binary file,compares the efficiency and performance of various differential algorithms,and finally uses BSDiff algorithm to realize the production of incremental upgrade file and proposes a server-side automatic production How to upgrade files.And then combined with Java Web development technology and Android development technology,designed an Android-based Incremental OTA Upgrade System.In view of the security vulnerabilities in the process of upgrading,this thesis designs a variety of security protection mechanisms,including server-side design load balancing,hot standby,dynamic authentication and bandwidth control programs to ensure data storage and transmission security and greatly Improve the server’s concurrent processing capabilities.And use the MD5 digital signature algorithm to verify the integrity of the incremental file.The mobile terminal uses the Recovery mechanism to install the upgrade file to ensure that the upgrade fails and does not cause the system to crash.In the MTK6735 and MTK6592 platform to achieve the program.The test results show that the design of the system is feasible,can achieve mobile phone operating system incremental upgrade,reducing user download data and upgrade time,and greatly improve the security of the OTA incremental upgrade process. |