CN1749963A - Upgrading method for Boot software and recovering method for Boot software - Google Patents

Upgrading method for Boot software and recovering method for Boot software Download PDF

Info

Publication number
CN1749963A
CN1749963A CN 200410074749 CN200410074749A CN1749963A CN 1749963 A CN1749963 A CN 1749963A CN 200410074749 CN200410074749 CN 200410074749 CN 200410074749 A CN200410074749 A CN 200410074749A CN 1749963 A CN1749963 A CN 1749963A
Authority
CN
China
Prior art keywords
boot
software
reserve zone
primary area
deposits
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
CN 200410074749
Other languages
Chinese (zh)
Other versions
CN100343807C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100747497A priority Critical patent/CN100343807C/en
Publication of CN1749963A publication Critical patent/CN1749963A/en
Application granted granted Critical
Publication of CN100343807C publication Critical patent/CN100343807C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The Boot software upgrading method includes setting main Boot memory area and spare Boot memory area for storing complete Boot software separately in advance, and the following steps: A. starting system to run the Boot software in the main Boot memory area, downloading the Boot upgrading software and storing the Boot upgrading software in the spare Boot memory area, and B. re-starting the system to run the Boot upgrading software in the spare Boot memory area. The Boot software recovering method includes setting main Boot memory area and spare Boot memory area for storing complete Boot software separately in advance, and the following steps: starting system to running the Boot software in the main Boot memory area, judging whether the Boot software has been run normally, continuing running if in normal running, or else, re-starting the system to run the Boot upgrading software in the spare Boot memory area. The present invention makes it easy to upgrade and restore Boot software.

Description

