CN102023876A - Embedded system capable of upgrading software on line and online upgrading method - Google Patents

Embedded system capable of upgrading software on line and online upgrading method Download PDF

Info

Publication number
CN102023876A
CN102023876A CN2009103069347A CN200910306934A CN102023876A CN 102023876 A CN102023876 A CN 102023876A CN 2009103069347 A CN2009103069347 A CN 2009103069347A CN 200910306934 A CN200910306934 A CN 200910306934A CN 102023876 A CN102023876 A CN 102023876A
Authority
CN
China
Prior art keywords
main website
terminal
built
district
upgrading
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
CN2009103069347A
Other languages
Chinese (zh)
Other versions
CN102023876B (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.)
ZHANGZHOU CANNET ELECTRICAL APPLIANCE CO Ltd
Original Assignee
ZHANGZHOU CANNET ELECTRICAL APPLIANCE 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 ZHANGZHOU CANNET ELECTRICAL APPLIANCE CO Ltd filed Critical ZHANGZHOU CANNET ELECTRICAL APPLIANCE CO Ltd
Priority to CN 200910306934 priority Critical patent/CN102023876B/en
Publication of CN102023876A publication Critical patent/CN102023876A/en
Application granted granted Critical
Publication of CN102023876B publication Critical patent/CN102023876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an embedded system capable of upgrading software on line and an online upgrading method. The system comprises an embedded terminal, and a remote master station, a short range master station and a local master station which can respectively transmit data with the embedded terminal, wherein the embedded terminal comprises a master control chip, a program memory, a data memory, a remote communication interface and a local/close communication interface; the program memory of the embedded terminal is divided into a region A and a region B which have equal structures, when the master station transmits a software package to the embedded terminal, a bootstrap process of a system of the embedded terminal is sequentially performed from the region A to the region B in turn, and a bootstrap region is converted when the software of the system is upgraded each time; and double backups of system program are saved in the program memory, and if the upgrading process is failed, the system program can be recovered from a region in which the system program is successfully started last time. By the method, various abnormal situations in the online upgrading process can be effectively identified, and corresponding measures are taken for repair, such as error retransmission, resume from break point, invalid abandon or failure recovery, so that the correctness and robustness of online upgrading can be ensured.

Description

