CN101140535A - Method for preventing BIOS chip data from missing - Google Patents

Method for preventing BIOS chip data from missing Download PDF

Info

Publication number
CN101140535A
CN101140535A CNA2006102008516A CN200610200851A CN101140535A CN 101140535 A CN101140535 A CN 101140535A CN A2006102008516 A CNA2006102008516 A CN A2006102008516A CN 200610200851 A CN200610200851 A CN 200610200851A CN 101140535 A CN101140535 A CN 101140535A
Authority
CN
China
Prior art keywords
data
bios
system configuration
data field
chip
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
CNA2006102008516A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNA2006102008516A priority Critical patent/CN101140535A/en
Publication of CN101140535A publication Critical patent/CN101140535A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method to prevent data loss on BIOS chips can prevent loss of expansion system configuration data when a BIOS chip with a data area and a boot area is writing data; the method comprises the following steps: Store and backup expansion system configuration data in the boot area; acquire all hardware information of the computer; identify whether the hardware information has been put into the data area inside the BIOS chip; if the hardware information is not found in the data area in the BIOS chip, the expansion system configuration data inside the data area can be determined as being damaged; if the expansion system configuration data in the data area has been ruined, the system will write the expansion system configuration data stored in the boot area into the data area, in order to recover the expansion system configuration data inside the data area.

Description

