CN102053875A - Method for recovering basic input-output system (BIOS) of computer system and computer system - Google Patents

Method for recovering basic input-output system (BIOS) of computer system and computer system Download PDF

Info

Publication number
CN102053875A
CN102053875A CN 200910210170 CN200910210170A CN102053875A CN 102053875 A CN102053875 A CN 102053875A CN 200910210170 CN200910210170 CN 200910210170 CN 200910210170 A CN200910210170 A CN 200910210170A CN 102053875 A CN102053875 A CN 102053875A
Authority
CN
China
Prior art keywords
bios
memory storage
data transmission
control module
transmission unit
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 200910210170
Other languages
Chinese (zh)
Other versions
CN102053875B (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.)
Wistron Corp
Original Assignee
Wistron Corp
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 Wistron Corp filed Critical Wistron Corp
Priority to CN 200910210170 priority Critical patent/CN102053875B/en
Publication of CN102053875A publication Critical patent/CN102053875A/en
Application granted granted Critical
Publication of CN102053875B publication Critical patent/CN102053875B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention relates to a method for recovering a basic input-output system (BIOS) of a computer system and the computer system. The computer system comprises a main control unit, a control unit and a first storage device, wherein the control unit is used for controlling system power supplied to the main control unit; and the main control unit is used for running a startup initiator program by accessing BIOS codes in the first storage device. The method comprises the following steps: when the computer system needs recovery, shutting down the system power; rewriting backup BIOS codes into the first storage device; and starting the system power, so that the main control unit can access the rewritten BIOS codes in the first storage device, thereby running the startup initiator program.

Description

