CN101192166A - Computer platform initialization program code damage and redundancy processing method and system - Google Patents

Computer platform initialization program code damage and redundancy processing method and system Download PDF

Info

Publication number
CN101192166A
CN101192166A CNA2006101629266A CN200610162926A CN101192166A CN 101192166 A CN101192166 A CN 101192166A CN A2006101629266 A CNA2006101629266 A CN A2006101629266A CN 200610162926 A CN200610162926 A CN 200610162926A CN 101192166 A CN101192166 A CN 101192166A
Authority
CN
China
Prior art keywords
program code
initialization program
computer platform
storage area
initialization
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.)
Pending
Application number
CNA2006101629266A
Other languages
Chinese (zh)
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.)
Inventec Corp
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CNA2006101629266A priority Critical patent/CN101192166A/en
Publication of CN101192166A publication Critical patent/CN101192166A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention relates to a computer platform initialization program code damage standby processing method and a system; the invention can be applicable for integrating to a computer platform and is used to provide a damage standby processing function for initialization program codes of a BIOS(Basic Input/Output System) bootstrap management control unit of the computer platform; the invention is characterized in that a BIOS storage space is marked off a standby processing program code boot block; when the computer platform is started, the program code stored in the standby processing program code boot block is set to carry out checking whether a program code stored in an initialization program code boot block of BIOS is in good condition or not; if not, a backup initialization program code is downloaded to the initialization program code boot block; therefore, the damaged program code is restored. The characteristic of the invention can provide higher operating reliability for the computer platform; compared with the prior art, the invention is easier and saves cost in the aspect of specific fulfillment.

Description

