CN106775650A - A kind of upgrade method based on customization android system - Google Patents

A kind of upgrade method based on customization android system Download PDF

Info

Publication number
CN106775650A
CN106775650A CN201611055110.3A CN201611055110A CN106775650A CN 106775650 A CN106775650 A CN 106775650A CN 201611055110 A CN201611055110 A CN 201611055110A CN 106775650 A CN106775650 A CN 106775650A
Authority
CN
China
Prior art keywords
android system
subregions
custom
subregion
android
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611055110.3A
Other languages
Chinese (zh)
Inventor
魏子恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai I Love Technology Co Ltd
Original Assignee
Zhuhai I Love Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai I Love Technology Co Ltd filed Critical Zhuhai I Love Technology Co Ltd
Priority to CN201611055110.3A priority Critical patent/CN106775650A/en
Publication of CN106775650A publication Critical patent/CN106775650A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of upgrade method based on customization android system.The invention includes:Two independent partitions are set up in the customization android system based on same source code:BoardInfo subregions and custom subregions, for depositing software-hardware configuration information and Customer subscription information, the original subregion of android system keeps content consistent in different configuration of custom-built system;Whole custom-built system upgrading is divided into:Custom subregions are upgraded and the original subregion upgrading of android system, both mutual independences, and boardInfo subregions are without upgrading;Custom subregions are upgraded, and different configuration of system uses different AKUs, and the mode using replacement system file is upgraded;The original subregion upgrading of android system, all different configuration of custom-built systems are shared same AKU, are upgraded using Android modular systems upgrading mode.The present invention deposits differentiation content by increasing subregion, and original subregion unified content simultaneously shares a mode for AKU, optimizes the updating and management strategy based on same system source code multiple-limb firmware, largely alleviates updating and management difficulty.

Description