Recover the method and the computer system of the Basic Input or Output System (BIOS) of computer system
Technical field
The present invention relates to a kind of method and relative computer system thereof of Basic Input or Output System (BIOS) of recovery one computer system, relate in particular to a kind of method and the relative computer system thereof that can control recovery routine by control module.
Background technology
(Basic Input/Output System BIOS) is serving as very crucial role to Basic Input or Output System (BIOS) in the start process of computer system.In general, after the user pressed the start key, (Operating System, OS) before, BIOS can carry out many programs successively and realize boot program until computer system is written into execution one operating system.For example start shooting selftest, initialization action, register system setting value, resident library to be provided, to assist to be written into operating system or the like all be the function that BIOS provided.Therefore, in start process, by BIOS each hardware of computer system is initialized and to set and test, and assist to start the operating system, can guarantee that system can operate as normal.In practical operation; BIOS sign indicating number (BIOS code) can be stored in the memory storage usually; after computer system was supplied the required system power supply of a central processing unit, central processing unit can access and is carried out BIOS sign indicating number in the memory storage, to carry out the boot program of computer system.
Yet, if the BIOS sign indicating number in the memory storage take place to be damaged or during the incomplete situation of data, will make computer system to start shooting smoothly.In the case, for fear of causing computer system to operate because of BIOS damages, the known technology utilization is provided with many group memory storages and deposits many parts of back-up BIOS sign indicating numbers, and setting priority, when meeting with foregoing problems, just be converted into other group memory storages in regular turn, the awkward situation when having only list group BIOS with solution.But, use aforementioned manner, though can solve the problem that can't start shooting immediately, also thereby expend too much manufacturing cost and become unrealistic.Therefore, known technology just proposes the another kind of mode that solves.Please refer to Fig. 1, Fig. 1 is the synoptic diagram of known computer systems 10.As shown in Figure 1, computer system 10 comprises main control unit 102, main memory storage 104 and backup storage device 106.Main memory storage 104 is used for depositing the BIOS sign indicating number, and backup storage device 106 is used for depositing scrutiny program (or burning program) and back-up BIOS sign indicating number.Whether when system boot, the scrutiny program in the first access backup storage device 106 of main control unit 102 meetings is also carried out scrutiny program, have the problem of damage to take place to check the BIOS sign indicating number in the main memory storage 104.If when not having the damage situation and taking place, boot program is carried out in then main control unit 102 meetings and then access and carry out the BIOS sign indicating number.If when having damaged condition to take place, then the back-up BIOS sign indicating number in the backup storage device 106 is copied to main memory storage 104, then, boot program is carried out in main control unit 102 access and carry out BIOS sign indicating number through duplicating again.The mode of the two BIOS of this kind needs to use the storage space that can deposit the much little BIOS sign indicating numbers of about twice, reaches the purpose of redundant BIOS.But,, boot program is interrupted, and can't finish boot program in case when the scrutiny program in the backup storage device 106 has the damage situation, therefore main control unit 102 will can't finish the inspection task.
Summary of the invention
Therefore, the present invention mainly is to provide a kind of Basic Input or Output System (BIOS) (Basic Input/Output System, method BIOS) and relative computer system thereof that recovers computer system.
The present invention discloses a kind of method of recovering computer system BIOS, computer system comprises main control unit, control module and first memory storage, control module is used for controlling the system power supply that provides to main control unit, main control unit is by the initial program of starting shooting of the BIOS sign indicating number in the first data transmission unit access, first memory storage, the method comprises: when computer system has the recovery demand, and the shutdown system power supply; The back-up BIOS code weight is write first memory storage; And the open system power supply, make main control unit be able to the BIOS sign indicating number through rewriteeing in access first memory storage, with the initial program of starting shooting.
The present invention also discloses a kind of computer system, and it comprises first memory storage, is used for storing the BIOS sign indicating number; Second memory storage is used for storing control code and back-up BIOS sign indicating number; Main control unit is coupled to first memory storage via first data transmission unit, is used for access BIOS sign indicating number, with the initial program of starting shooting; And control module, be coupled to main control unit, be used for according to control code, control provides the system power supply to main control unit; Wherein, when computer system has the recovery demand, utilize control module shutdown system power supply and the back-up BIOS code weight is write first memory storage, again the open system power supply, make main control unit be able to the BIOS sign indicating number through rewriteeing in access first memory storage, with the initial program of starting shooting.
The present invention also discloses a kind of method of recovering computer system BIOS, computer system comprises main control unit, control module and first memory storage, control module is used for controlling the system power supply that provides to main control unit, main control unit is by the initial program of starting shooting of the BIOS sign indicating number in the first data transmission unit access, first memory storage, the method comprises: when computer system has the recovery demand, utilize control module shutdown system power supply; Utilize control module control main control unit access data, and the open system power supply; Utilize the main control unit access to be stored in the BIOS promoter region block code of second memory storage; Utilize main control unit to carry out BIOS promoter region block code, write to first memory storage with the back-up BIOS code weight that will be stored in the 3rd memory storage; Utilize control module shutdown system power supply; And utilize control module open system power supply, main control unit is able to by the BIOS sign indicating number through rewriteeing in the first data transmission unit access, first memory storage, with the initial program of starting shooting.
The present invention also discloses a kind of computer system, and it comprises first memory storage, is used for storing the BIOS sign indicating number; Second memory storage is used for storing control code and BIOS promoter region block code; The 3rd memory storage is used for storage backup BIOS sign indicating number; Main control unit is coupled to first memory storage via first data transmission unit, is used for access BIOS sign indicating number, with the initial program of starting shooting; And control module is coupled to main control unit, and being used for according to control code, control provides to the system power supply of main control unit and reads BIOS promoter region block code; Wherein, when computer system has the recovery demand, the BIOS promoter region block code of utilizing the control module access to be read, when main control unit is carried out BIOS promoter region block code, the back-up BIOS code weight that is stored in the 3rd memory storage is write to first memory storage, make main control unit be able to the BIOS sign indicating number through rewriteeing in access first memory storage, with the initial program of starting shooting.
Description of drawings
Fig. 1 is the synoptic diagram of a known computer system.
Fig. 2 is the synoptic diagram of first embodiment of the invention one computer system.
Fig. 3 is the synoptic diagram of a flow process of the BIOS sign indicating number of first embodiment of the invention recovery computer system.
Fig. 4 to Fig. 8 recovers the synoptic diagram of BIOS for the computer system among Fig. 2.
Fig. 9 is the synoptic diagram of second embodiment of the invention one computer system.
Figure 10 is the synoptic diagram of a flow process of the BIOS sign indicating number of second embodiment of the invention recovery computer system.
[main element symbol description]
10,20,90 computer systems
102,202,902 main control units
104 main memory storages
106 backup storage devices
204,904 control modules
206,906 first memory storages
208,908 second memory storages
210,912 first data transmission units
212,914 second data transmission units
214,916 the 3rd data transmission units
402 first change-over switches
404 second change-over switches
910 the 3rd memory storages
918 the 4th data transmission units
Embodiment
Please refer to Fig. 2, Fig. 2 is the synoptic diagram of first embodiment of the invention one computer system 20.Computer system 20 comprises main control unit 202, control module 204, first memory storage 206, second memory storage 208, first data transmission unit 210, second data transmission unit 212 and the 3rd data transmission unit 214.Wherein, first memory storage 206 is used for storing Basic Input or Output System (BIOS) (Basic Input/Output System, BIOS) sign indicating number.Second memory storage 208 is used for storing control code (for example, the program code of embedded Control sign indicating number or other tool similar functions) and back-up BIOS sign indicating number.In the normal boot-strap process, main control unit 202 is coupled to first memory storage 206 via first data transmission unit 210, with access and carry out the BIOS sign indicating number, and the initial program of starting shooting.Control module 204 is coupled to first memory storage 206, second memory storage 208 and main control unit 202 via first data transmission unit 210, second data transmission unit 212 and the 3rd data transmission unit 214 respectively.Control module 204 is according to control code, and control provides the power supply (for example, the required system power supply of main control unit 202 operations) to each element of computer system 20 and controls the program of recovering the BIOS sign indicating number.
Therefore, when damage or the incomplete situation of data take place the BIOS sign indicating number in first memory storage 206, main control unit 202 can't carry out boot program by successful execution BIOS sign indicating number.Use the mode of known technology, must under main control unit 202 has the situation of power supply supply, just can detect error situation and then carry out and recover the BIOS sign indicating number.And control module 204 used in the present invention can detect mistake by control module 204 automatically under the situation of no system power supply power supply, or when computer system has the recovery demand, utilize control module 204 shutdown system power supplys to control recovery routine, to recover the BIOS sign indicating number in first memory storage 206.Thus, computer system 20 of the present invention can be avoided can the problem that the damage situation causes boot program to interrupt also may taking place because of the scrutiny program of depositing in other memory storages in the classic method.About the detail operations mode of computer system 20, please continue with reference to following explanation.
Please refer to Fig. 3, Fig. 3 is the synoptic diagram of a flow process 30 of the BIOS sign indicating number of first embodiment of the invention recovery computer system 20.Flow process 30 is used for realizing an operating process of aforementioned calculation machine system 20, and it comprises the following step:
Step 300: beginning.
Step 302: when computer system 20 has the demand of recovering the BIOS sign indicating number, utilize control module 204 to close the required system power supply of main control unit 202 operations.
Step 304: utilize control module 204 that the back-up BIOS code weight is write first memory storage 206.
Step 306: utilize control module 204 open system power supplys, make main control unit 202 be able to the BIOS sign indicating number through rewriteeing in access first memory storage 206, with the initial program of starting shooting.
Step 308: finish.
According to flow process 30, computer system 20 realizes the recovery routine of BIOS sign indicating number by the control of control module 204.In step 302, control module 204 is after learning that computer system 20 has the recovery demand of BIOS sign indicating number, can will provide and close, make main control unit 202 temporarily stop to carry out the BIOS sign indicating number of access first memory storage 206, and enter recovery routine to the system power supply of main control unit 202.Be noted that in the present invention any mode that can make control module 204 be judged whether the recovery demand of BIOS sign indicating number all is applicable to the present invention.For instance, can be set in after hot key on the computer system 20, specific keys (as recovering to start button), Macintosh (combinations of a plurality of buttons) etc. are pushed by the user, trigger the recovery demand to control module 204, then control module 204 can be closed the system power supply that is supplied to main control unit 202 according to the recovery demand that is triggered.Perhaps, also can judge whether the recovery demand is arranged by the control module 202 customary functions of carrying out.For example usually in computer system, can design after the system boot success, the mechanism of boot program has been finished in 204 repayment at present to control module.In the case, whether control module 204 can have the repayment message in the special time of detection computations machine system 20 after the start key is pressed.If do not have, then be considered as boot failure.For example in the present embodiment, can set the number of times during that boot failures takes place when control module 204 statistics greater than a specific threshold value (for example 3 times), control module 204 can be provided by the system power supply that provides to main control unit 202, and proceeds step 304 to step 308.In addition, control module 204 also can pass through arbitrary connectivity port, for example the situation of No. 80 connectivity port (port 80) comes the main control unit 202 of detection computations machine system 20 whether the recovery demand is arranged, for instance, the number of times that one of is produced the boot failure message by No. 80 connectivity port when control module 204 accumulative total is during greater than a threshold value (for example 5 times), and control module 204 is understood the shutdown system power supplys and carried out recovery routine.
In addition, step 304 can comprise whether wrong situation takes place by the BIOS sign indicating number in control module 204 detections first memory storage 206, and when detecting BIOS sign indicating number existence mistake, by control module 204 the back-up BIOS code weight in second memory storage 208 is write first memory storage 206 again.Preferably, do not have and exist anyly when wrong, then need not carry out the back-up BIOS code weight is write the program of first memory storage 206, and jump directly to step 308 when detecting the BIOS sign indicating number.On the other hand, control module 204 can use any data error detection mode, detect the BIOS sign indicating number and whether have mistake, for instance, control module 204 can to the BIOS sign indicating number in first memory storage 206 carry out verification and (checksum), parity checking (parity check) or cyclic redundancy check (CRC) (cyclic redundancy check) program, to detect the mistake of BIOS sign indicating number.
In step 306, because control module 204 has write the back-up BIOS code weight first memory storage 206, therefore, utilize the control of control module 204, open the system power supply that main control unit 202 is provided again, thus, main control unit 202 can continue the BIOS sign indicating number through rewriteeing in access first memory storage 206, and the initial program of starting shooting smoothly.
Please refer to Fig. 4 and Fig. 5, Fig. 4 and Fig. 5 recover the synoptic diagram of BIOS for the computer system 20 among Fig. 2.As shown in Figure 4, learn the recovery demand of BIOS sign indicating number when control module 204 after, can will provide earlier closes to the system power supply of main control unit 202, make main control unit 202 temporarily stop to carry out the BIOS sign indicating number of access first memory storage 206.Then, control module 204 is by switching the BIOS sign indicating number of first data transmission unit, 210 detection of stored in first memory storage 206.When detecting BIOS sign indicating number existence mistake, control module 204 can read the back-up BIOS sign indicating number of depositing in second memory storage 208 via second data transmission unit 212.Further, control module 204 is sent to the back-up BIOS sign indicating number that is read first memory storage 206 and the back-up BIOS code weight that is read is write to first memory storage 206 via first data transmission unit 210.In the case, first memory storage 206 has had complete BIOS sign indicating number.Therefore, as shown in Figure 5, control module 204 switches first data transmission unit 210, recovers to be supplied to the system power supply of main control unit 202, then main control unit 202 can come access and the BIOS sign indicating number of execution after recovering by first data transmission unit 210, and realizes boot program smoothly.
Please refer to Fig. 6 to Fig. 8, the detailed embodiment when control module 204 can't provide enough input/output port is provided, Fig. 6 to Fig. 8 recovers another synoptic diagram of BIOS for the computer system 20 among Fig. 2.As shown in Figure 6, learn the recovery demand of BIOS sign indicating number when control module 204 after, can will provide earlier close to the system power supply of main control unit 202.Then, control module 204 can come the BIOS sign indicating number of detection of stored in first memory storage 206 by switching first data transmission unit 210 and second data transmission unit 212.When detecting BIOS sign indicating number existence mistake, as shown in Figure 7, control module 204 reads the back-up BIOS sign indicating number of depositing in second memory storage 206 by switching second data transmission unit 212.Further, as shown in Figure 8, control module 204 is by switching second data transmission unit 212, via first data transmission unit 210 and second data transmission unit 212 the back-up BIOS sign indicating number that is read is sent to first memory storage 206 and the back-up BIOS code weight that is read is write to first memory storage 206.In the case, first memory storage 206 has had complete BIOS sign indicating number.Therefore, as shown in Figure 5, control module 204 by switching first data transmission unit 210, recovers to be supplied to the system power supply of main control unit 202 again, then main control unit 202 can come access and the BIOS sign indicating number of execution after recovering by first data transmission unit 210, and realizes boot program smoothly.
Preferably, to shown in Figure 8, first data transmission unit 210 comprises first change-over switch, 402, the first change-over switches 402 and optionally is coupled to main control unit 202, control module 204 or second data transmission unit 212 as Fig. 4.Second data transmission unit 212 comprises one second change-over switch, 404, the second change-over switches 404 and optionally is coupled to first data transmission unit 210 or second memory storage 208.It should be noted that change-over switch 402,404 can be transistor or other can reach the element of identical function.
Please refer to Fig. 9, Fig. 9 is the synoptic diagram of second embodiment of the invention computer system 90.It should be noted that, because the element of same names has similar function mode and function in the computer system 20 of Fig. 2 and the computer system 90 of Fig. 9, therefore for asking description for purpose of brevity, describe in detail just in this omission, the connection relationship of these elements does not repeat them here as shown in Figure 9.Computer system 90 comprises main control unit 902, control module 904, first memory storage 906, second memory storage 908, the 3rd memory storage 910, first data transmission unit 912, second data transmission unit 914, the 3rd data transmission unit 916 and the 4th data transmission unit 918.Wherein be that with Fig. 2 difference second memory storage 908 is used for storing control code and BIOS promoter region block code (boot block code), the 3rd memory storage 910 is used for storage backup BIOS sign indicating number, and main control unit 902 can pass through the 4th data transmission unit 918 access back-up BIOS sign indicating numbers.Preferably, the 3rd memory storage 910 is an external memory.When BIOS recovers demand, computer system 90 is utilized the pin of control module 904 control main control units 902, pin (strap pin) for example is set, but the present invention is not as limit, also can adopt the design of hardware and software of the identical effect of other tools, so that the BIOS promoter region block code that main control unit 902 is read from second memory storage 908 by control module 904 by 914 accesses of second data transmission unit and execution.In the case, main control unit 902 can write first memory storage 906 with the back-up BIOS code weight that is stored in the 3rd memory storage 910, and finish the recovery routine of BIOS according to BIOS promoter region block code.About the detail operations mode of computer system 90, please continue with reference to following explanation.
Please refer to Figure 10, Figure 10 is the synoptic diagram of the flow process 100 of the BIOS sign indicating number of second embodiment of the invention recovery computer system 90.Flow process 100 is used for realizing the operating process of aforementioned calculation machine system 90, and it comprises the following step:
Step 1000: beginning.
Step 1002: when computer system 90 has the recovery demand, utilize control module 904 to close the required system power supply of main control unit 902 operations.
Step 1004: utilize control module 904 control main control units 902 access datas, and the open system power supply.
Step 1006: utilize main control unit 902 accesses to be stored in the BIOS promoter region block code of second memory storage 908.
Step 1008: utilize main control unit 902 to carry out BIOS promoter region block code, write to first memory storage 906 with the back-up BIOS code weight that will be stored in the 3rd memory storage 910.
Step 1010: utilize control module 904 shutdown system power supplys.
Step 1012: utilize control module 904 open system power supplys, main control unit 902 is able to by the BIOS sign indicating number through rewriteeing in first data transmission unit, 912 accesses, first memory storage 906, with the initial program of starting shooting.
Step 1014: finish.
Further specify, in step 1002, when the recovery demand was arranged, computer system 90 utilized control module 904 to close the required system power supply of main control unit 902 operations, makes main control unit 902 temporarily stop to carry out the BIOS sign indicating number of access first memory storage 906.By the control setting pin, main control unit 902 can be via first data transmission unit 912 or via second data transmission unit, 914 access external datas, in step 1004, control module 904 will be by being provided with pin, and opening provides to the system power supply of main control unit 902 again.In the case, main control unit 902 data that will be provided via second data transmission unit, 914 storage control units 904.In step 1006, can utilize main control unit 902 to transmit an access requirement to control module 904 by the 3rd data transmission unit 916, then, require after second memory storage 908 reads BIOS promoter region block code the BIOS promoter region block code that main control unit 902 is read by the 3rd data transmission unit 916 storage control units 904 according to this access at control module 904.In step 1008, main control unit 902 is after BIOS promoter region block code is arrived in access, and then execution BIOS promoter region block code, to pass through the 4th data transmission unit 918, read the back-up BIOS sign indicating number that is stored in the 3rd memory storage 910, and, the back-up BIOS code weight that is read is write to first memory storage 906 via first data transmission unit 912.In step 1010, control module 904 is the shutdown system power supply, and once again by pin is set, makes the BIOS sign indicating number of main control unit 902 via first data transmission unit, 912 accesses, first memory storage 906.At last, in step 1012, recover the system power supply of main control unit 902, initial program so that main control unit 902 is started shooting.Therefore, compared to known technology, the present invention can utilize control module 904 to control recovery routine when computer system has the recovery demand, and the reason scrutiny program does not damage and the interruption boot program.For computer system, more only need use less storage space to deposit BIOS promoter region block code, can finish recovery routine.
Be noted that computer system 20 and computer system 90 are embodiments of the invention, those skilled in the art are when doing different variations according to this.Main control unit 202,902 is central processing unit, chipset (South Bridge chip, north bridge chips) or above-mentioned combination, and right the present invention is not as limit.Control module 204,904 is embedded controller (embedded controller), microprocessor (Microprocessor), I/O controller (I/O controller) or any element with similar functions.Every device that can be used for storing data all can be used to realize storage unit mentioned in the embodiment of the invention, for example ROM (read-only memory), electronic type erasable read-only memory, flash memory, non-volatility memorizer or the like.And mentioned data transmission unit can be any device that is used for transmitting data in the embodiment of the invention, for instance, first data transmission unit 912 or second data transmission unit 914 can be serial peripheral bus interface (Serial Peripheral Interface, SPI), the 3rd data transmission unit 916 can be lpc bus interface (Low Pin Count, LPC), the 4th data transmission unit 918 can be USB (universal serial bus) (Universal Serial Bus, USB), but not as limit.In addition, described in the present invention hot key comprises one or more button, for instance, can be set at function key Fn, alphabetical J key and on ﹠ off switch for default hot key, triggers a recovery demand when this triple bond is pushed simultaneously.In addition, described in the present invention specific keys also is not limited to special pattern, and it comprises the physical button that computer system had originally existed or additionally set up, in other words, so long as can link with control module and get final product by its relevant device of managing supply electric power.
In sum, compared to known technology.The present invention do not need the time to check the situation of BIOS sign indicating number in start, and can utilize control module to control recovery routine when computer system has the recovery demand, and the reason scrutiny program does not damage and interrupts boot program.On the other hand, the present invention only need use less storage space to deposit BIOS promoter region block code, can finish recovery routine, can significantly reduce manufacturing cost.
The above only is the preferred embodiments of the present invention, and all equalizations of doing according to claims of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (29)