But a kind of embedded system of on-line software updating and online upgrading method
Technical field
The present invention relates to a kind of technology of embedded computer on-line software updating, especially have the system software and the application software online upgrading of the embedded computer of embedded OS.
Background technology
Traditional embedded type terminal equipment, because the restriction of resource and environmental baseline just need solidify software code in the production phase, online modification at the scene after equipment dispatches from the factory.In case upgrade requirement occurs, or be the equipment depot repair, or be to tear machine at the scene open to change component plate or replace the procedure stores chip.
Along with improving constantly of computer utility level, in order to satisfy the demand that the client continues variation, prolong the life cycle of product, improve the performance of system, embedded product need possess the online upgrading ability.
Present known embedded software online upgrading method has been idealized working environment.In the actual environment, we may face various unusual, as phenomenons such as communication transmission error code, storage operation fault, transmission interruption, manually-operated error, the generation that any one is unusual, the escalation process failure is caused in the capital, even causes that systemic breakdown causes product failure.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, but provide a kind of embedded system and online upgrading method of on-line software updating, make in this way, can effectively discern the various unusual conditions in the online escalation process, and take corresponding measure to be remedied, or error code retransmits, or breakpoint transmission, or invalid abandoning, or fail and reduce, guarantee the correctness and the robustness of online upgrading.
The technical solution adopted for the present invention to solve the technical problems is: but a kind of embedded system of on-line software updating comprises:
One built-in terminal, it comprises main control chip, program storage, data-carrier store, remote communication interface and this locality/short-haul connections interface; Main control chip is connected with program storage, data-carrier store, remote communication interface and this locality/short-haul connections interface respectively; This program storage is divided into A district and the B district with peering structure at least, and each district further is divided into three sub regions with identical size and structure again; Described three sub regions are respectively the start-up routine districts that are used for storing start-up routine, be used for storing the boot district of boot and be used for the system program district of storage system program; This data-carrier store is provided with the storage space of storage service program, business datum and ROMPaq bag thereof simultaneously; Described start-up routine district also stores the upgrading control information;
One is located at first main website long-range and that can be connected with described built-in terminal by the wireless network access, be provided with the communication protocol of mutual approval between this first main website and the built-in terminal so that can realize exchanges data between first main website and the built-in terminal, first main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading;
One second main website that is located at short range and can be connected with described built-in terminal by the wireless mode access, be provided with the communication protocol of mutual approval between this second main website and the built-in terminal so that can realize exchanges data between second main website and the built-in terminal, second main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading;
One the 3rd main website that is located at short range and can be connected with described built-in terminal by this locality access, be provided with the communication protocol of mutual approval between the 3rd main website and the built-in terminal so that can realize exchanges data between the 3rd main website and the built-in terminal, the 3rd main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading.
Described program storage adopts the Flash memory device.
Described second main website, the 3rd main website are respectively portable equipment or desk-top computer or laptop computer.
A kind of on-line software updating method of embedded system comprises the steps:
A. built-in terminal starts from the A district according to predefined bootmode, loads the boot in A district, and the operating system program in guiding A district enters duty;
B. one of them main website by first main website or second main website or the 3rd main website sends the ROMPaq bag that several are used for software upgrading to built-in terminal; Built-in terminal check ROMPaq bag is guaranteed complete all ROMPaq bags that correctly receives;
C. the main website that sends the ROMPaq bag sends instruction to built-in terminal, and the notice built-in terminal carries out software upgrading to be upgraded;
D. built-in terminal uses the ROMPaq bag to upgrade the B district, and registration upgrading control information in the start-up routine district in A district, and it is ready that this upgrading control information is labeled as redaction;
E. built-in terminal restarts, start from the A district, check the upgrading control information of A district registration, finding that the upgrading control information is labeled as redaction when ready, registration upgrading control information again, this upgrading control information is labeled as redaction and enables, and loads the boot in B district, the operating system program in guiding B district enters duty;
F. if guidance system is successful, then boot district and the system program district with the B district copies to the A district, registration upgrading control information once more, and this upgrading control information is labeled as redaction and upgrades; Escalation process finishes;
G. if guidance system failure, preestablish the overtime of time through one, built-in terminal resets under the watchdog circuit effect;
H. built-in terminal restarts, and starts from the A district, checks the upgrading control information, the mark of finding the upgrading control information is still enabled for redaction and is not modified to redaction and upgrades, then load the boot in A district, the operating system program in guiding A district enters duty;
I. guidance system success copies to B district with the boot district and the system program district in A district, the registration control information of upgrading once more, and this upgrading control information is labeled as redaction and discards; System recovery is to the preceding state of upgrading, and escalation process finishes.
Described predefined bootmode is to carry out in turn from A district and B district successively, successfully carries out then changing the guidance field behind the system software upgrading at every turn.
Described ROMPaq bag is broken down into an AKU data of description piece and several upgrade data pieces, these data blocks are sent on the built-in terminal from first main website or second main website or the 3rd main website in turn, be temporarily stored on the zone of delimiting in advance of data-carrier store of built-in terminal, transmit and finish the back and merge automatically by built-in terminal and be reduced to the ROMPaq bag.
Described ROMPaq bag is the AKU of first main website or second main website or the transmission of the 3rd main website; The data block of this AKU is sent to built-in terminal from first main website or second main website or the 3rd main website in turn, and this process can be interrupted by system's other business; Between two data block transfers, first main website or second main website or the 3rd main website can issue other instructions, and built-in terminal can be restarted, and first main website or second main website or the 3rd main website also can be restarted.
Described ROMPaq bag is the AKU of first main website or second main website or the transmission of the 3rd main website; The data block of this AKU transmits has the ability of automatically restoring fault; First main website or second main website or the 3rd main website can inquire the data block quantity of the AKU that is transmitting, and continue to transmit follow-up AKU data block.
Described ROMPaq wraps in the branch block transfer and merges in the process of reduction, has passed through two layers inspection verification, and its process is as follows:
Check the check information of upgrade data piece after the check information that comprises self in the transport process of each upgrade data piece, built-in terminal receive earlier, just store after correct, and the corresponding main website of notice sends next upgrade data piece;
In AKU data of description piece, comprise check information, built-in terminal is after all data blocks transmit end, merging is reduced into the ROMPaq bag, also will check verification to the check information of AKU data of description piece, guarantees that with this ROMPaq bag correctly transmits.
A described remote upgrade renewal process can be upgraded a plurality of program modules simultaneously, and each program module transmits as a ROMPaq bag, can concurrently transmit between a plurality of ROMPaq bags.
But the embedded system of a kind of on-line software updating of the present invention and online upgrading method, embedded type terminal equipment by main control chip, procedure stores device, data storage device and can and main website (can be first main website, also can be second main website, perhaps can be the 3rd main website) communication interface of communication constitutes.Software section comprises system program (start-up routine, boot and embedded OS) and business procedure.
Between main website (comprising first main website, second main website and the 3rd main website) and built-in terminal, formulate have a communications protocol, this communications protocol to make can swap data between embedded type terminal equipment and the main website.The ROMPaq bag is sent to embedded type terminal equipment according to this kind communications protocol mode by main website.This communications protocol can be supported multiple communication modes, can be telecommunication (as TCP/UDP, GPRS/CDMA, PSTN, 230MHz are wireless etc.), or locally-attached communication (as USB, RS232, RS485, high speed infrared etc.), can also be Near Field Communication (as far infrared, less radio-frequency, bluetooth etc.).Can both finish the transmission of online upgrading bag as long as can realize the communication modes of main website and embedded device swap data.
The transmission and the renewal process of software upgrade package realize in business procedure.
The bootup process of system is carried out in turn from A district and B district successively, carries out system software upgrading at every turn and then changes the guidance field.The zone that the system software upgrading bag upgrades is current non-guidance field.Be that system guides from the A district, then software version update is to the B district.Otherwise system is from the guiding of B district, and then software version update is to the A district.
After the booting operating system success, whether the software version that reexamines A memory block and B memory block is consistent, if inconsistent, then replace the version of non-boot section with the version of boot section, keep the software version in 2 zones (being A memory block and B memory block) synchronous with this.
If the operating system after upgrading can not successfully guide, then from the guiding of old version system boot section, and the system realm that will upgrade is reduced into legacy version.
The invention has the beneficial effects as follows, but owing to adopted one to be located at long-range and can to insert and first main website, that be connected with described built-in terminal is located at short range and can inserts and second main website, that be connected with described built-in terminal is located at short range and can inserts and the 3rd main website that is connected with described built-in terminal and the built-in terminal that includes main control chip, program storage, data-carrier store, remote communication interface and this locality/short-haul connections interface constitute the embedded system of on-line software updating by this locality by wireless mode by wireless network; And dividing in the program storage of built-in terminal has A district and the B district with peering structure, and the bootup process of system is carried out in turn from A district and B district successively, carries out system software upgrading at every turn and then changes the guidance field; The zone that the system software upgrading bag upgrades is current non-guidance field, and promptly system is from the guiding of A district, and then software version update is to the B district; Otherwise system is from the guiding of B district, and then software version update is to the A district.This embedded system and online upgrading method have following beneficial effect: the one, and, system program is preserved double copies at program storage, if the escalation process failure can be reduced from the zone that the last time successfully starts, has robustness; The 2nd,, transmission course has multiple check, possesses the ability of fault recovery, supports concurrent transmission; The 3rd,, various communication modes all can be realized updating operation, have dirigibility; The 4th,, the transmission and the control procedure of escalation process realize that in application layer the user can upgrade voluntarily.
Below in conjunction with drawings and Examples the present invention is described in further detail; But but the embedded system of a kind of on-line software updating of the present invention and online upgrading method are not limited to embodiment.
Description of drawings
But Fig. 1 is the structural representation of the embedded system of on-line software updating of the present invention;
Fig. 2 is the structural representation of built-in terminal of the present invention;
Fig. 3 is the dividing mode synoptic diagram of the program storage of built-in terminal of the present invention;
Fig. 4 is the transmission and the renewal process process flow diagram of software upgrade package of the present invention.
Embodiment
Embodiment, shown in accompanying drawing, but the embedded system of a kind of on-line software updating of the present invention comprises:
One built-in terminal 1, it comprises main control chip 11, program storage 12, data-carrier store 13, remote communication interface 14 and this locality/short-haul connections interface 15; Main control chip 11 is connected with program storage 12, data-carrier store 13, remote communication interface 14 and this locality/short-haul connections interface 15 respectively; This program storage 12 is divided into A district and the B district with peering structure at least, and each district further is divided into three sub regions with identical size and structure again; Described three sub regions are respectively the start-up routine district LOADER that are used for storing start-up routine, be used for storing the boot district BOOT of boot and be used for the system program district SYSTEM of storage system program; This data-carrier store 13 is provided with the storage space of storage service program, business datum and ROMPaq bag thereof simultaneously; Described start-up routine district LOADER also stores the upgrading control information; This built-in terminal 1 can also have the electron device of band digital register, if having the electron device of band digital register, this digital register is used to deposit the check information of upgrading control information; Built-in terminal 1 has boot BSP and embedded OS;
One is located at first main website 2 long-range and that can be connected with described built-in terminal by wireless network 5 accesses, be provided with the communication protocol of mutual approval between this first main website 2 and the built-in terminal 1 so that can realize exchanges data between first main website 2 and the built-in terminal 1, first main website 2 sends ROMPaq bag and upgrade thereof to built-in terminal 1, and built-in terminal 1 carries out software upgrading; Wireless network 5 is public or special-purpose long-distance communication networks;
One second main website 3 that is located at short range and can be connected with described built-in terminal by the wireless mode access, be provided with the communication protocol of mutual approval between this second main website 3 and the built-in terminal 1 so that can realize exchanges data between second main website 3 and the built-in terminal 1, second main website 3 sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal 1 carries out software upgrading;
One the 3rd main website 4 that is located at short range and can be connected with described built-in terminal by this locality access, be provided with the communication protocol of mutual approval between the 3rd main website 4 and the built-in terminal 1 so that can realize exchanges data between the 3rd main website 4 and the built-in terminal 1, the 3rd main website 4 sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal 1 carries out software upgrading.
Wherein:
Program storage 12 adopts the Flash memory device;
Second main website 3, the 3rd main website 4 are respectively portable equipment or desk-top computer or laptop computer.
A kind of on-line software updating method of embedded system comprises the steps:
A. built-in terminal 1 starts from the A district according to predefined bootmode, loads the boot in A district, and the operating system program in guiding A district enters duty; As the frame 401 of Fig. 4 to shown in the frame 408;
B. send several by one of them main website of first main website 2 or second main website 3 or the 3rd main website 4 to built-in terminal 1 and be used for the ROMPaq bag of software upgrading; Built-in terminal 1 check ROMPaq bag is guaranteed complete all ROMPaq bags that correctly receives; Shown in the frame 409 of Fig. 4;
C. the main website that sends the ROMPaq bag sends instruction to built-in terminal 1, and notice built-in terminal 1 carries out software upgrading to be upgraded;
D. built-in terminal 1 uses the ROMPaq bag to upgrade the B district, and registration upgrading control information in the start-up routine district in A district, and it is ready that this upgrading control information is labeled as redaction; Shown in the frame 410 of Fig. 4;
E. built-in terminal 1 restarts, start from the A district, check the upgrading control information of A district registration, finding that the upgrading control information is labeled as redaction when ready, registration upgrading control information again, this upgrading control information is labeled as redaction and enables, and loads the boot in B district, the operating system program in guiding B district enters duty; Shown in the frame 411 of Fig. 4;
F. if guidance system is successful, then boot district and the system program district with the B district copies to the A district, registration upgrading control information once more, and this upgrading control information is labeled as redaction and upgrades; Escalation process finishes; Shown in the frame 407 of Fig. 4;
G. if guidance system failure, preestablish the overtime of time through one, built-in terminal resets under the watchdog circuit effect; Shown in the frame 412 of Fig. 4;
H. built-in terminal restarts, and starts from the A district, checks the upgrading control information, the mark of finding the upgrading control information is still enabled for redaction and is not modified to redaction and upgrades, then load the boot in A district, the operating system program in guiding A district enters duty; As the frame 401 of Fig. 4 to shown in the frame 406;
I. guidance system success copies to B district with the boot district and the system program district in A district, the registration control information of upgrading once more, and this upgrading control information is labeled as redaction and discards; System recovery is to the preceding state of upgrading, and escalation process finishes; Shown in the frame 407 of Fig. 4.
Wherein:
Predefined bootmode is to carry out in turn from A district and B district successively, successfully carries out then changing the guidance field behind the system software upgrading at every turn.
The ROMPaq bag is broken down into an AKU data of description piece and several upgrade data pieces, these data blocks are sent on the built-in terminal from first main website or second main website or the 3rd main website in turn, be temporarily stored on the zone of delimiting in advance of data-carrier store of built-in terminal, transmit and finish the back and merge automatically by built-in terminal and be reduced to the ROMPaq bag.
The ROMPaq bag is the AKU of first main website or second main website or the transmission of the 3rd main website; The data block of this AKU is sent to built-in terminal from first main website or second main website or the 3rd main website in turn, and this process can be interrupted by system's other business; Between two data block transfers, first main website or second main website or the 3rd main website can issue other instructions, and built-in terminal can be restarted, and first main website or second main website or the 3rd main website also can be restarted.
The ROMPaq bag is the AKU of first main website or second main website or the transmission of the 3rd main website; The data block of this AKU transmits has the ability of automatically restoring fault; First main website or second main website or the 3rd main website can inquire the data block quantity of the AKU that is transmitting, and continue to transmit follow-up AKU data block.
ROMPaq wraps in the branch block transfer and merges in the process of reduction, has passed through two layers inspection verification, and its process is as follows:
Check the check information of upgrade data piece after the check information that comprises self in the transport process of each upgrade data piece, built-in terminal receive earlier, just store after correct, and the corresponding main website of notice sends next upgrade data piece;
In AKU data of description piece, comprise check information, built-in terminal is after all data blocks transmit end, merging is reduced into the ROMPaq bag, also will check verification to the check information of AKU data of description piece, guarantees that with this ROMPaq bag correctly transmits.
In remote upgrade renewal process, can upgrade a plurality of program modules simultaneously, each program module transmits as a ROMPaq bag, can concurrently transmit between a plurality of ROMPaq bags; Improve the efficient of communication channel.
But the embedded system of a kind of on-line software updating of the present invention and online upgrading method, embedded type terminal equipment by main control chip, procedure stores device, data storage device and can and main website (can be first main website, also can be second main website, perhaps can be the 3rd main website) communication interface of communication constitutes.Software section comprises system program (start-up routine, boot and embedded OS) and business procedure.
Between main website (comprising first main website, second main website and the 3rd main website) and built-in terminal, formulate have a communications protocol, this communications protocol to make can swap data between embedded type terminal equipment and the main website.The ROMPaq bag is sent to embedded type terminal equipment according to this kind communications protocol mode by main website.This communications protocol can be supported multiple communication modes, can be telecommunication (as TCP/UDP, GPRS/CDMA, PSTN, 230MHz are wireless etc.), or locally-attached communication (as USB, RS232, RS485, high speed infrared etc.), can also be Near Field Communication (as far infrared, less radio-frequency, bluetooth etc.).Can both finish the transmission of online upgrading bag as long as can realize the communication modes of main website and embedded device swap data.
The transmission and the renewal process of software upgrade package realize in business procedure.
The bootup process of system is carried out in turn from A district and B district successively, carries out system software upgrading at every turn and then changes the guidance field.The zone that the system software upgrading bag upgrades is current non-guidance field.Be that system guides from the A district, then software version update is to the B district.Otherwise system is from the guiding of B district, and then software version update is to the A district.
After the booting operating system success, whether the software version that reexamines A memory block and B memory block is consistent, if inconsistent, then replace the version of non-boot section with the version of boot section, keep the software version in 2 zones (being A memory block and B memory block) synchronous with this.
If the operating system after upgrading can not successfully guide, then from the guiding of old version system boot section, and the system realm that will upgrade is reduced into legacy version.
But the foregoing description only is used for further specifying the embedded system and the online upgrading method of on-line software updating of the present invention; but the present invention is not limited to embodiment; every foundation technical spirit of the present invention all falls in the protection domain of technical solution of the present invention any simple modification, equivalent variations and modification that above embodiment did.