Computer platform initialization program code damage and redundancy processing method and system
Technical field
The present invention relates to a kind of computerized information technology, particularly relevant for a kind of computer platform initialization program code damage and redundancy processing method and system, it can be applicable to be incorporated into computer platform, be used for initialization program code to the power-on management control module on this computer platform, for example the initialization program code that is stored for the initialization program code storage area (BootBlock) among the BIOS (Basic Input/Output System) provides the damage and redundancy processing capacity.
Background technology
BIOS (Basic Input/Output System) is the various required a kind of power-on management control module of computer platform, it is integrated on the host circuit board together with CPU (central processing unit) usually, be used for providing one group of power-on management control function, comprise each nextport hardware component NextPort of initialization and external device, execution startup self-detection POST (Power On Self Test) and the program code that is written into operating system computer platform.Basically, the fundamental purpose of BIOS power-on management control module is to allow the hardware circuit of computer platform can be controlled by operating system and normal operation.
Yet during practical application, bios program code often might cause the computer platform can't normal boot-strap because of the damage situation takes place.This problem has two kinds of solutions at present.First kind of solution be for being provided with 2 identical BIOS chips on host circuit board, one of them is as the BIOS chip of master control, and another is then as the BIOS chip of redundant; And when the BIOS of master control chip generation disabled status, make still normal operation of computer platform but the BIOS chip of redundant can replace it.Yet a shortcoming of this practice is to install two chips will increase hardware cost significantly.
Second kind of solution is used for storing respectively two parts of identical bios program codes for the storage area with single BIOS chip is divided into two zones, and a copy of it is as the bios program code of master control, and another part is then as the bios program code of redundant.Yet a shortcoming of this practice is and need rather complicated timing circuit and handover control mechanism comes when the bios program code generation disabled status of master control, to manage the bios program code that control function switches to redundant, therefore implement cost comparatively difficult and that increase designs.
Secondly, the storage area of present BIOS is divided into 2 zones usually, comprises initialization program code storage area (boot block) and supervisor control program code storage area; Wherein this supervisor control program code storage area is used to store one group of supervisor control program code, is used for carrying out a series of supervisor control program, for example comprises startup self-detection POST (Power On Self Test) and operating system loader; This initialization program code storage area (boot block) then is used to store a bit of supervisor control program damage reducing program, can be when stored supervisor control program generation damage situation can't normal boot-strap in because of supervisor control program code storage area at computer platform, be used for the supervisor control program that damage takes place is carried out reducing program, but the supervisor control program of reduction damage and make the computer platform normal boot-strap thus.In the manufacturing of computer platform, promptly can not revise again after the program code shipment that initialization program code storage area " Boot Block " stored, but the program code that supervisor control program code storage area is stored then can make an amendment with client's actual demand again.Yet during practical operation, the program code that initialization program code storage area " Boot Block " stored might be damaged for controlling mistake or being subjected to virus attack because of the people.At present in this case, the method for remedying still must replace whole BIOS chip, and is therefore not only not convenient, and it is also higher to keep in repair upward required hardware cost.
Summary of the invention
The shortcoming of prior art in view of the above, fundamental purpose of the present invention is to be to provide a kind of computer platform initialization program code damage and redundancy processing method and system, and it can mode comparatively simple and easy and the saving hardware cost come to provide the damage and redundancy processing capacity to the initialization program code of BIOS power-on management control module.
According to computer platform initialization program code damage and redundancy processing method of the present invention and system, design is applied to be incorporated into computer platform, be used for initialization program code to the power-on management control module on this computer platform, for example the initialization program code that is stored for the initialization program code storage area (BootBlock) among the BIOS provides the damage and redundancy processing capacity.
At least comprise following processing action according to computer platform initialization program code damage and redundancy processing method of the present invention: when (M1) this computer platform is activated, check correspondingly whether the program code that is stored in this initialization program code storage area is intact; If not, then send the initialization program code abnormal information; And (M2) respond this initialization program code abnormal information and carry out the initialization program code reducing program, so that the initialization program code of backup is downloaded to this initialization program code storage area.
On the modular framework, computer platform initialization program code damage and redundancy disposal system according to the present invention comprises at least: (A) initialization program code is checked module, can when being activated, this computer platform check correspondingly whether the program code that is stored in this initialization program code storage area is intact; If not, then send the initialization program code abnormal information; (B) backup initialization program code storage module wherein prestores the initialization program code of a backup; And (C) initialization program code recovery module, it can respond this initialization program code and check the initialization program code abnormal information that module is sent and carry out the initialization program code reducing program, so that the initialization program code of the backup that prestored in this backup initialization program code storage module is downloaded to this initialization program code storage area.
Characteristics according to computer platform initialization program code damage and redundancy processing method of the present invention and system are, the storage area of BIOS is marked off redundant handler code storage area more, and be set in computer platform when start, at first carry out the program code that this redundant handler code storage area stored and check whether the program code that is stored in the initialization program code storage area (Boot Block) of BIOS is intact; If not, then the initialization program code with backup downloads to this initialization program code storage area, restores the wherein program code of damage therefrom.These characteristics can provide higher operational reliability to computer platform, and technology is more simple and easy and save cost more before this on concrete the enforcement.
Description of drawings
Fig. 1 is used to show that for using synoptic diagram computer platform initialization program code damage and redundancy disposal system of the present invention is incorporated into the application mode of the host circuit board of computer platform;
Fig. 2 is a configuration diagram, is used for the distribution situation of the storage area that the power-on management control module of displayed map 1 provided;
Fig. 3 is a configuration diagram, is used to show the modularization basic framework of computer platform initialization program code damage and redundancy disposal system of the present invention;
Fig. 4 is for handling action synoptic diagram (activity diagram), is used to show that computer platform initialization program code damage and redundancy disposal system of the present invention performed each when practical application handle action.
The main element symbol description
10 computer platforms
20 host circuit boards
30 CPU (central processing unit) (CPU)
40 power-on management control modules (BIOS)
41 initialization program code storage areas (Boot Block)
42 supervisor control program code storage areas
43 redundant handler code storage areas
50 burning mechanism
100 according to computer platform initialization program code damage and redundancy disposal system of the present invention
110 initialization program codes are checked module
120 backup initialization program code storage modules
130 initialization program code recovery module
210 anti-burning protection modules
201 startup incidents
Embodiment
Following conjunction with figs. describes the embodiment of computer platform initialization program code damage and redundancy processing method of the present invention and system in detail.
Fig. 1 shows the application mode according to computer platform initialization program code damage and redundancy disposal system of the present invention (as the square of label 100 indications).As shown in Figure 1, in the practical application, computer platform initialization program code damage and redundancy disposal system 100 according to the present invention is incorporated into computer platform 10, for example be the webserver, desktop computer, notebook computer or palmtop computer, and dispose CPU (central processing unit) (CPU) 30 and power-on management control module 40 on the host circuit board 20 of this computer platform 10; Wherein this power-on management control module 40 for example is the power-on management control module of BIOS (Basic Input/Output System) type, for example burning is at flash memory for its program code, and its storage area marks off initialization program code storage area 41 and supervisor control program code storage area 42 as shown in Figure 2 at least; Wherein this initialization program code storage area 41 is used to store one group of initialization program code, after can being unlocked at the power supply of this computer platform 10, be used for carrying out initialize routine, and check whether the supervisor control program code that is stored in the supervisor control program code storage area 42 has the damage of generation situation; If then be responsible for the supervisor control program code of damage is carried out reducing program; Power-on management control program code storage area 42 then is used to store one group of supervisor control program code, can be used to carry out a series of supervisor control program, for example comprises startup self-detection POST (Power On Self Test) and operating system loader.
As shown in Figure 3, on the modular framework, computer platform initialization program code damage and redundancy disposal system 100 according to the present invention comprises at least: (A) initialization program code is checked module 110; (B) backup initialization program code storage module 120; And (C) initialization program code recovery module 130.On concrete the enforcement, these a little modules 110,120,130 are for example for being incorporated into the redundant handler code storage area 43 of planning in advance in the BIOS power-on management control module 40 as shown in Figure 2, and when setting computer platform 10 starts, at first carry out the program code that this redundant handler code storage area 43 is stored.The attribute separately and the function of these modules 110,120,130 below promptly are described at first respectively.
Initialization program code is checked when module 110 can be activated at the power supply of this computer platform 10 or reset and when startup incident 201 takes place (that is) to be checked correspondingly whether the initialization program code that is stored in the initialization program code storage area (Boot Block) 41 of this BIOS power-on management control module 40 is intact; If not, then send the initialization program code abnormal information to initialization program code recovery module 130; If, then send the initialization program code normal information, make CPU (central processing unit) (CPU) 30 at first carry out the program code that the initialization program code storage area 41 in the BIOS power-on management control module 40 is stored, and then carry out the program code that supervisor control program code storage area 42 stored and finish boot program.On concrete the enforcement, this initialization program code checks that module 110 for example adopts verification and (checksum) checks whether the initialization program code that is stored in the initialization program code storage area 41 is intact.
Backup initialization program code storage module 120 be used to the to prestore initialization program code of backup, that is the initialization program code that is stored with initialization program code storage area 41 in the BIOS power-on management control module 40 is identical.On concrete the enforcement, this backup initialization program code storage module 120 for example is that in this redundant handler code storage area 43 stores section, or is another storage device, for example is CD.
Initialization program code recovery module 130 can respond above-mentioned initialization program code and check the initialization program code abnormal information that module 110 is sent and carry out the initialization program code reducing program, the initialization program code that is used for backup that this backup initialization program code storage module 120 is prestored writes to this initialization program code storage area 41 through duplicating or downloading, restore the wherein program code of damage therefrom.
Anti-burning protection module 210 can provide the defencive function of anti-burning to the program code (that is computer platform initialization program code damage and redundancy disposal system 100 of the present invention) that is stored in the redundant handler code storage area 43.On concrete the enforcement, this anti-burning protection module 210 for example adopts the jumper switch device (jumpers) of one group of hardware to prevent the program code that is stored in the outside burning mechanism 50 change redundant handler code storage areas 43.
Below promptly utilize application example and the integrated operation mode of computer platform initialization program code damage and redundancy disposal system 100 of the present invention when the practical application is described with reference to figure 4.
During practical application, when the power supply of computer platform 10 is activated or resets when startup incident 201 takes place (that is), it can make CPU (central processing unit) (CPU) 30 at first carry out the stored program code (being computer platform initialization program code damage and redundancy disposal system 100 of the present invention) in redundant handler code storage area 43 of BIOS power-on management control module 40; Whether wherein, at first make the initialization program code that is stored in the initialization program code storage area (Boot Block) 41 of initialization program code inspection module 110 inspection BIOS power-on management control modules 40 is intact (handling action shown in the P10 of Fig. 4).
If, then initialization program code checks that module 110 promptly sends the initialization program code normal information and start boot program (handling action shown in the P20 of Fig. 4), the program code that initialization program code storage area 41 in the BIOS power-on management control module 40 is stored is performed finishes initialize routine (handle action) shown in the P21 of Fig. 4, and then carries out the program code that supervisor control program code storage area 42 stored and finish boot program (handling action shown in the P22 of Fig. 4).
If not, then initialization program code checks that module 110 promptly sends the initialization program code abnormal information to initialization program code recovery module 130, makes initialization program code recovery module 130 correspondingly carry out initialization program code reduction download (handling action shown in the P30 of Fig. 4); Wherein, at first the backup initialization program code that is stored in the backup initialization program code storage module 120 is duplicated portion and write to initialization program code storage area 41, so that the program code that reduction is wherein damaged (shown in the P31 of Fig. 4, handling action).After finishing reduction, the program code that is newly write in the initialization program code storage area 41 can be performed finishes initialize routine (handle action) shown in the P32 of Fig. 4, and then carries out the program code that supervisor control program code storage area 42 stored and finish boot program (handling action shown in the P33 of Fig. 4).
In a word, the invention provides a kind of computer platform initialization program code damage and redundancy processing method and system, it can be applicable to be incorporated into computer platform, and being used for provides the damage and redundancy processing capacity to the initialization program code of the BIOS power-on management control module on this computer platform; Its characteristics are the storage area of BIOS is marked off redundant handler code storage area more, and be set in computer platform when start, at first carry out the program code that this redundant handler code storage area stored and check whether the program code that is stored in the initialization program code storage area (Boot Block) of BIOS is intact; If not, then the initialization program code with backup downloads to this initialization program code storage area, restores the wherein program code of damage therefrom.These characteristics can provide higher operational reliability to computer platform, and technology is more simple and easy and save cost more before this on concrete the enforcement.The present invention therefore more before this technology have better progressive and practicality.
The above is the preferred embodiments of the present invention only, is not the scope that is used to limit essence technology contents of the present invention.Essence technology contents of the present invention is broadly to be defined in the described claim.If any technology entity that other people are finished or method and the definien of described claim institute are identical or are a kind of change of equivalence, all will be regarded as being contained within the claim of the present invention.