1. method of recovering the Basic Input or Output System (BIOS) of a computer system, this computer system comprises a main control unit, a control module and one first memory storage, this control module is used for controlling a system power supply that provides to this main control unit, this main control unit is by the initial program of starting shooting of the BIOS sign indicating number in this first memory storage of one first data transmission unit access, and this method comprises:
When this computer system has the recovery demand, close this system power supply;
One back-up BIOS code weight is write this first memory storage; And
Open this system power supply, make this main control unit be able to this BIOS sign indicating number through rewriteeing in this first memory storage of access, with the initial program of starting shooting.
2. the method for claim 1, wherein when this computer system had the recovery demand, the step of closing this system power supply comprised:
When at least one hot key, a specific keys or a Macintosh of this computer system are pressed, or the number of times that detects this computer system generation boot failure in this control module is closed this system power supply during greater than a threshold value.
3. the method for claim 1, wherein the step that this back-up BIOS code weight is write this first memory storage comprises:
Detect this BIOS sign indicating number in this first memory storage; And
When detecting this BIOS sign indicating number existence mistake, this back-up BIOS code weight is write this first memory storage.
4. method as claimed in claim 3 wherein detects the step of this BIOS sign indicating number in this first memory storage, comprises:
Switch this first data transmission unit, to link this first memory storage and this control module; And
Utilize this control module detection of stored this BIOS sign indicating number in this first memory storage.
5. method as claimed in claim 3 wherein exists when wrong in detecting this BIOS sign indicating number, and this back-up BIOS code weight is write the step of this first memory storage, comprises:
When detecting this BIOS sign indicating number existence mistake,, read this back-up BIOS sign indicating number that is stored in one second memory storage via one second data transmission unit; And
Via this first data transmission unit, this back-up BIOS code weight that is read is write to this first memory storage.
6. method as claimed in claim 3 wherein detects the step of this BIOS sign indicating number in this first memory storage, comprises:
Switch this first data transmission unit and one second data transmission unit, to link this first memory storage and this control module by this first data transmission unit and this second data transmission unit; And
By this control module detection of stored this BIOS sign indicating number in this first memory storage.
7. method as claimed in claim 6, wherein when detecting this BIOS sign indicating number existence mistake, the step that this back-up BIOS code weight is write to this first memory storage comprises:
When detecting this BIOS sign indicating number existence mistake, switch this second data transmission unit, so that this control module reads this back-up BIOS sign indicating number that is stored in one second memory storage via this second data transmission unit;
Switch this second data transmission unit, so that this control module writes to this first memory storage via this first data transmission unit and this second data transmission unit with this back-up BIOS code weight; And
Switch this first data transmission unit, linking this first memory storage and this main control unit, and switch this second data transmission unit, to link this second memory storage and this control module.
8. method as claimed in claim 3, the step of this BIOS sign indicating number of detection of stored in this first memory storage wherein comprises:
This BIOS sign indicating number is carried out a verification and program, a parity checking program or a cyclic redundancy check (CRC) program, whether have mistake to detect this BIOS sign indicating number.
9. computer system comprises:
One first memory storage is used for storing a BIOS sign indicating number;
One second memory storage is used for storing a control code and a back-up BIOS sign indicating number;
One main control unit is coupled to this first memory storage via one first data transmission unit, is used for this BIOS sign indicating number of access, with the initial program of starting shooting; And
One control module is coupled to this main control unit, is used for according to this control code, and control provides the system power supply to this main control unit;
Wherein, when this computer system has the recovery demand, this control module is closed this system power supply and this back-up BIOS code weight is write this first memory storage, open this system power supply again, make this main control unit be able to this BIOS sign indicating number through rewriteeing in this first memory storage of access, with the initial program of starting shooting.
10. computer system as claimed in claim 9, it comprises at least one hot key, a specific keys or a Macintosh, wherein when this at least one hot key, this specific keys or this Macintosh are pressed, triggers a recovery demand, make this control module according to this recovery demand, close this system power supply.
11. computer system as claimed in claim 9, when wherein the number of times that detects this computer system generation boot failure in this control module was greater than a threshold value, this control module was provided by this system power supply that provides to this main control unit.
12. computer system as claimed in claim 9, wherein this control module is after closing this system power supply, switch one second data transmission unit, to read this back-up BIOS sign indicating number via this second data transmission unit, and switch this first data transmission unit, this back-up BIOS code weight that is read is write to this first memory storage via this first data transmission unit.
13. computer system as claimed in claim 12, wherein this control module is after closing this system power supply, switch this first data transmission unit earlier, to pass through this first data transmission unit detection of stored this BIOS sign indicating number in this first memory storage, when this control module exists when wrong in detecting this BIOS sign indicating number, this control module reads this back-up BIOS sign indicating number again, and this back-up BIOS code weight is write to this first memory storage.
14. computer system as claimed in claim 12, wherein this control module switches this first data transmission unit after this back-up BIOS code weight is write this first memory storage, linking this first memory storage and this main control unit, and opens this system power supply.
15. computer system as claimed in claim 9, wherein first data transmission unit also comprises:
One first change-over switch optionally is coupled to this main control unit, this control module or this second data transmission unit.
16. computer system as claimed in claim 9, wherein this control module is after closing this system power supply, switch one second data transmission unit, to read this back-up BIOS sign indicating number that is stored in this second memory storage via this second data transmission unit, and switch this first data transmission unit and this second data transmission unit, this back-up BIOS code weight that is read is write to this first memory storage via this first data transmission unit and this second data transmission unit.
17. computer system as claimed in claim 16, wherein this control module is after closing this system power supply, switch this first data transmission unit and this second data transmission unit earlier, to pass through this first data transmission unit and this second data transmission unit detection of stored this BIOS sign indicating number in this first memory storage, when this control module exists when wrong in detecting this BIOS sign indicating number, this control module switches this second data transmission unit again, to read this back-up BIOS sign indicating number that is stored in this second memory storage via this second data transmission unit, and switch this second data transmission unit, this back-up BIOS code weight that is read is write to this first memory storage via this first data transmission unit and this second data transmission unit.
18. computer system as claimed in claim 17, wherein this control module switches this first data transmission unit after this back-up BIOS code weight is write this first memory storage, linking this first memory storage and this main control unit, and opens this system power supply.
19. computer system as claimed in claim 9, wherein second data transmission unit also comprises:
One second change-over switch optionally is coupled to this first data transmission unit or this second memory storage.
20. computer system as claimed in claim 9, wherein this control module is carried out a verification and program, a parity checking program or a cyclic redundancy check (CRC) program to this BIOS sign indicating number, whether has mistake to detect this BIOS sign indicating number.
21. method of recovering the Basic Input or Output System (BIOS) of a computer system, this computer system comprises a main control unit, a control module and one first memory storage, this control module is used for controlling a system power supply that provides to this main control unit, this main control unit is by the initial program of starting shooting of the BIOS sign indicating number in this first memory storage of one first data transmission unit access, and this method comprises:
When this computer system has the recovery demand, utilize this control module to close this system power supply;
Utilize this control module to control this main control unit access data, and open this system power supply;
Utilize this main control unit access to be stored in a BIOS promoter region block code of one second memory storage;
Utilize this main control unit to carry out this BIOS promoter region block code, write to this first memory storage with a back-up BIOS code weight that will be stored in one the 3rd memory storage;
Utilize this control module to close this system power supply; And
Utilize this control module to open this system power supply, this main control unit is able to by this BIOS sign indicating number through rewriteeing in this this first memory storage of first data transmission unit access, with the initial program of starting shooting.
22. method as claimed in claim 21, wherein when this computer system had the recovery demand, the step of utilizing this control module to close this system power supply comprised:
When at least one hot key, a specific keys or a Macintosh of this computer system are pressed, or the number of times that detects this computer system generation boot failure in this control module utilizes this control module to close this system power supply during greater than a threshold value.
23. method as claimed in claim 21 wherein utilizes this main control unit access to be stored in the step of this BIOS promoter region block code of this second memory storage, comprises:
Utilize this main control unit to transmit an access requirement to this control module;
This control module is according to this access requirement, and this second memory storage reads this BIOS promoter region block code certainly; And
This BIOS promoter region block code of utilizing this this control module of main control unit access to be read.
24. method as claimed in claim 21 wherein utilizes this main control unit to carry out this BIOS promoter region block code, writes to the step of this first memory storage with this back-up BIOS code weight that will be stored in the 3rd memory storage, comprises:
Utilize this main control unit to carry out this BIOS promoter region block code, reading this back-up BIOS sign indicating number that is stored in the 3rd memory storage, and this back-up BIOS code weight that is read is write to this first memory storage.
25. a computer system comprises:
One first memory storage is used for storing a BIOS sign indicating number;
One second memory storage is used for storing a control code and a BIOS promoter region block code;
One the 3rd memory storage is used for storing a back-up BIOS sign indicating number;
One main control unit is coupled to this first memory storage via one first data transmission unit, is used for this BIOS sign indicating number of access, with the initial program of starting shooting; And
One control module is coupled to this this main control unit, is used for according to this control code, and control provides to a system power supply of this main control unit and reads this BIOS promoter region block code;
Wherein, when this computer system has the recovery demand, this BIOS promoter region block code that this control module access is read, when this main control unit is carried out this BIOS promoter region block code, this back-up BIOS code weight that is stored in the 3rd memory storage is write to this first memory storage, make this main control unit be able to this BIOS sign indicating number through rewriteeing in this first memory storage of access, with the initial program of starting shooting.
26. computer system as claimed in claim 25, wherein this control module is closed this system power supply when this computer system has the recovery demand, and controls this main control unit and make this main control unit access data, opens this system power supply again.
27. computer system as claimed in claim 25, wherein this control module is when this back-up BIOS sign indicating number is rewritten into to this first memory storage, close this system power supply, and control this main control unit, make this main control unit by this first data transmission unit access data, open this system power supply again, with the initial program of starting shooting.
28. computer system as claimed in claim 25, it comprises at least one hot key, a specific keys or a Macintosh, wherein when this at least one hot key, this specific keys or this Macintosh are pressed, triggers a recovery demand, make this control module according to this recovery demand, close this system power supply.
29. computer system as claimed in claim 25, when wherein the number of times that detects this computer system generation boot failure in this control module was greater than a threshold value, this control module was provided by this system power supply that provides to this main control unit.
CN 200910210170 2009-10-29 2009-10-29 Method for recovering basic input-output system (BIOS) of computer system and computer system Expired - Fee Related CN102053875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910210170 CN102053875B (en) 2009-10-29 2009-10-29 Method for recovering basic input-output system (BIOS) of computer system and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910210170 CN102053875B (en) 2009-10-29 2009-10-29 Method for recovering basic input-output system (BIOS) of computer system and computer system