A kind of upgrade method based on customization android system
Technical field
The present invention relates to Android technical fields, more particularly to a kind of upgrade method based on customization android system.
Background technology
Exploitation of the android system by Google and open handheld device alliance for many years, forms a whole set of ripe already The upgrading flow of stabilization.Existing android system standard upgrade strategy has two kinds of upgrading modes:Complete packet is upgraded and difference Bao Sheng Level.
Complete packet upgrading substantially can be for upgrading with a series of all products, but each complete packet is very Greatly, size is that 300MB or 500MB is very normal.If upgrade all using complete packet each time, not only can be long because of update time And bad Consumer's Experience is caused, huge pressure can be also caused to OTA upgrade servers, so as to increase the throwing of OTA servers Enter cost.
Part of the difference bag upgrading simply to changing in system carries out increment upgrading, and complete upgrading is contrasted under the conditions of of the same race Bag, is to seem very small in the scale of construction, but it has the disadvantage one-to-one to be upgraded, and an AKU can only be to corresponding Some version of android system is upgraded, and the updating and management flow which results in multiple product lines Android device becomes It is considerably complicated, it is necessary to be that system upgrade management line is maintained per a different soft and hard part android system, and this can be with The renewal exponential form of android system version increases updating and management difficulty.
The content of the invention
Based on this, the invention provides a kind of upgrade method based on customization android system, optimize based on same The updating and management strategy of android system source code multiple-limb firmware, largely alleviates updating and management difficulty.
The technical solution adopted for the present invention to solve the technical problems is:In the customization based on same system source code (signified custom-built system is all referring to the customization android system based on same system source code below) sets up two in android system Individual independent partitions:BoardInfo subregions and custom subregions, by the subregion beyond boardInfo subregions and custom subregions (boot, system etc.) is referred to as the original subregion of android system;Customization will be based in the original subregion of android system All hardware configuration aspect differentiation content be transferred to boardInfo subregions, all software aspects differentiation contents are transferred to Custom subregions so that the original subregion of android system all different soft and hard parts configure or different clients custom-built system Keep content consistent in system, boardInfo subregions storage hardware configuration information, custom subregion storage system configuration informations and Customer subscription information;Whole custom-built system upgrading is divided into:Custom subregions are upgraded and the original subregion upgrading of android system, and two Person is independent mutually, and boardInfo partition contents are constant all the time, without upgrading;Custom subregions, different configuration of custom-built system makes With different AKUs, scalable when Customization demand changes or client's pre-installed software has upgrade requirement, AKU is not Android system source code need to be based on, can be upgraded by client's self manufacture and management, the mode using replacement system file; The original subregion of android system, content is android system core content, all different soft and hard parts are configured or different clients Custom-built system, share same AKU, using Android modular systems upgrade mode upgrade.
The beneficial effects of the invention are as follows:Optimize the updating and management based on same android system source code multiple-limb firmware Strategy, differentiation content is deposited by increasing independent partitions in the android system based on same system source code, is made in core Hold (the original subregion of android system) different soft and hard part configure or different clients custom-built system in holding content one Cause, realize differentiation content and the mutual standalone upgrade of core content, and core content upgrading in different configurations on this basis Custom-built system in share an AKU, this largely alleviates updating and management difficulty, and differentiation updating content Bag can also be by client's self manufacture and management, and this is also very easy to client.
Brief description of the drawings
The present invention is further described with reference to the accompanying drawings and examples.
Fig. 1 is that the subregion of customization android system in the present invention divides schematic diagram.
Fig. 2 is the Booting sequence of customization android system in the present invention.
Fig. 3 is the OTA upgrading flows of customization android system in the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are more clear complete, below in conjunction with the embodiment of the present invention And accompanying drawing, the technical scheme in the embodiment of the present invention is illustrated in further detail.It will be apparent that described embodiment is only A part of embodiment of the present invention, rather than whole embodiments.Based on embodiments of the invention, any skill for being familiar with the art Art personnel in the technical scope of present disclosure, change or replacement that can be readily occurred in, or do not making creative labor The other embodiment obtained under the premise of dynamic, belongs to protection scope of the present invention.
The embodiment of the present invention provides a kind of upgrade method based on customization android system, including:
Two independent subregions are set up in the customization android system based on same system source code:BoardInfo subregions With custom subregions, so customization android system can now be divided into three big subregions (referring to Fig. 1):The original subregion of android system (subregion (boot, system etc.) beyond boardInfo subregions and custom subregions), boardInfo subregions, custom divide Area.BoardInfo subregions are without upgrading;Custom subregions, different configuration of custom-built system uses different AKUs, uses replacement The mode of system file is upgraded;The original subregion of android system, all different configuration of customization custom-built systems share same liter Level bag, is upgraded (referring to Fig. 2) using Android modular systems upgrading mode.
In above-mentioned upgrade method, the original subregion of android system need to be by all hardware configuration aspect based on customization Differentiation content is transferred to boardInfo subregions, and all software aspects differentiation contents are transferred to custom subregions, make its content It is consistent in the configuration of different soft and hard part or different clients customization system, therefore can in different configuration of custom-built system Share same AKU to be upgraded, AKU is made and need to be carried out based on Android source codes, this AKU is main AKU.
In above-mentioned upgrade method, boardInfo subregions, the hardware configuration information for depositing different type of machines, its content exists No longer change after the completion of rom first time programmings, without upgrading.
In above-mentioned upgrade method, custom subregions, its content be system configuration information and Customer subscription information, it is scalable, Different configuration of custom-built system uses different AKUs in the part, changes in customer demand or client's pre-installed software has liter Upgrade during level demand, AKU is not required to based on android system source code, can be using replacing by client's self manufacture and management The mode of system file is upgraded, and this AKU is secondary AKU.
In above-mentioned upgrade method, the upgrading of custom subregions and the original subregion of android system are upgraded, and are all respective independence , between the two without dependence, also not dependent on boardInfo subregions.
Based on above-mentioned upgrade method, more detailed process description is following (such as Fig. 2):
(1) OTA upgradings are started;
(2) check and whether there is main AKU on OTA servers, next step is continued if having, the 6th step is jumped to if nothing;
(3) main AKU is downloaded;
(4) upgraded main AKU using the standard upgrade mode of android system;
(5) machine is restarted in upgrading completion;
(6) check on OTA servers with the presence or absence of secondary AKU, next step is continued if having, the 10th step is jumped to if nothing;
(7) secondary AKU is downloaded;
(8) upgraded secondary AKU using the mode of replacement system file;
(9) machine is restarted in upgrading completion;
(10) current version is system latest edition, exits OTA upgradings.
In the embodiment of the present invention, Android increased two subregions, and system starts more common android system slightly not Together, now explanation Booting sequence (such as Fig. 3), step is as follows:
(1) system starts;
(2) Bootloader starts;
(3) boardInfo partition informations are read and corresponding hardware driving is loaded;
(4) boardinfo information analysis and it is stored in cmdline;
(5) Kernel starts;
(6) parsing cmdline data obtain hardware configuration information and load corresponding hardware driving;
(7) android system framework starts;
(8) custom partition information loading system configuration informations and Customer subscription information are read;
(9) corresponding system configuration, configuration Customization demand are loaded and starts application needed for client.

