CN102184109A - Boot software automatic updating control method and device - Google Patents

Boot software automatic updating control method and device Download PDF

Info

Publication number
CN102184109A
CN102184109A CN201110090847XA CN201110090847A CN102184109A CN 102184109 A CN102184109 A CN 102184109A CN 201110090847X A CN201110090847X A CN 201110090847XA CN 201110090847 A CN201110090847 A CN 201110090847A CN 102184109 A CN102184109 A CN 102184109A
Authority
CN
China
Prior art keywords
upgrading
boot software
module
software
boot
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
CN201110090847XA
Other languages
Chinese (zh)
Other versions
CN102184109B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110090847.XA priority Critical patent/CN102184109B/en
Publication of CN102184109A publication Critical patent/CN102184109A/en
Application granted granted Critical
Publication of CN102184109B publication Critical patent/CN102184109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a Boot software automatic updating control method which comprises the steps of: obtaining an updating control field in a stage of restarting and initializing Boot software on a board card; when judging that the content of the updating control field is a Boot software updating edition number, obtaining an edition number of the Boot software on the board card, determining whether the edition number of the Boot software on the board card is lower than the updating edition number of the Boot software, if so, updating by using the Boot software in a mainframe software package, and starting by using the updated Boot software; and if not, starting by using the Boot software on the board card. Based on the inventive concept same as the method, the invention provides a Boot software automatic updating control device which can be used for simply, conveniently and flexibly controlling the updating of the Boot software.

Description

