TW201516654A - System and method for recovering BIOS of a computer - Google Patents

System and method for recovering BIOS of a computer Download PDF

Info

Publication number
TW201516654A
TW201516654A TW102138338A TW102138338A TW201516654A TW 201516654 A TW201516654 A TW 201516654A TW 102138338 A TW102138338 A TW 102138338A TW 102138338 A TW102138338 A TW 102138338A TW 201516654 A TW201516654 A TW 201516654A
Authority
TW
Taiwan
Prior art keywords
bios
computer
main
damaged
program
Prior art date
Application number
TW102138338A
Other languages
Chinese (zh)
Inventor
Hung-Chi Huang
Ching-Jou Chen
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102138338A priority Critical patent/TW201516654A/en
Priority to US14/073,916 priority patent/US20150113321A1/en
Publication of TW201516654A publication Critical patent/TW201516654A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Computer Hardware Design (AREA)

Abstract

The present invention provides a system and method for recovering BIOS of a computer. The computer includes a CPU, a storage system, a SPI (serial peripheral interface) ROM and a display device. The SPI ROM stores a BIOS boot block and a main BIOS, and the storage system stores a backup BIOS. The BIOS recovering system is embedded in the SPI ROM, and is executed by the CPU. The BIOS recovering system locks the BIOS boot block during the operating process of the computer, and checks whether the main BIOS is damaged when the computer is powered on. When the main BIOS is damaged, the BIOS recovering system unlocks the BIOS boot block to recovery the damaged BIOS of the SPI ROM using the backup BIOS stored in the storage system.

Description

電腦BIOS恢復系統及方法Computer BIOS recovery system and method

本發明涉及一種電腦錯誤恢復系統及方法,尤其涉及一種電腦BIOS恢復系統及方法。The invention relates to a computer error recovery system and method, in particular to a computer BIOS recovery system and method.

使用者在更新電腦系統中的SPI(Serial Peripheral Interface)ROM晶片中的BIOS時必須承擔一些風險,若不幸於更新BIOS的過程中失敗,就有可能會導致電腦系統無法開機。一般解決的方案通常得送回原SPI ROM晶片廠商進行BIOS修復,該解決方案既費時又沒有效率。而非預期的SPI ROM晶片損壞所造成的電腦系統無法開機,這會讓SPI ROM晶片廠商的維修付出極高的成本代價。然而,業界通常使用雙BIOS(熟稱Dual BIOS)或四顆BIOS(熟稱Quad BIOS)的設計來確保電腦系統正常開機,但需要額外的SPI ROM晶片,而且於主機板上還需要更多數量的針腳(foot print)的設計空間,進而會增加主機板設計的費用成本。The user must bear some risks when updating the BIOS in the SPI (Serial Peripheral Interface) ROM chip in the computer system. If the BIOS fails to update the BIOS, it may cause the computer system to fail to boot. The general solution is usually sent back to the original SPI ROM chip manufacturer for BIOS repair, which is time consuming and inefficient. The computer system caused by the failure of the SPI ROM chip is not expected to be turned on, which will cost SPI ROM chip manufacturers a very high cost. However, the industry usually uses dual BIOS (commonly known as Dual BIOS) or four BIOS (known as Quad BIOS) to ensure that the computer system is turned on normally, but requires an additional SPI ROM chip, and more is needed on the motherboard. The design space of the foot print will increase the cost of the motherboard design.

鑒於以上內容,有必要提供一種電腦BIOS恢復系統及方法,當SPI ROM晶片上的主BIOS程式被損壞時,能夠利用BIOS啟動塊來自動修復錯誤的主BIOS程式。In view of the above, it is necessary to provide a computer BIOS recovery system and method. When the main BIOS program on the SPI ROM chip is damaged, the BIOS boot block can be used to automatically repair the wrong main BIOS.

所述之電腦BIOS恢復系統,該電腦包括SPI ROM晶片、儲存器及顯示器,該SPI ROM晶片儲存有BIOS啟動塊及主BIOS程式。該電腦BIOS恢復系統包括:BIOS鎖定模組,用於在電腦正常運行過程中鎖定SPI ROM晶片上的BIOS啟動塊進行防寫保護;BIOS檢測模組,用於當使用者按下電腦的開機按鈕上電時,檢查SPI ROM晶片上的主BIOS程式是否被損毀;及BIOS恢復模組,用於當SPI ROM晶片上的主BIOS程式被損毀時,對所述BIOS啟動塊的防寫保護進行解鎖,並透過已解鎖的BIOS啟動塊利用儲存器中之備份BIOS程式對已損壞的主BIOS程式進行恢復。The computer BIOS recovery system includes a SPI ROM chip, a memory and a display. The SPI ROM chip stores a BIOS boot block and a main BIOS. The computer BIOS recovery system includes: a BIOS locking module for locking the BIOS boot block on the SPI ROM chip for anti-write protection during normal operation of the computer; and a BIOS detection module for when the user presses the power button of the computer When powering up, check whether the main BIOS program on the SPI ROM chip is damaged; and the BIOS recovery module is used to unlock the anti-write protection of the BIOS boot block when the main BIOS program on the SPI ROM chip is damaged. And recover the corrupted main BIOS program from the unlocked BIOS boot block using the backup BIOS program in the storage.

所述之電腦BIOS恢復方法,該電腦包括SPI ROM晶片、儲存器及顯示器,該SPI ROM晶片儲存有BIOS啟動塊及主BIOS程式。該方法包括步驟:在電腦正常運行過程中鎖定SPI ROM晶片上的BIOS啟動塊進行防寫保護;當使用者按下電腦的開機按鈕上電時,檢查SPI ROM晶片上的主BIOS程式是否被損毀;及當SPI ROM晶片上的主BIOS程式被損毀時,對所述BIOS啟動塊的防寫保護進行解鎖,並透過已解鎖的BIOS啟動塊利用儲存器中之備份BIOS程式對已損壞的主BIOS程式進行恢復。In the computer BIOS recovery method, the computer includes an SPI ROM chip, a memory and a display, and the SPI ROM chip stores a BIOS boot block and a main BIOS. The method comprises the steps of: locking the BIOS boot block on the SPI ROM chip during the normal operation of the computer for write protection; when the user presses the power button of the computer to power up, checking whether the main BIOS program on the SPI ROM chip is damaged. And when the main BIOS program on the SPI ROM chip is damaged, the anti-write protection of the BIOS boot block is unlocked, and the corrupted main BIOS is restored by using the backup BIOS program in the memory through the unlocked BIOS boot block. The program is restored.

相較於習知技術,本發明所述之電腦BIOS恢復系統及方法,透過鎖定電腦中SPI ROM晶片上的BIOS啟動塊進行防寫保護,當SPI ROM晶片上的主BIOS程式被損壞時,能夠對所述BIOS啟動塊的防寫保護進行解鎖,並利用該BIOS啟動塊來自動修復錯誤的主BIOS程式。Compared with the prior art, the computer BIOS recovery system and method of the present invention can protect against write protection by locking the BIOS boot block on the SPI ROM chip in the computer. When the main BIOS program on the SPI ROM chip is damaged, The anti-write protection of the BIOS boot block is unlocked, and the BIOS boot block is utilized to automatically repair the wrong main BIOS.

圖1係本發明電腦BIOS恢復系統較佳實施例之運行環境示意圖。1 is a schematic diagram of an operating environment of a preferred embodiment of a computer BIOS recovery system of the present invention.

圖2係本發明係本發明電腦BIOS恢復系統之功能模塊圖。2 is a functional block diagram of the computer BIOS recovery system of the present invention.

圖3係本發明係本發明電腦BIOS恢復方法較佳實施例之流程圖。3 is a flow chart of a preferred embodiment of a computer BIOS recovery method of the present invention.

參閱圖1所示,係本發明電腦BIOS恢復系統20較佳實施例之運行環境示意圖。於本實施例中,所述之BIOS恢復系統20安裝並運行於電腦100中,該電腦100包括,但不僅限於,中央處理器(CPU)1、SPI(Serial Peripheral Interface,串列通訊介面)ROM晶片2、儲存器3及顯示器4。所述之儲存器3與中央處理器1相連接,SPI ROM晶片2與中央處理器1相連接,及顯示器4與中央處理器1相連接。於本實施例中,所述之電腦100可以為一種個人電腦(PC)、工作站電腦(Workstation computer)、筆記本電腦(Notebook)、伺服器(Server)或者其他電子計算裝置。Referring to FIG. 1, a schematic diagram of an operating environment of a preferred embodiment of the computer BIOS recovery system 20 of the present invention is shown. In this embodiment, the BIOS recovery system 20 is installed and runs in the computer 100. The computer 100 includes, but is not limited to, a central processing unit (CPU) 1, a SPI (Serial Peripheral Interface) ROM. Wafer 2, memory 3 and display 4. The storage device 3 is connected to the central processing unit 1, the SPI ROM chip 2 is connected to the central processing unit 1, and the display 4 is connected to the central processing unit 1. In this embodiment, the computer 100 can be a personal computer (PC), a workstation computer, a notebook, a server, or other electronic computing device.

於本實施例中,所述之SPI ROM晶片2用於存儲BIOS恢復系統20、BIOS啟動塊(BIOS Boot Block)21及主BIOS程式(Main BIOS)22。所述之BIOS啟動塊21係為主BIOS程式22之部份程式指令,當使用者按下電腦100的開機按鈕上電時,該BIOS啟動塊21啟動主BIOS程式22對電腦100進行系統開機啟動。該主BIOS程式22用於在電腦100開機啟動時,對電腦100進行開機自檢(Power On Self Test,POST)作業並引導電腦100正常導入作業系統(OS)而完成整個開機過程。In the embodiment, the SPI ROM chip 2 is used to store a BIOS recovery system 20, a BIOS boot block 21, and a main BIOS (Main BIOS) 22. The BIOS boot block 21 is a partial program command of the main BIOS program 22. When the user presses the power button of the computer 100 to power up, the BIOS boot block 21 starts the main BIOS program 22 to start the system boot of the computer 100. . The main BIOS program 22 is used to perform a Power On Self Test (POST) operation on the computer 100 when the computer 100 is powered on, and guide the computer 100 to normally import the operating system (OS) to complete the entire boot process.

所述之儲存器3儲存有備份BIOS程式30,當SPI ROM晶片2上的主BIOS程式22被損壞時,利用該備份BIOS程式30來自動修復主BIOS程式22,進而使電腦100能夠正常完成開機啟動過程。於本實施例中,所述之儲存器3可以為記憶體(memory)、Flash儲存器(Flash ROM)、硬碟(Hard disk)、USB儲存器或其他外部磁碟等。The storage device 3 stores a backup BIOS program 30. When the main BIOS 22 on the SPI ROM chip 2 is damaged, the backup BIOS program 30 is used to automatically repair the main BIOS 22, thereby enabling the computer 100 to boot normally. Boot process. In this embodiment, the storage device 3 can be a memory, a flash ROM, a hard disk, a USB storage device, or other external disks.

於本實施例中,所述之BIOS恢復系統20儲存於SPI ROM晶片2中的記憶體(例如Flash ROM)中,用於透過鎖定SPI ROM晶片2上的BIOS啟動塊21進行防寫保護(Write Protect)。當SPI ROM晶片2上的主BIOS程式22被損壞時,該BIOS恢復系統20對SPI ROM晶片2上的BIOS啟動塊21進行解鎖,並利用儲存器3中的備份BIOS程式30來自動修復SPI ROM晶片2上損壞的主BIOS程式22,進而使電腦100正常地完成開機啟動過程。In this embodiment, the BIOS recovery system 20 is stored in a memory (such as a Flash ROM) in the SPI ROM chip 2 for protecting against write protection by locking the BIOS boot block 21 on the SPI ROM chip 2. Protect). When the main BIOS 22 on the SPI ROM chip 2 is damaged, the BIOS recovery system 20 unlocks the BIOS boot block 21 on the SPI ROM chip 2 and automatically repairs the SPI ROM using the backup BIOS program 30 in the memory 3. The damaged main BIOS 22 on the chip 2, in turn, causes the computer 100 to normally complete the boot process.

參閱圖2所示,係本發明電腦100之BIOS恢復系統20之功能模塊圖。於本實施例中,所述之BIOS恢復系統20包括BIOS鎖定模組201、BIOS檢測模組202、BIOS恢復模組203及BIOS啟動模組204。本發明所稱之功能模組是指一種能夠被電腦100之中央處理器1所執行並且能夠完成固定功能之一系列程式指令段,其儲存於SPI ROM晶片2中的記憶體(例如Flash ROM)中。於其他實施例中,該BIOS恢復系統20也可以儲存於電腦100之其他儲存系統中,例如電腦100之儲存器3中。關於各功能模組201-204將於圖3之流程圖中作描述。Referring to FIG. 2, it is a functional block diagram of the BIOS recovery system 20 of the computer 100 of the present invention. In this embodiment, the BIOS recovery system 20 includes a BIOS lock module 201, a BIOS detection module 202, a BIOS recovery module 203, and a BIOS startup module 204. The functional module referred to in the present invention refers to a series of program instruction segments that can be executed by the central processing unit 1 of the computer 100 and can perform fixed functions, and are stored in the memory of the SPI ROM chip 2 (for example, Flash ROM). in. In other embodiments, the BIOS recovery system 20 can also be stored in other storage systems of the computer 100, such as the storage 3 of the computer 100. The respective function modules 201-204 will be described in the flowchart of FIG.

參閱圖3所示,係本發明電腦BIOS恢復方法較佳實施例之流程圖。於本實施例中,該方法應用於電腦100中,能夠透過鎖定SPI ROM晶片2上的BIOS啟動塊21進行防寫保護,當SPI ROM晶片2上的主BIOS程式22被損壞時,該BIOS恢復系統20對SPI ROM晶片2上的BIOS啟動塊21進行解鎖,並利用儲存器3中的備份BIOS程式30來自動修復SPI ROM晶片2上損壞的主BIOS程式22,進而使電腦100正常地完成開機啟動過程。Referring to FIG. 3, it is a flow chart of a preferred embodiment of the computer BIOS recovery method of the present invention. In this embodiment, the method is applied to the computer 100 and can be protected from write protection by locking the BIOS boot block 21 on the SPI ROM chip 2. When the main BIOS 22 on the SPI ROM chip 2 is damaged, the BIOS is restored. The system 20 unlocks the BIOS boot block 21 on the SPI ROM chip 2, and uses the backup BIOS program 30 in the memory 3 to automatically repair the damaged main BIOS 22 on the SPI ROM chip 2, thereby enabling the computer 100 to boot normally. Boot process.

步驟S30,BIOS鎖定模組201鎖定SPI ROM晶片2上的BIOS啟動塊21進行防寫保護。於本實施例中,當電腦100正常運行過程中,SPI ROM晶片2上的BIOS啟動塊21一直被鎖定而進行防寫保護。In step S30, the BIOS lock module 201 locks the BIOS boot block 21 on the SPI ROM chip 2 for write protection. In this embodiment, during normal operation of the computer 100, the BIOS boot block 21 on the SPI ROM chip 2 is always locked for write protection.

步驟S31,當使用者按下電腦100的開機按鈕上電時,BIOS檢測模組202檢查SPI ROM晶片2上的主BIOS程式22的CRC值。於本實施例中,所述之CRC值是一種對主BIOS程式22的所有資料訊息進行資料校驗計算而得到的一組CRC校驗碼。In step S31, when the user presses the power button of the computer 100 to power up, the BIOS detection module 202 checks the CRC value of the main BIOS 22 on the SPI ROM chip 2. In this embodiment, the CRC value is a set of CRC check codes obtained by performing data check calculation on all data messages of the main BIOS program 22.

步驟S32,BIOS檢測模組202藉由判斷主BIOS程式22的CRC值是否發生變化來判斷主BIOS程式22是否被損毀。於本實施例中,BIOS檢測模組202將主BIOS程式22的當前CRC值是與原來的CRC值進行比對。若主BIOS程式22的當前CRC值是與原來的CRC值不一致,則說明主BIOS程式22已被損毀,則流程轉向步驟S33;若主BIOS程式22的當前CRC值是與原來的CRC值一致,則說明主BIOS程式22未被損毀,則流程結束。In step S32, the BIOS detection module 202 determines whether the main BIOS program 22 is damaged by determining whether the CRC value of the main BIOS program 22 has changed. In this embodiment, the BIOS detection module 202 compares the current CRC value of the main BIOS program 22 with the original CRC value. If the current CRC value of the main BIOS 22 is inconsistent with the original CRC value, the main BIOS 22 has been corrupted, the flow proceeds to step S33; if the current CRC value of the main BIOS 22 is consistent with the original CRC value, If the main BIOS 22 is not corrupted, the process ends.

步驟S33,BIOS檢測模組202在顯示器4上顯示正在恢復主BIOS程式22的提示訊息。In step S33, the BIOS detection module 202 displays a prompt message on the display 4 that the main BIOS program 22 is being restored.

步驟S34,BIOS恢復模組203檢查儲存器3中是否存在備份BIOS程式30。於本實施例中,所述儲存器3可以為外部儲存器,例如USB儲存器,也可以為內部儲存器,包括記憶體(memory)、Flash儲存器(Flash ROM)、硬碟(Hard disk)等。若儲存器3中存在備份BIOS程式,則執行步驟S35;若儲存器3中不存在備份BIOS程式,則執行步驟S39。In step S34, the BIOS recovery module 203 checks whether the backup BIOS program 30 exists in the storage 3. In this embodiment, the storage device 3 may be an external storage device, such as a USB storage device, or an internal storage device, including a memory, a flash memory, and a hard disk. Wait. If there is a backup BIOS program in the storage 3, step S35 is performed; if there is no backup BIOS program in the storage 3, step S39 is performed.

步驟S35,BIOS恢復模組203檢查所述備份BIOS程式是否有效。若所述備份BIOS程式有效,則執行步驟S35;若所述備份BIOS程式無效,則執行步驟S39。In step S35, the BIOS recovery module 203 checks whether the backup BIOS program is valid. If the backup BIOS program is valid, step S35 is performed; if the backup BIOS program is invalid, step S39 is performed.

步驟S36,BIOS恢復模組203對所述BIOS啟動塊21的防寫保護進行解鎖,並透過已解鎖的BIOS啟動塊21利用所述備份BIOS程式30對已損壞的主BIOS程式22進行恢復。In step S36, the BIOS recovery module 203 unlocks the anti-write protection of the BIOS boot block 21, and restores the damaged main BIOS 22 by the backup BIOS program 30 through the unlocked BIOS boot block 21.

步驟S37,BIOS鎖定模組201重新鎖定SPI ROM晶片2中的BIOS啟動塊21進行防寫保護。In step S37, the BIOS lock module 201 relocks the BIOS boot block 21 in the SPI ROM chip 2 for write protection.

步驟S38,BIOS啟動模組204啟動主BIOS程式22對電腦100進行開機自檢作業(POST),並導入作業系統(OS)完成電腦100的開機啟動過程。In step S38, the BIOS startup module 204 starts the main BIOS program 22 to perform a power-on self-test (POST) on the computer 100, and imports the operating system (OS) to complete the booting process of the computer 100.

步驟S39,BIOS啟動模組204在顯示器4上顯示主BIOS程式22已損壞並無法正常啟動電腦100的錯誤訊息。In step S39, the BIOS startup module 204 displays on the display 4 an error message that the main BIOS 22 is corrupted and the computer 100 cannot be started normally.

以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等轉換或修飾,均應包含於下述之申請專利範圍內。The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent conversion or modification that is not in the spirit of the present invention should be included in the following patent application. Within the scope.

100‧‧‧電腦100‧‧‧ computer

1‧‧‧中央處理器1‧‧‧Central Processing Unit

2‧‧‧SPI ROM晶片2‧‧‧SPI ROM chip

20‧‧‧BIOS恢復系統20‧‧‧BIOS Recovery System

201‧‧‧BIOS鎖定模組201‧‧‧BIOS lock module

202‧‧‧BIOS檢測模組202‧‧‧BIOS detection module

203‧‧‧BIOS恢復模組203‧‧‧BIOS Recovery Module

204‧‧‧BIOS啟動模組204‧‧‧BIOS boot module

21‧‧‧BIOS啟動塊21‧‧‧BIOS boot block

22‧‧‧主BIOS程式22‧‧‧Main BIOS

3‧‧‧儲存器3‧‧‧Storage

30‧‧‧備份BIOS程式30‧‧‧Backup BIOS program

4‧‧‧顯示器4‧‧‧ display

no

100‧‧‧電腦 100‧‧‧ computer

1‧‧‧中央處理器 1‧‧‧Central Processing Unit

2‧‧‧SPI ROM晶片 2‧‧‧SPI ROM chip

20‧‧‧BIOS恢復系統 20‧‧‧BIOS Recovery System

21‧‧‧BIOS啟動塊 21‧‧‧BIOS boot block

22‧‧‧主BIOS程式 22‧‧‧Main BIOS

3‧‧‧儲存器 3‧‧‧Storage

30‧‧‧備份BIOS程式 30‧‧‧Backup BIOS program

4‧‧‧顯示器 4‧‧‧ display

Claims (10)

一種電腦BIOS恢復系統,該電腦包括SPI ROM晶片、儲存器及顯示器,該SPI ROM晶片儲存有BIOS啟動塊及主BIOS程式,其中,該電腦BIOS恢復系統包括:
BIOS鎖定模組,用於在電腦正常運行過程中,鎖定SPI ROM晶片上的BIOS啟動塊進行防寫保護;
BIOS檢測模組,用於當使用者按下電腦的開機按鈕上電時,檢查SPI ROM晶片上的主BIOS程式是否被損毀;及
BIOS恢復模組,用於當SPI ROM晶片上的主BIOS程式被損毀時,對所述BIOS啟動塊的防寫保護進行解鎖,並透過已解鎖的BIOS啟動塊利用儲存器中之備份BIOS程式對已損壞的主BIOS程式進行恢復。
A computer BIOS recovery system includes an SPI ROM chip, a memory and a display. The SPI ROM chip stores a BIOS boot block and a main BIOS program. The computer BIOS recovery system includes:
The BIOS lock module is used to lock the BIOS boot block on the SPI ROM chip for write protection during normal operation of the computer;
The BIOS detection module is configured to check whether the main BIOS program on the SPI ROM chip is damaged when the user presses the power button of the computer to power up;
The BIOS recovery module is configured to unlock the anti-write protection of the BIOS boot block when the main BIOS program on the SPI ROM chip is damaged, and use the backup BIOS program in the memory through the unlocked BIOS boot block. The damaged main BIOS is restored.
如申請專利範圍第1項所述之電腦BIOS恢復系統,該系統還包括BIOS啟動模組,用於當所述主BIOS程式未被損毀或損毀之主BIOS程式已恢復時,啟動主BIOS程式對電腦進行開機自檢作業,並導入作業系統完成電腦的開機啟動過程。The computer BIOS recovery system of claim 1, wherein the system further includes a BIOS startup module, configured to start a main BIOS pair when the main BIOS of the main BIOS is not damaged or damaged. The computer performs a power-on self-test and imports the operating system to complete the boot process of the computer. 如申請專利範圍第2項所述之電腦BIOS恢復系統,其中,所述之BIOS啟動模組還用於當無法恢復損毀之主BIOS程式時,在顯示器上顯示主BIOS程式已損壞並無法正常啟動電腦的錯誤訊息。The computer BIOS recovery system of claim 2, wherein the BIOS startup module is further configured to display that the main BIOS is corrupted and cannot be started normally when the damaged BIOS module cannot be restored. Computer error message. 如申請專利範圍第1項所述之電腦BIOS恢復系統,其中,所述之檢查SPI ROM晶片上的主BIOS程式是否被損毀係藉由檢查主BIOS程式的CRC值是否發生變化來實現。The computer BIOS recovery system of claim 1, wherein the checking whether the main BIOS program on the SPI ROM chip is damaged is performed by checking whether the CRC value of the main BIOS program changes. 如申請專利範圍第1項所述之電腦BIOS恢復系統,其中,所述之BIOS恢復模組還用於檢查所述儲存器中是否存在備份BIOS程式,及檢查該備份BIOS程式是否有效。The computer BIOS recovery system of claim 1, wherein the BIOS recovery module is further configured to check whether a backup BIOS program exists in the storage device, and check whether the backup BIOS program is valid. 一種電腦BIOS恢復方法,該電腦包括SPI ROM晶片、儲存器及顯示器,該SPI ROM晶片儲存有BIOS啟動塊及主BIOS程式,其中,該方法包括步驟:
於電腦運行過程中,鎖定SPI ROM晶片上的BIOS啟動塊進行防寫保護;
當使用者按下電腦的開機按鈕上電時,檢查SPI ROM晶片上的主BIOS程式是否被損毀;及
當SPI ROM晶片上的主BIOS程式被損毀時,對所述BIOS啟動塊的防寫保護進行解鎖,並透過已解鎖的BIOS啟動塊利用儲存器中之備份BIOS程式對已損壞的主BIOS程式進行恢復。
A computer BIOS recovery method includes a SPI ROM chip, a memory and a display. The SPI ROM chip stores a BIOS boot block and a main BIOS. The method includes the following steps:
During the running of the computer, the BIOS boot block on the SPI ROM chip is locked for write protection;
When the user presses the power button of the computer to power on, it checks whether the main BIOS program on the SPI ROM chip is damaged; and when the main BIOS program on the SPI ROM chip is damaged, the BIOS boot block is protected against write protection. Unlock and recover the corrupted main BIOS using the backup BIOS in the memory via the unlocked BIOS boot block.
如申請專利範圍第6項所述之電腦BIOS恢復方法,該方法還包括步驟:
於當所述主BIOS程式未被損毀或損毀之主BIOS程式已恢復時,啟動主BIOS程式對電腦進行開機自檢作業,並導入作業系統完成電腦的開機啟動過程。
The method for recovering a computer BIOS according to claim 6, wherein the method further comprises the steps of:
When the main BIOS program of the main BIOS program has not been damaged or damaged, the main BIOS program is started to perform a power-on self-test operation on the computer, and the operating system is imported to complete the booting process of the computer.
如申請專利範圍第6項所述之電腦BIOS恢復方法,該方法還包括步驟:
當無法恢復損毀之主BIOS程式時,在顯示器上顯示主BIOS程式已損壞並無法正常啟動電腦的錯誤訊息。
The method for recovering a computer BIOS according to claim 6, wherein the method further comprises the steps of:
When the damaged BIOS module cannot be restored, the error message that the main BIOS is corrupted and the computer cannot be started properly is displayed on the display.
如申請專利範圍第6項所述之電腦BIOS恢復方法,其中,所述之檢查SPI ROM晶片上的主BIOS程式是否被損毀係藉由檢查主BIOS程式的CRC值是否發生變化來實現。The computer BIOS recovery method according to claim 6, wherein the checking whether the main BIOS program on the SPI ROM chip is damaged is performed by checking whether the CRC value of the main BIOS program changes. 如申請專利範圍第6項所述之電腦BIOS恢復方法,其中,所述之BIOS恢復模組還用於檢查所述儲存器中是否存在備份BIOS程式,及檢查該備份BIOS程式是否有效。
The computer BIOS recovery method of claim 6, wherein the BIOS recovery module is further configured to check whether a backup BIOS program exists in the storage device, and check whether the backup BIOS program is valid.
TW102138338A 2013-10-23 2013-10-23 System and method for recovering BIOS of a computer TW201516654A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102138338A TW201516654A (en) 2013-10-23 2013-10-23 System and method for recovering BIOS of a computer
US14/073,916 US20150113321A1 (en) 2013-10-23 2013-11-07 Computer system and method for recovering bios of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102138338A TW201516654A (en) 2013-10-23 2013-10-23 System and method for recovering BIOS of a computer

Publications (1)

Publication Number Publication Date
TW201516654A true TW201516654A (en) 2015-05-01

Family

ID=52827275

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102138338A TW201516654A (en) 2013-10-23 2013-10-23 System and method for recovering BIOS of a computer

Country Status (2)

Country Link
US (1) US20150113321A1 (en)
TW (1) TW201516654A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201512831A (en) * 2013-09-30 2015-04-01 Hon Hai Prec Ind Co Ltd Computer booting system and method of a computer
US9594910B2 (en) 2014-03-28 2017-03-14 Intel Corporation In-system provisioning of firmware for a hardware platform
CN106648632A (en) * 2016-12-02 2017-05-10 英业达科技有限公司 Computer system
CN108108198B (en) * 2017-12-15 2021-05-18 联想(北京)有限公司 Method and system for computer system
CN109933374B (en) * 2019-01-23 2021-10-22 西安微电子技术研究所 Computer starting method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7069431B2 (en) * 2001-07-31 2006-06-27 Lenovo ( Singapore) Pte Ltd. Recovery of a BIOS image
TWI251771B (en) * 2001-12-28 2006-03-21 Asustek Comp Inc Module and method for automatic restoring BIOS device, and the computer-readable recording media of storing the program codes thereof
TW201030518A (en) * 2009-02-11 2010-08-16 Inventec Corp BIOS, computer device and BIOS recovery
TWI399647B (en) * 2009-10-15 2013-06-21 Wistron Corp Method for recovering bios in computer system and computer system thereof

Also Published As

Publication number Publication date
US20150113321A1 (en) 2015-04-23

Similar Documents

Publication Publication Date Title
US11520894B2 (en) Verifying controller code
US9785596B2 (en) Redundant system boot code in a secondary non-volatile memory
US9880908B2 (en) Recovering from compromised system boot code
TWI522838B (en) Configuring a system
US9703635B2 (en) Method, computer program, and computer for restoring set of variables
US9990255B2 (en) Repairing compromised system data in a non-volatile memory
TW201520895A (en) System and method for automatically recovering BIOS of a computer
US11163886B2 (en) Information handling system firmware bit error detection and correction
TW201512831A (en) Computer booting system and method of a computer
US8819330B1 (en) System and method for updating a locally stored recovery image
TW201516654A (en) System and method for recovering BIOS of a computer
CN104850792A (en) Establishment method and apparatus of trust chain of server
US11599426B2 (en) Recovery via backups of recovery information
CN104598256A (en) Computer BIOS (Basic Input /Output System) recovery system and method
CN110096882B (en) Safety measurement method in equipment operation process
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
JP5561791B2 (en) Information processing apparatus, information processing method, and information processing program
TW201349114A (en) Firmware management method and system for embedded controller
CN113051577A (en) Processing method and electronic equipment