Claims (8)

1. a kind of based on the upgrade method for customizing android system, it is characterised in that including:
Customization android system refers to the customization android system based on same system source code;
Two independent partitions are set up in customization android system:BoardInfo subregions and custom subregions, by boardInfo Subregion (boot, system etc.) beyond subregion and custom subregions is referred to as the original subregion of android system, boardInfo Subregion without upgrading, upgraded respectively by custom subregions and the original subregion of android system.
2. it is according to claim 1 a kind of based on the upgrade method for customizing android system, it is characterised in that described BoardInfo subregions, the hardware configuration information for depositing different type of machines, its content after the completion of rom first time programmings no longer Change, without upgrading.
3. it is a kind of based on the upgrade method for customizing android system according to claim 1 and 2, it is characterised in that described BoardInfo subregions, can be read in android system start-up course, and corresponding according to the loading of read configuration information Hardware driving.
4. it is according to claim 1 a kind of based on the upgrade method for customizing android system, it is characterised in that described Custom subregions, scalable for storage system configuration information and Customer subscription information, different configuration of customization Android System uses different AKUs in the part.
5. it is a kind of based on the upgrade method for customizing android system according to claim 1 and 4, it is characterised in that described Custom subregions, can be read in android system start-up course, and corresponding system configuration is loaded according to read information And customization customer demand.
6. it is according to claim 1 a kind of based on the upgrade method for customizing android system, it is characterised in that described The original partition content of android system is android system core content, scalable, all different configuration of customization Android System shares same AKU.
7. it is according to claim 1 a kind of based on the upgrade method for customizing android system, it is characterised in that described Custom subregions and the original subregion of android system are upgraded respectively, including:
The mode of custom subregion replacement system files is upgraded;
The original subregions of Android are upgraded using Android modular systems upgrading mode.
8. it is according to claim 1 a kind of based on the upgrade method for customizing android system, it is characterised in that custom All processes that subregion and the original subregion of android system are upgraded, are all each independent, are closed without dependence between the two System, also not dependent on boardInfo subregions.
CN201611055110.3A 2016-11-25 2016-11-25 A kind of upgrade method based on customization android system Pending CN106775650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611055110.3A CN106775650A (en) 2016-11-25 2016-11-25 A kind of upgrade method based on customization android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611055110.3A CN106775650A (en) 2016-11-25 2016-11-25 A kind of upgrade method based on customization android system

Publications (1)

Publication Number Publication Date
CN106775650A true CN106775650A (en) 2017-05-31

Family

ID=58911347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611055110.3A Pending CN106775650A (en) 2016-11-25 2016-11-25 A kind of upgrade method based on customization android system

Country Status (1)