Prevent the method that the BIOS chip data is lost
Technical field
The present invention relates to a kind of method that prevents that chip data from losing, refer to the method that a kind of BIOS of preventing chip data is lost especially.
Background technology
The BIOS chip is very important chip on the mainboard, because BIOS comprises one group of routine, finishes input and output work between system and the peripheral hardware by them.BIOS also comprises diagnostic routine and some utility routines, when starting computing machine, all will call the self-check program of BIOS such as each, checks that the critical piece of computing machine is working properly to guarantee them.
A BIOS chip as shown in Figure 1, comprise one first bootstrap block (Boot Block), 1, one self check code (PostCode) district, 2, one ESCD (Extended System Configuration Data, the expanding system configuration data) data field 3 and one second bootstrap block (Boot Block) 4, described ESCD data field 3 internal memories contain SKU (the StockKeeping unit of each hardware of computing machine, stock-keeping unit), Serial Number (sequence number) and UUID ESCD data such as (Universal UniqueIdentifier, global unique indications).After the computing machine energising start; from the BIOS chip, read out the detection that instruction code carries out system hardware immediately; and read the required configuration informations such as system resource data of corresponding hardware operate as normal from each hardware successively; then all hardware configuration information data are write in the ECSD data field 3 of BIOS chip; in writing the process of data; new data will cover and refresh original data in the ESCD data field 3, and the ESCD data also are stored to the interior (see figure 2) of system management BIOS (SMBIOS) usually.
In writing the process of data, the expanding system configuration data in the BIOS chip may be lost because of random occurrence such as the plug of accident power-off, add-on card, causes computing machine normally not start and serious consequence such as operation.
Summary of the invention
In view of above content, be necessary the method that provides a kind of BIOS of preventing chip data to lose.
The method that a kind of BIOS of preventing chip data is lost, be used for preventing that one comprises that the BIOS chip of data field and boot section loses at the process expanding system configuration data that writes data, may further comprise the steps: with expanding system configuration data storage backup in described boot section; Read computing machine all hardware information; Judge that whether Already in described hardware information in the data field of BIOS chip; If there is not described hardware information in the data field of BIOS chip, judge then whether the expanding system configuration data in the described data field is destroyed; If the expanding system configuration data in the described data field is destroyed, the expanding system configuration data that then will be stored in the described boot section writes described data field with the expanding system configuration data in the restore data district.
The present invention prevents the method utilization backup expanding system configuration data that the BIOS chip data is lost, when the expanding system configuration data that detects the data field is destroyed, backed up data in time is stored to described data field, thereby reach the purpose that prevents that the BIOS chip data from losing, in addition, before writing the step of data, comprise a determining step, therefore only new hardware information is write in the BIOS chip, needn't according to the conventional method all hardware informations be write, thereby reduce the data that write, reduced the ruined probability of data, method is simply effective, has strengthened the data security of BIOS chip, and does not need to make the modification on any hardware.
Description of drawings
Fig. 1 is the structural representation of prior art BIOS chip.
Fig. 2 is prior art BIOS detection hardware and the method flow diagram that writes hardware information.
Fig. 3 is the structural representation of better embodiment BIOS chip of the present invention.
Fig. 4 prevents the method flow diagram that the BIOS chip data is lost for better embodiment of the present invention.
Embodiment
See also Fig. 3, better embodiment BIOS chip of the present invention comprises one first bootstrap block (Boot Block) 1, one self check code (Post Code) district 2, one ESCD data field 3 and one second bootstrap block (Boot Block) 4, described ESCD data field 3 stored expanding system configuration datas (being the ESCD data), described expanding system configuration data is that system bios is used for data with operating system switching hardware configuration information, and described expanding system configuration data comprises stock-keeping unit (SKU), sequence number (Serial Number) and global unique indications expanding systems such as (UUID) configuration (ESCD) data.The memory capacity of described first bootstrap block 1, ESCD data field 3 and second bootstrap block 4 is 64 kilobits (64Kb), and described second bootstrap block 4 comprises the backup area 41 of one 1 kilobits (1Kb).The data of described first bootstrap block 1 and second bootstrap block 4 can not lost because of accident power-off, and the expanding system configuration data of described ESCD data field 3 may be lost (especially the outage data may be lost when writing data) because of accident power-off.Described backup area 41 is used for described SKU, Serial Number and global unique indications expanding system configuration data storage backups such as (UUID).
See also Fig. 4, better embodiment of the present invention prevents that the method that the BIOS chip data of computing machine is lost from may further comprise the steps:
S01: in advance expanding system configuration datas such as SKU, Serial Number and UUID are stored in described backup area 41.
S02: press computer power switch, in the moment of pressing power switch, just at once to mainboard and miscellaneous equipment power supply, the voltage of this moment is also unstable for power supply, the mainboard control chip group can be sent and keeps (Reset) signal that resets to CPU, allows the CPU initialization.After power supply begins stable power-supplying, control chip group just removes the Reset signal, CPU got started and carried out the jump instruction that BIOS deposits in the FFFFOH place this moment, jump to the start-up code place of system bios, the start-up code of system bios is at first carried out Power-On Self-Test (POST), and the main task of POST is that can whether some key equipments (as internal memory and video card etc.) in the detection system exist and operate as normal.
Each hardware of S03:BIOS detection computations machine.In the process of BIOS Power-On Self-Test, computer display screens will demonstrate a system configuration tabulation, wherein roughly list mounted various standard hardware equipment in the system, and resource and some related work parameters of their uses.
S04: the information that reads detected hardware.
S05: judge that whether Already in hardware information in the ESCD data field 3 of BIOS chip, generally speaking, if there is not the hardware change, then all hardware informations all default storage in the ESCD data field 3 of BIOS chip, but, if hardware change (after for example plugging hot-plug equipment) is arranged, will read new hardware information.The method of judging is the computer hardware information that will read and the data of ESCD data field 3 stored of BIOS chip contrast.If in full accord, then expression does not have new hardware information, does not need to write data; If the hardware information (promptly finding new hardware information) that does not have storage to read in the ESCD data field of BIOS chip 3, then expression need write new hardware information in the described ESCD data field 3.
S06: if hardware information has been stored in the BIOS chip, then read the content of BIOS chip ESCD data field 3, and be stored in the SMBIOS to upgrade the content of SMBIOS.
S07:, judge then whether the expanding system configuration data in the described ESCD data field 3 is destroyed if do not store the information of new hardware in the BIOS chip.The concrete steps of judging are for checking whether the stock-keeping unit data also are present in the described ESCD data field 3; Whether the checking sequence data also are present in the described ESCD data field 3; And check whether global unique indications also is present in the described ESCD data field 3; If exist, expression expanding system configuration data does not have destroyed; If there is no, expression expanding system configuration data is destroyed.
S08: destroyed if the expanding system configuration data in the ESCD data field 3 has, then the Backup Data of storage in advance with described backup area 41 writes in the described ESCD data field 3, and restarts computing machine, and described BIOS chip restarts operate as normal.
S09: if the expanding system configuration data in the ESCD data field 3 does not destroy, then new hardware information is write in the described ESCD data field 3, after all new hardware informations write described ESCD data field 3, execution in step S06, read the content of described ESCD data field 3, upgrade SMBIOS.