A kind of Boot method for upgrading software and a kind of Boot software rejuvenation method
Technical field
The present invention relates to the software upgrading technology, be meant a kind of Boot method for upgrading software and a kind of Boot software rejuvenation method especially.
Background technology
Generally speaking, the version of software is high more, and the function that provides is many more strong more, so most of software all provides upgrade function.The upgrading of software can be revised the defective of original software version under the condition that does not change hardware device, realize more function.During upgrading, needing the function file of upgrading all is to assemble a file usually, exists with binary form.
For software, usually with the difference of whole software, be stored in different ROM spaces according to function, the division of software memory block makes whole software rely on physical store and separates, thereby realized upgrading part software function.With the hand held device software memory block is example, the division of regular software memory block as shown in Figure 1, the software memory partitioning among Fig. 1 is four parts: the dedicated data stores district of Boot memory block, App executable file district, file system area and reservation.The function of various piece is as follows:
The Boot storage area stores be Boot software, Boot software is the guiding of whole software, and three functions are arranged:
1, during software startup, the start-up course of Bootstrap Software;
2, during software upgrading, communicate by letter with PC foundation by the related software of PC end, and the App code on the PC is downloaded in the handheld device;
3, when App software damages, guiding is reloaded the binary file carried out of App to " App executable file district ".
App executable file district is used for the storing software working procedure.
File system area is used for storage file, the picture file that obtains as camera, mp3 file of obtaining by network etc.
The dedicated data stores district that keeps is used to keep some key parameters, comprises the backup of some parameter.
Usually said software upgrading mainly is meant the software in the upgrading App executable file district, and upgrade method is: Boot software by and the related software of PC end communicate by letter with PC foundation, and the App software download among the PC in handheld device.
Because the upgrading of software need move Boot software, connecting, so can not realize upgrading in the mode of direct downloaded software to Boot software self with the PC end.In case Boot software suffers to destroy when maybe needing to upgrade, can only as JTAG, new Boot software be write former Boot memory block again by special-purpose Reading and writing instrument by the professional, override original software, can realize the upgrading of Boot software.
In PC or other Boot software were stored in equipment in the special-purpose Boot chip, to the upgrading of Boot, the method for employing was, to take out in the Boot chip slave unit, use special-purpose Reading and writing instrument then, upgrade software is written in the Boot chip, and then the Boot chip is put back in the equipment; When the Boot program in the Boot chip is destroyed, also can only use above-mentioned way, recover Boot software.
As can be seen from the above technical solutions, the upgrading of Boot software must use special-purpose Reading and writing instrument to carry out by the professional, for domestic consumer, realize difficulty, can't directly obtain upgrade software as other software of upgrading, realize the upgrading of Boot software;
And in the escalation process of Boot software,, caused when the upgrading failure, can't directly recovering original Boot software owing to used new Boot software to cover original Boot software;
In addition, after Boot software is destroyed, must use special-purpose Reading and writing instrument to recover, implement the comparison difficulty by the professional.
Summary of the invention
In view of this, first purpose of the present invention is to provide a kind of upgrade method of Boot software, and this method realizes can directly obtaining upgrade software to the Boot software upgrading easily;
Second purpose of the present invention is to provide a kind of restoration methods of Boot software, and this method realizes easily, needn't use special-purpose Reading and writing instrument to recover by the professional, can directly recover the Boot software that is damaged.
In order to reach above-mentioned first purpose, the invention provides a kind of upgrade method of Boot software, this method may further comprise the steps:
A, system start-up, the Boot software in the operation Boot storage primary area after system start-up is finished, is downloaded the Boot upgrade software, stores the Boot upgrade software into Boot and deposits reserve zone;
B, system restart, operation Boot deposits Boot upgrade software in the reserve zone.
Preferably, in the steps A, download Boot software updating method is: download the Boot upgrade software to non-Boot memory block;
Storing the Boot upgrade software into method that Boot deposits reserve zone is: store Boot into after the Boot upgrade software is read from non-Boot memory block and deposit reserve zone.
Preferably, behind the step B, further comprise:
C, judge whether the Boot upgrade software operation that Boot deposits in the reserve zone normal, if move undesired, system restart, the Boot software in the operation Boot storage primary area.
Preferably, among the step C, further comprise: if operation is normal, system stores the Boot upgrade software into Boot storage primary area;
Among the above-mentioned steps C, behind the Boot software in the operation Boot storage primary area, further comprise: after system start-up is finished, Boot is stored Boot software in the primary area store Boot into and deposit reserve zone.
Preferably, this method further comprises:
Set in advance Boot and start sign, this sign has two values, corresponds respectively to Boot software in the operation Boot storage primary area and Boot and deposits Boot software in the reserve zone; During system start-up, inquiry Boot starts sign, and Boot software in the value operation Boot storage primary area that startup indicates according to Boot or Boot deposit the Boot software in the reserve zone;
Then after the steps A, further comprise: system Boot starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
Preferably, this method further comprises: set in advance pre-boot; Then above-mentioned inquiry Boot startup is masked as, and the pre-boot inquiry Boot that sets in advance starts sign.
Preferably, behind the step B, further comprise:
C1, pre-boot judge whether the Boot running software normal, if move undesired, then upgrading failure, pre-boot Boot starts sign and is set to move the value that Boot stores Boot software in the primary area, restarting systems then.
Preferably, this method further comprises: in pre-boot Boot is set in advance and starts timer, whether normal method is the then above-mentioned Boot running software of judging: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, and then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired.
Preferably, among the step C1, further comprise: if operation is normal, system stores the Boot upgrade software into Boot storage primary area;
After system restart, further comprise: Boot is stored Boot software in the primary area store Boot into and deposit reserve zone.
In order to reach above-mentioned second purpose, the invention provides a kind of restoration methods of Boot software, this method may further comprise the steps:
A, system start-up, the Boot software in the operation Boot storage primary area judges whether the Boot running software is normal, if operation is normally then continue to move; Otherwise, restarting systems, operation Boot deposits the Boot software in the reserve zone.
Preferably, among the step a, restarting systems after operation Boot deposits Boot software in the reserve zone, further comprises:
After b, system start-up were finished, the Boot software that Boot is deposited in the reserve zone stored Boot storage primary area into.
Preferably, this method further comprises:
Set in advance Boot and start sign, this sign has two values, corresponds respectively to Boot software in the operation Boot storage primary area and Boot and deposits Boot software in the reserve zone; During system start-up, inquiry Boot starts sign, and Boot software in the value operation Boot storage primary area that startup indicates according to Boot or Boot deposit the Boot software in the reserve zone;
Then among the step a, before the restarting systems, further comprise: Boot starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
Preferably, this method further comprises: set in advance pre-boot, above-mentioned inquiry Boot startup is masked as, and the pre-boot inquiry Boot that sets in advance starts sign;
Above-mentioned Boot starts sign, and to be set to move the value that Boot deposits Boot software in the reserve zone be that the pre-boot Boot that sets in advance starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
Preferably, this method further comprises: in pre-boot Boot is set in advance and starts timer, whether normal method is the then above-mentioned Boot of judgement running software: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, and then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired.
As can be seen from the above technical solutions, Boot method for upgrading software among the present invention, by two Boot memory blocks are set, upgrade software can be stored into the current Boot memory block that does not have operation when making upgrading, realize to use special-purpose Reading and writing instrument to carry out the upgrading of Boot, greatly reduced the difficulty of upgrading;
And because the present invention has suffered and Boot storage primary area has been set and Boot deposits two Boot memory blocks of reserve zone, and be provided with Boot and start sign and pre-boot, make when the Boot software upgrading is failed, rerun the Boot software in the Boot storage primary area, and it is copied to Boot deposit reserve zone, realized after the upgrading failure, can recovering original Boot software;
In addition, the restoration methods of the Boot software among the present invention, by two Boot memory blocks are set, realized after Boot storage primary area is destroyed, operation Boot deposits the Boot software of reserve zone, then the Boot software in the Boot storage primary area of being destroyed is recovered, needn't use special-purpose Reading and writing instrument to realize the recovery of Boot software, greatly reduce the difficulty of Boot software rejuvenation by the professional.
Description of drawings
Fig. 1 is a prior art handheld device memory block synoptic diagram;
Fig. 2 is the handheld device Boot memory block synoptic diagram in the embodiment of the invention;
Fig. 3 is the process flow diagram of Boot method for upgrading software embodiment among the present invention;
Fig. 4 is the process flow diagram of Boot software rejuvenation method embodiment among the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
The present invention includes a kind of upgrade method of Boot software, this method is in the memory block, set in advance Boot storage primary area and Boot and deposit reserve zone, store complete Boot software respectively, this method is further comprising the steps of: A, system start-up, and the Boot software in the operation Boot storage primary area is after system start-up is finished, download the Boot upgrade software, store the Boot upgrade software into Boot and deposit reserve zone; B, system restart, operation Boot deposits Boot upgrade software in the reserve zone.
The present invention also comprises a kind of Boot software rejuvenation method, in this method, set in advance Boot storage primary area and Boot and deposit reserve zone, store complete Boot software respectively, this method also comprises step: system start-up, Boot software in the operation Boot storage primary area judges whether the Boot running software is normal, if operation normally then continue to move; Otherwise, restarting systems, operation Boot deposits the Boot software in the reserve zone.
The upgrade method of Boot software is applied as the first embodiment of the present invention in handheld device, below it is elaborated.
As shown in Figure 2, in the present embodiment, two Boot memory blocks are set in the memory block of handheld device in advance, wherein, one is Boot storage primary area, and another deposits reserve zone for Boot, stores complete Boot upgrade software respectively; And Boot startup sign is set, this is masked as at 1 o'clock, the Boot software in the operation Boot storage primary area; Be 0 o'clock, operation Boot deposits the Boot software in the reserve zone, and Boot starts sign also can be set to other occurrence, is the example explanation with 1 and 0 just at this; In addition, the pre-boot of inquiry Boot sign is set also, pre-boot is when system start-up, and inquiry Boot starts sign, and detecting the Boot running software when undesired, revises Boot and start sign; For judging whether the Boot running software is normal, also in pre-boot, Boot is set and starts timer; Under the normal condition, Boot starts sign and is defaulted as 1.
In other equipment of handheld device or on-handheld device, if Boot software is stored in the memory block of equipment, can be the same with said method, Boot storage primary area and Boot are set in the memory block deposit reserve zone, be arranged among the independent chip but pre-boot and Boot are started sign, or pre-boot is arranged in the independent chip, and Boot starts the hardware that sign is set to high-low level, judge this hardware level state during system start-up, the level height is 1, and level is low to be 0; If Boot software and other software separate storage are not stored in the memory block of equipment, and are stored in the independent chip, the chip of two storage Boot softwares then can be set, a chip is Boot storage primary area, another deposits reserve zone for Boot; Pre-boot can be arranged in the pre-chip guide separately; Boot starts sign and can be arranged in the pre-chip guide, or it is set to the hardware of high-low level, judges this hardware level state during system start-up, and the level height is 1, and level is low to be 0; In Boot software is stored in equipment in the independent chip, can also in a Boot chip, Boot storage primary area and Boot be set deposit reserve zone; For pre-boot, can be arranged on separately in the pre-chip guide, also can be arranged in the Boot chip; Boot starts sign and can be arranged in the pre-chip guide, or in the Boot chip, or it is set to the hardware of high-low level, judges this hardware level state during system start-up, and the level height is 1, and level is low to be 0.
After having carried out above-mentioned the setting, the present embodiment flow process as shown in Figure 3, concrete steps are as follows:
When step 301, system start-up, pre-boot inquiry Boot starts sign, under the normal condition, this is masked as 1, and the Boot software in the operation Boot storage primary area is after system start-up is finished, connect with the upgrading media, obtain upgrade software, it is stored in non-Boot memory block;
In this step, obtaining software updating method by the upgrading media, for handheld device, can be to obtain from PC, other handheld device or internet by wired or wireless interface; For PC or other equipment, can be from other memory devices of internet, other PC or PC, to obtain by wired or wireless interface;
Step 302, system copy to Boot with upgrade software and deposit reserve zone, then Boot are started sign and change to 0;
Step 303, restarting systems, pre-boot inquiry Boot starts sign, and this is masked as 0, operation Boot deposits the Boot software in the reserve zone, in the start-up course, pre-boot judges whether the Boot running software is normal, if move normal execution in step 304,305; Otherwise execution in step 306,307;
Judge that whether the Boot running software is normal, is performed such: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired;
Step 304, system copy to Boot storage primary area with upgrade software, upgrade successfully;
In this step, can be that the Boot upgrade software that is stored in the non-Boot memory block stores Boot storage primary area into, also can be the Boot upgrade software that Boot deposits in the reserve zone is copied to Boot storage primary area;
Step 305, system start sign with Boot and change to 1, then restarting systems;
Step 306, pre-boot start sign with Boot and change to 1, restarting systems then, and pre-boot inquiry Boot starts sign, and this is masked as 1, the Boot software in the operation Boot storage primary area;
Step 307, system are stored Boot software in the primary area with Boot and are copied to Boot and deposit reserve zone, the upgrading failure.
In the present embodiment,, realized to use special-purpose Reading and writing instrument to carry out the upgrading of Boot, greatly reduced the difficulty of upgrading by two Boot memory blocks are set; And start sign and pre-boot owing to be provided with Boot, make when the Boot software upgrading is failed, can rerun the Boot software in Boot storage primary area, and be stored to Boot and deposit reserve zone, after having realized the upgrading failure, can recover original Boot software.
Boot software rejuvenation method is applied as the second embodiment of the present invention in handheld device, below it is elaborated.
As shown in Figure 2, in the present embodiment, two Boot memory blocks are set in the memory block of handheld device in advance, wherein, one is Boot storage primary area, and another deposits reserve zone for Boot, stores complete Boot upgrade software respectively; And Boot startup sign is set, this is masked as at 1 o'clock, the Boot software in the operation Boot storage primary area; Be 0 o'clock, operation Boot deposits the Boot software in the reserve zone, and Boot starts sign also can be set to other occurrence, is the example explanation with 1 and 0 just at this; The pre-boot of inquiry Boot sign also is set, and pre-boot is when system start-up, and inquiry Boot starts sign, and detecting the Boot running software when undesired, revises Boot and start sign; Pre-boot can be stored in the Boot memory block, also can be stored in the pre-chip guide separately; Whether normal for judging the Boot operation, in pre-boot, Boot is set and starts timer; Under the normal condition, Boot starts sign and is defaulted as 1.
In other equipment of handheld device or on-handheld device, if Boot software is stored in the memory block of equipment, can be the same with said method, Boot storage primary area and Boot are set in the memory block deposit reserve zone, be arranged among the independent chip but pre-boot and Boot are started sign, or pre-boot is arranged in the independent chip, and Boot starts the hardware that sign is set to high-low level, judge this hardware level state during system start-up, the level height is 1, and level is low to be 0; If Boot software and other software separate storage be not stored in the memory block of equipment, and Boot software are stored in the independent chip, the chip of two storage Boot softwares can be set, a chip is Boot storage primary area, another deposits reserve zone for Boot; Can be arranged in the pre-chip guide separately for pre-boot; Boot starts sign and can be arranged in the pre-chip guide, or it is set to the hardware of high-low level, judges this hardware level state during system start-up, and the level height is 1, and level is low to be 0; In Boot software is stored in equipment in the independent chip, can also in a Boot chip, Boot storage primary area and Boot be set deposit reserve zone; For pre-boot, can be arranged on separately in the pre-chip guide, also can be arranged in the Boot chip; Boot starts sign and can be arranged in the pre-chip guide, or in the Boot chip, or it is set to the hardware of high-low level, judges this hardware level state during system start-up, and the level height is 1, and level is low to be 0.
After having carried out above-mentioned the setting, Boot software rejuvenation method flow as shown in Figure 4, concrete steps are as follows:
Step 401~403, system start-up, pre-boot inquiry Boot starts sign, and under the normal condition, this is masked as 1, and the Boot software in operation Boot storage primary area judges whether the Boot running software is normal, if operation is normally then continue to move; Otherwise pre-boot starts sign with Boot and changes to 0, restarting systems, and operation Boot deposits the Boot software in the reserve zone;
Judge that whether the Boot running software is normal, is performed such: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired;
Step 404, restarting systems, after startup was finished, system copied to Boot storage primary area with the Boot software that Boot deposits in the reserve zone;
Step 405, system's change Boot startup are masked as 1, restarting systems.
In the present embodiment, by two Boot memory blocks, Boot startup sign and pre-boot are set, realized after Boot storage primary area is destroyed, can move the Boot software that Boot deposits reserve zone, then the Boot storage primary area of being destroyed is recovered, needn't use special-purpose Reading and writing instrument to realize the recovery of Boot software by the professional, greatly reduce the difficulty of Boot software rejuvenation.
In concrete implementation process, can carry out suitable improvement, to adapt to the concrete needs of concrete condition to the method according to this invention.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role, not in order to restriction protection scope of the present invention.