Claims (9)

1. computer platform initialization program code damage and redundancy processing method, it can be applicable to a computer platform, and this computer platform is equipped with the power-on management control module, and wherein this power-on management control module has been divided initialization program code storage area and supervisor control program code storage area at least;
This computer platform initialization program code damage and redundancy processing method comprises at least:
When this computer platform is activated, check correspondingly whether the program code that is stored in this initialization program code storage area is intact; If not, then send the initialization program code abnormal information; And
Respond this initialization program code abnormal information and carry out the initialization program code reducing program, be downloaded to this initialization program code storage area with this initialization program code with backup.
2. according to claim 1 a described computer platform initialization program code damage and redundancy processing method, it is realized with one group of computer program, before this computer platform is activated, with this group computer program be burnt in this power-on management control module in advance planning redundant handler code storage area.
3. according to claim 1 a described computer platform initialization program code damage and redundancy processing method, wherein, adopt verification and checksum to check whether the program code that is stored in this initialization program code storage area is intact.
4. computer platform initialization program code damage and redundancy disposal system, it can be incorporated into computer platform, and this computer platform is equipped with the power-on management control module, and wherein this power-on management control module has been divided initialization program code storage area and supervisor control program code storage area at least;
This computer platform initialization program code damage and redundancy disposal system comprises at least:
Initialization program code is checked module, and it can check correspondingly whether the program code that is stored in this initialization program code storage area is intact when this computer platform is activated; If not, then send the initialization program code abnormal information;
Backup initialization program code storage module wherein prestores the initialization program code of a backup; And
The initialization program code recovery module, it can respond this initialization program code and check the initialization program code abnormal information that module is sent and carry out the initialization program code reducing program, downloads to this initialization program code storage area with this initialization program code with the backup that prestored in this backup initialization program code storage module.
5. according to claim 4 a described computer platform initialization program code damage and redundancy disposal system, this power-on management control module power-on management control module that is the BIOS type wherein.
6. according to claim 4 a described computer platform initialization program code damage and redundancy disposal system, it realizes with one group of computer program, and will organize computer program and be burnt to the redundant handler code storage area of planning in advance in this power-on management control module.
7. according to claim 4 a described computer platform initialization program code damage and redundancy disposal system, further comprise:
Anti-burning protection module, it can provide the defencive function of anti-burning to the number that is stored in this redundant handler code storage area.
8. according to claim 7 a described computer platform initialization program code damage and redundancy disposal system, should anti-burning protection module be the jumper switch device of one group of hardware wherein.
9. according to claim 4 a described computer platform initialization program code damage and redundancy disposal system, wherein this initialization program code checks that module adopts verification and checksum to check whether the program code that is stored in this initialization program code storage area is intact.
CNA2006101629266A 2006-11-29 2006-11-29 Computer platform initialization program code damage and redundancy processing method and system Pending CN101192166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101629266A CN101192166A (en) 2006-11-29 2006-11-29 Computer platform initialization program code damage and redundancy processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101629266A CN101192166A (en) 2006-11-29 2006-11-29 Computer platform initialization program code damage and redundancy processing method and system