A kind of Boot software automatic updating control method and device
Technical field
The present invention relates to the software upgrading technical field, particularly a kind of Boot software automatic updating control method and device.
Background technology
Large-scale embedded device software systems generally all are made up of Boot software and host software, in the Bootrom chip that Boot software is generally fired at veneer, host software is placed on the storage medium of veneer, as flash or CF card etc., after the system start-up, by Boot software guiding operation, related devices such as initialization CPU, internal memory, serial ports, storage medium, file system, load the guiding host software then, finish the business processing of equipment by the host software operation.
Boot software is generally fired when equipment dispatches from the factory in board B ootrom chip, follows the veneer delivery.Because the needs of professional expansion and modification defective, all there are the demand of software release upgrade in Boot software and host software.The host software upgrading only needs new version is replaced original version on the storage medium, restarts and uses redaction promptly to finish upgrading.Need in the Boot software upgrade process redaction Boot software is fired in the Bootrom chip, restart then.Fire Bootom software and wait abnormal operation, can make upgrading failure equipment return former factory and recover if outage occurs.Boot software is finished the comparison basic functions on the one hand, and demand is stablized, and the frequency of upgrading is much lower than host software, also has demand realization, defective to revise, optimize the Boot software conditions of need upgrading such as performance on the other hand.
In existing the realization, have by independent upgrading Boot software and solve the problems referred to above.When there is upgrade requirement in Boot software, manufacturer issues the Boot software package separately, the Boot software package of this version of notice user's download, use device command row or graphical interfaces upgrading Boot software, be about to the online Bootrom chip of firing of BOOT software, restarting equipment promptly can use new Boot software then.But, generally all know the upgrading of the NE software version that uses, but do not understand upgrade notification and the process of being indifferent to Boot because a lot of user does not possess professional knowledge.And the upgrading of some Boot needs supporting upgrading host software, needs the more time of cost to explain.
Therefore, along with a large number of users uses, therefore notify the new Boot software version of customer upgrade often to become a difficult task, Boot software defect problem often occurs and can not change then and do not change, and realize that the relevant new demand of Boot software also becomes an impossible task.
At the defective of above-mentioned independent upgrading Boot software, in existing the realization, a kind of method of following host software packet upgrading Boot software is proposed again.The user buys use equipment can pay close attention to the host software upgrade notification, as website notice or point-to-point notice, they can finish the upgrading of host software separately, and consideration will newly issue Boot software and host software is packed together, number are distributed to the user with NE software version.Restart Boot software bootup process in system and find that the Boot software version that uses is different with the Boot version number in the host software packet, then use software package Boot software to finish the escalation process of Boot software automatically.
But, the host software issue is more frequent, and Boot software issue frequency is low, the modification of some the Boot software corresponding Boot software of not necessarily will upgrading, the Boot software redaction that causes as some newly increased requirement or optimization, in fact original Boot software can continue to use, but all select the supporting packing of Boot software of up-to-date issue during the host software packing, Boot software is also followed auto-update when upgrading this version host software, mean the equipment meeting auto-update Boot software in a large amount of uses like this, upgrading Boot fires the Bootrom chip and realizes that this upgrading can be introduced unnecessary risk.
On the other hand, when the individual devices supply in the embedded device is not gone up, stop production such as producer, need be replaced by the similar chip of other manufacturers, the replacement of these chips often needs to revise in the Boot software with identification, the new chip of initialization.Insert when using new chip veneer in the original user equipment, change or dilatation as the distributed apparatus single board default, relatively the Boot software version of operation is different with the Boot software version in the host software packet automatically in the new single-board starting process, the new Boot version of firing when dispatching from the factory is downgraded to old Boot version in the big APMB package of original equipment version, old Boot version can not the new veneer of initialization on device cause and can not start, this problem can only solve by host software on the updating apparatus.This upgrading needs the business of the whole veneers of interrupting device, need to discern in advance new host software function difference simultaneously and original business configuration is changed, for large-scale nucleus equipment such as high-end router, core router etc., the user often can not accept this dilatation or change indivedual integrated circuit boards to cause that software upgrading causes service disconnection and possible upgrading risk.
In sum, in existing the realization, also fail to propose a kind of easy, Boot software updating control method flexibly.
Summary of the invention
In view of this, fundamental purpose of the present invention provides a kind of Boot software automatic updating control method, can control the Boot software upgrading easy, neatly.Described Boot software is carried in the host software packet of issue, described Boot software comprises the Boot software version number, this method comprises: described Boot software also comprises Boot software upgrading control field, and described upgrading control field is according to the setting of this time Boot software issue reason;
Boot software restarting initial phase on the integrated circuit board, obtain described upgrading control field, judge the content of described upgrading control field, when the content of described upgrading control field is Boot software upgrading version number, obtain the version number of Boot software on the integrated circuit board, whether the version number that determines Boot software on the described integrated circuit board is lower than described Boot software upgrading version number, if, with the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading; Otherwise, with the Boot software startup on the integrated circuit board.
Wherein, the content of described judgement upgrading control field, when the content of described upgrading control field was indicated for relatively upgrading, this method further comprised:
Obtain the version number of Boot software in the version number of Boot software on the integrated circuit board and the host software packet, determine whether the version number of Boot software in the described host software packet is higher than the version number of Boot software on the described integrated circuit board; If, after the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading; Otherwise, with the Boot software startup on the integrated circuit board.
The content of described judgement upgrading control field when the content of described upgrading control field is the mandatory upgrade indication, further comprises: with the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading.
Described Boot software also comprises the starting and upgrading control field, and described starting and upgrading field needs the operation setting of execution in start-up course according to the Boot software of this time issue;
Described method with the Boot software startup after the upgrading further comprises:
Obtain described starting and upgrading control field, carry out following operation according to the described starting and upgrading control field of obtaining:
Internal memory initialization indication: to whole initialization of CPU internal memory or local and initialization;
Internal memory self check indication: not self check, five-step approach self check or nine footwork self checks;
Chip self check indication: indicate whether respectively each chip is carried out self check.
Another fundamental purpose of the present invention provides a kind of Boot software automatic updating control device, and this device comprises: memory module, acquisition module, judge module, determination module, starting and upgrading module and startup module;
Described memory module is used to store the host software packet of carrying Boot software, and described Boot software comprises Boot software version number and Boot software upgrading control field, and described upgrading control field is according to the setting of this time Boot software issue reason;
Described acquisition module links to each other with described judge module with described memory module, during the initialization of Boot software restarting, be used for obtaining described upgrading control field from described memory module, and the control field of should upgrading sends to described judge module on integrated circuit board;
Described judge module links to each other with described determination module, receives the upgrading control field that described acquisition module is sent, and the content of judging this upgrading control field is a Boot software upgrading version number, and this judged result is sent to described determination module;
Described determination module, link to each other with described startup module with described starting and upgrading module, be used to receive the judged result that described judge module is sent, obtain Boot software version number on the integrated circuit board according to judged result, judge whether Boot software version number on the integrated circuit board is lower than described Boot software upgrading version number, if send upgrading message to described starting and upgrading module, otherwise, send initiation message to described startup module;
Described starting and upgrading module is received the upgrading message that described judge module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Described startup module is received the initiation message that described judge module is sent, with the Boot software startup on the integrated circuit board.
Wherein, this device further comprises: comparison module;
The content that described judge module is further used for judging this upgrading control field sends to described comparison module with this judged result during for upgrading indication relatively;
Described comparison module, link to each other with described startup module with described starting and upgrading module, be used to receive the judged result that described judge module is sent, obtain the version number of Boot software on the integrated circuit board and obtain the version number of Boot software according to judged result, determine whether to be higher than the version number of Boot software on the described integrated circuit board from the version number that described memory module is obtained Boot software from described memory module; If send upgrading message to described starting and upgrading module; Otherwise, send initiation message to described startup module;
Described starting and upgrading module is further used for the upgrading message of receiving that described comparison module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Described startup module is further used for the initiation message of receiving that described comparison module is sent, with the Boot software startup on the integrated circuit board.
Described judge module is further used for judging when the content of this upgrading control field is the mandatory upgrade indication, sends upgrading message to described starting and upgrading module;
Described starting and upgrading module is further used for receiving the upgrading message that described judge module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading.
This device further comprises: the start-up control module;
The Boot software that the host software packet of described memory module storage is carried further comprises the starting and upgrading control field, and described starting and upgrading control field needs the operation setting of execution in start-up course according to the Boot software of this time issue;
Described start-up control module, link to each other with described starting and upgrading module, when being used for the Boot software startup after described starting and upgrading module is with described upgrading, obtain the starting and upgrading control field, and carry out following operation according to described starting and upgrading control field from described memory module:
Internal memory initialization indication: to whole initialization of CPU internal memory or local and initialization;
Internal memory self check indication: not self check, five-step approach self check or nine footwork self checks;
Chip self check indication: indicate whether respectively each chip is carried out self check.
Therefore, the present invention is by increasing an edition upgrading control field in Boot software, when this upgrading control field content is Boot software upgrading version number, show that minimum version that this software need move number is Boot software upgrading version number, when the Boot software version that moves on the integrated circuit board is lower than this Boot software upgrading version, to use the Boot software upgrading in the host software packet, otherwise continue to use the Boot software on the integrated circuit board.Whether can control Boot software easy, neatly upgrades.
Description of drawings
Fig. 1 is a Boot software upgrading control flow chart of the present invention;
Fig. 2 is the schematic flow sheet of whether upgrading of Boot software in the specific embodiment of the invention;
Fig. 3 is a Boot software automatic updating control device structural drawing.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Basic thought of the present invention is: Boot software restarting initial phase on the integrated circuit board, obtain the upgrading control field, when the content of judging this upgrading control field is Boot software upgrading version number, obtain the version number of Boot software on the integrated circuit board, whether the version number that determines Boot software on the described integrated circuit board is lower than described Boot software upgrading version number, if, withdraw from this flow process with Boot software upgrading in the described host software packet and startup; Otherwise, with the Boot software startup on the integrated circuit board.
Boot software is carried in the host software packet, issues together with host software packet.In this Boot software, except the version number that comprises this time Boot software, also comprised the upgrading control field.The upgrading control field is provided with according to the issue reason of this time Boot software, wherein, issue former in version modify defective effect, optimizational function and Effect on Performance.
Referring to Fig. 1, Fig. 1 is a Boot software upgrading control flow chart of the present invention.Its concrete steps are:
Step 101, Boot software restarting initial phase on the integrated circuit board obtains described upgrading control field, judges the content of described upgrading control field.
Step 102 when the content of described upgrading control field is Boot software upgrading version number, is obtained the version number of Boot software on the integrated circuit board.
Step 103, whether the version number that determines Boot software on the described integrated circuit board is lower than described Boot software upgrading version number, if, execution in step 103; Otherwise execution in step 104.
Step 104 is with the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading, process ends.
Step 105 is with the Boot software startup on the integrated circuit board.
Describe the Boot software automatic updating control method that the present invention proposes in detail below in conjunction with the specific implementation flow process.
At first describe the setting of upgrading control field in detail.In the present invention, the content of upgrading control field is specially Boot software upgrading version number, relatively upgrading indication and mandatory upgrade indication.
When there is not compatibility relation in the NE software version of the Boot of this issue software version and this time issue, require the version of Boot software new more good more this moment, if when the software version therefore on the integrated circuit board is new, uses the software version on the integrated circuit board; Otherwise the Boot software upgrading in the use host software packet.The control field of upgrading in this case content is set to the indication of relatively upgrading.
When the Boot of this issue software need be with the supporting use of the NE software version of this time issue, the control field of upgrading content was set to the mandatory upgrade indication.The height of the Boot software version on the integrated circuit board no matter all will promote or demote to the version of Boot software in the software package, with supporting with the host software of this time issue.
When the control field of upgrading is set to Boot software upgrading version number, the particular content of Boot software upgrading version number fill in see for details as described below.Referring to table 1, table 1 is serial Boot software version issue situation.
Shown in the 2nd row in the table 1, R3300 is a upgrade software bag NE software version number, the Boot software version number is 101, this time Boot software issue reason is issue first, therefore use version 101 and the Boot software of above version needn't upgrade, other situation is upgraded to 101 versions, and therefore the Boot software upgrading version number that increases this moment is 101.
Shown in the 3rd row in the table 1, R3303 is a upgrade software bag NE software version number, the Boot software version number is 103, the issue of this time Boot software is former because revise * * defective, must upgrade, therefore use version 103 and the Boot software of above version needn't upgrade, other situation is upgraded to 103 versions, therefore the escalation policy field Boot software upgrading version number that increases this moment is 103.
Figure BSA00000471694200081
Table 1
In table 1, just exemplify several concrete reasons and version number, in actual applications, the user can be according to the reason of software issue, be carried at when issuing in the host software packet at Boot software, suitable Boot software upgrading version number is set, specifically indicates whether upgrade Boot software on the integrated circuit board of client.
Describe in detail below on the equipment that host software packet is stored in operation Boot software, whether how the present invention control upgrading when restarting Boot software on the integrated circuit board.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of whether upgrading of Boot software in the specific embodiment of the invention.Its concrete steps are as follows:
Step 201, Boot software restarting initial phase on the integrated circuit board obtains Boot software upgrading control field in the host software packet.
When step 202, the content of judgement upgrading control field are indicated for relatively upgrading, execution in step 203.
Step 203 is obtained the Boot software version number on the Boot software version number and integrated circuit board in the host software packet.
Step 204 determines whether the version number of Boot software in the host software packet is higher than the version number of Boot software on the integrated circuit board, if, execution in step 208, otherwise execution in step 209.
Step 205 is judged when the upgrading control field is the mandatory upgrade indication execution in step 208.
Step 206 is judged when the upgrading control field is Boot software upgrading version number.
Step 207 obtain the version number of Boot software on the integrated circuit board, and relatively whether this version number is lower than Boot software upgrading version number, if, execution in step 208, otherwise, execution in step 209.
Step 208 is with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading, process ends.
Step 209 is with the Boot software startup on the integrated circuit board.
In the present invention, a kind of concrete embodiment is provided: the control field of will upgrading is represented to 255 with 0, with relatively upgrading indication of " 0 " expression, with " 255 " expression mandatory upgrade indication, numeric representation Boot software upgrading version number between 0 to 255, any value specifically is set, by the decision of this time Boot software issue reason.
Above-mentioned software upgrade field accounts for two bytes, when Boot version number is too much, and also can be with 4 byte representations.Generally speaking, the Boot software upgrading is not frequent, and 0-255 enough uses, and the user can set as the case may be.
Above-mentioned is a kind of specific embodiment provided by the invention, as for specifically how being provided with, represents this upgrading control field with which type of mode or value, and the user can come to determine voluntarily as the case may be.
Be carried at when issuing in the host software packet at Boot software, also be provided with the starting and upgrading control field, this starting and upgrading needs the operation setting carried out in start-up course according to the Boot software of this time issue.This starting and upgrading control field instructs the particular content of carrying out internal memory initialization indication, internal memory self check indication and chip self check indication when software startup.
When Boot software starts, obtain the starting and upgrading control field after upgrading.This field comprises three kinds of indications, and is as follows:
The internal memory initialization indication: to the whole initialization of CPU internal memory, i.e. the whole physical memory of initialization; To CPU internal memory local and initialization, promptly initializers use internal memory, not initialization of reserved memory.
Internal memory self check indication: finish internal memory self check rank, i.e. not self check, five-step approach self check or nine footwork self checks.The difference consuming time of these self check methods can be specified according to actual conditions.
Chip self check indication: indicate whether to carry out each chip self check respectively, as: the self check of chips such as CF card, flash, Lanswitch.
Based on the inventive concept same, a kind of Boot software automatic updating control device is proposed also below with method.
Referring to Fig. 3, Fig. 3 is a Boot software automatic updating control device structural drawing.This device comprises: storage 301, acquisition module 302, judge module 303, determination module 304, starting and upgrading module 305 and startup module 306.
Memory module 301 is used to store the host software packet of carrying Boot software, and described Boot software comprises Boot software version number and Boot software upgrading control field, and described upgrading control field is according to the setting of this time Boot software issue reason;
Acquisition module 302 links to each other with judge module 303 with memory module 301, during the initialization of Boot software restarting, be used for obtaining described upgrading control field from memory module 301, and the control field of should upgrading sends to judge module 303 on integrated circuit board;
Judge module 303 links to each other with determination module 304, receives the upgrading control field that acquisition module 302 is sent, and the content of judging this upgrading control field is a Boot software upgrading version number, and this judged result is sent to determination module 304;
Determination module 304, link to each other with startup module 306 with starting and upgrading module 305, be used to receive the judged result that judge module 303 is sent, obtain Boot software version number on the integrated circuit board according to judged result, judge whether Boot software version number on the integrated circuit board is lower than described Boot software upgrading version number, if send upgrading message to starting and upgrading module 305, otherwise, send initiation message to starting module 306;
Starting and upgrading module 305 is received the upgrading message that determination module 304 is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Start module 306, receive the initiation message that determination module 304 is sent, with the Boot software startup on the integrated circuit board.
This device further comprises: comparison module 307;
The content that judge module 303 is further used for judging this upgrading control field sends to comparison module 307 with this judged result during for upgrading indication relatively;
Comparison module 307, link to each other with startup module 306 with starting and upgrading module 305, be used to receive the judged result that judge module 303 is sent, obtain the version number of Boot software on the integrated circuit board and obtain the version number of Boot software according to judged result, determine whether to be higher than the version number of Boot software on the described integrated circuit board from the version number that memory module 301 is obtained Boot software from memory module 301; If send upgrading message to starting and upgrading module 305; Otherwise, send initiation message to starting module 306;
Starting and upgrading module 305 is further used for the upgrading message of receiving that comparison module 307 is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Start module 306 and be further used for the initiation message of receiving that comparison module 307 is sent, with the Boot software startup on the integrated circuit board.
Judge module 303 is further used for judging when the content of this upgrading control field is the mandatory upgrade indication, sends upgrading message to starting and upgrading module 305;
Starting and upgrading module 305 is further used for receiving the upgrading message that judge module 303 is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading.
This device further comprises: start-up control module 308;
The Boot software that the host software packet of memory module 301 storages is carried further comprises the starting and upgrading control field, and described starting and upgrading control field needs the operation setting of execution in start-up course according to the Boot software of this time issue;
Start-up control module 308, link to each other with starting and upgrading module 305 with memory module 301, when being used for the Boot software startup after the described upgrading of starting and upgrading module 305 usefulness, obtaining the starting and upgrading control field from memory module 301, and carry out following operation according to described starting and upgrading control field:
Internal memory initialization indication: to whole initialization of CPU internal memory or local and initialization;
Internal memory self check indication: not self check, five-step approach self check or nine footwork self checks;
Chip self check indication: indicate whether respectively each chip is carried out self check.
In sum, the present invention is carried at when issuing in the main frame soft software bag at Boot software, and the reason according to the issue of this time Boot software is provided with the upgrading control field.When the Boot software restarting on integrated circuit board moves, obtain this control field, according to the particular content of this control field, and whether version number's decision of operation version finally upgrades.Boot software of the present invention can use the big bag auto-update of host software, and can separately control, whether upgrade according to Boot software issue reason decision in the host software packet, therefore the invention provides easy, Boot software automatic updating control method and device flexibly.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. Boot software automatic updating control method, described Boot software is carried in the host software packet of issue, described Boot software comprises the Boot software version number, it is characterized in that, described Boot software also comprises Boot software upgrading control field, and described upgrading control field is according to the setting of this time Boot software issue reason;
Boot software restarting initial phase on the integrated circuit board, obtain described upgrading control field, judge the content of described upgrading control field, when the content of described upgrading control field is Boot software upgrading version number, obtain the version number of Boot software on the integrated circuit board, whether the version number that determines Boot software on the described integrated circuit board is lower than described Boot software upgrading version number, if, with the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading; Otherwise, with the Boot software startup on the integrated circuit board.
2. the method for claim 1 is characterized in that, the content of described judgement upgrading control field, and when the content of described upgrading control field was indicated for relatively upgrading, this method further comprised:
Obtain the version number of Boot software in the version number of Boot software on the integrated circuit board and the host software packet, determine whether the version number of Boot software in the described host software packet is higher than the version number of Boot software on the described integrated circuit board; If, after the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading; Otherwise, with the Boot software startup on the integrated circuit board.
3. the method for claim 1, it is characterized in that the content of described judgement upgrading control field is when the content of described upgrading control field is the mandatory upgrade indication, further comprise: with the Boot software upgrading in the described host software packet, with the Boot software startup after the upgrading.
4. as any described method of claim 1 to 3, it is characterized in that described Boot software also comprises the starting and upgrading control field, described starting and upgrading field needs the operation setting of execution in start-up course according to the Boot software of this time issue;
Described method with the Boot software startup after the upgrading further comprises:
Obtain described starting and upgrading control field, carry out following operation according to the described starting and upgrading control field of obtaining:
Internal memory initialization indication: to whole initialization of CPU internal memory or local and initialization;
Internal memory self check indication: not self check, five-step approach self check or nine footwork self checks;
Chip self check indication: indicate whether respectively each chip is carried out self check.
5. a Boot software automatic updating control device is characterized in that this device comprises: memory module, acquisition module, judge module, determination module, starting and upgrading module and startup module;
Described memory module is used to store the host software packet of carrying Boot software, and described Boot software comprises Boot software version number and Boot software upgrading control field, and described upgrading control field is according to the setting of this time Boot software issue reason;
Described acquisition module links to each other with described judge module with described memory module, during the initialization of Boot software restarting, be used for obtaining described upgrading control field from described memory module, and the control field of should upgrading sends to described judge module on integrated circuit board;
Described judge module links to each other with described determination module, receives the upgrading control field that described acquisition module is sent, and the content of judging this upgrading control field is a Boot software upgrading version number, and this judged result is sent to described determination module;
Described determination module, link to each other with described startup module with described starting and upgrading module, be used to receive the judged result that described judge module is sent, obtain Boot software version number on the integrated circuit board according to judged result, judge whether Boot software version number on the integrated circuit board is lower than described Boot software upgrading version number, if send upgrading message to described starting and upgrading module, otherwise, send initiation message to described startup module;
Described starting and upgrading module is received the upgrading message that described determination module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Described startup module is received the initiation message that described determination module is sent, with the Boot software startup on the integrated circuit board.
6. device as claimed in claim 5 is characterized in that this device further comprises: comparison module;
The content that described judge module is further used for judging this upgrading control field sends to described comparison module with this judged result during for upgrading indication relatively;
Described comparison module, link to each other with described startup module with described starting and upgrading module, be used to receive the judged result that described judge module is sent, obtain the version number of Boot software on the integrated circuit board and obtain the version number of Boot software according to judged result, determine whether to be higher than the version number of Boot software on the described integrated circuit board from the version number that described memory module is obtained Boot software from described memory module; If send upgrading message to described starting and upgrading module; Otherwise, send initiation message to described startup module;
Described starting and upgrading module is further used for the upgrading message of receiving that described comparison module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading;
Described startup module is further used for the initiation message of receiving that described comparison module is sent, with the Boot software startup on the integrated circuit board.
7. device as claimed in claim 5 is characterized in that, described judge module is further used for judging when the content of this upgrading control field is the mandatory upgrade indication, sends upgrading message to described starting and upgrading module;
Described starting and upgrading module is further used for receiving the upgrading message that described judge module is sent, with the Boot software upgrading in the host software packet, with the Boot software startup after the upgrading.
8. as any described device of claim 5 to 7, it is characterized in that this device further comprises: the start-up control module;
The Boot software that the host software packet of described memory module storage is carried further comprises the starting and upgrading control field, and described starting and upgrading control field needs the operation setting of execution in start-up course according to the Boot software of this time issue;
Described start-up control module, link to each other with described starting and upgrading module, when being used for the Boot software startup after described starting and upgrading module is with described upgrading, obtain the starting and upgrading control field, and carry out following operation according to described starting and upgrading control field from described memory module:
Internal memory initialization indication: to whole initialization of CPU internal memory or local and initialization;
Internal memory self check indication: not self check, five-step approach self check or nine footwork self checks;
Chip self check indication: indicate whether respectively each chip is carried out self check.
CN201110090847.XA 2011-04-12 2011-04-12 Boot software automatic updating control method and device Active CN102184109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110090847.XA CN102184109B (en) 2011-04-12 2011-04-12 Boot software automatic updating control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110090847.XA CN102184109B (en) 2011-04-12 2011-04-12 Boot software automatic updating control method and device