Claims (10)

1. but the embedded system of an on-line software updating is characterized in that: comprising:
One built-in terminal, it comprises main control chip, program storage, data-carrier store, remote communication interface and this locality/short-haul connections interface; Main control chip is connected with program storage, data-carrier store, remote communication interface and this locality/short-haul connections interface respectively; This program storage is divided into A district and the B district with peering structure at least, and each district further is divided into three sub regions with identical size and structure again; Described three sub regions are respectively the start-up routine districts that are used for storing start-up routine, be used for storing the boot district of boot and be used for the system program district of storage system program; This data-carrier store is provided with the storage space of storage service program, business datum and ROMPaq bag thereof simultaneously; Described start-up routine district also stores the upgrading control information;
One is located at first main website long-range and that can be connected with described built-in terminal by the wireless network access, be provided with the communication protocol of mutual approval between this first main website and the built-in terminal so that can realize exchanges data between first main website and the built-in terminal, first main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading;
One second main website that is located at short range and can be connected with described built-in terminal by the wireless mode access, be provided with the communication protocol of mutual approval between this second main website and the built-in terminal so that can realize exchanges data between second main website and the built-in terminal, second main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading;
One the 3rd main website that is located at short range and can be connected with described built-in terminal by this locality access, be provided with the communication protocol of mutual approval between the 3rd main website and the built-in terminal so that can realize exchanges data between the 3rd main website and the built-in terminal, the 3rd main website sends ROMPaq bag and upgrade thereof to built-in terminal, and built-in terminal carries out software upgrading.
2. but the embedded system of on-line software updating according to claim 1 is characterized in that: described program storage employing Flash memory device.
3. but the embedded system of on-line software updating according to claim 1, it is characterized in that: described second main website, the 3rd main website are respectively portable equipment or desk-top computer or laptop computer.
4. the on-line software updating method of an embedded system as claimed in claim 1 is characterized in that: comprise the steps:
A. built-in terminal starts from the A district according to predefined bootmode, loads the boot in A district, and the operating system program in guiding A district enters duty;
B. one of them main website by first main website or second main website or the 3rd main website sends the ROMPaq bag that several are used for software upgrading to built-in terminal; Built-in terminal check ROMPaq bag is guaranteed complete all ROMPaq bags that correctly receives;
C. the main website that sends the ROMPaq bag sends instruction to built-in terminal, and the notice built-in terminal carries out software upgrading to be upgraded;
D. built-in terminal uses the ROMPaq bag to upgrade the B district, and registration upgrading control information in the start-up routine district in A district, and it is ready that this upgrading control information is labeled as redaction;
E. built-in terminal restarts, start from the A district, check the upgrading control information of A district registration, finding that the upgrading control information is labeled as redaction when ready, registration upgrading control information again, this upgrading control information is labeled as redaction and enables, and loads the boot in B district, the operating system program in guiding B district enters duty;
F. if guidance system is successful, then boot district and the system program district with the B district copies to the A district, registration upgrading control information once more, and this upgrading control information is labeled as redaction and upgrades; Escalation process finishes;
G. if guidance system failure, preestablish the overtime of time through one, built-in terminal resets under the watchdog circuit effect;
H. built-in terminal restarts, and starts from the A district, checks the upgrading control information, the mark of finding the upgrading control information is still enabled for redaction and is not modified to redaction and upgrades, then load the boot in A district, the operating system program in guiding A district enters duty;
I. guidance system success copies to B district with the boot district and the system program district in A district, the registration control information of upgrading once more, and this upgrading control information is labeled as redaction and discards; System recovery is to the preceding state of upgrading, and escalation process finishes.
5. the on-line software updating method of embedded system according to claim 4, it is characterized in that: described predefined bootmode is to carry out in turn from A district and B district successively, successfully carries out then changing the guidance field behind the system software upgrading at every turn.
6. the on-line software updating method of embedded system according to claim 4, it is characterized in that: described ROMPaq bag is broken down into an AKU data of description piece and several upgrade data pieces, these data blocks are sent on the built-in terminal from first main website or second main website or the 3rd main website in turn, be temporarily stored on the zone of delimiting in advance of data-carrier store of built-in terminal, transmit and finish the back and merge automatically by built-in terminal and be reduced to the ROMPaq bag.
7. the on-line software updating method of embedded system according to claim 6 is characterized in that: described ROMPaq bag is the AKU that first main website or second main website or the 3rd main website send; The data block of this AKU is sent to built-in terminal from first main website or second main website or the 3rd main website in turn, and this process can be interrupted by system's other business; Between two data block transfers, first main website or second main website or the 3rd main website can issue other instructions, and built-in terminal can be restarted, and first main website or second main website or the 3rd main website also can be restarted.
8. the on-line software updating method of embedded system according to claim 6 is characterized in that: described ROMPaq bag is the AKU that first main website or second main website or the 3rd main website send; The data block of this AKU transmits has the ability of automatically restoring fault; First main website or second main website or the 3rd main website can inquire the data block quantity of the AKU that is transmitting, and continue to transmit follow-up AKU data block.
9. the on-line software updating method of embedded system according to claim 6 is characterized in that: described ROMPaq wraps in the branch block transfer and merges in the process of reduction, has passed through two layers inspection verification, and its process is as follows:
Check the check information of upgrade data piece after the check information that comprises self in the transport process of each upgrade data piece, built-in terminal receive earlier, just store after correct, and the corresponding main website of notice sends next upgrade data piece;
In AKU data of description piece, comprise check information, built-in terminal is after all data blocks transmit end, merging is reduced into the ROMPaq bag, also will check verification to the check information of AKU data of description piece, guarantees that with this ROMPaq bag correctly transmits.
10. according to the on-line software updating method of claim 7 or 8 described embedded systems, it is characterized in that: a described remote upgrade renewal process, can upgrade a plurality of program modules simultaneously, each program module transmits as a ROMPaq bag, can concurrently transmit between a plurality of ROMPaq bags.
CN 200910306934 2009-09-14 2009-09-14 Embedded system capable of upgrading software on line and online upgrading method Active CN102023876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910306934 CN102023876B (en) 2009-09-14 2009-09-14 Embedded system capable of upgrading software on line and online upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910306934 CN102023876B (en) 2009-09-14 2009-09-14 Embedded system capable of upgrading software on line and online upgrading method

