基于Android平臺OTA增量升級系統(tǒng)研究與設(shè)計
本文關(guān)鍵詞:基于Android平臺OTA增量升級系統(tǒng)研究與設(shè)計 出處:《江蘇大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: Android OTA 增量升級 BSDiff Recovery機制
【摘要】:隨著現(xiàn)代工業(yè)及移動通信技術(shù)的快速發(fā)展,智能手機的使用范圍已經(jīng)遍布全世界。Android系統(tǒng)具有良好的開放性和平臺開發(fā)的便捷性,因此越來越多的智能手機采用Android系統(tǒng)作為手機操作系統(tǒng)。由于bug的修復(fù)和新特性的加入使得系統(tǒng)升級變得非常頻繁,同時,用戶對系統(tǒng)運行的流暢程度和安全性等要求越來越高,這導(dǎo)致系統(tǒng)升級的文件不斷增大。目前各大手機生產(chǎn)廠商提供的系統(tǒng)升級方式各不相同,大多數(shù)采用全量升級的方式,此方式數(shù)據(jù)量大,下載耗時長,安裝升級文件的過程中容易出現(xiàn)設(shè)備電池耗盡等異常情況,導(dǎo)致升級失敗造成系統(tǒng)崩潰;部分采用增量升級的方式,但是大部分升級機制不完善,存在安全漏洞。本文針對手機系統(tǒng)升級的現(xiàn)狀,結(jié)合南京某通訊設(shè)備生產(chǎn)企業(yè)的實際需求,對基于Android平臺的OTA增量升級系統(tǒng)進(jìn)行了相關(guān)的研究和設(shè)計。本文圍繞增量升級的原理,對基于二進(jìn)制文件的差分算法進(jìn)行研究,對比多種差分算法的效率及性能,最終采用BSDiff算法實現(xiàn)增量升級文件的制作并提出了一種服務(wù)器端自動制作增量升級文件的方法。然后結(jié)合Java Web開發(fā)技術(shù)和Android開發(fā)技術(shù),設(shè)計了一種基于Android平臺的OTA增量升級系統(tǒng)。針對升級過程中的安全漏洞,本文設(shè)計了多種安全防護(hù)機制,其中服務(wù)器端設(shè)計了負(fù)載均衡、雙機熱備、動態(tài)身份驗證及帶寬控制的方案,保證數(shù)據(jù)存儲及傳輸?shù)陌踩?并且極大地提高了服務(wù)器的并發(fā)處理能力。并且使用MD5數(shù)字簽名算法校驗增量文件的完整性,移動終端使用Recovery機制安裝升級文件,確保升級失敗時不會導(dǎo)致系統(tǒng)崩潰。基于MTK6735和MTK6592硬件平臺實現(xiàn)該方案,測試結(jié)果表明,本系統(tǒng)的設(shè)計方案是可行的,能夠?qū)崿F(xiàn)手機操作系統(tǒng)的增量升級,減少了用戶下載數(shù)據(jù)量和安裝升級的時間,并且極大地提高了OTA增量升級的安全性。
[Abstract]:With the rapid development of modern industry and mobile communication technology, the scope of the use of smart phones has been spread all over the world. Android system has a good openness and the convenience of the development of the platform, so more and more smart phones use the Android system as a mobile operating system. Due to the repair and new features of bug, the upgrading of the system is becoming more frequent. Meanwhile, users have more and more requirements for the smooth and safe operation of the system, which results in the increasing of the files upgraded by the system. System is currently the major mobile phone manufacturers to provide upgrades in different ways, most using the full amount of upgrade, the large amount of data, the download time long, equipment and other anomalies batteries appear easily upgrade files installed, led to the escalation of failure causing the system to crash; part of the incremental upgrade, but most the upgrade mechanism is not perfect, there are security vulnerabilities. Aiming at the current situation of mobile phone system upgrading, combined with the actual needs of a communication equipment manufacturer in Nanjing, this paper researches and designs the OTA incremental upgrading system based on Android platform. This paper focuses on the principle of incremental upgrade, the binary file based differential algorithm, compared to a variety of poor efficiency and performance of the algorithm, the BSDiff algorithm is adopted to realize the production of incremental upgrade file and put forward a method of making server end automatic incremental upgrade file. Then, combining Java Web development technology and Android development technology, a OTA incremental upgrading system based on Android platform is designed. For security vulnerabilities in the upgrade process, this paper designed a variety of security mechanisms, including the design of server load balancing, hot standby, dynamic authentication and bandwidth control scheme, to ensure the safety of data storage and transmission, and greatly improve the concurrent processing capability for service. The MD5 digital signature algorithm is used to check the integrity of the incremental file. The mobile terminal installs the upgrade file using the Recovery mechanism, ensuring that the failure of the upgrade will not cause the system to crash. The implementation scheme of MTK6735 and MTK6592 based on the hardware platform, the test results show that the design scheme of this system is feasible, can achieve incremental mobile phone operating system upgrades, reduce the amount of data and users to download and install the upgrade time, and greatly improve the safety level of the incremental rise OTA.
【學(xué)位授予單位】:江蘇大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP311.52;TP316
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 張宇杰;;基于Android平臺智能手機在線升級技術(shù)的改進(jìn)與實現(xiàn)[J];電子質(zhì)量;2017年01期
2 王懷彬;馬艷發(fā);王春東;;基于ModSecurity防火墻的入侵檢測模型研究與改進(jìn)[J];南開大學(xué)學(xué)報(自然科學(xué)版);2016年06期
3 郝平;林原沖;;一種移動網(wǎng)絡(luò)下基于雙時間戳的數(shù)據(jù)增量同步研究[J];計算機應(yīng)用與軟件;2016年04期
4 韋博華;;Android手機Recovery模式取證方法研究[J];信息通信;2015年09期
5 高迪;陳偉;吳震雄;;一種針對AOSP公開簽名漏洞的快速檢測方法[J];計算機技術(shù)與發(fā)展;2015年09期
6 方冬蓉;張秋余;董瑞洪;文森;;Android系統(tǒng)刪除數(shù)據(jù)恢復(fù)方法研究[J];計算機工程;2014年10期
7 蔡潔;;基于高通平臺的Android系統(tǒng)分區(qū)管理[J];硅谷;2014年19期
8 張敏;韓俊剛;李濤;;基于Android平臺差異化增量更新的實現(xiàn)[J];西安郵電大學(xué)學(xué)報;2014年01期
9 劉韜;王文東;;移動互聯(lián)網(wǎng)終端技術(shù)[J];中興通訊技術(shù);2012年03期
10 劉宇;戴鴻君;郭鳳華;趙國玲;;Android平臺可增量同步的網(wǎng)絡(luò)應(yīng)用協(xié)議[J];計算機工程;2011年18期
相關(guān)碩士學(xué)位論文 前3條
1 王鵬程;Android智能手機信息安全研究[D];中國海洋大學(xué);2013年
2 張亮;基于MTK平臺的手機系統(tǒng)備份與還原[D];上海交通大學(xué);2012年
3 劉敏;移動終端的Android移植與應(yīng)用程序設(shè)計[D];西安電子科技大學(xué);2011年
,本文編號:1341600
本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1341600.html