Claims (14)

1, a kind of Boot method for upgrading software is characterized in that, sets in advance Boot storage primary area and Boot and deposits reserve zone, stores complete Boot software respectively, and this method is further comprising the steps of:
A, system start-up, the Boot software in the operation Boot storage primary area after system start-up is finished, is downloaded the Boot upgrade software, stores the Boot upgrade software into Boot and deposits reserve zone;
B, system restart, operation Boot deposits Boot upgrade software in the reserve zone.
2, the method for claim 1 is characterized in that, in the described steps A, download Boot software updating method is: download the Boot upgrade software to non-Boot memory block;
Storing the Boot upgrade software into method that Boot deposits reserve zone is: store Boot into after the Boot upgrade software is read from non-Boot memory block and deposit reserve zone.
3, method as claimed in claim 1 or 2 is characterized in that, behind the described step B, further comprises:
C, judge whether the Boot upgrade software operation that Boot deposits in the reserve zone normal, if move undesired, system restart, the Boot software in the operation Boot storage primary area.
4, method as claimed in claim 3 is characterized in that, among the described step C, further comprises: if operation is normal, system stores the Boot upgrade software into Boot storage primary area;
Among the described step C, behind the Boot software in the operation Boot storage primary area, further comprise: after system start-up is finished, Boot is stored Boot software in the primary area store Boot into and deposit reserve zone.
5, the method for claim 1 is characterized in that, this method further comprises:
Set in advance Boot and start sign, this sign has two values, corresponds respectively to Boot software in the operation Boot storage primary area and Boot and deposits Boot software in the reserve zone; During system start-up, inquiry Boot starts sign, and Boot software in the value operation Boot storage primary area that startup indicates according to Boot or Boot deposit the Boot software in the reserve zone;
After the described steps A, further comprise: system Boot starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
6, method as claimed in claim 5 is characterized in that, this method further comprises: set in advance pre-boot; Then described inquiry Boot startup is masked as, and the pre-boot inquiry Boot that sets in advance starts sign.
7, method as claimed in claim 6 is characterized in that, behind the described step B, further comprises:
C1, pre-boot judge whether the Boot running software normal, if move undesired, then upgrading failure, pre-boot Boot starts sign and is set to move the value that Boot stores Boot software in the primary area, restarting systems then.
8, method as claimed in claim 7, it is characterized in that, this method further comprises: in pre-boot Boot is set in advance and starts timer, whether normal method is the then described Boot of judgement running software: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, and then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired.
9, as claim 7 or 8 described methods, it is characterized in that, among the described step C1, further comprise: if operation is normal, system stores the Boot upgrade software into Boot storage primary area;
After system restart, further comprise: Boot is stored Boot software in the primary area store Boot into and deposit reserve zone.
10, a kind of Boot software rejuvenation method is characterized in that, sets in advance Boot storage primary area and Boot and deposits reserve zone, stores complete Boot software respectively, and this method is further comprising the steps of:
A, system start-up, the Boot software in the operation Boot storage primary area judges whether the Boot running software is normal, if operation is normally then continue to move; Otherwise, restarting systems, operation Boot deposits the Boot software in the reserve zone.
11, method as claimed in claim 10 is characterized in that, among the described step a, restarting systems after operation Boot deposits Boot software in the reserve zone, further comprises:
After b, system start-up were finished, the Boot software that Boot is deposited in the reserve zone stored Boot storage primary area into.
12, as claim 10 or 11 described methods, it is characterized in that this method further comprises:
Set in advance Boot and start sign, this sign has two values, corresponds respectively to Boot software in the operation Boot storage primary area and Boot and deposits Boot software in the reserve zone; During system start-up, inquiry Boot starts sign, and Boot software in the value operation Boot storage primary area that startup indicates according to Boot or Boot deposit the Boot software in the reserve zone;
Among the described step a, before the restarting systems, further comprise: Boot starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
13, method as claimed in claim 12 is characterized in that, this method further comprises: set in advance pre-boot, described inquiry Boot startup is masked as, and the pre-boot inquiry Boot that sets in advance starts sign;
Described Boot starts sign, and to be set to move the value that Boot deposits Boot software in the reserve zone be that the pre-boot Boot that sets in advance starts sign and is set to move the value that Boot deposits Boot software in the reserve zone.
14, method as claimed in claim 13, it is characterized in that, this method further comprises: in pre-boot Boot is set in advance and starts timer, whether normal method is the then described Boot of judgement running software: have parameter to return if pre-boot detects before Boot starts timer expiry, and return parameters is correct, and then the Boot running software is normal; If pre-boot detects in the Boot software running process, mistake appears in the initialization return parameters, or pre-boot detects Boot and start timer expiry, and Boot software do not have return parameters, and then the Boot running software is undesired.
CNB2004100747497A 2004-09-14 2004-09-14 Upgrading method for Boot software and recovering method for Boot software Active CN100343807C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100747497A CN100343807C (en) 2004-09-14 2004-09-14 Upgrading method for Boot software and recovering method for Boot software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100747497A CN100343807C (en) 2004-09-14 2004-09-14 Upgrading method for Boot software and recovering method for Boot software