Publications (2)

Publication Number Publication Date
CN102023876A true CN102023876A (en) 2011-04-20
CN102023876B CN102023876B (en) 2013-04-17

Family

ID=43865199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910306934 Active CN102023876B (en) 2009-09-14 2009-09-14 Embedded system capable of upgrading software on line and online upgrading method

Country Status (1)

Country Link
CN (1) CN102023876B (en)

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325166A (en) * 2011-07-21 2012-01-18 大唐移动通信设备有限公司 Method and device for upgrading application software version
CN102495670A (en) * 2011-12-09 2012-06-13 山东大学 Systematic one-key reset device applicable to embedded Linux operating system
CN102567049A (en) * 2011-12-09 2012-07-11 惠州市德赛西威汽车电子有限公司 Upgrade method of embedded operating system
CN102681871A (en) * 2012-04-25 2012-09-19 广州致远电子股份有限公司 Firmware upgrading system based on communication interfaces
CN102780767A (en) * 2012-06-27 2012-11-14 华立仪表集团股份有限公司 Method for automatically upgrading concentrator in automatic meter reading (ARM) systems and ARM system
CN102984572A (en) * 2012-12-10 2013-03-20 四川九洲电器集团有限责任公司 Double backup method for system software upgrade of set top box
CN103051674A (en) * 2012-11-23 2013-04-17 深圳市航天泰瑞捷电子有限公司 Method and device for remotely upgrading wireless communication module as well as handheld unit (HHU)
CN103092647A (en) * 2012-12-29 2013-05-08 聚光科技(杭州)股份有限公司 Online upgrade method of embedded system
CN103257880A (en) * 2013-05-30 2013-08-21 航天恒星科技有限公司 Remote application program on-line updating method based on DSP
CN103605547A (en) * 2013-11-25 2014-02-26 北京象开科技有限公司 Method for online upgrading bar-code image scanning system software
CN104156249A (en) * 2014-08-18 2014-11-19 四川九成信息技术有限公司 Embedded software upgrading method
CN104391714A (en) * 2014-10-30 2015-03-04 奇瑞汽车股份有限公司 Software update method and software update device for vehicle
CN104461594A (en) * 2013-09-22 2015-03-25 杭州海康威视数字技术股份有限公司 Updating method and device of embedded operating system
CN104699514A (en) * 2015-04-01 2015-06-10 江苏惠通集团有限责任公司 Remote-control end system updating method and device
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN105468390A (en) * 2014-09-05 2016-04-06 中兴通讯股份有限公司 BOOT online upgrade apparatus and method
WO2016058188A1 (en) * 2014-10-17 2016-04-21 华为技术有限公司 Software upgrading method and apparatus applied to terminal and terminal
CN105607515A (en) * 2015-12-31 2016-05-25 天津金米特电子有限公司 Intelligent upgrading method for electric moped
CN105677416A (en) * 2016-01-07 2016-06-15 上海斐讯数据通信技术有限公司 Uboot upgrading control system and method
CN105912429A (en) * 2016-07-05 2016-08-31 成都福兰特电子技术股份有限公司 Data storing method and device for managing data client
CN106020865A (en) * 2016-05-10 2016-10-12 百度在线网络技术(北京)有限公司 System upgrading method and device
CN106708586A (en) * 2017-01-11 2017-05-24 湘潭大学 Handheld instrument and method for automatic online updating of embedded system programs
CN106789280A (en) * 2016-12-27 2017-05-31 Tcl集团股份有限公司 A kind of upgrade protecting method and system, mobile terminal based on android system
CN107291505A (en) * 2017-06-28 2017-10-24 郑州云海信息技术有限公司 A kind of method and device of controller system memory upgrading
CN107333181A (en) * 2017-08-11 2017-11-07 四川长虹电器股份有限公司 Linux system intelligent television software upgrade method
CN107402847A (en) * 2017-07-28 2017-11-28 安徽江淮汽车集团股份有限公司 A kind of remote upgrade method and system of entire car controller software
CN108073409A (en) * 2016-11-16 2018-05-25 罗森伯格技术(昆山)有限公司 The upgrade method and system of cable accessed node
CN108874422A (en) * 2018-06-15 2018-11-23 合肥美的电冰箱有限公司 A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator
CN108958777A (en) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 A kind of wireless charging device and control method
CN109062614A (en) * 2017-08-10 2018-12-21 上海英奇电气科技有限公司 A kind of semi-conductor electricity machine controller method for upgrading software
CN109062595A (en) * 2018-07-27 2018-12-21 北京中电华大电子设计有限责任公司 A kind of the safety upgrade structure and method of embedded system
CN109189599A (en) * 2018-08-08 2019-01-11 新智能源系统控制有限责任公司 A kind of method and apparatus improving SCADA system real time data dump stability
CN109673009A (en) * 2018-11-13 2019-04-23 浙江合众新能源汽车有限公司 A kind of VCU software over-the-air upgrade method and device
CN109800565A (en) * 2017-11-16 2019-05-24 深圳市优必选科技有限公司 Software upgrading method and terminal equipment
CN109918111A (en) * 2019-04-09 2019-06-21 保定市智能电脑有限公司 The method of the Intelligent power distribution terminal remote I AP program upgrading of double MCU
CN109960472A (en) * 2019-04-01 2019-07-02 浙江中控技术股份有限公司 Embedded file system and file system operation method based on Flash
CN110188004A (en) * 2019-05-31 2019-08-30 烽火通信科技股份有限公司 A kind of double copies software system management method and system of terminal device
CN110704113A (en) * 2019-09-04 2020-01-17 苏州浪潮智能科技有限公司 Starting method and system based on FPGA platform and development board device
CN111052073A (en) * 2017-11-17 2020-04-21 宝马股份公司 Method and apparatus for updating software
CN111399891A (en) * 2020-03-09 2020-07-10 蚌埠依爱消防电子有限责任公司 Method for hot upgrading local software of user information transmission device
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN112181507A (en) * 2020-10-23 2021-01-05 北京安石科技有限公司 Method and system for fusing with operating system
CN112181454A (en) * 2020-09-21 2021-01-05 西安微电子技术研究所 Remote upgrading system and method for unattended equipment
CN112346770A (en) * 2020-11-10 2021-02-09 天津津航计算技术研究所 Embedded program online updating method
CN112988204A (en) * 2021-05-19 2021-06-18 西安羚控电子科技有限公司 Method for remotely upgrading and rolling back software of unmanned aerial vehicle
CN112988188A (en) * 2021-02-23 2021-06-18 上海龙感汽车电子有限公司 Software upgrading method applied to automobile steering wheel corner sensor
CN115118718A (en) * 2022-08-30 2022-09-27 深圳市华曦达科技股份有限公司 Android terminal device upgrade updating method and system and readable storage medium
WO2023141832A1 (en) * 2022-01-26 2023-08-03 宁德时代新能源科技股份有限公司 Program updating method and program updating apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556474A (en) * 2003-12-30 2004-12-22 浙江中控技术股份有限公司 On line upgrading method of software and its device
WO2007042567A1 (en) * 2005-10-14 2007-04-19 Siemens Aktiengesellschaft System for carrying out software updates in embedded systems and a method for this purpose
CN201146523Y (en) * 2007-12-30 2008-11-05 福建师范大学 ARM built-in terminal remote upgrade apparatus based on GPRS network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556474A (en) * 2003-12-30 2004-12-22 浙江中控技术股份有限公司 On line upgrading method of software and its device
WO2007042567A1 (en) * 2005-10-14 2007-04-19 Siemens Aktiengesellschaft System for carrying out software updates in embedded systems and a method for this purpose
CN201146523Y (en) * 2007-12-30 2008-11-05 福建师范大学 ARM built-in terminal remote upgrade apparatus based on GPRS network

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325166A (en) * 2011-07-21 2012-01-18 大唐移动通信设备有限公司 Method and device for upgrading application software version
CN102495670A (en) * 2011-12-09 2012-06-13 山东大学 Systematic one-key reset device applicable to embedded Linux operating system
CN102567049A (en) * 2011-12-09 2012-07-11 惠州市德赛西威汽车电子有限公司 Upgrade method of embedded operating system
CN102567049B (en) * 2011-12-09 2016-06-22 惠州市德赛西威汽车电子股份有限公司 The upgrade method of embedded OS
CN102681871A (en) * 2012-04-25 2012-09-19 广州致远电子股份有限公司 Firmware upgrading system based on communication interfaces
CN102780767B (en) * 2012-06-27 2015-05-13 华立仪表集团股份有限公司 Method for automatically upgrading concentrator in automatic meter reading (ARM) systems and ARM system
CN102780767A (en) * 2012-06-27 2012-11-14 华立仪表集团股份有限公司 Method for automatically upgrading concentrator in automatic meter reading (ARM) systems and ARM system
CN103051674A (en) * 2012-11-23 2013-04-17 深圳市航天泰瑞捷电子有限公司 Method and device for remotely upgrading wireless communication module as well as handheld unit (HHU)
CN102984572A (en) * 2012-12-10 2013-03-20 四川九洲电器集团有限责任公司 Double backup method for system software upgrade of set top box
CN103092647A (en) * 2012-12-29 2013-05-08 聚光科技(杭州)股份有限公司 Online upgrade method of embedded system
CN103257880A (en) * 2013-05-30 2013-08-21 航天恒星科技有限公司 Remote application program on-line updating method based on DSP
CN103257880B (en) * 2013-05-30 2016-03-30 航天恒星科技有限公司 A kind of remote application online updating method based on DSP
CN104461594A (en) * 2013-09-22 2015-03-25 杭州海康威视数字技术股份有限公司 Updating method and device of embedded operating system
CN103605547A (en) * 2013-11-25 2014-02-26 北京象开科技有限公司 Method for online upgrading bar-code image scanning system software
CN104156249A (en) * 2014-08-18 2014-11-19 四川九成信息技术有限公司 Embedded software upgrading method
CN105468390B (en) * 2014-09-05 2020-11-06 中兴通讯股份有限公司 BOOT online upgrading device and method
CN105468390A (en) * 2014-09-05 2016-04-06 中兴通讯股份有限公司 BOOT online upgrade apparatus and method
WO2016058188A1 (en) * 2014-10-17 2016-04-21 华为技术有限公司 Software upgrading method and apparatus applied to terminal and terminal
CN104391714A (en) * 2014-10-30 2015-03-04 奇瑞汽车股份有限公司 Software update method and software update device for vehicle
CN104699514A (en) * 2015-04-01 2015-06-10 江苏惠通集团有限责任公司 Remote-control end system updating method and device
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN105607515A (en) * 2015-12-31 2016-05-25 天津金米特电子有限公司 Intelligent upgrading method for electric moped
CN105607515B (en) * 2015-12-31 2018-05-25 天津金米特科技股份有限公司 A kind of Moped Scooter intelligent upgrade method
CN105677416A (en) * 2016-01-07 2016-06-15 上海斐讯数据通信技术有限公司 Uboot upgrading control system and method
CN106020865A (en) * 2016-05-10 2016-10-12 百度在线网络技术(北京)有限公司 System upgrading method and device
CN105912429A (en) * 2016-07-05 2016-08-31 成都福兰特电子技术股份有限公司 Data storing method and device for managing data client
CN108073409A (en) * 2016-11-16 2018-05-25 罗森伯格技术(昆山)有限公司 The upgrade method and system of cable accessed node
CN106789280A (en) * 2016-12-27 2017-05-31 Tcl集团股份有限公司 A kind of upgrade protecting method and system, mobile terminal based on android system
CN106708586A (en) * 2017-01-11 2017-05-24 湘潭大学 Handheld instrument and method for automatic online updating of embedded system programs
CN106708586B (en) * 2017-01-11 2019-11-15 湘潭大学 A kind of handheld instrument and method for the update of embedded system program automatic on-line
CN107291505A (en) * 2017-06-28 2017-10-24 郑州云海信息技术有限公司 A kind of method and device of controller system memory upgrading
CN107402847A (en) * 2017-07-28 2017-11-28 安徽江淮汽车集团股份有限公司 A kind of remote upgrade method and system of entire car controller software
CN107402847B (en) * 2017-07-28 2020-05-19 安徽江淮汽车集团股份有限公司 Remote upgrading method and system for vehicle control unit software
CN109062614A (en) * 2017-08-10 2018-12-21 上海英奇电气科技有限公司 A kind of semi-conductor electricity machine controller method for upgrading software
CN107333181A (en) * 2017-08-11 2017-11-07 四川长虹电器股份有限公司 Linux system intelligent television software upgrade method
CN109800565A (en) * 2017-11-16 2019-05-24 深圳市优必选科技有限公司 Software upgrading method and terminal equipment
CN111052073B (en) * 2017-11-17 2024-04-16 宝马股份公司 Method and device for updating software for operating a vehicle device and vehicle
CN111052073A (en) * 2017-11-17 2020-04-21 宝马股份公司 Method and apparatus for updating software
CN108874422A (en) * 2018-06-15 2018-11-23 合肥美的电冰箱有限公司 A kind of on-line software updating method of refrigerator electric control plate, refrigerator electric control plate and refrigerator
CN108874422B (en) * 2018-06-15 2022-03-01 合肥美的电冰箱有限公司 Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator
CN109062595A (en) * 2018-07-27 2018-12-21 北京中电华大电子设计有限责任公司 A kind of the safety upgrade structure and method of embedded system
CN108958777A (en) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 A kind of wireless charging device and control method
CN109189599A (en) * 2018-08-08 2019-01-11 新智能源系统控制有限责任公司 A kind of method and apparatus improving SCADA system real time data dump stability
CN109673009A (en) * 2018-11-13 2019-04-23 浙江合众新能源汽车有限公司 A kind of VCU software over-the-air upgrade method and device
CN109673009B (en) * 2018-11-13 2022-06-21 浙江合众新能源汽车有限公司 Method and device for upgrading VCU software in air
CN109960472B (en) * 2019-04-01 2022-04-19 浙江中控技术股份有限公司 Flash-based embedded file system and file system operation method
CN109960472A (en) * 2019-04-01 2019-07-02 浙江中控技术股份有限公司 Embedded file system and file system operation method based on Flash
CN109918111B (en) * 2019-04-09 2024-03-19 保定华智电气有限公司 Remote IAP program upgrading method for intelligent power distribution terminal with double MCU
CN109918111A (en) * 2019-04-09 2019-06-21 保定市智能电脑有限公司 The method of the Intelligent power distribution terminal remote I AP program upgrading of double MCU
CN110188004A (en) * 2019-05-31 2019-08-30 烽火通信科技股份有限公司 A kind of double copies software system management method and system of terminal device
CN110704113A (en) * 2019-09-04 2020-01-17 苏州浪潮智能科技有限公司 Starting method and system based on FPGA platform and development board device
CN110704113B (en) * 2019-09-04 2023-08-22 苏州浪潮智能科技有限公司 Starting method and system based on FPGA platform and development board device
CN111399891A (en) * 2020-03-09 2020-07-10 蚌埠依爱消防电子有限责任公司 Method for hot upgrading local software of user information transmission device
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN112181454A (en) * 2020-09-21 2021-01-05 西安微电子技术研究所 Remote upgrading system and method for unattended equipment
CN112181454B (en) * 2020-09-21 2023-04-07 西安微电子技术研究所 Remote upgrading system and method for unattended equipment
CN112181507A (en) * 2020-10-23 2021-01-05 北京安石科技有限公司 Method and system for fusing with operating system
CN112346770A (en) * 2020-11-10 2021-02-09 天津津航计算技术研究所 Embedded program online updating method
CN112988188A (en) * 2021-02-23 2021-06-18 上海龙感汽车电子有限公司 Software upgrading method applied to automobile steering wheel corner sensor
CN112988204A (en) * 2021-05-19 2021-06-18 西安羚控电子科技有限公司 Method for remotely upgrading and rolling back software of unmanned aerial vehicle
WO2022242080A1 (en) * 2021-05-19 2022-11-24 西安羚控电子科技有限公司 Unmanned aerial vehicle software remote upgrade and rollback method
CN112988204B (en) * 2021-05-19 2021-08-31 西安羚控电子科技有限公司 Method for remotely upgrading and rolling back software of unmanned aerial vehicle
US12019517B2 (en) 2021-05-19 2024-06-25 Xi'an Lyncon Technology Co., Ltd. Method for remote upgrade and rollback of unmanned aerial vehicle (UAV) software
WO2023141832A1 (en) * 2022-01-26 2023-08-03 宁德时代新能源科技股份有限公司 Program updating method and program updating apparatus
CN115118718A (en) * 2022-08-30 2022-09-27 深圳市华曦达科技股份有限公司 Android terminal device upgrade updating method and system and readable storage medium

