The invention discloses an upgrade method based on a customized Android system. The invention includes: in two separate partitions based on adding custom Android systems with the same source: boardInfo partition and custom partitions, used to store the hardware configuration information and custom information, the original Android system to maintain consistent partition in customizing different configurations of the system; the customization system upgrade is divided into: the original partition upgrade custom and the Android system upgrade, the two are independent of each other, there is no need to upgrade boardInfo partition; upgrade custom, different configurations of the system using different upgrade package, use the way of replacing system files upgrade; the original partition Android system upgrade, all the different configurations of the customization system share the same upgrade package, upgrade upgrade Android standard system. By adding the stored difference in content, the original partition of unity of content and share a common upgrade package, optimize the upgrading of management strategy with multi branch system source code based on a firmware upgrade, greatly reducing management difficulty.
【技術實現步驟摘要】
一種基于定制Android系統的升級方法
本專利技術涉及Android
,尤其涉及一種基于定制Android系統的升級方法。
技術介紹
Android系統經過Google及開放手持設備聯盟多年的開發,早已形成一整套成熟穩定的升級流程。現有Android系統標準升級策略有兩種升級方式:完整包升級和差分包升級。完整包升級基本可以對于同一系列的所有產品進行升級,但每一個完整包都很大,大小為300MB或500MB都很正常。如果每一次升級都使用完整包,不僅會因為升級時間長而造成糟糕的用戶體驗,也會對OTA升級服務器造成巨大的壓力,從而增加OTA服務器的投入成本。差分包升級只是對系統中變化的部分進行增量升級,在同種條件下對比完整升級包,體量上是顯得非常小了,但其缺點是只能一對一進行升級,一個升級包只能對與其對應Android系統的某一個版本進行升級,這導致了多產品線Android設備的升級管理流程變得相當復雜,必須為每一款不同軟硬件Android系統維持一條系統升級管理線,而這會隨著Android系統版本的更新指數式增加升級管理難度。
技術實現思路
基于此,本專利技術提供了一種基于定制Android系統的升級方法,優化了基于同一Android系統源碼多分支固件的升級管理策略,很大程度上減輕了升級管理難度。本專利技術解決其技術問題所采用的技術方案是:在基于同一系統源碼的定制Android系統上(以下所指定制系統都是指基于同一系統源碼的定制Android系統)增設兩個獨立分區:boardInfo分區和custom分區,將boardInfo分區和custom分區以外的分區 ...
【技術保護點】
一種基于定制Android系統的升級方法,其特征在于,包括:定制Android系統是指基于同一系統源碼的定制Android系統;在定制Android系統上增設兩個獨立分區:boardInfo分區和custom分區,將boardInfo分區和custom分區以外的分區(boot、system等)統稱為Android系統原有分區,boardInfo分區無需升級,custom分區和Android系統原有分區分別進行升級。
【技術特征摘要】
1.一種基于定制Android系統的升級方法,其特征在于,包括:定制Android系統是指基于同一系統源碼的定制Android系統;在定制Android系統上增設兩個獨立分區:boardInfo分區和custom分區,將boardInfo分區和custom分區以外的分區(boot、system等)統稱為Android系統原有分區,boardInfo分區無需升級,custom分區和Android系統原有分區分別進行升級。2.根據權利要求1所述的一種基于定制Android系統的升級方法,其特征在于,所述的boardInfo分區,用于存放不同機型的硬件配置信息,其內容在rom第一次燒寫完成后不再改變,無需升級。3.根據權利要求1和2所述的一種基于定制Android系統的升級方法,其特征在于,所述的boardInfo分區,在Android系統啟動過程中會被讀取,并根據所讀配置信息加載相應的硬件驅動。4.根據權利要求1所述的一種基于定制Android系統的升級方法,其特征在于,所述的custom分區,用于存放系統配置信息以及客戶定制...
【專利技術屬性】
技術研發人員:魏子恒,
申請(專利權)人:珠海我愛拍科技有限公司,
類型:發明
國別省市:廣東,44
還沒有人留言評論。發表了對其他瀏覽者有用的留言會獲得科技券。