Publications (2)

Publication Number Publication Date
CN1749963A true CN1749963A (en) 2006-03-22
CN100343807C CN100343807C (en) 2007-10-17

Family

ID=36605425

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100747497A Active CN100343807C (en) 2004-09-14 2004-09-14 Upgrading method for Boot software and recovering method for Boot software

Country Status (1)

Country Link
CN (1) CN100343807C (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894032A (en) * 2010-06-30 2010-11-24 中兴通讯股份有限公司 Method for starting software system of base station, base station and master single board in base station
CN102023908A (en) * 2010-12-03 2011-04-20 中兴通讯股份有限公司 Method and device for backing up boot program
CN101499909B (en) * 2008-02-03 2011-05-11 中兴通讯股份有限公司 Single board starting system and method
CN101506772B (en) * 2006-10-16 2011-08-03 微软公司 Environment state changes to alter functionality
CN102184109A (en) * 2011-04-12 2011-09-14 杭州华三通信技术有限公司 Boot software automatic updating control method and device
CN101834976B (en) * 2009-10-20 2012-01-25 福建新大陆通信科技股份有限公司 Method for starting and upgrading set-top box by using three-stage directing and upgrading starting technology
CN102364446A (en) * 2011-11-17 2012-02-29 北京天地云箱科技有限公司 Embedded system, security upgrading method and running method for embedded system
CN102508686A (en) * 2011-11-30 2012-06-20 苏州希图视鼎微电子有限公司 Method and system for realizing safe upgrading of system
CN101212554B (en) * 2007-12-25 2012-07-04 康佳集团股份有限公司 Method for upgrading set-top box system
CN101739270B (en) * 2008-11-05 2013-04-03 英华达(上海)科技有限公司 Electronic device and system update method thereof
CN104281071A (en) * 2013-07-05 2015-01-14 广州汽车集团股份有限公司 Method and system for starting ECU
CN106101841A (en) * 2016-07-13 2016-11-09 青岛海信宽带多媒体技术有限公司 The firmware upgrade method of a kind of projection TV and device
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN107608702A (en) * 2017-10-25 2018-01-19 迈普通信技术股份有限公司 Bootloader program modules update method and device
CN107704258A (en) * 2017-10-27 2018-02-16 深圳市恒扬数据股份有限公司 Uboot upgrade methods, system and terminal device
CN107967160A (en) * 2017-12-22 2018-04-27 杭州迪普科技股份有限公司 A kind of method and device that operating system file is updated by Boot Loader
CN109582332A (en) * 2018-11-08 2019-04-05 深圳市景阳科技股份有限公司 The method for upgrading system and device of internet video camera
CN109614129A (en) * 2018-11-19 2019-04-12 深圳市广和通无线股份有限公司 The alternating upgrade method of multiloop loop system
CN109918142A (en) * 2019-03-19 2019-06-21 深圳创维-Rgb电子有限公司 A kind of software restarting method, apparatus, terminal and storage medium
CN109992312A (en) * 2019-03-26 2019-07-09 联想(北京)有限公司 The starting method, apparatus and system of electronic equipment
CN110427286A (en) * 2019-08-09 2019-11-08 成都千立网络科技有限公司 Gateway server main preparation system restoration methods
CN110597532A (en) * 2019-08-06 2019-12-20 厦门科灿信息技术有限公司 Data acquisition module, firmware upgrading method thereof and storage medium
CN110688135A (en) * 2019-09-20 2020-01-14 浙江吉利汽车研究院有限公司 Program flashing method, device and medium for controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100511148C (en) * 2007-11-12 2009-07-08 中兴通讯股份有限公司 CPU system starting method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432927A (en) * 1992-06-17 1995-07-11 Eaton Corporation Fail-safe EEPROM based rewritable boot system
US5699275A (en) * 1995-04-12 1997-12-16 Highwaymaster Communications, Inc. System and method for remote patching of operating code located in a mobile unit
US20020095619A1 (en) * 2001-01-17 2002-07-18 Marsh Edward Thomas Fault tolerant/redundant boot ROM reprogramming

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101506772B (en) * 2006-10-16 2011-08-03 微软公司 Environment state changes to alter functionality
CN101212554B (en) * 2007-12-25 2012-07-04 康佳集团股份有限公司 Method for upgrading set-top box system
CN101499909B (en) * 2008-02-03 2011-05-11 中兴通讯股份有限公司 Single board starting system and method
CN101739270B (en) * 2008-11-05 2013-04-03 英华达(上海)科技有限公司 Electronic device and system update method thereof
CN101834976B (en) * 2009-10-20 2012-01-25 福建新大陆通信科技股份有限公司 Method for starting and upgrading set-top box by using three-stage directing and upgrading starting technology
CN101894032A (en) * 2010-06-30 2010-11-24 中兴通讯股份有限公司 Method for starting software system of base station, base station and master single board in base station
CN102023908A (en) * 2010-12-03 2011-04-20 中兴通讯股份有限公司 Method and device for backing up boot program
CN102184109A (en) * 2011-04-12 2011-09-14 杭州华三通信技术有限公司 Boot software automatic updating control method and device
CN102184109B (en) * 2011-04-12 2014-07-09 杭州华三通信技术有限公司 Boot software automatic updating control method and device
CN102364446A (en) * 2011-11-17 2012-02-29 北京天地云箱科技有限公司 Embedded system, security upgrading method and running method for embedded system
CN102508686A (en) * 2011-11-30 2012-06-20 苏州希图视鼎微电子有限公司 Method and system for realizing safe upgrading of system
CN104281071B (en) * 2013-07-05 2017-07-11 广州汽车集团股份有限公司 The startup method and ECU activation systems of a kind of ECU
CN104281071A (en) * 2013-07-05 2015-01-14 广州汽车集团股份有限公司 Method and system for starting ECU
CN106775610A (en) * 2016-03-22 2017-05-31 新华三技术有限公司 A kind of electronic equipment starts method and a kind of electronic equipment
CN106775610B (en) * 2016-03-22 2021-11-12 新华三技术有限公司 Electronic equipment starting method and electronic equipment
CN106101841A (en) * 2016-07-13 2016-11-09 青岛海信宽带多媒体技术有限公司 The firmware upgrade method of a kind of projection TV and device
CN107608702A (en) * 2017-10-25 2018-01-19 迈普通信技术股份有限公司 Bootloader program modules update method and device
CN107704258A (en) * 2017-10-27 2018-02-16 深圳市恒扬数据股份有限公司 Uboot upgrade methods, system and terminal device
CN107967160B (en) * 2017-12-22 2021-04-27 杭州迪普科技股份有限公司 Method and device for updating operating system file through Boot Loader
CN107967160A (en) * 2017-12-22 2018-04-27 杭州迪普科技股份有限公司 A kind of method and device that operating system file is updated by Boot Loader
CN109582332A (en) * 2018-11-08 2019-04-05 深圳市景阳科技股份有限公司 The method for upgrading system and device of internet video camera
CN109582332B (en) * 2018-11-08 2022-04-01 深圳市景阳科技股份有限公司 System upgrading method and device for Internet camera
CN109614129A (en) * 2018-11-19 2019-04-12 深圳市广和通无线股份有限公司 The alternating upgrade method of multiloop loop system
CN109918142A (en) * 2019-03-19 2019-06-21 深圳创维-Rgb电子有限公司 A kind of software restarting method, apparatus, terminal and storage medium
CN109992312A (en) * 2019-03-26 2019-07-09 联想(北京)有限公司 The starting method, apparatus and system of electronic equipment
CN110597532A (en) * 2019-08-06 2019-12-20 厦门科灿信息技术有限公司 Data acquisition module, firmware upgrading method thereof and storage medium
CN110427286A (en) * 2019-08-09 2019-11-08 成都千立网络科技有限公司 Gateway server main preparation system restoration methods
CN110427286B (en) * 2019-08-09 2022-11-11 成都千立网络科技有限公司 Gateway server main and standby system recovery method
CN110688135A (en) * 2019-09-20 2020-01-14 浙江吉利汽车研究院有限公司 Program flashing method, device and medium for controller

Also Published As

Publication number Publication date
CN100343807C (en) 2007-10-17

Similar Documents

Publication Publication Date Title
CN100343807C (en) Upgrading method for Boot software and recovering method for Boot software
CN1277211C (en) Repair method for computer operation system
US10911065B2 (en) Computer system and method including selectively compressing data files and directories based on an operator indication and representing the amount of available free space
CN1940878A (en) Method and system for booting and automatically updating software, and recovering from update error
CN1419196A (en) Hard disk data backup and restore method
CN101923473B (en) Embedded electronic device and method for updating firmware thereof
CN1147190C (en) Method and apparatus for downloading into radio terminal
CN1848087A (en) Using usb memory device to recover operating system
TWI296778B (en) Method and system for maintaining smbios
CN101030146A (en) Method and system for updating fastener
JP2009283005A (en) Power management block for use in nonvolatile memory system
CN1591359A (en) Apparatus and method for controlling booting operation of computer system
CN102163167A (en) Method and device for rescuing system
CN104424140B (en) Unified Extensible Firmware Interface driver
CN1801090A (en) File update system and boot management system of mobile communication terminal,and its method
CN1811725A (en) High-speed storage device and method for high-speed update data
CN1811707A (en) Automatic updating and back-up BIOS method
CN1734422A (en) Data processing apparatus and firmware update method
CN1637737A (en) In-circuit configuration architecture with configuration on initialization function
CN1889042A (en) Terminal staging method and system
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN100340983C (en) Method and device for on-line upgrading of programmable logic device
CN1920787A (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
CN1908910A (en) Method for data backup and recovery
CN1779858A (en) Rewriting a non-volatile memory, electronic device, storage medium and rewriting method

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