Publications (2)

Publication Number Publication Date
CN102053875A true CN102053875A (en) 2011-05-11
CN102053875B CN102053875B (en) 2013-03-27

Family

ID=43958226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910210170 Expired - Fee Related CN102053875B (en) 2009-10-29 2009-10-29 Method for recovering basic input-output system (BIOS) of computer system and computer system

Country Status (1)

Country Link
CN (1) CN102053875B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662715A (en) * 2012-04-23 2012-09-12 深圳市掌讯通讯设备有限公司 Startup method for embedded operation system
CN103645972A (en) * 2013-12-17 2014-03-19 广州商科信息科技有限公司 Method and device for automatic recovery of system
CN103678018A (en) * 2012-09-04 2014-03-26 联想(北京)有限公司 Method and device for recovering data
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM
WO2014067071A1 (en) * 2012-10-30 2014-05-08 深圳市多尼卡电子技术有限公司 Play control method and system for player
CN104025047A (en) * 2012-01-05 2014-09-03 三菱电机株式会社 Information Processing Device, Information Processing Method, And Computer Program
CN104182289A (en) * 2013-05-27 2014-12-03 英业达科技有限公司 System restoring method
CN104216797A (en) * 2013-06-04 2014-12-17 国基电子(上海)有限公司 Embedded system set value setting system and method and electronic device
US9311075B2 (en) 2011-12-16 2016-04-12 Asmedia Technology Inc. Electronic apparatus and BIOS updating apparatus thereof
CN105653931A (en) * 2014-11-11 2016-06-08 联想(北京)有限公司 Data processing method and electronic device
CN110162321A (en) * 2019-05-06 2019-08-23 晶晨半导体(上海)股份有限公司 A kind of update method of bootstrap loader

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680920B (en) * 2004-04-07 2011-06-15 纬创资通股份有限公司 Method and apparatus of basic inputting and outputting system in far-end updating data processing system
TWI410793B (en) * 2007-12-28 2013-10-01 Asustek Comp Inc Computer, and method for error-detecting and booting of bios thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9311075B2 (en) 2011-12-16 2016-04-12 Asmedia Technology Inc. Electronic apparatus and BIOS updating apparatus thereof
CN104025047B (en) * 2012-01-05 2017-06-06 三菱电机株式会社 Information processor, information processing method and computer program
US9471435B2 (en) 2012-01-05 2016-10-18 Mitsubishi Electric Corporation Information processing device, information processing method, and computer program
CN104025047A (en) * 2012-01-05 2014-09-03 三菱电机株式会社 Information Processing Device, Information Processing Method, And Computer Program
CN102662715B (en) * 2012-04-23 2016-03-23 深圳市掌讯通讯设备有限公司 A kind of starting of embedded operation system method
CN102662715A (en) * 2012-04-23 2012-09-12 深圳市掌讯通讯设备有限公司 Startup method for embedded operation system
CN103678018A (en) * 2012-09-04 2014-03-26 联想(北京)有限公司 Method and device for recovering data
WO2014067071A1 (en) * 2012-10-30 2014-05-08 深圳市多尼卡电子技术有限公司 Play control method and system for player
CN104169876A (en) * 2012-10-30 2014-11-26 深圳市多尼卡电子技术有限公司 Play control method and system for player
CN104182289A (en) * 2013-05-27 2014-12-03 英业达科技有限公司 System restoring method
CN104216797A (en) * 2013-06-04 2014-12-17 国基电子(上海)有限公司 Embedded system set value setting system and method and electronic device
CN104216797B (en) * 2013-06-04 2017-08-08 国基电子(上海)有限公司 Embedded system setting value initialization system, method and electronic installation
CN103645972A (en) * 2013-12-17 2014-03-19 广州商科信息科技有限公司 Method and device for automatic recovery of system
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM
CN105653931A (en) * 2014-11-11 2016-06-08 联想(北京)有限公司 Data processing method and electronic device
CN105653931B (en) * 2014-11-11 2020-03-24 联想(北京)有限公司 Data processing method and electronic equipment
CN110162321A (en) * 2019-05-06 2019-08-23 晶晨半导体(上海)股份有限公司 A kind of update method of bootstrap loader
CN110162321B (en) * 2019-05-06 2023-07-28 晶晨半导体(上海)股份有限公司 Updating method of boot loader

