CN106528114A - Android firmware application, android firmware and firmware upgrading method - Google Patents

Android firmware application, android firmware and firmware upgrading method Download PDF

Info

Publication number
CN106528114A
CN106528114A CN201610941922.1A CN201610941922A CN106528114A CN 106528114 A CN106528114 A CN 106528114A CN 201610941922 A CN201610941922 A CN 201610941922A CN 106528114 A CN106528114 A CN 106528114A
Authority
CN
China
Prior art keywords
firmware
arixtra
application
android
android system
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.)
Granted
Application number
CN201610941922.1A
Other languages
Chinese (zh)
Other versions
CN106528114B (en
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.)
Anhui Haima Cloud Technology Co ltd
Original Assignee
Beijing Haiyu Dongxiang 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 Beijing Haiyu Dongxiang Technology Co Ltd filed Critical Beijing Haiyu Dongxiang Technology Co Ltd
Priority to CN201610941922.1A priority Critical patent/CN106528114B/en
Publication of CN106528114A publication Critical patent/CN106528114A/en
Application granted granted Critical
Publication of CN106528114B publication Critical patent/CN106528114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The invention provides an android firmware application, android firmware and a firmware upgrading method. The android firmware is relatively small, the function is single and fixed, and the update does not need to be performed except certain extreme cases, so that the hardware ordering costs of operators can be greatly reduced. The android firmware application can download complete partition files of an android system from a storage server protected by the operators, and the files do not need to be provided for outside, so that the technical secrets of the operators are fully ensured not to be leaked.

Description