Publications (2)

Publication Number Publication Date
CN102184109A true CN102184109A (en) 2011-09-14
CN102184109B CN102184109B (en) 2014-07-09

Family

ID=44570290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110090847.XA Active CN102184109B (en) 2011-04-12 2011-04-12 Boot software automatic updating control method and device

Country Status (1)

Country Link
CN (1) CN102184109B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024029A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Router software upgrading method and system
CN104156249A (en) * 2014-08-18 2014-11-19 四川九成信息技术有限公司 Embedded software upgrading method
WO2016000627A1 (en) * 2014-07-02 2016-01-07 Hangzhou H3C Technologies Co., Ltd. Message processing
WO2016202088A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Bootstrap program upgrade method, embedded device, control device and embedded system
CN106775847A (en) * 2016-12-01 2017-05-31 广州视源电子科技股份有限公司 A kind of board software version updating method and device
CN110806887A (en) * 2019-10-29 2020-02-18 华工正源智能终端(孝感)有限公司 Software security upgrading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749963A (en) * 2004-09-14 2006-03-22 华为技术有限公司 Upgrading method for Boot software and recovering method for Boot software
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN101727361A (en) * 2009-11-30 2010-06-09 中兴通讯股份有限公司 Method for storing edition of terminal product and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1749963A (en) * 2004-09-14 2006-03-22 华为技术有限公司 Upgrading method for Boot software and recovering method for Boot software
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN101727361A (en) * 2009-11-30 2010-06-09 中兴通讯股份有限公司 Method for storing edition of terminal product and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024029A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Router software upgrading method and system
CN103024029B (en) * 2012-12-10 2015-04-08 上海斐讯数据通信技术有限公司 Router software upgrading method and system
WO2016000627A1 (en) * 2014-07-02 2016-01-07 Hangzhou H3C Technologies Co., Ltd. Message processing
CN105337851A (en) * 2014-07-02 2016-02-17 杭州华三通信技术有限公司 Message processing method and port extender
CN105337851B (en) * 2014-07-02 2018-11-27 新华三技术有限公司 A kind of message processing method and ports-Extending plate
CN104156249A (en) * 2014-08-18 2014-11-19 四川九成信息技术有限公司 Embedded software upgrading method
WO2016202088A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Bootstrap program upgrade method, embedded device, control device and embedded system
CN106775847A (en) * 2016-12-01 2017-05-31 广州视源电子科技股份有限公司 A kind of board software version updating method and device
CN106775847B (en) * 2016-12-01 2020-12-29 广州视源电子科技股份有限公司 Board card software version updating method and device
CN110806887A (en) * 2019-10-29 2020-02-18 华工正源智能终端(孝感)有限公司 Software security upgrading method and device