Country Link
CN (1) CN106775650A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506219A (en) * 2017-09-21 2017-12-22 烽火通信科技股份有限公司 A kind of general version upgrade method based on android system
CN108076388A (en) * 2017-12-12 2018-05-25 康佳集团股份有限公司 Parameter separation method, smart television and storage medium
CN108710511A (en) * 2018-05-09 2018-10-26 成都市极米科技有限公司 The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets
CN108762796A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system upgrade method and its storage device
CN109344008A (en) * 2018-09-30 2019-02-15 联想(北京)有限公司 A kind of processing method and processing device
CN111736857A (en) * 2020-05-27 2020-10-02 杭州易现先进科技有限公司 System upgrading method and device based on OTA (over-the-air technology) upgrading package and computer equipment
CN111813431A (en) * 2020-08-04 2020-10-23 康佳集团股份有限公司 Software upgrading method, smart television and storage medium
CN112416359A (en) * 2020-11-23 2021-02-26 捷开通讯(深圳)有限公司 Dynamic partition customizing method, device, equipment and computer readable storage medium
CN112882739A (en) * 2021-03-29 2021-06-01 读书郎教育科技有限公司 Method and system for upgrading firmware of intelligent equipment
CN113821233A (en) * 2021-06-15 2021-12-21 荣耀终端有限公司 Operating system upgrade method, apparatus, storage medium, and computer program product
CN113885928A (en) * 2021-05-31 2022-01-04 荣耀终端有限公司 Program updating method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707980A (en) * 2012-05-29 2012-10-03 深圳市共进电子股份有限公司 Embedded product customization method based on MTD partition
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN104317727A (en) * 2014-09-30 2015-01-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and processing method of data partition
CN104506943A (en) * 2014-12-31 2015-04-08 山东泰信电子股份有限公司 Set top box software customized upgrading method
CN104793998A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Terminal system resource management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707980A (en) * 2012-05-29 2012-10-03 深圳市共进电子股份有限公司 Embedded product customization method based on MTD partition
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN104793998A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Terminal system resource management method and device
CN104317727A (en) * 2014-09-30 2015-01-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and processing method of data partition
CN104506943A (en) * 2014-12-31 2015-04-08 山东泰信电子股份有限公司 Set top box software customized upgrading method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506219A (en) * 2017-09-21 2017-12-22 烽火通信科技股份有限公司 A kind of general version upgrade method based on android system
CN108076388A (en) * 2017-12-12 2018-05-25 康佳集团股份有限公司 Parameter separation method, smart television and storage medium
CN108076388B (en) * 2017-12-12 2020-09-01 康佳集团股份有限公司 Parameter separation method, smart television and storage medium
CN108710511A (en) * 2018-05-09 2018-10-26 成都市极米科技有限公司 The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets
CN108762796A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system upgrade method and its storage device
CN109344008A (en) * 2018-09-30 2019-02-15 联想(北京)有限公司 A kind of processing method and processing device
CN111736857A (en) * 2020-05-27 2020-10-02 杭州易现先进科技有限公司 System upgrading method and device based on OTA (over-the-air technology) upgrading package and computer equipment
CN111813431A (en) * 2020-08-04 2020-10-23 康佳集团股份有限公司 Software upgrading method, smart television and storage medium
CN111813431B (en) * 2020-08-04 2024-01-26 康佳集团股份有限公司 Software upgrading method, intelligent television and storage medium
CN112416359A (en) * 2020-11-23 2021-02-26 捷开通讯(深圳)有限公司 Dynamic partition customizing method, device, equipment and computer readable storage medium
WO2022104964A1 (en) * 2020-11-23 2022-05-27 捷开通讯(深圳)有限公司 Dynamic partition customization method and apparatus, and device
CN112882739A (en) * 2021-03-29 2021-06-01 读书郎教育科技有限公司 Method and system for upgrading firmware of intelligent equipment
CN113885928A (en) * 2021-05-31 2022-01-04 荣耀终端有限公司 Program updating method and electronic device
CN113821233A (en) * 2021-06-15 2021-12-21 荣耀终端有限公司 Operating system upgrade method, apparatus, storage medium, and computer program product

Similar Documents

Publication Publication Date Title
CN106775650A (en) A kind of upgrade method based on customization android system
CN110493067B (en) Method and device for updating API gateway service
CN109818902B (en) Automatic service deployment method, service scheduling management module and EPG platform
US10496503B2 (en) Healing cloud services during upgrades
US9268805B2 (en) Managing reusable artifacts using placeholders
US10826768B2 (en) Controlled node configuration
CN107367949B (en) Obtain the methods, devices and systems of product identification
US11429353B1 (en) Dynamic service provisioning using templatized infrastructure resources
CN105786549B (en) Smart machine and its upgrade method
CN104541246A (en) System and method for providing a service management engine for use with a cloud computing environment
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN104461621B (en) A kind of method and device of Update attribute information
US10671376B2 (en) Server program hot upgrading method and device
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN110532009A (en) A kind of smart machine upgrading management system and method
CN104618136B (en) Configuring management method and device for blade server
CN104793998B (en) Terminal system resource management method and device
CN109726038B (en) Method and apparatus for managing virtual machines
EP4050850A1 (en) Service upgrading method, device and system
CN107769947B (en) Method, device and equipment for replacing customized skin
CN105700870B (en) A kind of methods of exhibiting and server of the flow content of multi-source
CN108958838A (en) Novel method and device for updating attribute information
CN106155670A (en) A kind of mobile terminal and brush machine method and apparatus thereof
CN108701035A (en) The management of application attribute
KR20150137766A (en) System and method for creating stack of virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170531