ARIXTRA firmware application, ARIXTRA firmware and firmware upgrade method
Technical field
The present invention relates to ARIXTRA firmware application, ARIXTRA firmware and firmware upgrade method.
Background technology
Certain operating system, can plus the necessary hardware (such as processor, memorizer etc.) run needed for the operating system To be considered as an instance system, (application refers to the operating system in instance system can to run various applications in instance system The software of middle operation or program).By several instance systems according to certain (such as distributed) centralized management of framework mode, can To form cloud system.Generally cloud system provides the user service by the daily operation of operator.
In recent years, ARIXTRA (Android) the system application increased income widely, is also often chosen as the operation system of instance system System.The operator software development of general cloud system, does not possess hardware production capacity.Operator is to possessing hardware production capacity Factory provide firmware (firmware), by the memorizer of firmware burned instance system, instance system can be normal for factory Work.For operator, there is the risk divulged a secret in this process, other people carry out cracking the skill for being obtained in that operator to firmware Art is secret.
Additionally, the size of code of Android system is very big, if firmware includes whole subregions of Android system, size can exceed that 1G.Firmware is bigger, and the time of burned memorizer is longer, and factory is generally to operators expense according to the burned time 's.Operator will often order substantial amounts of instance system, and ARIXTRA firmware crosses the cost that conference dramatically increases operator.If operation Business is more frequent to the code update of Android system, will also compile new firmware, further increase when ordering new instance system Cost.
In description " background technology " part disclosure, contribute to the technology skilled artisan understands that the present invention Scheme, but should not think that these contents necessarily belong to prior art or common knowledge accordingly.
The content of the invention
In order to overcome the defect that reflected of " background technology " part, the present invention provide ARIXTRA firmware application, ARIXTRA firmware and Firmware upgrade method.
ARIXTRA firmware application, described application can be run under the reforestation practices of Android system, according to bus extender Different incoming levels enters different mode of operations, and described mode of operation includes test pattern and initialization pattern, tests Pattern is capable of the hardware of detection example system, initializes pattern and can download the complete of Android system from the storage server of cloud system Whole partitioned file.
ARIXTRA firmware, is made up of the file of u-boot, misc, recovery partitioned file and mark partition table information, institute The recovery partitioned files stated should by the virtual flash disk of starting up, resource and kernel partitioned files and User space With composition.
Further, described User space application includes ARIXTRA firmware application.
ARIXTRA firmware upgrade method, comprises the steps:
Controller enters initialization pattern by bus extender Automatic level control ARIXTRA firmware application;
ARIXTRA firmware application downloads Android system according to the address connection storage server being previously written from storage server Complete partitioned file;
ARIXTRA firmware application reboots into the normal mode of Android system.
Further, described controller is ARM controller.
In technical solution of the present invention, the word such as " including ", " for " should be understood according to open language mode, " by ... The words such as composition " should be understood according to closed expression way.Those skilled in the art are by reading this specification and combining existing The content that technology or common knowledge can be known, repeats no more in this specification.
ARIXTRA firmware application, ARIXTRA firmware and firmware upgrade method that the present invention is provided, ARIXTRA firmware are smaller, function list One fixes, and need not update, can greatly save the hardware Order Cost of operator in addition to some extreme cases.ARIXTRA firmware Using the complete partitioned file that can download Android system from the storage server protected by operator, these files are without the need for externally There is provided, fully ensured that the know-how of operator is not revealed.
Description of the drawings
Fig. 1 is the flow chart of ARIXTRA firmware upgrade method in specific embodiment.
Specific embodiment
Below embodiments of the present invention are further illustrated.It should be noted that the scope of the present invention is not It is confined to described concrete technical scheme.Any technology essential factor in described concrete technical scheme is carried out identical or is waited The technical scheme obtained with replacement or those skilled in the art are on the basis of described concrete technical scheme without creation Property the technical scheme that is obtained with of work, should all be contemplated as falling within protection scope of the present invention.
The realization of ARIXTRA instance system, fairly simple mode are using existing development board (such as ARM development boards etc.). For development board conventional ARIXTRA firmware include u-boot, boot, resource, misc, kernel, system, recovery, The partition names such as sysbackup subregions, wherein boot, misc, system, recovery are almost in all of Android system scheme In all exist.Boot subregions are common boot partition, and Android system normal boot-strap depends on boot subregions into normal mode. In the technical scheme of some Android systems, boot subregions include the kernel of Android system, but will peace in technical solution of the present invention The kernel of tall and erect system has been stored in kernel subregions, just no longer includes the kernel of Android system in boot subregions.Misc subregions are One miscellaneous subregion, stores the configuration file of some systems settings or other subregions, the guiding letter of such as recovery subregions Breath.System subregions are common system partitioning, store whole Android system and (have stored in kernel of other subregions etc. to remove Outward).Recovery partitioned storages Android system enters the file for recovering to need during (recovery) pattern.U-boot subregions are Universal guiding subregion (universal boot loader).Corresponding with the development board parameter of resource partitioned storages, for example Which kind of operation the kernel of Android system performs according to the different level signal of development board.Kernel partitioned storages Android system Kernel.Sysbackup subregions are system backup subregion, and in some technical schemes, the plural system of Android system setting is standby Part subregion, only includes a system backup subregion in firmware, the subregion is Reading Sections, in zone name followed by numeral 1 (sysbackup1) identify.
The ARIXTRA firmware that technical solution of the present invention is provided, only u-boot, misc, recovery partitioned file and mark point The file (parameter files) of area's table information.Virtual flash disk of the recovery partitioned files by starting up (ramdisk), resource and kernel partitioned files (i.e. complete in resource and kernel subregions file) and few User space (user mode) the application composition of amount.
In the application of recovery partitioned files, including an application (hereinafter referred to as R applications) with special function, R Using running under the reforestation practices of Android system, according to bus extender (General Purpose Input Output, GPIO) different incoming level (can be single level or level combinations) enters different mode of operations, described work Operation mode includes test pattern and initialization pattern, and test pattern is capable of the hardware of detection example system, and initialization pattern can The complete partitioned file of Android system is downloaded from the storage server of cloud system.
When the ARIXTRA firmware that technical solution of the present invention is provided starts, (the ARIXTRA firmware can be considered as an incomplete ARIXTRA System, due to u-boot subregions, it is also possible to start), the file of u-boot subregions is loaded execution, u-boot subregions at first It was found that the verification of boot subregions does not pass through, it is impossible to which the normal Android system that starts enters normal mode, then u-boot subregions can be loaded The file of recovery subregions is entered and recovers (recovery) pattern.The file of recovery subregions includes the interior of Android system Core file, in recovery mode ARIXTRA kernel can run, R application can run in ARIXTRA kernel accordingly.
When instance system is located at factory, the external debugging board of instance system development board can be allowed by being input into GPIO level R is applied and is entered test pattern.Under test pattern, R applications can according to the instruction of debugging board, the processor of detection example system, The hardware such as memorizer whether normal work.
Operator is obtained after instance system from factory, sets up cloud system using instance system.Difference can be set in cloud system The controller of type is managed to instance system.Controller includes ARM controller, i.e., the Linux server with ARM frameworks (arm controller), this quasi-controller is with low cost, and its hardware circuit is connected with the development board of instance system, by input Android system in GPIO level admin instance systems.Operator arranges storage server, storage clothes in cloud system toward contact Business device is stored and is related to the secret file of carrier technologies, and operator can take strict physical isolation and skill to storage server Art protective measure.Each instance system in cloud system can be communicated with storage server, storage server verification example system After system identity is errorless, the file of its needs is transmitted to instance system.
After instance system adds cloud system, ARM controller is by GPIO level by R using into initialization pattern, R applications The complete partitioned file of Android system can be downloaded from storage server.
Applied using above-described ARIXTRA firmware and R, ARIXTRA firmware upgrade method can be realized.ARIXTRA firmware upgrade side The flow process of method as shown in figure 1, including:
S101:Controller enters initialization pattern by bus extender Automatic level control ARIXTRA firmware application.
Specifically, ARM controller allows R using into initialization pattern by being input into GPIO level set in advance.
S102:ARIXTRA firmware application is downloaded from storage server and is pacified according to the address connection storage server being previously written The complete partitioned file of tall and erect system.
Specifically, the address of storage server has been previously written in R applications, and R is applied into after initialization pattern, according to this Address connects storage server, downloads the complete partitioned file of Android system of latest edition from storage server, by these texts Part is stored on the memorizer of instance system.
S103:ARIXTRA firmware application reboots into the normal mode of Android system.
Specifically, after all of Android system partitioned file storage is arrived locally, Android system is restarted in R applications, pacifies after restarting Be present missing documents in tall and erect system, run into normal mode.
Conventional ARIXTRA firmware can exceed that 1G, and the ARIXTRA firmware that technical solution of the present invention is provided only has 30M or so.Press According to current programming technology programming 1G data at least 5 minutes, and programming 30M data only needed to 10 seconds.Technical solution of the present invention is carried For ARIXTRA firmware function it is very single, only comprising requisite partitioned file during factory testing instance system hardware, do not wrap Core code containing Android system, in addition to partition table such as repartitions at the extreme case, it is not necessary to updates or upgrades, operator can With life-time service.Meanwhile, the code for being related to carrier technologies secret need not be sent outside, greatly reduce the wind of divulging a secret of operator Danger.
Those skilled in the art can construct its other party on the basis of concrete technical scheme described above, completely Case, it is numerous to list herein.