Claims (7)

1. method that prevents that the BIOS chip data from losing is used for preventing that one comprises that the BIOS chip of data field and boot section loses at the process expanding system configuration data that writes data, may further comprise the steps:
With expanding system configuration data storage backup in described boot section;
Read computing machine all hardware information;
Judge that whether Already in described hardware information in the data field of BIOS chip;
If there is not described hardware information in the data field of BIOS chip, judge then whether the expanding system configuration data in the described data field is destroyed;
If the expanding system configuration data in the described data field is destroyed, the expanding system configuration data that then will be stored in the described boot section writes described data field with the expanding system configuration data in the restore data district.
2. the method for wanting the 1 described BIOS of preventing chip data to lose as right, it is characterized in that: described step judges whether Already in hardware information is meant in the BIOS chip: whether had the computer hardware information that is read in the expanding system configuration data of judgment data district stored; If there has been the hardware information that reads, represent that then hardware information is Already in the BIOS chip.
3. the method that the BIOS of preventing chip data as claimed in claim 1 is lost is characterized in that: described expanding system configuration data comprises: stock-keeping unit, sequence number and global unique indications.
4. the method that the BIOS of preventing chip data as claimed in claim 3 is lost is characterized in that: whether the expanding system configuration data in the described step judgment data district destroyed comprising: check whether the stock-keeping unit data also are present in the described data field; Whether the checking sequence data also are present in the described data field; And check whether global unique indications also is present in the described data field; If exist, expression expanding system configuration data does not have destroyed; If there is no, expression expanding system configuration data is destroyed.
5. the method that the BIOS of preventing chip data as claimed in claim 1 is lost, it is characterized in that: this method also comprises: if there has been described hardware information in the data field of BIOS chip, then read the data of described data field, and be stored to the step of managing the content of BIOS in the system management BIOS with update system.
6. the method that the BIOS of preventing chip data as claimed in claim 1 is lost, it is characterized in that: this method also comprises: if it is destroyed not exist expanding system configuration data in described hardware information and the described data field not have in the data field of BIOS chip, then write the step of the information of described hardware to described data field.
7. the method that the BIOS of preventing chip data as claimed in claim 6 is lost, it is characterized in that: to the step of described data field, also comprise: read the data of described data field, and be stored to the step of managing the content of BIOS in the system management BIOS with update system in the information that writes described hardware.
CNA2006102008516A 2006-09-08 2006-09-08 Method for preventing BIOS chip data from missing Pending CN101140535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006102008516A CN101140535A (en) 2006-09-08 2006-09-08 Method for preventing BIOS chip data from missing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006102008516A CN101140535A (en) 2006-09-08 2006-09-08 Method for preventing BIOS chip data from missing

Publications (1)

Publication Number Publication Date
CN101140535A true CN101140535A (en) 2008-03-12

Family

ID=39192494

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006102008516A Pending CN101140535A (en) 2006-09-08 2006-09-08 Method for preventing BIOS chip data from missing

Country Status (1)

