基于Android平臺(tái)OTA增量升級(jí)系統(tǒng)研究與設(shè)計(jì)
本文關(guān)鍵詞:基于Android平臺(tái)OTA增量升級(jí)系統(tǒng)研究與設(shè)計(jì) 出處:《江蘇大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: Android OTA 增量升級(jí) BSDiff Recovery機(jī)制
【摘要】:隨著現(xiàn)代工業(yè)及移動(dòng)通信技術(shù)的快速發(fā)展,智能手機(jī)的使用范圍已經(jīng)遍布全世界。Android系統(tǒng)具有良好的開放性和平臺(tái)開發(fā)的便捷性,因此越來(lái)越多的智能手機(jī)采用Android系統(tǒng)作為手機(jī)操作系統(tǒng)。由于bug的修復(fù)和新特性的加入使得系統(tǒng)升級(jí)變得非常頻繁,同時(shí),用戶對(duì)系統(tǒng)運(yùn)行的流暢程度和安全性等要求越來(lái)越高,這導(dǎo)致系統(tǒng)升級(jí)的文件不斷增大。目前各大手機(jī)生產(chǎn)廠商提供的系統(tǒng)升級(jí)方式各不相同,大多數(shù)采用全量升級(jí)的方式,此方式數(shù)據(jù)量大,下載耗時(shí)長(zhǎng),安裝升級(jí)文件的過(guò)程中容易出現(xiàn)設(shè)備電池耗盡等異常情況,導(dǎo)致升級(jí)失敗造成系統(tǒng)崩潰;部分采用增量升級(jí)的方式,但是大部分升級(jí)機(jī)制不完善,存在安全漏洞。本文針對(duì)手機(jī)系統(tǒng)升級(jí)的現(xiàn)狀,結(jié)合南京某通訊設(shè)備生產(chǎn)企業(yè)的實(shí)際需求,對(duì)基于Android平臺(tái)的OTA增量升級(jí)系統(tǒng)進(jìn)行了相關(guān)的研究和設(shè)計(jì)。本文圍繞增量升級(jí)的原理,對(duì)基于二進(jìn)制文件的差分算法進(jìn)行研究,對(duì)比多種差分算法的效率及性能,最終采用BSDiff算法實(shí)現(xiàn)增量升級(jí)文件的制作并提出了一種服務(wù)器端自動(dòng)制作增量升級(jí)文件的方法。然后結(jié)合Java Web開發(fā)技術(shù)和Android開發(fā)技術(shù),設(shè)計(jì)了一種基于Android平臺(tái)的OTA增量升級(jí)系統(tǒng)。針對(duì)升級(jí)過(guò)程中的安全漏洞,本文設(shè)計(jì)了多種安全防護(hù)機(jī)制,其中服務(wù)器端設(shè)計(jì)了負(fù)載均衡、雙機(jī)熱備、動(dòng)態(tài)身份驗(yàn)證及帶寬控制的方案,保證數(shù)據(jù)存儲(chǔ)及傳輸?shù)陌踩?并且極大地提高了服務(wù)器的并發(fā)處理能力。并且使用MD5數(shù)字簽名算法校驗(yàn)增量文件的完整性,移動(dòng)終端使用Recovery機(jī)制安裝升級(jí)文件,確保升級(jí)失敗時(shí)不會(huì)導(dǎo)致系統(tǒng)崩潰;贛TK6735和MTK6592硬件平臺(tái)實(shí)現(xiàn)該方案,測(cè)試結(jié)果表明,本系統(tǒng)的設(shè)計(jì)方案是可行的,能夠?qū)崿F(xiàn)手機(jī)操作系統(tǒng)的增量升級(jí),減少了用戶下載數(shù)據(jù)量和安裝升級(jí)的時(shí)間,并且極大地提高了OTA增量升級(jí)的安全性。
[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é)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP311.52;TP316
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 張宇杰;;基于Android平臺(tái)智能手機(jī)在線升級(jí)技術(shù)的改進(jìn)與實(shí)現(xiàn)[J];電子質(zhì)量;2017年01期
2 王懷彬;馬艷發(fā);王春東;;基于ModSecurity防火墻的入侵檢測(cè)模型研究與改進(jìn)[J];南開大學(xué)學(xué)報(bào)(自然科學(xué)版);2016年06期
3 郝平;林原沖;;一種移動(dòng)網(wǎng)絡(luò)下基于雙時(shí)間戳的數(shù)據(jù)增量同步研究[J];計(jì)算機(jī)應(yīng)用與軟件;2016年04期
4 韋博華;;Android手機(jī)Recovery模式取證方法研究[J];信息通信;2015年09期
5 高迪;陳偉;吳震雄;;一種針對(duì)AOSP公開簽名漏洞的快速檢測(cè)方法[J];計(jì)算機(jī)技術(shù)與發(fā)展;2015年09期
6 方冬蓉;張秋余;董瑞洪;文森;;Android系統(tǒng)刪除數(shù)據(jù)恢復(fù)方法研究[J];計(jì)算機(jī)工程;2014年10期
7 蔡潔;;基于高通平臺(tái)的Android系統(tǒng)分區(qū)管理[J];硅谷;2014年19期
8 張敏;韓俊剛;李濤;;基于Android平臺(tái)差異化增量更新的實(shí)現(xiàn)[J];西安郵電大學(xué)學(xué)報(bào);2014年01期
9 劉韜;王文東;;移動(dòng)互聯(lián)網(wǎng)終端技術(shù)[J];中興通訊技術(shù);2012年03期
10 劉宇;戴鴻君;郭鳳華;趙國(guó)玲;;Android平臺(tái)可增量同步的網(wǎng)絡(luò)應(yīng)用協(xié)議[J];計(jì)算機(jī)工程;2011年18期
相關(guān)碩士學(xué)位論文 前3條
1 王鵬程;Android智能手機(jī)信息安全研究[D];中國(guó)海洋大學(xué);2013年
2 張亮;基于MTK平臺(tái)的手機(jī)系統(tǒng)備份與還原[D];上海交通大學(xué);2012年
3 劉敏;移動(dòng)終端的Android移植與應(yīng)用程序設(shè)計(jì)[D];西安電子科技大學(xué);2011年
,本文編號(hào):1341600
本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1341600.html