CN110134426A - A kind of embedded system upgrade method, device and terminal device - Google Patents
A kind of embedded system upgrade method, device and terminal device Download PDFInfo
- Publication number
- CN110134426A CN110134426A CN201910312153.2A CN201910312153A CN110134426A CN 110134426 A CN110134426 A CN 110134426A CN 201910312153 A CN201910312153 A CN 201910312153A CN 110134426 A CN110134426 A CN 110134426A
- Authority
- CN
- China
- Prior art keywords
- data
- program
- loaded
- upgrading
- stage
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000005192 partition Methods 0.000 claims abstract description 105
- 238000013500 data storage Methods 0.000 claims abstract description 29
- 238000004590 computer program Methods 0.000 claims description 20
- 238000012795 verification Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 3
- 125000004122 cyclic group Chemical group 0.000 claims description 3
- 230000008569 process Effects 0.000 description 23
- 230000006870 function Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 230000001174 ascending effect Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental 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 present invention is suitable for embedded system and handles technical field, provide a kind of embedded system upgrade method, device and terminal device, the described method includes: after receiving upgrading data packet and upgrade command, the data for keeping first stage guidance to be loaded into program sectioning are constant, according to the data partition number in upgrading data packet, write data into corresponding subregion;Restarting systems, the guidance of operation first stage are loaded into the program of program sectioning, and operation second stage is guided to guide the program for being loaded into program sectioning;After second stage guides and is loaded into the data starting of program sectioning, the upgrading mark of upgrading data storage partition is read, and judge whether to need to upgrade according to upgrading mark;If desired upgrade, then read the file system data of upgrading data storage partition, corresponding file partition is written into file system data.Selection upgrading as needed through the invention reduces upgrading data volume, accelerates update time and ensure that system normally starts.
Description
Technical field
The invention belongs to embedded system processing technical field more particularly to a kind of embedded system upgrade methods, device
And terminal device.
Background technique
Embedded system is made of hardware and software two parts, software section mainly include bootstrap Bootloader,
Kernel and file system are booted up operating system, os starting rear mount file system by bootstrap Bootloader
System.
Currently, the file system of embedded device is all to set same for root file system and application file system
In a file system, during system upgrade, the data volume and update time of upgrading are increased;The system upgrade time is long, increases
The probability of system abnormal power-down in escalation process is added;System exception power-off can make upgrading fail in escalation process, be easy
The damage for causing system file causes system that can not start.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of embedded system upgrade method, device and terminal device, with solution
Certainly the system upgrade time is long and the problem of system upgrade unsuccessfully causes system that can not start in the prior art.
The first aspect of the embodiment of the present invention provides a kind of embedded system upgrade method, sets applied to built-in terminal
Standby, the embedded system upgrade method includes:
After receiving upgrading data packet and upgrade command, first stage guidance is kept to be loaded into the data of program sectioning not
Become, according to the data partition number in upgrading data packet, write data into corresponding subregion;
Restarting systems run the first stage guidance and are loaded into the program of program sectioning, and guide operation second-order
Section guidance is loaded into the program of program sectioning;
After the second stage guides and is loaded into the data starting of program sectioning, the upgrading of upgrading data storage partition is read
Mark, and judge whether to need to upgrade according to the upgrading mark;
If desired upgrade, then the file system data of the upgrading data storage partition is read, by the file system number
According to the corresponding file partition of write-in.
In one embodiment, after receiving upgrading data packet and upgrade command, first stage guidance is kept to be loaded into journey
The program of sequence subregion is constant, according to the data partition number in upgrading data packet, write data into corresponding subregion,
Include:
Parsing and cyclic redundancy check are carried out to the upgrading data packet, obtain the application software in the upgrading data packet
Upgrade corresponding upgrading data, the upgrading data packet includes in initialization data, kernel mirror image data and file system data
It is one or more;
Institute's second stage is guided and is loaded into program write-in second stage guidance loading program backup subregion, by the kernel mirror
As data write-in kernel mirror image subregion, the file system data is repacked into write-in upgrading data storage partition and liter is set
Grade mark.
In one embodiment, restarting systems run the program that the first stage guidance is loaded into program sectioning, and
Guidance operation second stage guidance is loaded into the program of program sectioning, comprising:
The program that the first stage guidance is loaded into program sectioning is run, the second stage guidance is verified and is loaded into program point
Whether the data that data and the second stage guidance in area are loaded into program backup subregion are effectively and consistent;
If the second stage guidance is loaded into the data of program sectioning and second stage guidance is loaded into program backup point
The data in area are effective and inconsistent or second stage guidance be loaded into program sectioning data invalid and the second-order
The data that section guidance is loaded into program backup subregion are effective, then guide the data for being loaded into program backup subregion to answer the second stage
It makes the second stage guidance and is loaded into program sectioning;
If the data that the second stage guidance is loaded into program sectioning are effective, the second stage guidance is loaded into program backup
The second stage is then guided the data for being loaded into program sectioning to copy to the second stage guidance and carried by the data invalid of subregion
Enter program backup subregion.
In one embodiment, the embedded system upgrade method further include:
After the second stage guides and is loaded into the data starting of program sectioning, the data of External memory equipment are obtained, are sentenced
It is disconnected to whether there is upgrading data packet;
The upgrading data packet if it exists then reads the upgrading data packet, and parses to the upgrading data packet
And verification;
After verification passes through, corresponding subregion in memory is written into according to data partition number in the data after parsing.
In one embodiment, if desired upgrade, then read the file system data of the upgrading data storage partition, it will
Corresponding file partition is written in the file system data, comprising:
First file partition is written into the first file data in the file system data, by the file
Second file partition is written in the second file data in system data.
In one embodiment, first file system is written into the first file data in the file system data
Subregion, after second file partition is written in the second file data in the file system data, the method
Include:
The data for being loaded into program sectioning are guided to be booted up operating system by the second stage;
After os starting, first file data of the first file partition described in carry, by the first file
System carries out subregion carry to second file data of second file partition;
After the completion of carry, start Application Software Program.
In one embodiment, after starting Application Software Program, comprising:
Receive upgrade command and data packet that user remotely-or locally controls transmission;
It verifies and parses the data packet;
After examining effectively, the separate modular data in the data packet are read, and separate modular data write-in is deposited
Corresponding subregion in reservoir, to complete the upgrading of the Application Software Program.
The second aspect of the embodiment of the present invention provides a kind of embedded system update device, comprising:
First upgraded module, for after receiving upgrading data packet and upgrade command, keeping first stage guidance to be loaded into
The data of program sectioning are constant, according to the data partition number in upgrading data packet, write data into divide accordingly
Area;
System reboot module is used for restarting systems, runs the program that the first stage guidance is loaded into program sectioning,
And guide the program of operation second stage guidance loading program sectioning;
Data read module, for reading upgrading after the second stage guides and is loaded into the data starting of program sectioning
The upgrading mark of data storage partition, and judge whether to need to upgrade according to the upgrading mark;
Second upgraded module then reads the file system data of the upgrading data storage partition for if desired upgrading,
Corresponding file partition is written into the file system data.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing method described above.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has the step of computer program, the computer program realizes method described above when being executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art: through the embodiment of the present invention, receiving
After upgrading data packet and upgrade command, the data for keeping first stage guidance to be loaded into program sectioning are constant, according to upgrading data packet
In data partition number, write data into corresponding subregion;Guarantee that first stage guidance is loaded into program sectioning not
Upgrading, prevents from not starting due to error in data system;According to data partition number, write data into divide accordingly
Area can according to need and choose whether to upgrade, if in corresponding subregion write-in upgrading data, to reduce the data volume of upgrading;
Restarting systems run the first stage guidance and are loaded into the program of program sectioning, and operation second stage guidance is guided to carry
Enter the program of program sectioning;It guides and is loaded into the program loading procedure of program sectioning in the second stage, read the upgrading
The upgrading mark of data storage partition, and judge whether to need to upgrade according to the upgrading mark;If desired upgrade, then read institute
Corresponding file partition, root is written in the file system data by the file system data for stating upgrading data storage partition
According to needing to choose whether to upgrade, data will be upgraded to the part that needs upgrade, corresponding subregion is written, to reduce upgrading data volume
And the occupied memory space of backup of file system, accelerate update time, and guarantee that system can normally start, has
Stronger ease for use and practicability.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the schematic diagram that the memory cell region of embedded system device provided in an embodiment of the present invention divides;
Fig. 2 is the implementation process schematic diagram of embedded system upgrade method provided in an embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of system restarting procedure provided in an embodiment of the present invention;
Fig. 4 is the exemplary diagram of Application Software Program upgrading implementation process provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of embedded system update device provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is showing for the memory cell region division of embedded system device provided by one embodiment of the present invention referring to Fig. 1
It is intended to.As shown, the storage unit of embedded system device is provided with different subregions, two-stage bootstrap point is respectively included
Area: first stage guidance is loaded into program sectioning, second stage guidance is loaded into program sectioning;File system is divided into two subregions:
Depositing for file (is often modified in first file partition (hardly need upgrading, data constant), the second file partition
Storage area domain);It further include that second stage guidance is loaded into program backup subregion, system kernel mirrored partition, upgrading data storage partition
And user's private data subregion;It is provided with eight subregions altogether, different subregions stores corresponding data respectively.Wherein the first rank
Section guidance is loaded into program sectioning and is used to guide the data for being loaded into program sectioning to be verified and loaded second stage;First stage
Guidance is loaded into the data of program sectioning during system upgrade, without upgrading or modifying, to guarantee the number in escalation process
When according to mistake occurs, system can normally start.
The data that second stage guidance is loaded into the data of program sectioning and second stage guidance is loaded into program backup subregion are logical
It is identical in normal situation, when application software needs to upgrade, the number that second stage guidance is loaded into program backup subregion may only be rewritten
According to guarantee that second stage guidance is loaded into the validity of the data of program sectioning.Second stage guidance is loaded into the number of program sectioning
According to for being booted up operating system;File system upgrading data packet is read by upgrading data storage partition, or is deposited from outside
Storage unit reads upgrading data packet, and corresponding subregion in the data write-in memory of upgrading data packet upgrades system
Or recovery system data.
After os starting, the program of the first file partition of carry storage, by the journey of the first file partition
The Application Software Program sub-module carry of sequence and corresponding second file partition, restart and execute it is corresponding application it is soft
Part;During application software upgrade, file system is divided into two parts, the first file system portion does not have to upgrading or few liter
Other modules are chosen whether to upgrade as needed by grade, to reduce file system upgrading data volume, accelerate update time.
It referring to fig. 2, is the implementation process schematic diagram of embedded system upgrade method provided by one embodiment of the present invention.It should
Method is applied to embedded type terminal equipment, which comprises
Step S201 keeps first stage guidance to be loaded into program sectioning after receiving upgrading data packet and upgrade command
Data it is constant, according to the data partition number in upgrading data packet, write data into corresponding subregion.
In the present embodiment, the memory of embedded device can be divided into multiple subregions, store different data, example respectively
It such as may include that first stage guidance is loaded into program sectioning, can store the program of central processor CPU grade initialization, with load
Operation auxiliary initialization program;Memory partition can also include that second stage guidance is loaded into program sectioning, can be according to user
The corresponding auxiliary initialization program of defined function addition, and the program of loading system kernel mirror image;Memory partition can also wrap
It includes second stage guidance and is loaded into program backup subregion, in application software upgrade, selected as needed by corresponding upgrading data
Second stage guidance is written and is loaded into program backup subregion, so that upgrading in system reboot process to application software.Data
Partition number is corresponding with according to each division module divided in memory.
Embedded type terminal equipment can receive upgrading data packet by network, and upgrading data packet can be opened by application software
Originating party provides, and upgrade command, which can be, receives the instruction that user inputs and remotely-or locally controlling;Upgrading data packet includes
The data of file partition and guidance are loaded into the data of program sectioning;Embedded device receives ascending series to compress packet form
After packet and upgrade command, upgrading data packet is unpacked, the data after unpacking are divided according to choosing whether to need to upgrade
Corresponding subregion is not written, the second stage that the firmware image file programming in addition to file system data enters memory is guided
It is loaded into program backup subregion, file system data is repacked into storage to upgrading data storage partition, and upgrading mark is set
Position.
It should be noted that upgrading data only need programming to second when application software needs to upgrade guidance and is loaded into program
Stage guidance be loaded into program backup subregion, can not programming to second stage guide be loaded into program sectioning, prevent operation failure from damaging
Second stage guidance is loaded into the data of program sectioning;The data of programming are verified after the completion of programming, prevent corrupt data,
Programming again is needed if verification does not pass through, until programming success.
In one embodiment, after receiving upgrading data packet and upgrade command, first stage guidance is kept to be loaded into journey
The program of sequence subregion is constant, according to the data partition number in upgrading data packet, write data into corresponding subregion,
Include:
Parsing and cyclic redundancy check are carried out to the upgrading data packet, obtain the application software in the upgrading data packet
Upgrade corresponding upgrading data, the upgrading data packet includes in initialization data, kernel mirror image data and file system data
It is one or more;
Institute's second stage is guided and is loaded into program write-in second stage guidance loading program backup subregion, by the kernel mirror
As data write-in kernel mirror image subregion, the file system data is repacked into write-in upgrading data storage partition and liter is set
Grade mark.
In the present embodiment, data check and version is carried out to upgrading data packet to verify, it is ensured that the validity of data and
The correctness of version parses data after verification passes through, and selection needs the data upgraded, and classification storage extremely stores
The different subregion of device;For example, if the data for being loaded into program sectioning need to be guided to upgrade second stage, by upgrading data packet
In initialization data write-in second stage be loaded into program backup subregion;Write-in is then repacked for the data of file system to rise
Simultaneously upgrading mark is arranged in grade data storage partition.
Step S202, restarting systems run the first stage guidance and are loaded into the program of program sectioning, and guide fortune
The guidance of row second stage is loaded into the program of program sectioning.
In the present embodiment, after according to upgrading needing that corresponding subregion is written by upgrading data packet, application software is completed
The upgrading of first stage needs to restart system, and the first stage guidance that brings into operation is loaded into the program of program sectioning,
And guide the program of operation second stage guidance loading program sectioning.Program sectioning is loaded into guidance operation second stage guidance
Before program, need to guide second stage the data for being loaded into program sectioning and second stage guidance to be loaded into program backup subregion
Data are verified or update replacement, and then the guidance of load starting second stage is loaded into the data of program sectioning.Second stage is drawn
The data for being loaded into program sectioning are led for being booted up operating system, the data that second stage guidance is loaded into program sectioning, which are used as, answers
Architecture before being started with software can choose upgrading or not upgrade, to prevent application software incompatible with application environment
Or situations such as application software implementation procedure error, it will usually which selection upgrading guidance is loaded into program, is convenient for application software upgrade number
According to carry.
In addition, received input signal can be user during activation system by startup interface input finger
Enable signal.
As shown in figure 3, being the implementation process schematic diagram of system restarting procedure provided by one embodiment of the present invention, draw
The premise for being loaded into program as start-up operation system is led, initialization process is carried out to system hardware, including first stage guidance carries
Enter program starting and second stage guidance be loaded into program starting, the first stage guidance be loaded into program sectioning data for pair
Second stage guidance is loaded into the verification and load of the data of program sectioning, is loaded into program to start and load second stage guidance.
As shown, the implementation process of system restarting procedure includes:
Step S301 runs the program that the first stage guidance is loaded into program sectioning, verifies the second stage guidance
Whether the data that the data and second stage guidance for being loaded into program sectioning are loaded into program backup subregion are effectively and consistent.
In the present embodiment, after system electrification, start to start the data that first stage guidance is loaded into program sectioning;First rank
After section guidance is loaded into the program operation of program sectioning, it can check that second stage guidance is loaded into the data and second stage of program sectioning
Guidance is loaded into the validity and consistency of the data of program backup subregion;In system normal boot process, second stage guidance
The data that the data and second stage guidance for being loaded into program sectioning are loaded into program backup subregion are effective, and the two data one
It causes.
Step S302, if second stage guidance is loaded into the data of program sectioning and second stage guidance is loaded into journey
The data of sequence backup subregion are effective and inconsistent or second stage guidance is loaded into data invalid and the institute of program sectioning
The data for stating second stage guidance loading program backup subregion are effective, then guide the second stage and be loaded into program backup subregion
Data copy to second stage guidance and be loaded into program sectioning.
In the present embodiment, if second stage guidance is loaded into the data of program sectioning and second stage guides loading program standby
The data of part subregion are effective and inconsistent, then confirming that second stage guidance is loaded into the data of program backup subregion is application software
The data being written when needing to upgrade;Second stage guide be loaded into program sectioning data effectively just can guarantee system starting at
Function, if the data that second stage guidance is loaded into the data invalid of program sectioning and second stage guidance is loaded into program backup subregion have
Effect then illustrates that the data of second stage guidance loading program sectioning are wrong or expired, then needs to guide second stage into loading journey
The valid data of sequence backup subregion are copied to second stage guidance and are loaded into program sectioning, are loaded into program for system starting guidance.
Step S303, if the data that second stage guidance is loaded into program sectioning are effective, the second stage guidance is carried
Enter the data invalid of program backup subregion, then guides the data for being loaded into program sectioning to copy to described second the second stage
Stage guidance is loaded into program backup subregion.
In the present embodiment, the data and second stage guidance to guarantee second stage guidance loading program sectioning are loaded into journey
The consistency of the data of sequence backup subregion, when second stage guides the data invalid for being loaded into program backup subregion, by second-order
The data copy that section guidance is loaded into program sectioning is guided to second stage is loaded into program backup subregion, and start-up loading second stage is drawn
The data for being loaded into program sectioning are led, and guide the data of loading program sectioning to be booted up the behaviour of operating system by second stage
Make.
Step S203 reads upgrading data storage after the second stage guides and is loaded into the data starting of program sectioning
The upgrading mark of subregion, and judge whether to need to upgrade according to the upgrading mark.
In the present embodiment, it after second stage guides and is loaded into the data starting of program sectioning, reads in upgrading data packet
Upgrading mark, and according to upgrading mark judge whether to need to upgrade.In application software upgrade, need to file partition
Data modify, when system operates normally, need to call the corresponding database of file partition, therefore soft in application
Part upgrade when, by the data of file partition be put into the second guidance be loaded into program sectioning upgrade, avoid system operation and
Application software upgrade process clashes.
In one embodiment, embedded system upgrade method further include:
A1, the second stage guide be loaded into program sectioning data starting after, obtain the data of External memory equipment,
Judge whether there is upgrading data packet;
A2, the if it exists upgrading data packet then read the upgrading data packet, and solve to the upgrading data packet
Analysis and verification;
After A3, verification pass through, corresponding subregion in memory is written into according to data partition number in the data after parsing.
In the present embodiment, after second stage guidance is loaded into the data starting of program sectioning, if before according to ascending series
Mistake occurs according to the data that corresponding subregion is written in packet, second stage guidance, which is loaded into program, can detect the data of External memory equipment,
External memory equipment can be USB or SD card;It detects and whether there is upgrading data packet in External memory equipment;Ascending series if it exists
According to packet, then upgrading data packet is read, data check is carried out to upgrading data packet and version verifies;After verification passes through, to ascending series
Unpacked according to packet, write data into corresponding subregion, may include that second stage guidance is loaded into program sectioning, the
One file partition or the second file partition.The data that the data of write-in subregion are written before being completely covered, write
Data are verified after entering data, guarantee the validity of write-in data, prevent that mistake occurs in the data that subregion is written before
When, anti-locking system can not normally start the appearance of situation, guarantee the recovery of log-on data in escalation process.
Step S204, if desired upgrades, then the file system data of the upgrading data storage partition is read, by the text
Corresponding file partition is written in part system data.
In the present embodiment, it in file system data packet may include framing program for starting application software, may be used also
To include the change of application software function itself or increased program, for example, updating the program or increase of application software prompt window
The program etc. of new function.
In one embodiment, if desired upgrade, then read the file system data of the upgrading data storage partition, it will
Corresponding file partition is written in the file system data, comprising:
First file partition is written into the first file data in the file system data, by the file
Second file partition is written in the second file data in system data.
In application software upgrade, file partition is divided into two subregions, a part is do not need upgrading first
File partition, another the second file partition to need to rewrite or add;File system data is decomposed into two
Point, do not need corresponding first file data in part of upgrading, corresponding second file data in the part for needing to upgrade, by first
File data and corresponding first file partition of the second file data subregion write-in memory and the second file system point
Area, to complete application software in the upgrading of guidance loader portion.After completing upgrading, it is further booted up operation system
System.
In addition, guiding the data for being loaded into program sectioning by the first stage when not needing upgrading guidance loader portion
Guidance operation second stage guidance is loaded into after the data of program sectioning, and the number for being loaded into program sectioning is directly guided by second stage
According to being booted up operating system.
In one embodiment, first file system is written into the first file data in the file system data
Subregion, after second file partition is written in the second file data in the file system data, the method
Include:
The data for being loaded into program sectioning are guided to be booted up operating system by the second stage;
After os starting, first file data of the first file partition described in carry, by the first file
System carries out subregion carry to second file data of second file partition;
After the completion of carry, start Application Software Program.
In the present embodiment, system kernel is guided by second stage and is loaded into program designation start-up operation system, operating system
The data of the subregion of the first file system of rear mount of starting, the data of the subregion of the first file system can be root file
The data of rootfs system, by root file rootfs system intermediate range ordered pair application software file system (i.e. the second file system) point
Area's carry.
Wherein, root file rootfs system can immobilize root file rootfs, not need to upgrade;Application software file
System is then the partitions of file of storage upgrading modification, and System guides are loaded into after program starting, are hung by root file rootfs system
Carry application software file system.
As shown in figure 4, being the exemplary diagram of Application Software Program upgrading implementation process provided by one embodiment of the present invention, needle
To the implementation process that application software itself upgrades, as shown, the first file data in the file system data is written
Second file system point is written in the second file data in the file system data by first file partition
After area, start-up operation system after the upgrading of guidance loading program is completed, further includes:
Step S401 receives upgrade command and data packet that user remotely-or locally controls transmission.
Step S402 is verified and is parsed the data packet.
Step S403 reads the separate modular data in the data packet after examining effectively, and by the separate modular number
According to corresponding subregion in write-in memory, to complete the upgrading of the Application Software Program.
In the present embodiment, after starting Application Software Program, the information for whether needing to upgrade can be prompted, according to what is received
Upgrade command upgrades the application software of starting.
In the present embodiment, if receiving upgrade command, the upgrading data packet of application software, the liter are obtained by network
Grade data packet difference is loaded into the upgrading data being written when program upgrading with guidance before, and upgrading data packet is directed to application software herein
The upgrading data of program when runs itself.If receiving the instruction not upgraded, by directly with original version using soft
Part normally starts operation.
In the present embodiment, the separate modular data in the network upgrade packet are read after examining effectively, and by the list
Corresponding subregion in only module data write-in memory.
In the present embodiment, corresponding subregion in memory is written into separate modular data herein, subregion can only have the
Two file partitions, i.e. application software file partition;It can also simultaneously include the first file partition (root file
Rootfs system) and the second file partition (application software file partition).
In addition, can upgrade progress by network remote monitoring during application software upgrade and application software is transported
Market condition.
In the present embodiment, during to being verified and being parsed using software upgrade data packet, due to being sub-module
Upgrading data are written, a separate modular data may only correspond to application software part of functions, parse data simultaneously every time
After data are written, judge whether application software is completed to upgrade, if upgrading is completed, restarting systems, from the operation first stage
The data that guidance is loaded into program sectioning start, restarting systems, and the data check for being loaded into program sectioning is guided by the first stage
The data of program sectioning are loaded into load second stage guidance, the guidance of start-up loading second stage is loaded into the data of program sectioning
Afterwards, the data for being loaded into program sectioning are guided to continue to be booted up operating system by second stage.
If upgrading is not completed, judge whether the separate modular data are first file partition or described
The corresponding data in second file partition.If the separate modular data are for first file partition or described
The separate modular data are then packaged and the upgrading data storage partition are written by the corresponding data in two file partitions.It is right
The data of the upgrading data storage partition continue to parse, the separate modular data after obtaining parsing, and by separate modular data
Corresponding subregion in memory is written, to complete the upgrading of the Application Software Program.
It should be noted that method for upgrading system provided in an embodiment of the present invention is suitable for the upgrading of embedded system, example
Such as (SuSE) Linux OS, Unix operating system etc.;Program bootloader is loaded into for the multistage guidance of (SuSE) Linux OS,
First stage guidance, which is loaded into program bootloader, can be simple bare machine program, and second stage guidance, which is loaded into program, can be U-
boot;For file system, if using flash as main memory, virtual flash disk Ramdisk is can be used in the part Rootfs,
Application software partitioned file system can choose chaotic blocks mirror file system UBIFS or JFFS2 file system;If it is
EMMC or UFS, then can any combination as main memory.
Through the embodiment of the present invention, two-stage is set or multistage guidance is loaded into program starting, and first stage guidance is loaded into journey
The data of sequence subregion do not upgrade, to prevent due to the problem of error in data system can not start appearance;File system is divided into two
Part, the part root file rootfs do not have to upgrade, and other modules select that the upgrading data of corresponding subregion are written as needed, reduce
File system upgrades the size of data subregion, reduces upgrading data volume, accelerates update time;By being obtained in External memory equipment
Upgrade data file, is restored and upgraded in corrupted data.
It should be noted that those skilled in the art are in the technical scope disclosed by the present invention, can be readily apparent that other
Sequencing schemes should also will not repeat them here within protection scope of the present invention.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
It is the schematic block diagram of embedded system update device provided by one embodiment of the present invention referring to Fig. 5, for the ease of
Illustrate, only parts related to embodiments of the present invention are shown.
The embedded system update device, comprising:
First upgraded module 51, for after receiving upgrading data packet and upgrade command, keeping first stage guidance to carry
The data for entering program sectioning are constant, according to the data partition number in upgrading data packet, write data into it is corresponding
Subregion;
System reboot module 52 is used for restarting systems, runs the journey that the first stage guidance is loaded into program sectioning
Sequence, and guide the program of operation second stage guidance loading program sectioning;
Data read module 53, for reading and rising after the second stage guides and is loaded into the data starting of program sectioning
The upgrading mark of grade data storage partition, and judge whether to need to upgrade according to the upgrading mark;
Second upgraded module 54 then reads the file system number of the upgrading data storage partition for if desired upgrading
According to by the corresponding file partition of file system data write-in.
Through the embodiment of the present invention, two-stage is set or multistage guidance is loaded into program starting, and first stage guidance is loaded into journey
The data of sequence subregion do not upgrade, to prevent due to the problem of error in data system can not start appearance;File system is divided into two
Part, the part root file rootfs do not have to upgrade, and other modules select that the upgrading data of corresponding subregion are written as needed, reduce
File system upgrades the size of data subregion, reduces upgrading data volume, accelerates update time;By being obtained in External memory equipment
Upgrade data file, is restored and upgraded in corrupted data.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions
Unit, module are completed, i.e., the internal structure of the mobile terminal is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional module in embodiment can integrate in one processing unit, be also possible to
Each unit physically exists alone, and can also be integrated in one unit with two or more units, above-mentioned integrated unit
Both it can take the form of hardware realization, can also realize in the form of software functional units.In addition, the tool of each functional module
Body title is also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Module in above-mentioned mobile terminal
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Fig. 6 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 6, the terminal of the embodiment is set
Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60
Calculation machine program 62.The memory includes at least first stage guidance and is loaded into program sectioning, second stage guidance loading program point
Area, second stage guidance are loaded into program backup subregion, the first file partition, the second file partition and upgrading data
Partition holding.The processor 60 realizes that above-mentioned each embedded system upgrade method is implemented when executing the computer program 62
Step in example, such as step 201 shown in Fig. 2 is to 204.Alternatively, when the processor 60 executes the computer program 62
Realize the function of each module/unit in above-mentioned each Installation practice, such as the function of module 51 to 54 shown in Fig. 5.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 62 in the terminal device 6 is described.For example, the computer program 62 can be divided
It is cut into and is booted up module, data processing module, data read module, system upgrade module, each module concrete function is as follows:
It is booted up module, for after receiving upgrading data packet and upgrade command, keeping the first stage to guide
The data for being loaded into program sectioning are constant, and the second stage is written in the firmware image file data in the upgrading data packet and is drawn
It leads and is loaded into program backup subregion, the upgrading data storage partition is written into simultaneously in the file system data in the upgrading data packet
Setting upgrading mark;
Data processing module, for reading after the completion of the second stage guides the data load for being loaded into program sectioning
The upgrading mark, and judge whether to need to upgrade;
Data read module then reads the file system data of upgrading data storage area for if desired upgrading;
System upgrade module, for the first file system point to be written in the first file data in the file system data
Second file partition is written in second file data in the file system data by area.
The terminal device 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6
The only example of terminal device 6 does not constitute the restriction to terminal device 6, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6
It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6
Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of embedded system upgrade method, which is characterized in that be applied to embedded type terminal equipment, the embedded system liter
Grade method include:
After receiving upgrading data packet and upgrade command, the data for keeping first stage guidance to be loaded into program sectioning are constant, root
According to the data partition number in upgrading data packet, write data into corresponding subregion;
Restarting systems run the first stage guidance and are loaded into the program of program sectioning, and operation second stage is guided to draw
Lead the program for being loaded into program sectioning;
After the second stage guides and is loaded into the data starting of program sectioning, the upgrading mark of upgrading data storage partition is read
Will, and judge whether to need to upgrade according to the upgrading mark;
If desired upgrade, then read the file system data of the upgrading data storage partition, the file system data is write
Enter corresponding file partition.
2. embedded system upgrade method as described in claim 1, which is characterized in that receiving upgrading data packet and upgrading
After instruction, the program for keeping first stage guidance to be loaded into program sectioning is constant, according to the data partition number in upgrading data packet,
Corresponding subregion in writing data into, comprising:
Parsing and cyclic redundancy check are carried out to the upgrading data packet, obtain the application software upgrade in the upgrading data packet
Corresponding upgrading data, the upgrading data packet include one in initialization data, kernel mirror image data and file system data
Kind is a variety of;
Institute's second stage is guided and is loaded into program write-in second stage guidance loading program backup subregion, by the kernel mirror image number
According to write-in kernel mirror image subregion, the file system data is repacked into write-in upgrading data storage partition and upgrading mark is set
Will.
3. embedded system upgrade method as described in claim 1, which is characterized in that restarting systems run described the
The guidance of one stage is loaded into the program of program sectioning, and guides the program of operation second stage guidance loading program sectioning, comprising:
The program that the first stage guidance is loaded into program sectioning is run, the second stage guidance is verified and is loaded into program sectioning
Whether the data that data and second stage guidance are loaded into program backup subregion are effectively and consistent;
If the second stage guidance is loaded into the data of program sectioning and second stage guidance is loaded into program backup subregion
Data are effective and inconsistent or second stage guidance is loaded into the data invalid of program sectioning and the second stage is drawn
The data for leading loading program backup subregion are effective, then guide the data for being loaded into program backup subregion to copy to the second stage
The second stage guidance is loaded into program sectioning;
If the data that the second stage guidance is loaded into program sectioning are effective, the second stage guidance is loaded into program backup subregion
Data invalid, then guide the data for being loaded into program sectioning to copy to the second stage guidance second stage and be loaded into journey
Sequence backup subregion.
4. embedded system upgrade method as described in claim 1, which is characterized in that further include:
After the second stage guides and is loaded into the data starting of program sectioning, the data of External memory equipment are obtained, judgement is
It is no that there are upgrading data packets;
The upgrading data packet if it exists then reads the upgrading data packet, and carries out parsing and school to the upgrading data packet
It tests;
After verification passes through, corresponding subregion in memory is written into according to data partition number in the data after parsing.
5. embedded system upgrade method as described in claim 1, which is characterized in that if desired upgrade, then read the liter
Corresponding file partition is written in the file system data by the file system data of grade data storage partition, comprising:
First file partition is written into the first file data in the file system data, by the file system
Second file partition is written in the second file data in data.
6. embedded system upgrade method as claimed in claim 5, which is characterized in that by the file system data
First file partition is written in one file data, will be described in the second file data write-in in the file system data
After second file partition, which comprises
The data for being loaded into program sectioning are guided to be booted up operating system by the second stage;
After os starting, first file data of the first file partition described in carry, by the first file system
Subregion carry is carried out to second file data of second file partition;
After the completion of carry, start Application Software Program.
7. embedded system upgrade method as claimed in claim 6, which is characterized in that after starting Application Software Program, packet
It includes:
Receive upgrade command and data packet that user remotely-or locally controls transmission;
It verifies and parses the data packet;
After examining effectively, the separate modular data in the data packet are read, and memory is written into the separate modular data
In corresponding subregion, to complete the upgrading of the Application Software Program.
8. a kind of embedded system update device characterized by comprising
First upgraded module, for after receiving upgrading data packet and upgrade command, keeping first stage guidance to be loaded into program
The data of subregion are constant, according to the data partition number in upgrading data packet, write data into corresponding subregion;
System reboot module is used for restarting systems, runs the first stage guidance and is loaded into the program of program sectioning, and draws
Lead the program that operation second stage guidance is loaded into program sectioning;
Data read module, for reading upgrading data after the second stage guides and is loaded into the data starting of program sectioning
The upgrading mark of partition holding, and judge whether to need to upgrade according to the upgrading mark;
Second upgraded module then reads the file system data of the upgrading data storage partition, by institute for if desired upgrading
It states file system data and corresponding file partition is written.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910312153.2A CN110134426A (en) | 2019-04-18 | 2019-04-18 | A kind of embedded system upgrade method, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910312153.2A CN110134426A (en) | 2019-04-18 | 2019-04-18 | A kind of embedded system upgrade method, device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110134426A true CN110134426A (en) | 2019-08-16 |
Family
ID=67570179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910312153.2A Pending CN110134426A (en) | 2019-04-18 | 2019-04-18 | A kind of embedded system upgrade method, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134426A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110780890A (en) * | 2019-10-24 | 2020-02-11 | 百度在线网络技术(北京)有限公司 | System upgrading method and device, electronic equipment and medium |
CN111258600A (en) * | 2019-11-21 | 2020-06-09 | 华立科技股份有限公司 | Mirror image type embedded program firmware upgrading method |
CN111522571A (en) * | 2020-03-12 | 2020-08-11 | 深圳英飞拓科技股份有限公司 | Equipment upgrading method and device, terminal equipment and storage medium |
CN111522569A (en) * | 2020-05-09 | 2020-08-11 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium |
WO2021064039A1 (en) * | 2019-09-30 | 2021-04-08 | Nordic Semiconductor Asa | Bootloader updating |
CN112631625A (en) * | 2020-11-20 | 2021-04-09 | 展讯通信(上海)有限公司 | System upgrading method and device of embedded equipment and embedded equipment |
CN113050965A (en) * | 2021-03-12 | 2021-06-29 | 成都国科微电子有限公司 | Embedded system upgrading method, device, equipment and medium |
CN113114730A (en) * | 2021-03-22 | 2021-07-13 | 深圳市晨北科技有限公司 | Upgrading method and device, terminal equipment and storage medium |
CN113672257A (en) * | 2021-08-05 | 2021-11-19 | 深圳市道通智能汽车有限公司 | Micro control unit software upgrading method, electronic equipment and storage medium |
CN113687851A (en) * | 2021-08-31 | 2021-11-23 | 高新兴科技集团股份有限公司 | Embedded equipment upgrading method and device |
CN113778760A (en) * | 2021-11-11 | 2021-12-10 | 麒麟软件有限公司 | Key data self-destruction and automatic restoration method and device based on embedded system |
CN114647425A (en) * | 2020-12-21 | 2022-06-21 | 晶晨半导体(深圳)有限公司 | Method for controlling software upgrade of embedded system, storage medium and electronic device |
CN114780120A (en) * | 2022-04-02 | 2022-07-22 | 荣耀终端有限公司 | Upgrading method, equipment and storage medium |
CN115328563A (en) * | 2022-10-09 | 2022-11-11 | 荣耀终端有限公司 | System starting method and electronic equipment |
CN115686582A (en) * | 2023-01-04 | 2023-02-03 | 北京蓝色星际科技股份有限公司 | System upgrading method and device for electronic equipment |
CN115952564A (en) * | 2023-03-01 | 2023-04-11 | 荣耀终端有限公司 | Data writing method and terminal equipment |
CN117055929A (en) * | 2023-10-11 | 2023-11-14 | 国网信息通信产业集团有限公司 | Method, equipment and medium for realizing safe upgrade of double-core system |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425018A (en) * | 2008-12-05 | 2009-05-06 | 深圳创维数字技术股份有限公司 | Embedded firmware upgrading method and device based on sectional form |
CN101916198A (en) * | 2010-07-23 | 2010-12-15 | 深圳创维-Rgb电子有限公司 | Method for updating web TV and managing software version thereof |
CN102375744A (en) * | 2010-08-11 | 2012-03-14 | 深圳Tcl新技术有限公司 | Network television upgrade method |
CN103699421A (en) * | 2014-01-08 | 2014-04-02 | 金三立视频科技(深圳)有限公司 | Method and device for upgrading embedded device system |
CN104714815A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Method for updating application software and device |
CN104750527A (en) * | 2015-03-27 | 2015-07-01 | 广州快飞计算机科技有限公司 | Embedded system upgrading method and system |
CN105183580A (en) * | 2014-06-06 | 2015-12-23 | 西安中兴新软件有限责任公司 | Storage method and fault recovery method for bootstrap program, and devices |
CN105786542A (en) * | 2014-12-26 | 2016-07-20 | 乐视致新电子科技(天津)有限公司 | Intelligent device and system update method of the intelligent device |
CN106020884A (en) * | 2016-05-20 | 2016-10-12 | 江苏华辉云控科技有限公司 | Network camera system online update method |
CN106462422A (en) * | 2014-11-20 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Multi-system terminal system updating method, updating device and terminal |
CN107273160A (en) * | 2017-06-09 | 2017-10-20 | 青岛海信电器股份有限公司 | A kind of method and device of edition upgrading |
CN108304210A (en) * | 2018-02-07 | 2018-07-20 | 深圳市布谷鸟科技有限公司 | A kind of upgrade method of automobile instrument panel |
CN109460245A (en) * | 2018-10-31 | 2019-03-12 | 北京众谊越泰科技有限公司 | A kind of remote upgrade method of embedded system |
WO2019062703A1 (en) * | 2017-09-26 | 2019-04-04 | 阿里巴巴集团控股有限公司 | Update method, and embedded system |
CN109634645A (en) * | 2018-12-28 | 2019-04-16 | 深圳市有方科技股份有限公司 | Firmware upgrade method and terminal |
-
2019
- 2019-04-18 CN CN201910312153.2A patent/CN110134426A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425018A (en) * | 2008-12-05 | 2009-05-06 | 深圳创维数字技术股份有限公司 | Embedded firmware upgrading method and device based on sectional form |
CN101916198A (en) * | 2010-07-23 | 2010-12-15 | 深圳创维-Rgb电子有限公司 | Method for updating web TV and managing software version thereof |
CN102375744A (en) * | 2010-08-11 | 2012-03-14 | 深圳Tcl新技术有限公司 | Network television upgrade method |
CN104714815A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Method for updating application software and device |
CN103699421A (en) * | 2014-01-08 | 2014-04-02 | 金三立视频科技(深圳)有限公司 | Method and device for upgrading embedded device system |
CN105183580A (en) * | 2014-06-06 | 2015-12-23 | 西安中兴新软件有限责任公司 | Storage method and fault recovery method for bootstrap program, and devices |
CN106462422A (en) * | 2014-11-20 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Multi-system terminal system updating method, updating device and terminal |
CN105786542A (en) * | 2014-12-26 | 2016-07-20 | 乐视致新电子科技(天津)有限公司 | Intelligent device and system update method of the intelligent device |
CN104750527A (en) * | 2015-03-27 | 2015-07-01 | 广州快飞计算机科技有限公司 | Embedded system upgrading method and system |
CN106020884A (en) * | 2016-05-20 | 2016-10-12 | 江苏华辉云控科技有限公司 | Network camera system online update method |
CN107273160A (en) * | 2017-06-09 | 2017-10-20 | 青岛海信电器股份有限公司 | A kind of method and device of edition upgrading |
WO2019062703A1 (en) * | 2017-09-26 | 2019-04-04 | 阿里巴巴集团控股有限公司 | Update method, and embedded system |
CN108304210A (en) * | 2018-02-07 | 2018-07-20 | 深圳市布谷鸟科技有限公司 | A kind of upgrade method of automobile instrument panel |
CN109460245A (en) * | 2018-10-31 | 2019-03-12 | 北京众谊越泰科技有限公司 | A kind of remote upgrade method of embedded system |
CN109634645A (en) * | 2018-12-28 | 2019-04-16 | 深圳市有方科技股份有限公司 | Firmware upgrade method and terminal |
Non-Patent Citations (3)
Title |
---|
DHDAHAI: "在Bootloader中实现嵌入式系统自动升级", pages 1 - 2, Retrieved from the Internet <URL:https://blog.csdn.net/dhdahai/article/details/4003419> * |
XIAOBO HUANG等: "Research on Hierarchical File System for Embedded Linux", 2010 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SOFTWARE ENGINEERING, pages 1 - 3 * |
姜文波: "基于嵌入式Web网关的纸币器监控升级系统设计", 中国优秀硕士学位论文全文数据库信息科技辑, no. 1, pages 140 - 862 * |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021064039A1 (en) * | 2019-09-30 | 2021-04-08 | Nordic Semiconductor Asa | Bootloader updating |
US12014165B2 (en) | 2019-09-30 | 2024-06-18 | Nordic Semiconductor Asa | Bootloader updating |
CN110780890B (en) * | 2019-10-24 | 2023-06-06 | 百度在线网络技术(北京)有限公司 | System upgrading method, device, electronic equipment and medium |
CN110780890A (en) * | 2019-10-24 | 2020-02-11 | 百度在线网络技术(北京)有限公司 | System upgrading method and device, electronic equipment and medium |
CN111258600A (en) * | 2019-11-21 | 2020-06-09 | 华立科技股份有限公司 | Mirror image type embedded program firmware upgrading method |
CN111522571A (en) * | 2020-03-12 | 2020-08-11 | 深圳英飞拓科技股份有限公司 | Equipment upgrading method and device, terminal equipment and storage medium |
CN111522571B (en) * | 2020-03-12 | 2024-02-09 | 深圳英飞拓仁用信息有限公司 | Equipment upgrading method and device, terminal equipment and storage medium |
CN111522569A (en) * | 2020-05-09 | 2020-08-11 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium |
CN111522569B (en) * | 2020-05-09 | 2023-08-18 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer readable storage medium |
CN112631625A (en) * | 2020-11-20 | 2021-04-09 | 展讯通信(上海)有限公司 | System upgrading method and device of embedded equipment and embedded equipment |
CN112631625B (en) * | 2020-11-20 | 2022-10-21 | 展讯通信(上海)有限公司 | System upgrading method and device for embedded equipment and embedded equipment |
WO2022105595A1 (en) * | 2020-11-20 | 2022-05-27 | 展讯通信(上海)有限公司 | Method and apparatus for upgrading system of embedded device, and embedded device |
CN114647425A (en) * | 2020-12-21 | 2022-06-21 | 晶晨半导体(深圳)有限公司 | Method for controlling software upgrade of embedded system, storage medium and electronic device |
CN113050965A (en) * | 2021-03-12 | 2021-06-29 | 成都国科微电子有限公司 | Embedded system upgrading method, device, equipment and medium |
CN113114730B (en) * | 2021-03-22 | 2022-09-27 | 深圳市晨北科技有限公司 | Upgrading method and device, terminal equipment and storage medium |
CN113114730A (en) * | 2021-03-22 | 2021-07-13 | 深圳市晨北科技有限公司 | Upgrading method and device, terminal equipment and storage medium |
CN113672257B (en) * | 2021-08-05 | 2024-05-28 | 深圳市塞防科技有限公司 | Micro control unit software upgrading method, electronic equipment and storage medium |
CN113672257A (en) * | 2021-08-05 | 2021-11-19 | 深圳市道通智能汽车有限公司 | Micro control unit software upgrading method, electronic equipment and storage medium |
CN113687851A (en) * | 2021-08-31 | 2021-11-23 | 高新兴科技集团股份有限公司 | Embedded equipment upgrading method and device |
CN113778760B (en) * | 2021-11-11 | 2022-03-11 | 麒麟软件有限公司 | Key data self-destruction and automatic restoration method and device based on embedded system |
CN113778760A (en) * | 2021-11-11 | 2021-12-10 | 麒麟软件有限公司 | Key data self-destruction and automatic restoration method and device based on embedded system |
CN114780120A (en) * | 2022-04-02 | 2022-07-22 | 荣耀终端有限公司 | Upgrading method, equipment and storage medium |
CN114780120B (en) * | 2022-04-02 | 2023-06-09 | 荣耀终端有限公司 | Upgrade method, device and storage medium |
CN115328563A (en) * | 2022-10-09 | 2022-11-11 | 荣耀终端有限公司 | System starting method and electronic equipment |
CN115686582A (en) * | 2023-01-04 | 2023-02-03 | 北京蓝色星际科技股份有限公司 | System upgrading method and device for electronic equipment |
CN115952564B (en) * | 2023-03-01 | 2023-08-15 | 荣耀终端有限公司 | Data writing method and terminal equipment |
CN115952564A (en) * | 2023-03-01 | 2023-04-11 | 荣耀终端有限公司 | Data writing method and terminal equipment |
CN117055929A (en) * | 2023-10-11 | 2023-11-14 | 国网信息通信产业集团有限公司 | Method, equipment and medium for realizing safe upgrade of double-core system |
CN117055929B (en) * | 2023-10-11 | 2024-01-09 | 国网信息通信产业集团有限公司 | Method, equipment and medium for realizing safe upgrade of double-core system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110134426A (en) | A kind of embedded system upgrade method, device and terminal device | |
CN106227579B (en) | Docker container construction method and Docker management console | |
KR101143112B1 (en) | Applying custom software image updates to non-volatile storage in a failsafe manner | |
US10437580B2 (en) | Software updating methods and systems | |
US20110320794A1 (en) | Flash System And Method For Updating The Flash System | |
CN109634645A (en) | Firmware upgrade method and terminal | |
CN109558160A (en) | Upgrade method, embedded system | |
CN103577201B (en) | The update method and system of Embedded Double system | |
CN106250192A (en) | The method for upgrading software of host computer and system | |
CN111813428A (en) | Method and device for upgrading terminal firmware, electronic equipment and storage medium | |
CN111240720A (en) | Boot program upgrading method and device and storage medium | |
CN108509215B (en) | System software replacing method and device, terminal equipment and storage medium | |
CN106033362A (en) | Method and device for processing flash memory partition | |
CN111045712A (en) | Single system upgrading method and system with backup function | |
CN110515671B (en) | Initialization method, initialization device, terminal device and readable storage medium | |
US9026777B2 (en) | Automatic update of persistent boot parameter storage | |
CN115291946A (en) | Hongmong system transplanting method, device, electronic equipment and readable medium | |
CN113238790B (en) | Firmware program updating method and system based on SD card and EEPROM | |
US11023220B2 (en) | Firmware update with integrated smart sequence and action engine | |
CN106933604A (en) | A kind of method for upgrading system and device | |
KR100860402B1 (en) | Device and method for upgradin system using two step bootloader | |
CN113377425B (en) | BMC firmware generation method and device, BMC starting method and device and storage medium | |
CN111258617B (en) | Electronic equipment | |
CN115658152A (en) | Firmware upgrading method, firmware, electronic device and computer readable storage medium | |
CN109358871B (en) | Method and device for replacing application system of embedded system equipment and storage medium |
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 | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20240322 |
|
AD01 | Patent right deemed abandoned |