Publications (1)

Publication Number Publication Date
CN101192166A true CN101192166A (en) 2008-06-04

Family

ID=39487175

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101629266A Pending CN101192166A (en) 2006-11-29 2006-11-29 Computer platform initialization program code damage and redundancy processing method and system

Country Status (1)

Country Link
CN (1) CN101192166A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149774A1 (en) * 2011-09-27 2012-11-08 华为技术有限公司 Method and apparatus for activating processor
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
CN104572525A (en) * 2015-01-30 2015-04-29 联想(北京)有限公司 Electronic equipment, and system and method for controlling mainboard of electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012149774A1 (en) * 2011-09-27 2012-11-08 华为技术有限公司 Method and apparatus for activating processor
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
CN104572525A (en) * 2015-01-30 2015-04-29 联想(北京)有限公司 Electronic equipment, and system and method for controlling mainboard of electronic equipment

Similar Documents

Publication Publication Date Title
US7971096B2 (en) System and article of manufacture for system recovery
US20080184023A1 (en) Computer platform boot block program corruption recovery handling method and system
US8341386B2 (en) Method for updating basic input/output system and method for repairing thereof
CN1044160C (en) Personal computer system with security features and method
CN100373337C (en) Guide system of embedded system
KR100743180B1 (en) Duplex data system
US20070174689A1 (en) Computer platform embedded operating system backup switching handling method and system
CN106155657A (en) The method of UEFI firmware and computer system thereof
CN101373433A (en) Method for updating BIOS and computer and system using the same
MX2011010822A (en) Apparatus and method for controlling a solid state disk ( ssd ) device.
CN110069361B (en) Method and apparatus for TPM failover
CN102262543B (en) Power-failure resistant method for starting Linux system
US10401935B2 (en) Storage device with a power source and persistent store that provides backup power to DRAM in a power loss event
EP0886211B1 (en) Initial program load
CN100395713C (en) Method of automatic repairing basic input output system element and module
CN101192166A (en) Computer platform initialization program code damage and redundancy processing method and system
US20070050612A1 (en) Boot program update and restoration system and method thereof
CN101923500A (en) Backup and update method and device of bootstrap program in embedded equipment
CN101192164A (en) Computer platform built-in products data unification updating process method and system
CN101000570A (en) Opening configurated storage standby processing method and system on computer platform
CN111159123B (en) Embedded reliable parameter storage file system and method
JPS61151758A (en) Memory back-up system
CN101140519A (en) Embedded system and starting up procedure code automatic backup method thereof
CN100401255C (en) Computer platform inlaid operation system switch-over processing method and system
CN100511145C (en) Method of updating system for managing data of input / output system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication