CN105630523A - Computer BIOS data recovery system and method - Google Patents

Computer BIOS data recovery system and method Download PDF

Info

Publication number
CN105630523A
CN105630523A CN201410603103.7A CN201410603103A CN105630523A CN 105630523 A CN105630523 A CN 105630523A CN 201410603103 A CN201410603103 A CN 201410603103A CN 105630523 A CN105630523 A CN 105630523A
Authority
CN
China
Prior art keywords
bios
spirom
chip
computer
boot block
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
CN201410603103.7A
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 Wuhan Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Wuhan 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 Wuhan Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Wuhan Co Ltd
Priority to CN201410603103.7A priority Critical patent/CN105630523A/en
Publication of CN105630523A publication Critical patent/CN105630523A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a computer BIOS data recovery system and method. A computer comprises an SPI ROM chip, an SIO controller and a storage device; the SPI ROM chip stores a BIOS boot block and a BIOS program; and the SIO controller comprises a cache. The computer is connected with a USB memory through a USB interface. When BIOS data in the SPI ROM chip is corrupted, BIOS boot block data stored in the USB memory can be loaded into the cache of the SIO controller to make a simplest computer startup job, and BIOS data backed up in the storage device is utilized for recovering the corrupted BIOS program in the SPI ROM chip, so that the programmable elasticity of the SIO controller is improved.

Description

Computer BIOS data recovery system and method
Technical field
The present invention relates to a kind of computer data recovery system and method, especially with regard to a kind of computer BIOS data recovery system and method.
Background technology
BIOS (Basicinput-outputsystem in user's SPI (SerialPeripheralInterface) rom chip in more new computer system, basic input speed goes out system) data time, must be born by the risk that BIOS data is destroyed, if unfortunate failure in the process updating BIOS, it is possible to can cause that computer system cannot be started up. The general scheme solved is usual must send former SPIROM chip manufacturer back to and carry out BIOS reparation, and this solution is not only time-consuming but also inefficent. And the computer system that unexpected SPIROM wafer damage causes cannot be started up, this can allow the maintenance of SPIROM chip manufacturer pay high cost price.
Usually, what industry generally used double; two BIOS (ripe title DualBIOS) or four BIOS (ripe title QuadBIOS) is designed to ensure that computer system normal boot-strap, but need extra SPIROM chip, and on mainboard, also need to the design space of greater number of stitch (footprint), thus the expense cost of motherboard design can be increased.
When BIOS corrupt data in SPIROM chip, industry generally utilizes the BIOS data being solidificated in a SIO (SupperI/O, super I/O) controller that computer system is carried out normal boot-strap. But, this directly BIOS data is solidificated in SIO controller so that the elasticity that SIO controller is not programmed with so that SIO controller cannot be transplanted under different system framework, thus adding the cost of design.
Summary of the invention
In view of the foregoing, it is necessary to provide a kind of computer BIOS data recovery system and method, when the BIOS data on SPIROM chip is damaged, the BIOS boot block data stored in USB storage can be loaded and do, to the high-speed cache (Cache) of SIO controller, the computer booting operation simplified most, and utilize the BIOS data backed up in storage device to repair the BIOS program damaged on SPIROM chip, thus increasing the elasticity of SIO controller programmable.
Described computer BIOS data recovery system, this computer includes SPIROM chip, SIO controller and storage device, and is connected to USB storage by USB interface. This SPIROM chip-stored has BIOS boot block and BIOS program, and this SIO controller includes high-speed cache. Described computer BIOS data recovery system includes: BIOS detection module, for when user press opening computer button power on time, initialize the high-speed cache in SIO controller, and check whether the BIOS boot block in SPIROM chip and BIOS program damage; BIOS writing module, for when the BIOS boot block in SPIROM chip and BIOS program damage, reading BIOS boot block data by USB interface, and this BIOS boot block data write in the high-speed cache in SIO controller from USB storage; BIOS recovers module, for reading BIOS data from storage device, and this BIOS data writes the BIOS program that SPIROM chip recovers to damage in SPIROM chip, and utilize the BIOS boot block in the high-speed cache of SIO controller to repair the BIOS boot block damaged in SPIROM chip; And BIOS starts module, it is used for utilizing the BIOS boot block in the high-speed cache of SIO controller to guide the BIOS program repaired in SPIROM chip that computer is booted up process of self-test.
Described computer BIOS data restoration methods, this computer includes SPIROM chip, SIO controller and storage device, and is connected to USB storage by USB interface. Described SPIROM chip-stored has BIOS boot block and BIOS program, and described SIO controller includes high-speed cache. The method comprising the steps of: when user press opening computer button power on time, initialize the high-speed cache in SIO controller; Check whether the BIOS boot block in SPIROM chip and BIOS program damage; When the BIOS boot block in SPIROM chip and BIOS program damage, from USB storage, read BIOS boot block data by USB interface, and this BIOS boot block data is write in the high-speed cache in SIO controller; From storage device, read BIOS data, and this BIOS data is write the BIOS program that SPIROM chip recovers to damage in SPIROM chip; Utilize the BIOS boot block in the high-speed cache of SIO controller to repair the BIOS boot block damaged in SPIROM chip; Utilize the BIOS boot block in the high-speed cache of SIO controller to guide the BIOS program repaired in SPIROM chip that computer is booted up process of self-test.
Compared to prior art, when the BIOS boot block on SPIROM chip in computer and BIOS program are damaged, the BIOS boot block data of storage in external USB memorizer can be loaded by computer BIOS data recovery system of the present invention and method does, to the high-speed cache (Cache) of SIO controller, the computer booting operation simplified most, and utilize the BIOS data backed up in storage device to repair the BIOS program damaged on SPIROM chip, thus adding the elasticity of SIO controller programmable.
Accompanying drawing explanation
Fig. 1 is the running environment schematic diagram of computer BIOS data recovery system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of BIOS data recovery system preferred embodiment of the present invention.
Fig. 3 is the flow chart of computer BIOS data restoration methods preferred embodiment of the present invention.
Main element symbol description
Computer 100
Microprocessor 1
Spi bus 11
SATA bus 12
Lpc bus 13
Usb 14
SPIROM chip 2
BIOS boot block 20
BIOS program 21
Storage device 3
BIOS data 30
SIO controller 4
High-speed cache 40
BIOS data recovery system 41
BIOS detection module 411
BIOS writing module 412
BIOS recovers module 413
BIOS starts module 414
USB storage 5
BIOS boot block data 50
Detailed description of the invention
Consult shown in Fig. 1, be the running environment schematic diagram of computer BIOS of the present invention (Basicinput-outputsystem, basic input speed goes out system) data recovery system preferred embodiment. In the present embodiment, described BIOS data recovery system 41 is installed and runs in computer 100, this computer 100 includes, but it is not limited only to, microprocessor (MCU) 1, SPI (SerialPeripheralInterface, serial communication interface) rom chip 2, storage device 3 and SIO (SupperI/O, super I/O) controller 4. Described SPIROM chip 2 is connected with microprocessor 1 by spi bus 11, described storage device 3 is connected with microprocessor 1 by SATA bus (SATABus) 12, and described SIO controller 4 is connected with microprocessor 1 by LPC (LowPinCount) bus 13. In the present embodiment, described computer 100 can be a kind of personal computer (PC), workstation computer (Workstationcomputer), notebook (Notebook), server (Server) or other computing electronics.
Described BIOS data recovery system 41 is stored in the high-speed cache (CacheRAM) 40 in SIO controller 4, it is also possible to be stored in storage device 3. When the BIOS boot block 20 on SPIROM chip 2 and BIOS program 21 are damaged, this BIOS data recovery system 41 obtains the binary system data of BIOS boot block 50 from USB storage 5 and does the in-cycle work simplified most, and utilize the BIOS data 30 backed up in storage device 3 to repair the BIOS program 21 damaged on SPIROM chip 2, computer 100 is made to normally complete whole starting up's process, so that the elasticity that SIO controller 4 is programmed with.
In the present embodiment, described computer 100 can pass through USB (UniversalSerialBus) interface 14 and be connected to USB storage 5. Described USB storage 5 storage has BIOS boot block (BIOSBootBlock) data 50, and this BIOS boot block data 50 is stored in USB storage 5 with binary information paper form. In other embodiments, described USB storage 5 can also be other external memory storage, for instance other exterior storage mediums such as USB flash disk (U-disk), removable memory or disk.
Described microprocessor 1 can be central processing unit (CPU), it is also possible to for other microcontroller (MCU). Described SPIROM chip 2 is used for storing BIOS boot block (BIOSBootBlock) 20 and BIOS program 21. When the power on button that user presses computer 100 powers on, this BIOS boot block 20 is used for performing BIOS program 21 and computer 100 is carried out system boot initiating task. When computer 100 starting up, this BIOS program 21 for booting up self-inspection (PowerOnSelfTest, POST) operation and guiding the normal import operation system (OS) of computer 100 and complete whole start process to computer 100.
Described storage device 3 storage has the BIOS data 30 of backup, and when the BIOS program 21 in SPIROM chip 2 damages, the BIOS data 30 of this backup is for updating the BIOS program 21 in SPIROM chip 2. In the present embodiment, described storage device 3 can be other internal storages such as internal memory (memory), flash storage (FlashROM) and hard disk (HDD), it is also possible to for other exterior storage mediums such as disks.
Described SIO controller 4 is the embedded super I/O controller (EmbeddedController) of a kind of be positioned under LPC, it has the function various hardware and software of computer 100 (H/W) being monitored management (Hardware/SoftwareMonitor) with communication, for instance detect and manage the functions such as memorizer, printer, power supply, display and associated serial port (COM&Serialport). This SIO controller 4 includes high-speed cache (CacheRAM) 40, when USB storage 5 is connected to SIO controller 4 by usb 14, this SIO controller 4 can obtain BIOS boot block data 50 from USB storage 5, and is written in high-speed cache 40 by this BIOS boot block data 50 to be formed and the identical BIOS boot block of BIOS boot block 20 on SPIROM chip 2.
Consult shown in Fig. 2, be the functional block diagram of BIOS data recovery system 41 preferred embodiment of the present invention. In the present embodiment, described BIOS data recovery system 41 includes BIOS detection module 411, BIOS writing module 412, BIOS recovers module 413 and BIOS starts module 414. Functional module alleged by the present invention refer to a kind of can be performed by the microprocessor 1 of computer 100 and the sequence of program instructions section of fixing function can be completed, it is stored in the storage device 3 of computer 100 or the Flash internal memory of SIO controller 4. In the present embodiment, the automatic Information System 41 of described BIOS is stored in the high-speed cache (CacheRAM) 40 of SIO controller 4. To be described in the flowchart of fig. 3 about each functional module 411-414.
Consult shown in Fig. 3, be the flow chart of computer BIOS data restoration methods preferred embodiment of the present invention. In the present embodiment, the method is applied in computer 100, when the BIOS boot block 20 on SPIROM chip 2 in computer 100 and BIOS program 21 are damaged, the BIOS boot block data 50 of storage in USB storage 5 can be loaded and do, to the high-speed cache 40 of SIO controller 4, the computer booting operation simplified most, and utilize the BIOS data 30 backed up in storage device 3 to repair the BIOS program 21 damaged on SPIROM chip 2, thus adding the elasticity of SIO controller 4 programmable.
Step S30, when the power on button that user presses computer 100 powers on, BIOS detection module 411 initializes the high-speed cache (Cache) 40 in SIO controller 4.
Step S31, BIOS detection module 411 utilizes the H/W of SIO controller 4 to monitor the BIOS boot block 20 in (Hardware/SoftwareMonitor) functional check SPIROM chip 2 and BIOS program 21. The various software of computer 100, hardware can be monitored management by the H/W monitoring function of this SIO controller 4, for instance detect and manage memorizer, printer, power supply, display and associated serial port (COM&Serialport).
Step S32, BIOS detection module 411 checks whether the BIOS boot block 20 in SPIROM chip 2 and BIOS program 21 damage. In the present embodiment, BIOS detection module 411 sets a timing time for monitoring SPIROM chip 2, it is judged that whether monitoring timing time arrives Preset Time, for instance Preset Time is 30 seconds. When monitoring timing time and arriving Preset Time, BIOS starts module 414 can not normally read the BIOS boot block 20 in SPIROM chip 2 to start BIOS program 21, then illustrate that the BIOS boot block 20 in SPIROM chip 2 and BIOS program 21 are damaged. If the BIOS boot block 20 in SPIROM chip 2 and BIOS program 21 damage, then flow performing step S33; If the BIOS boot block 20 in SPIROM chip 2 and BIOS program 21 do not damage, then flow performing step S37.
Step S33, BIOS writing module 412 reads BIOS boot block data 50 by usb 14 from USB storage 5, and this BIOS boot block data 50 is write in the high-speed cache 40 of SIO controller 4. In the present embodiment, described BIOS boot block data 50 is stored in USB storage 5 with binary system archives form.
Step S34, BIOS recover module 413 and read BIOS data 30 from storage device 3, and this BIOS data 30 write SPIROM chip 2 to recover the BIOS program 21 damaged in SPIROM chip 2.
Step S35, BIOS recovery module 413 utilizes the BIOS boot block in the high-speed cache 40 of SIO controller 4 to repair the BIOS boot block 20 damaged in SPIROM chip 2.
Step S36, BIOS startup module 414 utilizes the BIOS boot block in the high-speed cache 40 of SIO controller 4 to guide the BIOS program 21 repaired in SPIROM chip 2 that computer 100 boots up process of self-test (POST).
Step S37, BIOS start module 414 and read BIOS boot block 20 from SPIROM chip 2. Step S38, BIOS start module 414 and utilize the BIOS boot block 20 in SPIROM chip 2 to guide BIOS program 21 that computer 100 boots up process of self-test (POST).
Step S39, BIOS startup module 414 performs the BIOS program 21 in SPIROM chip 2 and guides the normal import operation system (OS) of computer 100 to complete whole starting up's process.
Above example is only in order to illustrate technical scheme and unrestricted, although the present invention being described in detail with reference to above preferred embodiment, it will be understood by those within the art that, it is possible to technical scheme is modified or is equal to and replace the spirit and scope that should not depart from technical solution of the present invention.

Claims (10)

1. a computer BIOS data recovery system, it is characterized in that, described computer includes SPIROM chip, SIO controller and storage device, and it is connected to USB storage by USB interface, this SPIROM chip-stored has BIOS boot block and BIOS program, this SIO controller includes high-speed cache, and described computer BIOS data recovery system includes:
BIOS detection module, for when user press opening computer button power on time, initialize the high-speed cache in SIO controller, and check whether the BIOS boot block in SPIROM chip and BIOS program damage;
BIOS writing module, for when the BIOS boot block in SPIROM chip and BIOS program damage, reading BIOS boot block data by USB interface, and this BIOS boot block data write in the high-speed cache in SIO controller from USB storage;
BIOS recovers module, for reading BIOS data from storage device, and this BIOS data writes the BIOS program that SPIROM chip recovers to damage in SPIROM chip, and utilize the BIOS boot block in the high-speed cache of SIO controller to repair the BIOS boot block damaged in SPIROM chip;
BIOS starts module, is used for utilizing the BIOS boot block in the high-speed cache of SIO controller to guide the BIOS program repaired in SPIROM chip that computer is booted up process of self-test.
2. computer BIOS data recovery system as claimed in claim 1, it is characterized in that, being connected with microprocessor by spi bus of described SPIROM chip, described storage device is connected with microprocessor by SATA bus, and described SIO controller is connected with microprocessor by lpc bus.
3. computer BIOS data recovery system as claimed in claim 1, it is characterised in that described BIOS detection module utilizes the H/W monitoring function of SIO controller so that whether BIOS boot block and the BIOS program checking in SPIROM chip damages.
4. computer BIOS data recovery system as claimed in claim 1, it is characterized in that, when the BIOS boot block in SPIROM chip and BIOS program do not damage, described BIOS starts module and is additionally operable to from SPIROM chip to read BIOS boot block, utilize the BIOS boot block in SPIROM chip to guide BIOS program that computer is booted up process of self-test.
5. computer BIOS data recovery system as claimed in claim 1, it is characterised in that the BIOS program that described BIOS startup module is additionally operable to perform to have repaired guides computer normal import operation system to complete whole starting up's process.
6. a computer BIOS data restoration methods, it is characterized in that, described computer includes SPIROM chip, SIO controller and storage device, and it is connected to USB storage by USB interface, this SPIROM chip-stored has BIOS boot block and BIOS program, this SIO controller includes high-speed cache, and the method comprising the steps of:
When user press opening computer button power on time, initialize the high-speed cache in SIO controller;
Check whether the BIOS boot block in SPIROM chip and BIOS program damage;
When the BIOS boot block in SPIROM chip and BIOS program damage, from USB storage, read BIOS boot block data by USB interface, and this BIOS boot block data is write in the high-speed cache in SIO controller;
From storage device, read BIOS data, and this BIOS data is write the BIOS program that SPIROM chip recovers to damage in SPIROM chip;
Utilize the BIOS boot block in the high-speed cache of SIO controller to repair the BIOS boot block damaged in SPIROM chip;
Utilize the BIOS boot block in the high-speed cache of SIO controller to guide the BIOS program repaired in SPIROM chip that computer is booted up process of self-test.
7. computer BIOS data restoration methods as claimed in claim 6, it is characterized in that, being connected with microprocessor by spi bus of described SPIROM chip, described storage device is connected with microprocessor by SATA bus, and described SIO controller is connected with microprocessor by lpc bus.
8. computer BIOS data restoration methods as claimed in claim 6, it is characterised in that utilize the H/W monitoring function of SIO controller so that whether BIOS boot block and the BIOS program checking in described SPIROM chip damages.
9. computer BIOS data restoration methods as claimed in claim 6, it is characterised in that the method further comprises the steps of:
When the BIOS boot block in SPIROM chip and BIOS program do not damage, from SPIROM chip, read BIOS boot block, and utilize the BIOS boot block in SPIROM chip to guide BIOS program that computer is booted up process of self-test.
10. computer BIOS data restoration methods as claimed in claim 6, it is characterised in that the method further comprises the steps of:
The BIOS program performing to have repaired guides computer normal import operation system to complete whole starting up's process.
CN201410603103.7A 2014-10-30 2014-10-30 Computer BIOS data recovery system and method Pending CN105630523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410603103.7A CN105630523A (en) 2014-10-30 2014-10-30 Computer BIOS data recovery system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410603103.7A CN105630523A (en) 2014-10-30 2014-10-30 Computer BIOS data recovery system and method

Publications (1)

Publication Number Publication Date
CN105630523A true CN105630523A (en) 2016-06-01

Family

ID=56045512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410603103.7A Pending CN105630523A (en) 2014-10-30 2014-10-30 Computer BIOS data recovery system and method

Country Status (1)

Country Link
CN (1) CN105630523A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371945A (en) * 2016-08-30 2017-02-01 合肥联宝信息技术有限公司 Method and device for restoring firmware information
CN106598778A (en) * 2016-11-21 2017-04-26 合肥联宝信息技术有限公司 Method and device for restoring firmware information
CN108108269A (en) * 2017-12-18 2018-06-01 联想(北京)有限公司 The control method and device of the BIOS of a kind of electronic equipment
CN110502367A (en) * 2019-07-29 2019-11-26 合肥联宝信息技术有限公司 A kind of control method and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371945A (en) * 2016-08-30 2017-02-01 合肥联宝信息技术有限公司 Method and device for restoring firmware information
CN106598778A (en) * 2016-11-21 2017-04-26 合肥联宝信息技术有限公司 Method and device for restoring firmware information
CN108108269A (en) * 2017-12-18 2018-06-01 联想(北京)有限公司 The control method and device of the BIOS of a kind of electronic equipment
CN110502367A (en) * 2019-07-29 2019-11-26 合肥联宝信息技术有限公司 A kind of control method and electronic equipment

Similar Documents

Publication Publication Date Title
US9417967B2 (en) Computing device and method for automatically recovering bios of computing device
CN103150231B (en) The method of computer booting and computer system
US8423991B2 (en) Embedded network device and firmware upgrading method
CN102629206B (en) A kind of method for updating embedded system software and system
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
US8281119B1 (en) Separate normal firmware and developer firmware
TW201512831A (en) Computer booting system and method of a computer
CN110502281A (en) A kind of method of embedded device starting linux kernel and file system
CN105630523A (en) Computer BIOS data recovery system and method
CN104424047A (en) NVRAM data recovery method and NVRAM data recovery device
TW201301016A (en) System and method for performing data backup and recovery
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
TW201616273A (en) System and method for recovering BIOS data of a computer
CN104572143A (en) Startup detection system and method for computer
CN102479124B (en) Test method
CN104598256A (en) Computer BIOS (Basic Input /Output System) recovery system and method
CN110096882B (en) Safety measurement method in equipment operation process
TW201933091A (en) A system and a method for testing a data storage device
US20220188221A1 (en) Regression testing method and regression testing apparatus
US11763913B2 (en) Automated testing of functionality of multiple NVRAM cards
CN102855166A (en) Mainboard testing system and method
CN103677875A (en) Method for starting electronic equipment, method for controlling permission and electronic equipment
US9632879B2 (en) Disk drive repair
US10922023B2 (en) Method for accessing code SRAM and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160601