Country Link
CN (1) CN101140535A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102308280A (en) * 2011-07-27 2012-01-04 华为技术有限公司 Basic input/output system BIOS configuration data management method and system
CN104679566A (en) * 2015-03-13 2015-06-03 华为技术有限公司 Method and terminal equipment for updating SMBIOS (System Management Basic Input/Output System)
WO2016062146A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Serial number information update method, device and terminal
CN106662994A (en) * 2014-09-23 2017-05-10 惠普发展公司有限责任合伙企业 Detecting a change to system management mode bios code
CN109784063A (en) * 2018-12-30 2019-05-21 联想(北京)有限公司 Information processing method, device and electronic equipment
CN114064133A (en) * 2021-11-02 2022-02-18 联想(北京)有限公司 Hardware information processing method and device and storage system
US11256589B2 (en) 2017-01-27 2022-02-22 Hewlett-Packard Development Company, L.P. Detecting a change to system management mode bios code

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102308280A (en) * 2011-07-27 2012-01-04 华为技术有限公司 Basic input/output system BIOS configuration data management method and system
WO2013013396A1 (en) * 2011-07-27 2013-01-31 华为技术有限公司 Method and system for managing bios configuration data of basic input/output system
CN102308280B (en) * 2011-07-27 2013-08-28 华为技术有限公司 Basic input/output system BIOS configuration data management method and system
CN106662994A (en) * 2014-09-23 2017-05-10 惠普发展公司有限责任合伙企业 Detecting a change to system management mode bios code
US10387651B2 (en) 2014-09-23 2019-08-20 Hewlett-Packard Development Company, L.P. Detecting a change to system management mode bios code
CN106662994B (en) * 2014-09-23 2020-01-03 惠普发展公司有限责任合伙企业 Detecting changes to system management mode BIOS code
WO2016062146A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Serial number information update method, device and terminal
CN104679566A (en) * 2015-03-13 2015-06-03 华为技术有限公司 Method and terminal equipment for updating SMBIOS (System Management Basic Input/Output System)
CN104679566B (en) * 2015-03-13 2018-12-25 华为技术有限公司 Update the method and terminal device of SMBIOS
US11256589B2 (en) 2017-01-27 2022-02-22 Hewlett-Packard Development Company, L.P. Detecting a change to system management mode bios code
CN109784063A (en) * 2018-12-30 2019-05-21 联想(北京)有限公司 Information processing method, device and electronic equipment
CN114064133A (en) * 2021-11-02 2022-02-18 联想(北京)有限公司 Hardware information processing method and device and storage system

Similar Documents

Publication Publication Date Title
US7409537B2 (en) Fast booting an operating system from an off state
US6807630B2 (en) Method for fast reinitialization wherein a saved system image of an operating system is transferred into a primary memory from a secondary memory
JP5715566B2 (en) Cache data and metadata management
US5426775A (en) Method and a device for booting a computer at a programmed time
EP0486304B1 (en) Initialising computer systems
US8028177B2 (en) Method for changing power states of a computer
CN101140535A (en) Method for preventing BIOS chip data from missing
US7900090B2 (en) Systems and methods for memory retention across resets
US20120110378A1 (en) Firmware recovery system and method of baseboard management controller of computing device
CN105122262A (en) Redundant system boot code in a secondary non-volatile memory
US20030188220A1 (en) Method and apparatus for backing up and restoring data from nonvolatile memory
CN1545654A (en) Method of rapid computer start-up
JP2000215065A (en) Computer with bootable program
JP2012508932A (en) Manage cache data and metadata
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
US20030046605A1 (en) Data protection system and method regarding the same
US20050021933A1 (en) Method for booting computer system with memory card
CN103336736A (en) System log acquisition method and device
CN112256492A (en) Block device backup method, device and storage medium
US5960195A (en) Intelligent volatile memory initialization
CN114996064A (en) Memory detection method, device, equipment and storage medium
CN113536320A (en) Error information processing method, device and storage medium
CN110134545B (en) Method and system for providing virtual NVRAM based on trusted execution environment
US7275132B2 (en) Computing machine with hard stop-tolerant disk file management system
TWI396972B (en) Method for preventing data loss of a bios chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080312