Also Published As

Publication number Publication date
CN102053875B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102053875B (en) Method for recovering basic input-output system (BIOS) of computer system and computer system
TWI399647B (en) Method for recovering bios in computer system and computer system thereof
US9158628B2 (en) Bios failover update with service processor having direct serial peripheral interface (SPI) access
US6442067B1 (en) Recovery ROM for array controllers
US7900036B2 (en) System and method for implementing boot/recovery on a data processing sysem
US7050859B1 (en) Systems and methods to port controller state and context in an open operating system
US8601255B2 (en) Approaches for updating bios
US7900091B2 (en) Method for recovering basic input output system and computer device thereof
CN1971536A (en) Correcting system and method of basic in-out system
US20070174704A1 (en) Computer program automatic recovery activation control method and system
EP2124151B1 (en) Information processing system and method for starting/recovering the system
CN101021797A (en) Repairing and staging method for software of embedded system
CN105511976A (en) Embedded system application program self-recovery operation method and device
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
CN101866291A (en) Method and apparatus for preventing bios from failing to enter boot program
CN108958987B (en) Low-orbit small satellite fault-tolerant system and method
CN100395713C (en) Method of automatic repairing basic input output system element and module
CN103092659A (en) Digital signal processor (DSP) software upgrading system and upgrading method separated from support environment of emulator
CN100421099C (en) In-circuit configuration architecture for embedded configurable logic array
CN105468390A (en) BOOT online upgrade apparatus and method
CN101359304A (en) Starting up method and system
CN110058973B (en) Test system and test method for data storage device
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
TW201533569A (en) Computer system and control method
US6636992B1 (en) Method for renewing program code in an embedded micro-controller unit

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

Termination date: 20201029