Claims (5)

1. ARIXTRA firmware application, it is characterised in that described application can be run under the reforestation practices of Android system, according to total The different incoming level of line expander enters different mode of operations, and described mode of operation includes test pattern and initialization mould Formula, described test pattern are capable of the hardware of detection example system, and described initialization pattern can be taken from the storage of cloud system Business device downloads the complete partitioned file of Android system.
2. ARIXTRA firmware, it is characterised in that described firmware is by u-boot, misc, recovery partitioned file and mark subregion The file composition of table information, described recovery partitioned files by the virtual flash disk of starting up, resource and Kernel partitioned files and User space application composition.
3. firmware according to claim 2, it is characterised in that described User space application is included described in claim 1 ARIXTRA firmware application.
4. ARIXTRA firmware upgrade method, it is characterised in that described method includes:
Controller enters initialization pattern by bus extender Automatic level control ARIXTRA firmware application;
ARIXTRA firmware application downloads the complete of Android system according to the address connection storage server being previously written from storage server Whole partitioned file;
ARIXTRA firmware application reboots into the normal mode of Android system.
5. method according to claim 4, it is characterised in that described controller is ARM controller.
CN201610941922.1A 2016-10-25 2016-10-25 Android firmware application device and android firmware upgrading method Active CN106528114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610941922.1A CN106528114B (en) 2016-10-25 2016-10-25 Android firmware application device and android firmware upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610941922.1A CN106528114B (en) 2016-10-25 2016-10-25 Android firmware application device and android firmware upgrading method

Publications (2)

Publication Number Publication Date
CN106528114A true CN106528114A (en) 2017-03-22
CN106528114B CN106528114B (en) 2022-03-29

Family

ID=58293344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610941922.1A Active CN106528114B (en) 2016-10-25 2016-10-25 Android firmware application device and android firmware upgrading method

Country Status (1)