Also Published As

Publication number Publication date
CN102184109B (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN102184109B (en) Boot software automatic updating control method and device
CN104090796B (en) A kind of embedded device method for updating program and system
CN101281469B (en) Embedded type system and start-up load application method
US7313685B2 (en) Unattended BIOS recovery
EP2345959B1 (en) An information processing device and a firmware updating method of the information processing device
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
CN100354825C (en) Software staging and back spacing method
CN104133709B (en) The upgrade method and device of embedded system
CN107333181A (en) Linux system intelligent television software upgrade method
US9477456B2 (en) Method for installing and simultaneously updating operating system software
CN101437106B (en) Set-top box system and self-repairing method thereof
CN110780890A (en) System upgrading method and device, electronic equipment and medium
US20110099544A1 (en) Information processing apparatus and system setting method
CN102253850A (en) Incremental software updating method of internet protocol television (IPTV) set top box
US20140181497A1 (en) User interface with splash screen
CN103631674A (en) FPGA embedded in CPU and starting method thereof
CN102238093A (en) Service interruption prevention method and device
CN102110000A (en) Method, device and equipment for controlling software for auto-updating
CN102622280A (en) Control method and control device used for software version upgrade and based on dual file system
CN110083380A (en) Firmware update and the electronic device for using the method
CN105677398A (en) Universal embedded computer software on-line upgrading method
CN101169728A (en) Dualboot starting device and method
CN104731675A (en) Intelligent redundancy backup method for BIOS in server system
CN106293824A (en) A kind of from the method and device processing chip upgrade
CN101593120A (en) Be with outer upgrade method and system

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address