CN1461997A - Method of automatic repairing basic input output system element and module - Google Patents

Method of automatic repairing basic input output system element and module Download PDF

Info

Publication number
CN1461997A
CN1461997A CN 02118630 CN02118630A CN1461997A CN 1461997 A CN1461997 A CN 1461997A CN 02118630 CN02118630 CN 02118630 CN 02118630 A CN02118630 A CN 02118630A CN 1461997 A CN1461997 A CN 1461997A
Authority
CN
China
Prior art keywords
bios
basic input
output system
program
module
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 02118630
Other languages
Chinese (zh)
Other versions
CN100395713C (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.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CNB021186308A priority Critical patent/CN100395713C/en
Publication of CN1461997A publication Critical patent/CN1461997A/en
Application granted granted Critical
Publication of CN100395713C publication Critical patent/CN100395713C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A method for automatically reparing BIOS features that a BIOS program contains a BIOS function program module, which is composed of a compression program, a detecting program for judging if a decompression error takes place, a repairing module which can automatically run start program if there is a decompression error, load the stand-by BIOS program from another medium, run the loaded BIOS program and reburning the BIOS memory if it runs successfully, and a comparing program for comparing their versions and storing the new version of BIOS program as standby one.

Description

The method of automatic repairing basic input output system element and module
(1) technical field
The present invention is relevant with a kind of Basic Input or Output System (BIOS) (BIOS) (basic input output system) element, particularly about a kind of can be when damage takes place in the content of BIOS, be written into back-up BIOS by main Storage Media, and the method and the relative program design that make system start shooting and to repair automatically.
(2) background technology
Along with Information technology develops fast, add the facility and the progress of network communication, PC has become one of electrical home appliances of each family's indispensability.In general computer, can on motherboard, install a BIOS element, with as the communication interface between computer hardware and the operating system, and be stored in programmed instruction in the BIOS storer by execution, and the detection of carrying out the CPU inside and outside is set, is started dynamic RAM (DRAM), chipset and the peripheral device that links computer are done value just sets, drive soft, Hard Disk Drive at last, and being written into such as operating systems such as DOS, Windows, Linux.After start guiding action was finished, BIOS then can carry out support, the co-ordination of thin portion, handled the execution action that peripheral device is linked up to help operating system or application program.No matter be present pandemic notebook computer or desktop computer, all must under the condition of correct execution BIOS function, just boot program be can successfully carry out, and the initial setting and the test of hardware when starting shooting finished, but guaranteeing the hardware operate as normal, and enter in the required operating system.
When the record in inspection maintenance computer service station, be not difficult to find the situation that major part can't normal boot-strap, often because its BIOS element or flash memory (Flash ROM) break down and cause.And these problems except few partly be because the element material is damaged institute causes, major part all can be by the Maintenance Engineer with special frock appliance or program, and the data recovery of BIOS is finished reparation.Yet, when running into the situation that to start shooting, often there are not proper implements or relevant knowledge to repair one on the way and have only to select to send by oneself for the consumer.Like this, except having influenced its operate as normal of consumer, various tangible and invisible maintenance costs have also been increased.
In order to solve this kind problem, in relevant BIOS technical field, have and use two ROM of BIOS (BIOS ROM) simultaneously or the ways such as capabilities double of ROM (read-only memory) (ROM).For example, just disclosed the method for a kind of automated back-up BIOS in No. 446864 patent of bulletin, wherein by increasing the capacity of BIOS ROM, multiple objective programming goes out one and prestores the space that can recover the bios program sign indicating number.When booting computer opens beginning BIOS element failure, just be written into back-up BIOS automatically and damage the situation that the BIOS content breaks down computer to prevent the improper operation of consumer.Yet use this kind method,, can cause the rising of BIOS element cost like this owing to need significantly increase the capacity of BIOS ROM.
In addition, in No. 428748 patent of bulletin, a kind of two groups of BIOS circuit elements design of on motherboard, installing have simultaneously been disclosed.By logical circuit and judging circuit, when a BIOS element is damaged because of misoperation therein, can start another group BIOS immediately by automatic judgement of circuit and start shooting.Identical with aforementioned patent, use this kind design need on motherboard, install two groups of independently BIOS elements and relevant decision circuitry, so also can cause the increase of cost of manufacture.
In No. 454145 patent of bulletin, disclose a kind of may command and replaced the interface switching of system bios element on the motherboard.By with this interface switching be used for the extra memory of back-up BIOS procedure code and be installed on the motherboard, can be according to the working condition of BIOS element, right of priority switched to the storer of backup when whether decision will start shooting, so that solve the situation that the BIOS element breaks down.Yet this kind situation also need be installed extra storer and interface switching on motherboard, so also do not meet the cost consideration requirement.
Cause the cost of manufacture rising except the extra part of needs installing, storer, interface or increase memory span, traditional BIOS standby system also lacks the cordiality on using for consumers.Typical B IOS backup recovers design all needs the user by the screen menu processing or carry out the replacement of entity component.In typical design, whether behind BIOS element boot failure, screen-picture can switch to an operation menu, require the user to determine to start shooting with the bios program sign indicating number of backup, or carry out BIOS and return the action of depositing, to attempt repairing the BIOS element that damages.Yet, for most consumer, the command function on its understanding menu, and make suitable selection according to relevant indication, often cause sizable puzzlement.
What is more, in many existing BIOS backup designs and require the user that the switch bar on the motherboard (jumper) is switched, and the BIOS element of backup had an effect.Or load onto the BIOS element that the appended part of manufacturer starts backup at the slot of computer casing.This kind mode is extremely difficult especially for consumers in general, and Da Bufen consumer can deliver to computer each maintenance station like this, in order to avoid expend meaningless mental and physical efforts on the affairs of getting rid of computer glitch.Yet for manufacturer, just need to spend more manpower and do reparation and the maintenance of BIOS, thereby increased various tangible, invisible costs like this for the client.
(3) summary of the invention
The object of the present invention is to provide a kind of bios program structure, when main bios program that can be in the BIOS storer is damaged, read the bios program of backup by other Storage Media, and finish boot action.
Another object of the present invention is to provide the design of the main bios program sign indicating number of a kind of automated back-up, can be when system boot relatively main bios program with back up the new and old of in other Storage Media version, and make up-to-date back-up BIOS program immediately.
A kind of main bios program sign indicating number that can carry out repair action automatically is provided according to an aspect of the present invention, this main bios program sign indicating number is stored in the flash memory of BIOS, can be written into BIOS stand-by program sign indicating number to finish boot action by other Storage Media when damage takes place its content; This main bios program sign indicating number comprises at least: one starts block, has the beginning program that opens of booting computer, can carry out correctness and checks and reduce maintenance being stored in content in the BIOS storer; Whether one decompression module be used for the action that decompresses of condensing routine to the BIOS storer, and it is correct to check compressed content automatically; One start selftest module has compressed BIOS start self test program, after the decompression by decompression module, can carry out self test program to computer hardware, software and peripheral device; One resident program module has compressed BIOS function service routine, can carry out gunzip by decompression module; An and automatic repairing module, can detect decompression module, start selftest module, with the decompression situation of resident program module, when main bios program sign indicating number can't be finished boot program, automatically carry out boot program again, and by being written into and carrying out BIOS stand-by program sign indicating number on the Storage Media, automatic repairing module is also returned the new burning of BIOS stand-by program code weight that runs succeeded in the BIOS storer.
Provide a kind of according to a further aspect of the invention and detect automatically, the starting-up method of reparation and back-up BIOS procedure code, can when damage takes place the BIOS memory content, be written into BIOS stand-by program sign indicating number to finish boot action by other Storage Media; Wherein, decompression module, start selftest module and resident program module have been comprised in the BIOS storer, whether the content that starting-up method comprises the following steps: at first to check decompression module at least is correct, enters automatic maintenance pattern when the decompression module content is incorrect; Then carry out gunzip, with start selftest module and the resident program module of decompressing, and whether the detection gunzip has any mistake; When wrong generation, then force system to start shooting again, and enter automatic maintenance pattern; In case when system enters automatic maintenance pattern, be written into BIOS stand-by program sign indicating number by described other Storage Media; Carry out BIOS stand-by program sign indicating number then, contract with decompress(ion) and carry out start selftest module and resident program module, to finish the system boot operation; When system when finishing system boot in automatic maintenance pattern, again the burning of BIOS stand-by program sign indicating number is returned in the BIOS storer, and the main bios program sign indicating number and the BIOS stand-by program sign indicating number version that compare in the BIOS storer is new and old; When main bios program sign indicating number version is new, with its time deposit to described other Storage Media replacing BIOS stand-by program sign indicating number, and carry out the operating system loader.
For further specifying purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
(4) description of drawings
Fig. 1 is the bios program structural drawing that can carry out repair action automatically according to provided by the present invention;
Fig. 2 is the bios program structural drawing that can carry out repair action automatically according to provided by the present invention;
Fig. 3 is according to correlation function modules configured graph of a relation provided by the present invention; And
Fig. 4 is the dependence diagram that utilizes automatic repairing module to detect, repair and back up according to of the present invention.
(5) embodiment
Please refer to Fig. 1, this figure shows according to the bios program structure 10 that can carry out repair action automatically provided by the present invention.This bios program structure 10 is stored in the storer of BIOS element, for example leaves in by in quickflashing (Flash) or the EEPROM (Electrically Erasable Programmable Read Only Memo) ROM of BIOS that element constituted (BIOS ROM) such as (EEPROM).When the user carried out boot action, system just can be by reading bios program sign indicating number, the start of the line correlation of going forward side by side and test procedure in the BIOS storer.And when damage taking place, can finish boot action, in relevant Storage Media, also can deposit one group of BIOS stand-by program in order to frequently needs by the bios program sign indicating number that other Storage Media (such as the computer hard disc) is written into backup at the BIOS memory content.
Identical with traditional BIOS design, typical startup block (boot block) 12 and function program (function code) module 14 have been comprised in this bios program code structure 10, in starting block 12, mainly deposit the beginning program that opens of booting computer, and can be to being stored in the content in the BIOS storer, carry out correctness and check and reduce maintenance.Generally speaking, be arranged in this procedure code that starts block 12 and have special hardware or software protection, avoid changing arbitrarily or writing.For example, can provide anti-write protection to starting block 12, avoid unexpected write activity by the IC chip in the BIOS storer.
As for functional program module 14, then can be used to deposit function service routine and gunzip through overcompression.As shown in Figure 1, this partly functional program module 14 comprised decompression module (Decompressmodule) 16, start selftest module (POST module) 18, with resident program module (Run-Time) 20.Wherein, decompression module 16 is mainly used to depositing in the action that decompresses of function service routine in the BIOS storer, and whether check the BIOS compressed content automatically correct.Start selftest module 18 is then deposited through the BIOS of overcompression start self test program, after decompressing by decompression module 16, can carry out self test program to computer hardware, software and peripheral device.In addition, 20 of resident program modules are deposited through the BIOS of overcompression functional mode/resident program sign indicating number, provide relevant function service equally after carrying out gunzip by decompression module 16.
It should be noted that in order to make bios program have the function of automatic reparation, in described BIOS storer, increased by an automatic repairing module 22, be used to detect the practice condition of described functional program module 14.When the bios program sign indicating number can't be finished boot program, automatic repairing module 22 is start again, and by being written into and carrying out BIOS stand-by program sign indicating number on the Storage Media, so that smooth initiating task system.Still please refer to Fig. 1, in embodiments of the present invention, this automatic repairing module 22 can comprise measuring ability 24, repair function 26 and comparing function 28.Wherein, measuring ability 24 can detect described decompression module 16, start selftest module 18, with the decompression situation of resident program module 20, to judge whether wrong generation.
When gunzip made a mistake, repair function 26 can carry out described boot program again automatically, and was written into and is carried out the bios program sign indicating number of backup by other Storage Media.But after confirming the boot action of BIOS stand-by program sign indicating number successful execution, repair function 26 can return the new burning of BIOS stand-by program code weight in the BIOS storer.In addition, it is new and old with the main program version that leaves in the BIOS storer that comparing function 28 can be checked BIOS stand-by program sign indicating number, if main bios program sign indicating number can be finished start smoothly, and when having the version than backup updating, then main bios program sign indicating number can be deposited to Storage Media, to make BIOS stand-by program sign indicating number again.
What particularly point out is in order to prevent the improper damage of generation in operation of described automatic repairing module 22, also it can be integrated in the startup block 12 with anti-write protection.Please refer to Fig. 2, wherein can in starting block 12, increase the relative program of measuring ability 24, repair function 26 and comparing function 28.That is, whole automatic repairing module 22 embedded start in the blocks 12, make its can detect, repair, with relatively wait function.In such cases, detect wrong method automatically, except the summation inspection (checksum) of commonly using, and can when carrying out gunzip, BIOS check the size and the error-detecting code (CRC of correlation module; Cyclic redundancy check).In addition, when BIOS can't normally finish the start selftest when (POST), also be considered as making a mistake and detected.Certainly, according to the demand in the design, also can select to detect, repair, embed with the part of comparing function and start block 12, other partly then is positioned in the startup block 12 BIOS storer in addition.
Please refer to Fig. 3, this figure shows correlation function among this embodiment, modules configured relation.Wherein, the startup block of BIOS 12 can be checked the main bios program sign indicating number that be stored in the flash memory, and BIOS backup version new and old in it and the Storage Media relatively.If, main bios program sign indicating number makes a mistake and can't be written into operating system smoothly, then starting block 12 can start shooting again and enable the BIOS stand-by program of depositing in the Storage Media, and after finishing boot action smoothly and being written into operating system, the bios program sign indicating number burning of backup is returned in the BIOS flash memory.As for when the bios program sign indicating number in the flash memory is written into operating system smoothly and has newer version, then this bios program sign indicating number is backed up in the Storage Media, and make new BIOS stand-by program sign indicating number.
Then please refer to Fig. 4, this figure shows the related procedure of utilizing described automatic repairing module 22 to detect, repair and back up.Behind system boot 40, measuring ability 24 can be checked the signal (flag) 42 of whether before having set up the BIOS memory content to damage in advance, if there is damage then directly to enter automatic maintenance pattern; Otherwise whether the content of then checking decompression module 16 correct (step 44).If gunzip is incorrect, then select to enter automatic maintenance pattern; Otherwise, then carry out and separate this condensing routine, start selftest module 18 is decompressed to set memory location (step 46).
In the process of carrying out described gunzip, if find any mistake, module, the length after the decompression or the check code and the record that for example can not find the desire decompression do not conform to or the like, promptly are considered as the BIOS memory content and damage.At this moment, set up a BIOS memory content to damage signal earlier and force system's start shooting again (step 48).In case restart the startup block 12 of BIOS, measuring ability 24 just can enter automatic maintenance pattern according to the damage signal of being set up.Otherwise when start selftest module is decompressed into set position, and the result is correct, then can begin to carry out the start selftest (step 50) of BIOS.Then, carry out the gunzip (step 52) of resident program module 20 equally, and whether the result who detects after decompressing is normal.When detecting wrong the generation, then carry out described step 48, set up signal and start again.What specify is that in the selftest process of start, the condensing routine in the start selftest module can be carried out according to need repeatedly.And in the process of carrying out that decompresses each time, measuring ability 24 all can carry out described content and damage detection.
Damage signal or decompress when wrong as for detecting, just can enter automatic maintenance pattern when measuring ability 24.At this moment, repair function 26 can be written into (step 54) in the primary memory at the BIOS stand-by program sign indicating number of main Storage Media with backup, and replaces the execution of BIOS memory program sign indicating number with the stand-by program that is written into.In preferred embodiment, loaded BIOS stand-by program sign indicating number can comprise described decompression module, start selftest module, with three parts of resident program module.Therefore, repair function 26 can be carried out the gunzip (step 56) of backup, and the start selftest module and the resident program module that are written into are carried out gunzip.
If whole BIOS start test event is all correctly finished, and executed then judges whether to enter in the automatic maintenance pattern when being written into operating system.If entered in the automatic maintenance pattern, the content of then originally depositing in the BIOS storer is obviously damaged to some extent, and this moment, repair function 26 can be with the BIOS stand-by program sign indicating number in the Storage Media, and burning is returned in the BIOS storer (step 58) again.Otherwise, if the BIOS system does not enter automatic maintenance pattern, show that then procedure code in the BIOS storer does not make a mistake or damages, then the program version of more present burning in the BIOS storer and be stored in new and old (step 60) of the backup version of main Storage Media.If at present the version in the BIOS storer is newer,, backup in the specific reserved area of main Storage Media (step 62) automatic maintenance usefulness when impaired then automatically with the content of present burning in order to the BIOS memory content at the BIOS storer.Like this, though the BIOS storer because hardware problem can't maintenance, but the content of backup on main Storage Media still can allow system's normal boot-strap.Then, carry out operating system loader (step 64), and control is given operating system (step 66).
Like this, owing to BIOS stand-by program sign indicating number loaded in step 54 is the normal BIOS memory program sign indicating number that is backuped at last on the main Storage Media.Therefore when the BIOS memory content was damaged, the content of stand-by program sign indicating number can replace the BIOS memory content of having damaged, and made the system still can normal boot-strap.And carry out the suitable stage of BIOS oneself start test when the procedure code that is written into, when system environments has been enough to carry out the burning BIOS memory program, if determining system is in automatic maintenance pattern, then can start BIOS memory burn program, the stand-by program code weight that is written into is newly burnt back the BIOS storer.Under this kind situation,, still can continue to carry out BIOS selftest and operating system loader, and make system can keep normal use no matter whether its burning result is successful.
Compared to the practice of conventional art, design provided by the present invention and function have considerable advantage:
(1) because according to design of the present invention, can promptly automatically back up correct bios program sign indicating number at ordinary times, therefore when damage takes place in the BIOS storer, the bios program of once starting shooting successfully before reading in the Storage Media by other automatically to be backed up, and reach the effect that renewal is at any time backed up.Like this, the bios program sign indicating number of backup can reflect the present behaviour in service of system more accurately.
(2) take place owing to can automatically detecting the BIOS mistake in the present invention, and automatically reply action, once had problem to take place for the user is almost imperceptible like this, also can not have influence on the user and work normally.
(3) because the failure problems of most BIOS all can be solved by mode of the present invention, can significantly reduce the chance that computer is sent company's maintenance back to like this, and save maintenance cost down significantly, and promote the toughness of product.
(4) in addition,, so can not increase extra cost yet, do a little changes and get final product and only need to write at the framework of BIOS and program because utilize mode of the present invention not need extra spare part fully.
Certainly, those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the modification of the above embodiment.

Claims (16)

1. Basic Input or Output System (BIOS) main program sign indicating number that can carry out repair action automatically, be stored in the basic input/output system memory, when damage takes place its content, can be written into Basic Input or Output System (BIOS) stand-by program sign indicating number to finish boot action by other Storage Media, it is characterized in that this main Basic Input or Output System (BIOS) procedure code comprises at least:
Start block, have the beginning program that opens of booting computer, can carry out correctness and check and reduce maintenance being stored in content in this basic input/output system memory;
Whether decompression module be to be used for the action that decompresses of condensing routine to this basic input/output system memory, and it is correct to check compressed content automatically;
Start selftest module has compressed Basic Input or Output System (BIOS) start self test program, after the decompression by this decompression module, can carry out self test program to computer hardware, software and peripheral device;
The resident program module has compressed function of basic input/output system service routine, can carry out gunzip by this decompression module; And
Automatic repairing module, can detect this decompression module, this start selftest module, with the decompression situation of this resident program module, when this main Basic Input or Output System (BIOS) procedure code can't be finished boot program, automatically carry out boot program again, and by being written into and carrying out this Basic Input or Output System (BIOS) stand-by program sign indicating number on this Storage Media, this automatic repairing module and the new burning of this Basic Input or Output System (BIOS) stand-by program code weight that will run succeeded are returned in this basic input/output system memory.
2. Basic Input or Output System (BIOS) procedure code as claimed in claim 1 is characterized in that, described automatic repairing module comprises following elements:
Measuring ability, be used to detect described decompression module, this start selftest module, with the gunzip of this resident program module, to judge whether wrong generation;
Repair module, in response to this measuring ability, when gunzip makes a mistake, automatically carry out boot program again, and being written into and carrying out Basic Input or Output System (BIOS) stand-by program sign indicating number by described other Storage Media, this reparation module and the new burning of this BIOS backuping program code weight that will run succeeded are returned in this basic input/output system memory; And
The comparing function module, check the version of this BIOS stand-by program sign indicating number and this main Basic Input or Output System (BIOS) procedure code, when this main Basic Input or Output System (BIOS) procedure code can be finished start smoothly, and when having, should back up to this Storage Media to replace this Basic Input or Output System (BIOS) stand-by program sign indicating number by main Basic Input or Output System (BIOS) procedure code than the new version of this BIOS stand-by program sign indicating number.
3. Basic Input or Output System (BIOS) procedure code as claimed in claim 1, it is characterized in that, described automatic repairing module is finished start smoothly at this main Basic Input or Output System (BIOS) procedure code, the version of comparison itself and this Basic Input or Output System (BIOS) stand-by program sign indicating number is new and old, when this main Basic Input or Output System (BIOS) procedure code has more recent version, it is backed up to this Storage Media to replace this Basic Input or Output System (BIOS) stand-by program sign indicating number.
4. Basic Input or Output System (BIOS) procedure code as claimed in claim 1 is characterized in that, described other Storage Media is the computer hard disc.
5. Basic Input or Output System (BIOS) procedure code that can carry out repair action automatically, when damage takes place the basic input/output system memory content, can be written into Basic Input or Output System (BIOS) stand-by program sign indicating number to finish boot action by other Storage Media, it is characterized in that this Basic Input or Output System (BIOS) procedure code comprises at least:
The function of basic input/output system program module has the function program of compression, can provide self test program and resident program behind gunzip;
Measuring ability can detect the decompression situation of this function of basic input/output system program module, to judge whether wrong generation;
Repair module, in response to this measuring ability, when decompression makes a mistake, automatically carry out boot program again, be written into and carry out Basic Input or Output System (BIOS) stand-by program sign indicating number by described other Storage Media, this reparation module and the new burning of this BIOS backuping program code weight that will run succeeded are returned in this basic input/output system memory; And
The comparing function module, check the version of this Basic Input or Output System (BIOS) stand-by program sign indicating number and this Basic Input or Output System (BIOS) procedure code, when this Basic Input or Output System (BIOS) procedure code can be finished start smoothly, and when having, this Basic Input or Output System (BIOS) procedure code is backed up to this Storage Media to replace this Basic Input or Output System (BIOS) stand-by program sign indicating number than the new version of this Basic Input or Output System (BIOS) stand-by program sign indicating number.
6. Basic Input or Output System (BIOS) procedure code as claimed in claim 5 is characterized in that, described other Storage Media comprises the computer hard disc.
7. Basic Input or Output System (BIOS) procedure code as claimed in claim 5, it is characterized in that, comprise that also one starts block and has the beginning program that opens of booting computer, can carry out correctness and check and reduce maintenance being stored in content in this basic input/output system memory.
8. Basic Input or Output System (BIOS) procedure code as claimed in claim 7 is characterized in that, described measuring ability module can embed in this startup block.
9. Basic Input or Output System (BIOS) procedure code as claimed in claim 7 is characterized in that, described repair function module can embed in this startup block.
10. Basic Input or Output System (BIOS) procedure code as claimed in claim 7 is characterized in that, described comparing function module can embed in this startup block.
11. Basic Input or Output System (BIOS) procedure code as claimed in claim 5 is characterized in that, described function of basic input/output system program module has comprised following elements:
Whether decompression module be to be used for the action that decompresses of condensing routine to this basic input/output system memory, and it is correct to check compressed content automatically;
Start selftest module has compressed Basic Input or Output System (BIOS) start self test program, after the decompression by this decompression module, can carry out self test program to computer hardware, software and peripheral device; And
The resident program module has compressed function of basic input/output system service routine, can carry out gunzip by this decompression module.
12. one kind when system boot, can detect automatically, the starting-up method of reparation and BIOS backuping program sign indicating number, can when damage takes place the basic input/output system memory content, be written into Basic Input or Output System (BIOS) stand-by program sign indicating number to finish boot action by other Storage Media, wherein, comprise decompression module, start selftest module and resident program module in this BIOS storer, it is characterized in that this starting-up method comprises the following steps: at least
Whether the content of checking decompression module is correct, enters this automatic maintenance pattern when the decompression module content is incorrect;
Carry out gunzip, with this start selftest module and this resident program module of decompressing;
Detect this gunzip whether any mistake is arranged;
When wrong generation, then force this system to start shooting again, and enter this automatic maintenance pattern;
When this system enters this automatic maintenance pattern, be written into this Basic Input or Output System (BIOS) stand-by program sign indicating number by described other Storage Media;
Carry out this Basic Input or Output System (BIOS) stand-by program sign indicating number, contract with decompress(ion) and carry out this start selftest module and this resident program module, to finish this system boot operation;
When this system when finishing this system boot in this automatic maintenance pattern, is returned this Basic Input or Output System (BIOS) stand-by program sign indicating number burning in this basic input/output system memory again;
Relatively main Basic Input or Output System (BIOS) procedure code and this Basic Input or Output System (BIOS) stand-by program sign indicating number version in this basic input/output system memory is new and old;
When this main Basic Input or Output System (BIOS) procedure code version is new, with its time deposit to described other Storage Media to replace this Basic Input or Output System (BIOS) stand-by program sign indicating number; And
Carry out the operating system loader.
13. starting-up method as claimed in claim 12 is characterized in that, sets up one to damage signal before forcing this system to start shooting again.
14. starting-up method as claimed in claim 13 is characterized in that, described check the step of decompression module before, also comprise and check the step of whether setting up this damage signal, when damaging signal, then enter this automatic maintenance pattern.
15. starting-up method as claimed in claim 12 is characterized in that, described Basic Input or Output System (BIOS) stand-by program sign indicating number comprise this decompression module, this start selftest module, with this resident program module.
16. starting-up method as claimed in claim 12 is characterized in that, described other Storage Media comprises the computer hard disc.
CNB021186308A 2002-04-23 2002-04-23 Method of automatic repairing basic input output system element and module Expired - Lifetime CN100395713C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021186308A CN100395713C (en) 2002-04-23 2002-04-23 Method of automatic repairing basic input output system element and module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021186308A CN100395713C (en) 2002-04-23 2002-04-23 Method of automatic repairing basic input output system element and module

Publications (2)

Publication Number Publication Date
CN1461997A true CN1461997A (en) 2003-12-17
CN100395713C CN100395713C (en) 2008-06-18

Family

ID=29742440

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021186308A Expired - Lifetime CN100395713C (en) 2002-04-23 2002-04-23 Method of automatic repairing basic input output system element and module

Country Status (1)

Country Link
CN (1) CN100395713C (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375049C (en) * 2005-03-28 2008-03-12 联想(北京)有限公司 Method for recoverying basic inputting and outputting system chip
WO2008104117A1 (en) * 2007-02-27 2008-09-04 Huawei Technologies Co., Ltd. An electronic equipment, a starting method thereof and a method and device for upgrading bios
CN100451967C (en) * 2007-02-14 2009-01-14 威盛电子股份有限公司 Document switching method of basic input output system and controller capable of supporting switching thereof
CN100454269C (en) * 2002-11-19 2009-01-21 英业达股份有限公司 Automatic restoring method and system for basic input and output system
CN100530146C (en) * 2004-08-26 2009-08-19 鸿富锦精密工业(深圳)有限公司 BIOS on-line rewriting method
CN101359300B (en) * 2007-08-03 2010-09-29 华硕电脑股份有限公司 Special data management method for computer unit and starting up method suitable for the method
CN101329643B (en) * 2008-07-24 2011-08-10 华硕电脑股份有限公司 Information memo method and computer system using the same
CN101425028B (en) * 2007-10-31 2012-01-25 华硕电脑股份有限公司 Computer system and method for repairing firmware of the computer system
CN103034507A (en) * 2011-10-09 2013-04-10 上海共联通信信息发展有限公司 Chip program repair method of telephone stored program control exchange
CN101771804B (en) * 2008-12-29 2013-06-05 深圳市同洲电子股份有限公司 Backup and restore method for DTV receiving terminal software 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
CN101515236B (en) * 2008-02-19 2014-07-23 华硕电脑股份有限公司 Restoring method and update module for basic input/output system and computer system
CN104102517A (en) * 2014-07-22 2014-10-15 技嘉科技股份有限公司 Circuit and method for writing program codes into basic input/output system
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN109683512A (en) * 2018-12-07 2019-04-26 四川航天烽火伺服控制技术有限公司 A kind of adapter applied to rudder system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5509120A (en) * 1993-11-30 1996-04-16 International Business Machines Corporation Method and system for detecting computer viruses during power on self test
US5793943A (en) * 1996-07-29 1998-08-11 Micron Electronics, Inc. System for a primary BIOS ROM recovery in a dual BIOS ROM computer system
KR100298420B1 (en) * 1997-03-10 2001-10-24 윤종용 Method for updating rom bios
TW446864B (en) * 1999-05-11 2001-07-21 Micro Star Int Co Ltd Automatic BIOS backup method
TW454145B (en) * 2000-02-08 2001-09-11 Pro Team Comp Corp A method for controlling and replacing priorities of system BIOS on the motherboard and solving its abnormality

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100454269C (en) * 2002-11-19 2009-01-21 英业达股份有限公司 Automatic restoring method and system for basic input and output system
CN100530146C (en) * 2004-08-26 2009-08-19 鸿富锦精密工业(深圳)有限公司 BIOS on-line rewriting method
CN100375049C (en) * 2005-03-28 2008-03-12 联想(北京)有限公司 Method for recoverying basic inputting and outputting system chip
CN100451967C (en) * 2007-02-14 2009-01-14 威盛电子股份有限公司 Document switching method of basic input output system and controller capable of supporting switching thereof
WO2008104117A1 (en) * 2007-02-27 2008-09-04 Huawei Technologies Co., Ltd. An electronic equipment, a starting method thereof and a method and device for upgrading bios
CN101359300B (en) * 2007-08-03 2010-09-29 华硕电脑股份有限公司 Special data management method for computer unit and starting up method suitable for the method
CN101425028B (en) * 2007-10-31 2012-01-25 华硕电脑股份有限公司 Computer system and method for repairing firmware of the computer system
CN101515236B (en) * 2008-02-19 2014-07-23 华硕电脑股份有限公司 Restoring method and update module for basic input/output system and computer system
CN101329643B (en) * 2008-07-24 2011-08-10 华硕电脑股份有限公司 Information memo method and computer system using the same
CN101771804B (en) * 2008-12-29 2013-06-05 深圳市同洲电子股份有限公司 Backup and restore method for DTV receiving terminal software system
CN103034507A (en) * 2011-10-09 2013-04-10 上海共联通信信息发展有限公司 Chip program repair method of telephone stored program control exchange
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
CN104102517A (en) * 2014-07-22 2014-10-15 技嘉科技股份有限公司 Circuit and method for writing program codes into basic input/output system
CN104102517B (en) * 2014-07-22 2019-01-04 技嘉科技股份有限公司 The circuit and wiring method of basic input output system program code is written
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN109683512A (en) * 2018-12-07 2019-04-26 四川航天烽火伺服控制技术有限公司 A kind of adapter applied to rudder system

Also Published As

Publication number Publication date
CN100395713C (en) 2008-06-18

Similar Documents

Publication Publication Date Title
CN100395713C (en) Method of automatic repairing basic input output system element and module
US7203865B2 (en) Application level and BIOS level disaster recovery
US7734945B1 (en) Automated recovery of unbootable systems
US7711981B2 (en) Information processing apparatus, backup device and information processing method
US20070055969A1 (en) System and method for updating firmware
US7900036B2 (en) System and method for implementing boot/recovery on a data processing sysem
US6931522B1 (en) Method for a computer using the system image on one of the partitions to boot itself to a known state in the event of a failure
CN104636217B (en) A kind of root file system automated back-up and abnormal restoring method and partitioned organization
US20100064127A1 (en) Method for updating basic input/output system and method for repairing thereof
US7941658B2 (en) Computer system and method for updating program code
CN101373451B (en) Computer system for protecting double-basic input /output system program and control method thereof
CN1924821A (en) Firmware renewing system and method
CN1277209C (en) Hard disk data controlling method
CN102479124B (en) Test method
CN111552592A (en) Double-backup starting method and system
CN102122258A (en) Method for repairing damaged embedded equipment file system
CN113626262A (en) BMC recovery method, system, equipment and medium
US20090259835A1 (en) System and method for tracking and recording system configurations of electronic devices
KR100319852B1 (en) Computer system having failover function and method thereof
CN100476745C (en) Method for implementing automatic fault-tolerance of image file in Linux operating system booting process
CN1940887A (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
KR102079131B1 (en) The computer recovery system
JP2868001B1 (en) Disk array device control method and disk array device
CN2563637Y (en) Starting up operation system device of computer host
KR101305501B1 (en) Computer system and recovery method thereof

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080618