Also Published As

Publication number Publication date
CN102023876B (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN102023876B (en) Embedded system capable of upgrading software on line and online upgrading method
CN106569847B (en) Method for vehicle-mounted system to realize IAP remote upgrade based on mobile network
CN104156249A (en) Embedded software upgrading method
CN102609281B (en) Distributed software patch update method and system
CN103136012B (en) Computer system and update method of basic input-output system thereof
CN100545809C (en) A kind of method for upgrading software and system thereof
CN104090796A (en) Embedded device program updating method and system
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN101867916A (en) Method for realizing air update of vehicle terminal
CN103488494A (en) Multi-firmware synchronous updating and upgrading method for blade server
CN103226484A (en) On-orbit update method for satellite-borne integrated electronic system program
CN101782859A (en) Upgrading method of embedded system in application
CN102681871A (en) Firmware upgrading system based on communication interfaces
CN101950254B (en) Software updating method and system thereof
CN102207879B (en) Hot-updating method and hot-updating system of Lua script
US20160085538A1 (en) Over-the-air updates for ble devices
CN105278998A (en) Single-chip microcomputer hardware upgrading method
CN201146523Y (en) ARM built-in terminal remote upgrade apparatus based on GPRS network
CN107608705A (en) A kind of wireless WIFI video equipments and its firmware upgrade method
CN101196823B (en) Method, system and equipment for on-line software upgrade in open application structure
CN101482823A (en) Single board application version implementing method and system
CN104102519A (en) Firmware updating method of rack-mounted server and device thereof
CN101778134A (en) Data synchronization method and mobile communication terminal
CN101441586B (en) Seamless reconstruction method of three-module redundant fault tolerant computer based on micro-packet protocol
CN106569833A (en) DSP program online upgrading method with secondary BOOT

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Embedded system capable of upgrading software on line and online upgrading method

Effective date of registration: 20141125

Granted publication date: 20130417

Pledgee: China Merchants Bank Limited by Share Ltd Zhangzhou branch

Pledgor: Zhangzhou Cannet Electrical Appliance Co., Ltd.

Registration number: 2014350000061

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220528

Granted publication date: 20130417

Pledgee: China Merchants Bank Limited by Share Ltd. Zhangzhou branch

Pledgor: ZHANGZHOU CANNET ELECTRICAL APPLIANCE Co.,Ltd.

Registration number: 2014350000061

PC01 Cancellation of the registration of the contract for pledge of patent right