Country Link
CN (1) CN106528114B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345464A (en) * 2018-03-06 2018-07-31 播思通讯技术(北京)有限公司 A kind of the startup method and Android vehicle device of Android system
CN109240720A (en) * 2018-08-23 2019-01-18 福州瑞芯微电子股份有限公司 A kind of firmware upgrade method of Android system and a kind of storage equipment
CN110187909A (en) * 2019-06-03 2019-08-30 山东海格尔信息技术股份有限公司 A kind of single-chip microcontroller firmware upgrade method based on android system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040580A1 (en) * 2005-11-28 2008-02-14 Daniel Scott Cohen Microcontroller based flash memory digital controller system
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103116801A (en) * 2013-01-22 2013-05-22 无锡中科龙泽信息科技有限公司 Wireless secure digital (SD) card and implementation method of working mode switch thereof
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN105260205A (en) * 2015-09-30 2016-01-20 中山市天启电子科技有限公司 Method for implementing startup of double operating systems on embedded board

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040580A1 (en) * 2005-11-28 2008-02-14 Daniel Scott Cohen Microcontroller based flash memory digital controller system
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103116801A (en) * 2013-01-22 2013-05-22 无锡中科龙泽信息科技有限公司 Wireless secure digital (SD) card and implementation method of working mode switch thereof
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN105260205A (en) * 2015-09-30 2016-01-20 中山市天启电子科技有限公司 Method for implementing startup of double operating systems on embedded board

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345464A (en) * 2018-03-06 2018-07-31 播思通讯技术(北京)有限公司 A kind of the startup method and Android vehicle device of Android system
CN109240720A (en) * 2018-08-23 2019-01-18 福州瑞芯微电子股份有限公司 A kind of firmware upgrade method of Android system and a kind of storage equipment
CN109240720B (en) * 2018-08-23 2021-11-26 瑞芯微电子股份有限公司 Firmware upgrading method of android system and storage device
CN110187909A (en) * 2019-06-03 2019-08-30 山东海格尔信息技术股份有限公司 A kind of single-chip microcontroller firmware upgrade method based on android system
CN110187909B (en) * 2019-06-03 2023-04-14 山东海格尔信息技术股份有限公司 Single-chip microcomputer firmware upgrading method based on android system

Also Published As

Publication number Publication date
CN106528114B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US8423991B2 (en) Embedded network device and firmware upgrading method
US9507604B2 (en) Boot method and boot system
US20140201726A1 (en) Updating firmware compatibility data
JP2021002317A (en) Method, apparatus, device and storage medium for upgrading application
US20090254898A1 (en) Converting a device from one system to another
CN102334100A (en) Program update device, program update method, and information processing device
CN102289397A (en) Method and device for automatically restoring embedded system of set top box
CN104915226A (en) Network device software starting method, device and network device
CN102426531A (en) Intelligent terminal and application program updating system and method
WO2016206514A1 (en) Startup processing method and device
CN103309792A (en) Method and system for controlling log information
CN109062598A (en) A kind of safe OTA upgrade method and system
CN106775674B (en) Equipment based on universal boot loader and starting method thereof
CN103970564A (en) Automatic repairing and upgrading method of embedded operating system and embedded operating system with automatic repairing and upgrading functions
CN106990985A (en) Apparatus and method based on BMC renewals and standby system UEFI firmwares
CN110737481A (en) Starting method of embedded LINUX operating system based on multiple backup bootstrap programs
US20180253555A1 (en) Selecting and loading firmware volumes
CN106528114A (en) Android firmware application, android firmware and firmware upgrading method
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN114741096A (en) Upgrade processing method, device and storage medium
CN106156626A (en) A kind of method and apparatus of security of system upgrading
CN106611124B (en) Computer installation and its starting-up method
CN109428936B (en) APP upgrading method, device, system, electronic equipment and storage medium
CN106708541A (en) Version upgrading processing method and apparatus
US12118345B2 (en) Application status reporting via platform binary tables

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 230031 Room 672, 6/F, Building A3A4, Zhong'an Chuanggu Science Park, No. 900, Wangjiang West Road, High-tech Zone, Hefei, Anhui

Patentee after: Anhui Haima Cloud Technology Co.,Ltd.

Address before: 100102 floor 41, block B, Wangjing SOHO T3, yard 1, Futong East Street, Chaoyang District, Beijing

Patentee before: BEIJING HAIYUDONGXIANG TECHNOLOGY Co.,Ltd.