[go: up one dir, main page]

CN1184568C - Device and method for protecting BIOS data of notebook computer - Google Patents

Device and method for protecting BIOS data of notebook computer Download PDF

Info

Publication number
CN1184568C
CN1184568C CNB011311959A CN01131195A CN1184568C CN 1184568 C CN1184568 C CN 1184568C CN B011311959 A CNB011311959 A CN B011311959A CN 01131195 A CN01131195 A CN 01131195A CN 1184568 C CN1184568 C CN 1184568C
Authority
CN
China
Prior art keywords
bios
data
microcontroller
bios data
computer
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.)
Expired - Fee Related
Application number
CNB011311959A
Other languages
Chinese (zh)
Other versions
CN1403925A (en
Inventor
张朝煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CNB011311959A priority Critical patent/CN1184568C/en
Publication of CN1403925A publication Critical patent/CN1403925A/en
Application granted granted Critical
Publication of CN1184568C publication Critical patent/CN1184568C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明为一种保护笔记型电脑的BIOS启动程序区数据的装置及方法,可以避免电脑系统的BIOS启动程序区数据受损而导致无法开机的问题发生;本发明的方法包括提供一内含有一BIOS监控程序的微控制器,用以执行BIOS启动程序区数据的备份,与修复BIOS的数据的操作,在BIOS启动程序区数据受损或是数据更新失败时,搭配一个由使用者手动操作的修复开关,而于下次重新启动电脑之后,在微控制器的BIOS监控程序的运作下完成BIOS启动程序区数据的修复。

Figure 01131195

The present invention is a device and method for protecting the BIOS boot program area data of a notebook computer, which can avoid the problem of being unable to boot up due to damage to the BIOS boot program area data of the computer system; the method of the present invention includes providing a microcontroller containing a BIOS monitoring program to perform the backup of the BIOS boot program area data and the operation of repairing the BIOS data; when the BIOS boot program area data is damaged or the data update fails, a repair switch manually operated by the user is used, and after the computer is restarted next time, the BIOS boot program area data is repaired under the operation of the BIOS monitoring program of the microcontroller.

Figure 01131195

Description

保护笔记型电脑的BIOS数据的装置及方法Device and method for protecting BIOS data of notebook computer

技术领域technical field

本发明是有关一种保护BIOS启动程序区数据的装置及方法,特别是一种应用于笔记型电脑,通过在第一次启动电脑系统的前,利用一微控制器备份电脑系统的BIOS启动程序区数据的手段,避免电脑系统的BIOS启动程序区数据受损而导致无法开机的问题发生。The present invention relates to a device and method for protecting the data in the BIOS startup program area, in particular to a notebook computer, which uses a micro-controller to back up the BIOS startup program of the computer system before starting the computer system for the first time. The data in the area can be used to avoid the problem that the data in the BIOS boot program area of the computer system is damaged and cannot be turned on.

背景技术Background technique

BIOS(Basic Input Output System,基本输入输出系统),它是放于只读存储器(ROM)上面的一段程序,上面包含了许多电脑输入输出的基本子程序,以及电脑电源开启之后,系统的测试工作,并且读取CMOS当中的数据(如硬盘大小、是否有光盘机、系统时间、是否使用Shadow RAM等信息)。早期的BIOS有64KB的空间,目前由于flash BIOS的流行,使得BIOS可以使用软件来升级,现在已经有1MB、2MB的BIOS出现,但是当BIOS的容量达到8Mb或者以上的时侯,存储器芯片通常采用薄小外型封装(Thin Small Outtine Package;TSOP)技术制造,TSOP封装的芯片大部份是直接黏着在印刷电路板的表面,虽然也有厂商提供此种芯片的芯片插座(Socket),但是其成本将会非常的昂贵。BIOS (Basic Input Output System, Basic Input Output System), it is a program placed on the read-only memory (ROM), which contains many basic subroutines for computer input and output, and after the computer power is turned on, the system test work , and read the data in the CMOS (such as the size of the hard disk, whether there is a CD-ROM, the system time, whether to use Shadow RAM, etc.). The early BIOS had a space of 64KB. At present, due to the popularity of flash BIOS, the BIOS can be upgraded by software. Now there are 1MB and 2MB BIOSes, but when the capacity of the BIOS reaches 8Mb or above, the memory chip usually uses Manufactured by Thin Small Outtine Package (TSOP) technology, most of the chips in TSOP package are directly adhered to the surface of the printed circuit board, although some manufacturers provide chip sockets (Socket) for such chips, but the cost Will be very expensive.

一般可供软件升级的BIOS都有在升级之前提供备份原始程序的能力,例如将BIOS备份至一紧急修复磁盘片,但是此紧急修复磁盘片只备份一般程序区(mail blocks),而不备份启动程序区(boot blocks)。另外还有一种已知的BIOS保护技术,例如国内的技嘉科技则提出了一种双BIOS(Dual BIOS)的技术,此种技术主要是在主板设计两颗BIOS,分为主BIOS(Main BIOS)及备份BIOS(Backup BIOS),其功能是在第一颗BIOS的数据遗失或是毁损时,系统会自动启用第二颗BIOS继续完成开机的动作,并且修复第一颗BIOS的数据。这种方法目前仅使用于一般桌上型个人电脑(Desktop PC)的主板,而未见使用于笔记型电脑,因其成本相较于桌上型个人电脑将会高出许多。Generally, the BIOS that can be upgraded by software has the ability to back up the original program before the upgrade, such as backing up the BIOS to an emergency repair disk, but this emergency repair disk only backs up the general program area (mail blocks), not the boot Program area (boot blocks). In addition, there is also a known BIOS protection technology. For example, Gigabyte Technology in China has proposed a dual BIOS (Dual BIOS) technology. This technology is mainly to design two BIOS on the motherboard, which is divided into main BIOS (Main BIOS). And backup BIOS (Backup BIOS), its function is that when the data of the first BIOS is lost or damaged, the system will automatically enable the second BIOS to continue the booting action and restore the data of the first BIOS. This method is currently only used in motherboards of general desktop PCs (Desktop PCs), but has not been used in notebook computers, because its cost will be much higher than that of desktop PCs.

发明内容Contents of the invention

本发明的主要目的就是要提供一种用以保护笔记型电脑的BIOS启动程序区数据的方法,并且不会增加太多的成本。The main purpose of the present invention is to provide a method for protecting the data in the BIOS boot program area of a notebook computer without increasing too much cost.

本发明的方法是通过提供一种内含有一BIOS监控程序的微控制器(micro-controller,μC),用以执行BIOS的启动程序区数据(boot block)的备份,与修复BIOS启动程序区的数据的操作;而且本发明所提出的微控制器主要是通过总线对System ROM进行BIOS数据的备份与修复操作。The method of the present invention is by providing a kind of micro-controller (micro-controller, μ C) that contains a BIOS monitoring program, in order to carry out the backup of the boot block of BIOS, and repair the BIOS boot block. The operation of data; And the microcontroller that the present invention proposes mainly carries out the backup and repair operation of BIOS data to System ROM by bus.

本案的特征还包括了在微控制器的只读存储器之中分割出一部分空间作为BIOS启动程序区数据的备份位置,并且由内建于控制器的程序码之中的一段BIOS监控程序,负责监控BIOS的开机程序是否成功,除了执行BIOS启动程序区的数据的备份之外,更在BIOS的启动程序区数据遗失或是毁损时执行修复的操作。由于是利用微控制器的只读存储器作为备份数据的位置,因此不会增加太多的成本。The characteristics of this case also include dividing a part of the space in the read-only memory of the microcontroller as a backup location for the data in the BIOS boot program area, and a section of BIOS monitoring program built in the program code of the controller is responsible for monitoring Whether the boot process of the BIOS is successful, in addition to performing the backup of the data in the boot program area of the BIOS, it is also necessary to perform a repair operation when the data in the boot program area of the BIOS is lost or damaged. Since the microcontroller's ROM is used as a backup data location, it does not add much cost.

本发明提供一种保护笔记型电脑的BIOS数据的装置,用以保护储存于系统ROM之中的系统BIOS数据,其包括有:The present invention provides a device for protecting the BIOS data of a notebook computer, used to protect the system BIOS data stored in the system ROM, which includes:

一微控制器,包含有一只读存储器,一随机存取存储器,以及一储存于该只读存储器之中的BIOS监控程序,该微控制器用以执行包括有电脑系统的BIOS数据的备份操作,和在BIOS数据遗失、毁损、开机程序失败或数据更新失败之后,通过将备份的数据回存至系统ROM完成BIOS数据的修复操作;A microcontroller, including a read-only memory, a random access memory, and a BIOS monitoring program stored in the read-only memory, the microcontroller is used to perform a backup operation including BIOS data of a computer system, and After the BIOS data is lost, damaged, the boot process fails, or the data update fails, the BIOS data repair operation is completed by restoring the backup data to the system ROM;

一总线切换器,是由该微控制器控制,用以控制进行系统ROM的总线与该微控制器的只读存储器之间的数据传输路径切换;以及A bus switcher, controlled by the microcontroller, is used to control the switching of the data transmission path between the bus of the system ROM and the read-only memory of the microcontroller; and

一修复开关,常态设于一无效的位置,可由使用者以手动方式切换至一使能位置,用以在电脑系统重新开机之初启动该微控制器通过将备份的数据回存至系统ROM进行BIOS数据的修复操作。A recovery switch, normally set in an invalid position, can be manually switched by the user to an enabled position, used to start the microcontroller at the beginning of the computer system restart by restoring the backup data to the system ROM Repair operation of BIOS data.

所述该微控制器可通过一I2C总线对该微控制器的只读存储器和系统ROM进行BIOS数据的备份与修复操作。The microcontroller can perform backup and repair operations of BIOS data on the read-only memory and system ROM of the microcontroller through an I2C bus.

所述该修复开关在进行BIOS的数据备份时,可设于一无效位置,该微控制器则通过该总线切换器,使得系统ROM的总线与该微控制器的只读存储器连接,并且对该微控制器的只读存储器进行写入的操作,将系统ROM之中的BIOS数据备份至该微控制器的只读存储器之中。Said this recovery switch can be set at an invalid position when carrying out the data backup of BIOS, and this micro-controller then makes the bus line of system ROM be connected with the read-only memory of this micro-controller through this bus switcher, and to this The read-only memory of the microcontroller performs a writing operation, and the BIOS data in the system ROM is backed up to the read-only memory of the microcontroller.

所述该修复开关在开始进行BIOS的数据修复操作之前,该修复开关可移至该使能位置,该微控制器则通过该总线切换器,使得系统ROM的总线与该微控制器的只读存储器连接,再对系统ROM进行系统BIOS的写入操作,将备份在该微控制器的只读存储器之中的BIOS数据重新回存至系统ROM,完成BIOS数据的修复。Before the repair switch starts to perform the data repair operation of the BIOS, the repair switch can be moved to the enabling position, and the microcontroller makes the bus of the system ROM and the read-only system of the microcontroller pass through the bus switcher. The memory is connected, and then the system BIOS is written into the system ROM, and the BIOS data backed up in the read-only memory of the microcontroller is restored to the system ROM to complete the recovery of the BIOS data.

本发明提供一种保护笔记型电脑的BIOS数据的方法,其提供一内含有BIOS监控程序的微控制器,并且依据下述的步骤,对储存于系统ROM之中的BIOS的数据进行备份与修复操作,该步骤包括有:The present invention provides a method for protecting the BIOS data of a notebook computer. It provides a microcontroller containing a BIOS monitoring program, and according to the following steps, the BIOS data stored in the system ROM is backed up and restored. operation, the steps include:

(1)、备份BIOS的数据的步骤,在第一次启动电脑系统之初,将系统BIOS的数据备份至该微控制器的一只读存储器;以及(1), the step of backing up the data of BIOS, at the beginning of starting computer system for the first time, the data of system BIOS is backed up to the read-only memory of this microcontroller; And

(2)、修复BIOS的数据的步骤,用以在BIOS的开机程序失败时,由该微控制器发出一警告信息,提示使用者将一修复开关设置至一使能位置,然后在重新启动电脑系统时,启动该微控制器的BIOS修复程序,用以将备份在其只读存储器中的BIOS数据回存至系统ROM之中。(2), the step of repairing the data of BIOS is used for when the startup program of BIOS fails, a warning message is sent by the microcontroller, prompting the user to set a repair switch to an enabled position, and then restart the computer When the system is activated, the BIOS repair program of the microcontroller is started to restore the BIOS data backed up in its read-only memory to the system ROM.

所述该微控制器可通过一I2C总线对该微控制器的只读存储器和系统ROM进行BIOS数据的备份与修复操作。The microcontroller can perform backup and repair operations of BIOS data on the read-only memory and system ROM of the microcontroller through an I2C bus.

所述保护笔记型电脑的BIOS数据的方法,其还可包括有一更新BIOS数据的步骤,主要是在开始更新BIOS数据之初,将旧版的BIOS数据备份至该微控制器的只读存储器,再将新版的BIOS数据写入系统ROM,若是写入失败则执行前述修复BIOS的数据的步骤。The method for protecting the BIOS data of a notebook computer can also include a step of updating the BIOS data, mainly at the beginning of starting to update the BIOS data, backing up the old version of the BIOS data to the read-only memory of the microcontroller, and then Write the new version of the BIOS data into the system ROM. If the writing fails, perform the aforementioned steps to restore the BIOS data.

所述保护笔记型电脑的BIOS数据的方法,其还可包括有一更新BIOS数据的步骤,其包括有:The method for the BIOS data of described protection notebook computer, it also can comprise a step of updating BIOS data, and it comprises:

(1)、首先进入BIOS的设定画面,等待使用者更新BIOS的数据的请求;(1), first enter the BIOS setting screen, and wait for the user to update the BIOS data request;

(2)、在确认使用者已经启动更新BIOS数据的程序之后,将原先储存于系统ROM之内的旧版BIOS数据备份至该微控器的只读存储器之内,否则跳至步骤(9);(2), after confirming that the user has started the program for updating the BIOS data, back up the old version BIOS data originally stored in the system ROM to the read-only memory of the microcontroller, otherwise skip to step (9);

(3)、若是旧版的BIOS数据备份成功则将新版的BIOS数据写入系统ROM之内,反之则重复旧版BIOS数据的备份,若是累计三次的备份均失败,则结束BIOS数据的更新操作;(3), if the old version of the BIOS data backup is successful, then write the new version of the BIOS data in the system ROM, otherwise, repeat the backup of the old version of the BIOS data, if the cumulative three backups all fail, then end the update operation of the BIOS data;

(4)、若是新版的BIOS数据成功地被写入系统ROM,则跳至步骤(9),否则继续执行下一步骤;(4), if the new version of BIOS data is successfully written into the system ROM, then skip to step (9), otherwise continue to perform the next step;

(5)、由该微控制器发出一警告信息,提示使用者先将电脑的电源切断,接着将该修复开关切换至一使能位置,然后重新开启电脑的电源;(5), a warning message is sent by the micro-controller, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an enabled position, and then turn on the power supply of the computer again;

(6)、将备份的旧版BIOS数据回存入系统ROM之内;(6) Store the old BIOS data backed up into the system ROM;

(7)、由该微控制器发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将该修复开关切换至一无效的位置,再重新开启电脑的电源;(7), by this micro-controller, send the message of a successful return storage to the user, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an invalid position, and then turn on the power supply of the computer again;

(8)、等待使用者重新进入该步骤(1)的BIOS设定画面,否则便在BIOS自我检查完毕之后进入正常的开机操作,并且结束更新BIOS的数据的步骤;(8), wait for the user to re-enter the BIOS setting screen of the step (1), otherwise just enter the normal boot operation after the BIOS self-check is completed, and end the step of updating the data of the BIOS;

(9)、更新BIOS数据的主要启动程序区,若是更新成功则结束更新BIOS的数据步骤,否则继续下一步骤;(9), update the main boot program area of the BIOS data, if the update is successful then end the data step of updating the BIOS, otherwise continue to the next step;

(10)、由该微控制器发出一警告信息,提示使用者先将电脑的电源切断,接着将该修复开关切换至一使能位置,然后重新开启电脑的电源;(10), a warning message is sent by the microcontroller, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an enabling position, and then turn on the power supply of the computer again;

(11)、将储存于一紧急修复磁盘的主要启动程序区回存入系统ROM之内;以及(11), storing the main startup program area stored in an emergency repair disk into the system ROM; and

(12)、由该微控制器发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将该修复开关切换至一无效的位置,再重新开启电脑的电源,然后跳至该步骤(8)。(12), by this micro-controller, send the information of a return storage success to the user, remind the user to cut off the power supply of the computer first, then switch the repair switch to an invalid position, then turn on the power supply of the computer again, and then Skip to that step (8).

附图说明Description of drawings

图1,是为本发明的系统方块图。Fig. 1 is a system block diagram of the present invention.

图2,是为本发明的主要步骤流程图,显示对系统BIOS的数据(BootBlock)进行备份与修复操作的步骤。FIG. 2 is a flow chart of the main steps of the present invention, showing the steps of backing up and restoring the data (BootBlock) of the system BIOS.

图3,是为本发明的局部流程图,显示更新BIOS的启动程序区的步骤。FIG. 3 is a partial flowchart of the present invention, showing the steps of updating the boot program area of the BIOS.

图4,是为本发明的局部流程图,显示更新BIOS的启动程序区的详细步骤。FIG. 4 is a partial flow chart of the present invention, showing detailed steps for updating the boot program area of the BIOS.

图5A,是为本发明的系统方块,显示在进行BIOS的数据备份时,修复开关与总线切换器的位置。FIG. 5A is a system block of the present invention, showing the positions of the repair switch and the bus switch when performing BIOS data backup.

图5B,是为本发明的系统方块,显示在进行BIOS的数据修复时,修复开关与总线切换器的位置。FIG. 5B is a system block of the present invention, showing the positions of the repair switch and the bus switch when the BIOS data is repaired.

具体实施方式Detailed ways

首先请参阅图1,本发明所设计的装置包括有:At first please refer to Fig. 1, the designed device of the present invention comprises:

一微控制器10,包含有一只读存储器(Flash ROM)11,一随机存取存储器(RAM)12,以及一储存于只读存储器11之中的BIOS监控程序13,此一微控制器10是通过一种I2C(Inter-Integrated Circuit)总线控制电脑系统的BIOS数据的备份操作,以及在BIOS数据遗失、毁损、开机程序失败或数据更新失败之后,协助使用者执行BIOS数据的修复操作;A microcontroller 10 includes a read-only memory (Flash ROM) 11, a random access memory (RAM) 12, and a BIOS monitoring program 13 stored in the read-only memory 11. This microcontroller 10 is Control the backup operation of the BIOS data of the computer system through an I2C (Inter-Integrated Circuit) bus, and assist the user to perform the repair operation of the BIOS data after the BIOS data is lost, damaged, the boot process fails, or the data update fails;

一总线切换器14,是由微控制器10控制,用以切换System ROM 30的总线的数据传输路径;A bus switcher 14 is controlled by microcontroller 10 to switch the data transmission path of the bus of System ROM 30;

一修复开关20,是由使用者以手动方式操作,用以在电脑系统重新开机之初启动微控制器10进行BIOS数据(即为启动程序区(Boot Block)的数据)的修复操作。A repair switch 20 is manually operated by the user to start the microcontroller 10 to repair the BIOS data (that is, the data in the Boot Block) when the computer system is restarted.

在正常的情形之下,也就是不进行BIOS数据的修复的情形下,修复开关20是设置在一无效(disable)的位置(如图1),而储存有系统BIOS数据的ROM(以下简称为System ROM)30也将通过一总线切换器14与电脑主系统40的总线连接,用以进行正常的开机操作。Under normal circumstances, that is, under the situation of not repairing the BIOS data, the repair switch 20 is set at an invalid (disable) position (as shown in Figure 1), and the ROM (hereinafter referred to as the System ROM) 30 will also be connected with the bus of computer main system 40 by a bus switcher 14, in order to carry out normal startup operation.

在进行BIOS的数据备份时,修复开关20仍然维持在无效(disable)的位置,此时微控制器10将会启动总线切换器14,使得System ROM 30的总线与微控制器10的只读存储器11连接(如图5A),并且对微控制器10的只读存储器11进行写入的操作,将System ROM 30之中的BIOS数据备份至微控制器10的只读存储器11之中;When carrying out the data backup of BIOS, repair switch 20 still maintains in the invalid (disable) position, and now microcontroller 10 will start bus switcher 14, makes the bus of System ROM 30 and the read-only memory of microcontroller 10 11 is connected (as Fig. 5A), and the read-only memory 11 of microcontroller 10 is written into, the BIOS data among the System ROM 30 is backed up among the read-only memory 11 of microcontroller 10;

反之,在开始进行BIOS的数据修复操作之前,修复开关20将由使用者以手动操作的方式移至一使能(enable)位置(如图5B),此时微控制器20将会切换总线切换器14的数据传输方向,使得System ROM 30的总线与微控制器1O的只读存储器11连接,再对System ROM 30进行系统的BIOS数据的写入操作,将备份在微控制器10的只读存储器11之中的BIOS数据重新回存至System ROM 30,而完成BIOS数据的修复。On the contrary, before starting the data recovery operation of BIOS, the recovery switch 20 will be manually operated by the user to move to an enable (enable) position (as shown in FIG. 5B ), and at this time, the microcontroller 20 will switch the bus switch The data transmission direction of 14 makes the bus of System ROM 30 be connected with the read-only memory 11 of microcontroller 10, and then System ROM 30 is carried out the writing operation of the BIOS data of system, will be backed up in the read-only memory of microcontroller 10 The BIOS data in 11 is restored to the System ROM 30 again, and the repair of the BIOS data is completed.

而本发明的主要方法,就是提供一内含有BIOS监控程序的微控制器10,并且依据下述的步骤,对系统BIOS的数据进行备份与修复操作。如图2所示,这些步骤包括有:The main method of the present invention is to provide a microcontroller 10 containing a BIOS monitoring program, and perform backup and repair operations on system BIOS data according to the following steps. As shown in Figure 2, these steps include:

1、备份BIOS数据的步骤,是在第一次启动电脑系统之初,自动地将系统BIOS之中的BIOS数据备份至微控制器10的只读存储器11(是由微控制器10切换数据总线的数据传输路径,并且对微控制器10的ROM 11进行写入的操作);以及1. The step of backing up the BIOS data is to automatically back up the BIOS data in the system BIOS to the read-only memory 11 of the microcontroller 10 at the beginning of starting the computer system for the first time (switching the data bus by the microcontroller 10 data transmission path, and the operation of writing into the ROM 11 of the microcontroller 10); and

2、修复BIOS数据的步骤,用以在BIOS的开机程序失败时,由微控制器10发出一警告信息,提示使用者将修复开关20设置至一使能(enable)位置,然后在下一次重新启动电脑系统时,启动微控制器10的BIOS修复程序,用以将备份在其只读存储器11中的BIOS数据回存至System ROM 30之中。2. The step of repairing the BIOS data is used to send a warning message by the micro-controller 10 to remind the user to set the repair switch 20 to an enabling (enable) position when the booting procedure of the BIOS fails, and then restart the device next time During the computer system, start the BIOS repair program of the microcontroller 10, in order to return the BIOS data backed up in its read-only memory 11 to the System ROM 30.

基本上,前述备份BIOS数据的步骤,其较佳的实施例是电脑系统制造厂商在电脑出厂之前,就先进行了一次系统的BIOS数据的备份,这样可以确保电脑在运送的过程中,即使造成了BIOS的数据的损害,消费者仍然可以依据使用手册中的修复操作指示,自行将备份的BIOS数据回存至System ROM 30之中,以便正常地启动电脑使用。Basically, the preferred embodiment of the aforementioned step of backing up BIOS data is that the computer system manufacturer backs up the BIOS data of the system once before the computer leaves the factory, so as to ensure that the computer is in the process of transportation. If the BIOS data is damaged, the consumer can still restore the backup BIOS data to the System ROM 30 according to the repair operation instructions in the user manual, so as to start the computer normally.

继续请参阅图3,本发明所揭露的方法更包括有一更新BIOS的数据的步骤,用以在开始执行BIOS更新程序之初,将旧版的BIOS数据备份至微控制器10的只读存储器11,再将新版的BIOS数据写入System ROM30,若是写入失败则执行前述修复BIOS的数据的步骤。Please continue referring to FIG. 3 , the method disclosed in the present invention further includes a step of updating BIOS data, which is used to back up the old version of BIOS data to the read-only memory 11 of the microcontroller 10 at the beginning of the execution of the BIOS update program. Write the new version of the BIOS data into the System ROM30 again, if the writing fails, then perform the aforementioned steps of repairing the data of the BIOS.

而有关的更新BIOS的数据的详细步骤实施例,如图4的步骤流程图所示,其包括有:And the detailed step embodiment of the data of relevant update BIOS, as shown in the step flowchart of Fig. 4, it comprises:

1、首先进入BIOS的设定画面,等待使用者更新BIOS的数据的请求,而进入这个BIOS的设定画面的方式通常是在开启电脑之初,例如通过使用者按下一个″del″键来进入BIOS的设定画面,当然不同厂牌的电脑可能有不同的预设按键;1. First enter the BIOS setting screen, and wait for the user to update the BIOS data request. The way to enter the BIOS setting screen is usually at the beginning of turning on the computer, for example, by pressing a "del" key by the user. Enter the BIOS setting screen, of course, computers of different brands may have different preset buttons;

2、在确定启动更新BIOS的数据之后,首先将原先储存于System ROM30之内的旧版BIOS数据备份至微控器10的只读存储器11之内,否则跳至步骤9;2. After determining to start updating the data of the BIOS, at first the old version BIOS data stored in the System ROM30 is backed up to the read-only memory 11 of the microcontroller 10, otherwise skip to step 9;

3、若是旧版的BIOS数据备份成功则将新版的BIOS数据写入SystemROM 30之内,反之则重复旧版BIOS数据的备份,若是累计三次的备份均失败,则结束BIOS数据的更新操作;3. If the old version of the BIOS data backup is successful, the new version of the BIOS data is written into the SystemROM 30, otherwise, the backup of the old version of the BIOS data is repeated, and if the cumulative three backups all fail, the update operation of the BIOS data is terminated;

4、若是新版的BIOS数据成功地被写入System ROM 30,则跳至步骤9,否则继续执行下一步骤;4. If the new version of the BIOS data is successfully written into the System ROM 30, then skip to step 9, otherwise proceed to the next step;

5、由微控制器10发出一警告信息,通过例如显示文字、发出声响或是光信号的方式,提示使用者先将电脑的电源切断,接着将修复开关20切换至一使能(enable)位置,然后重新开启电脑的电源;5. A warning message is sent by the micro-controller 10, and the user is prompted to cut off the power supply of the computer first by displaying text, sending a sound or a light signal, and then switching the repair switch 20 to an enable position , and then turn on the power of the computer again;

6、微控制器20将备份的旧版BIOS数据回存入System ROM 30之内;6. The microcontroller 20 stores the backed-up old version BIOS data into the System ROM 30;

7、微控制器10发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将修复开关20切换至无效(disable)的位置,再重新开启电脑的电源;7. Microcontroller 10 sends a successful message to the user, prompting the user to cut off the power of the computer, then switch the repair switch 20 to the disabled position, and then turn on the power of the computer again;

8、等待使用者重新进入步骤1的BIOS设定画面,否则便在BIOS自我检查完毕之后进入正常的开机操作,并且结束更新BIOS的数据的步骤;8. Wait for the user to re-enter the BIOS setting screen in step 1, otherwise, enter the normal boot operation after the BIOS self-check is completed, and end the step of updating the BIOS data;

9、更新BIOS数据的主要启动程序区(main blocks),若是更新成功则结束更新BIOS的数据步骤,否则继续下一步骤;9. Update the main boot program area (main blocks) of the BIOS data. If the update is successful, the step of updating the BIOS data is completed, otherwise continue to the next step;

10、由微控制器10发出一警告信息,通过例如显示文字、发出声响或是光信号的方式,提示使用者先将电脑的电源切断,接着将修复开关20切换至一使能(enable)位置,然后重新开启电脑的电源;10. A warning message is sent by the microcontroller 10, and the user is prompted to cut off the power supply of the computer first, and then switch the repair switch 20 to an enable position by, for example, displaying text, emitting a sound or a light signal , and then turn on the power of the computer again;

11、微控制器10将储存于一紧急修复磁盘(rescue floppy)的主要启动程序区回存入System ROM 30之内,以及;11. The microcontroller 10 stores the main boot program area stored in a rescue floppy into the System ROM 30, and;

12、微控制器10发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将修复开关20切换至无效(disable)的位置,再重新开启电脑的电源,然后跳至步骤8。12. Microcontroller 10 sends a successful message to the user, prompting the user to cut off the power of the computer first, then switch the repair switch 20 to the disabled position, then turn on the power of the computer again, and jump Go to step 8.

Claims (8)

1、一种保护笔记型电脑的BIOS数据的装置,用以保护储存于系统ROM之中的系统BIOS数据,其特征在于包括有:1. A device for protecting the BIOS data of a notebook computer, used to protect the system BIOS data stored in the system ROM, characterized in that it includes: 一微控制器,包含有一只读存储器,一随机存取存储器,以及一储存于该只读存储器之中的BIOS监控程序,该微控制器用以执行包括有电脑系统的BIOS数据的备份操作,和在BIOS数据遗失、毁损、开机程序失败或数据更新失败之后,通过将备份的数据回存至系统ROM完成BIOS数据的修复操作;A microcontroller, including a read-only memory, a random access memory, and a BIOS monitoring program stored in the read-only memory, the microcontroller is used to perform a backup operation including BIOS data of a computer system, and After the BIOS data is lost, damaged, the boot process fails, or the data update fails, the BIOS data repair operation is completed by restoring the backup data to the system ROM; 一总线切换器,是由该微控制器控制,用以控制进行系统ROM的总线与该微控制器的只读存储器之间的数据传输路径切换;以及A bus switcher, controlled by the microcontroller, is used to control the switching of the data transmission path between the bus of the system ROM and the read-only memory of the microcontroller; and 一修复开关,常态设于一无效的位置,可由使用者以手动方式切换至一使能位置,用以在电脑系统重新开机之初启动该微控制器通过将备份的数据回存至系统ROM进行BIOS数据的修复操作。A recovery switch, normally set in an invalid position, can be manually switched by the user to an enabled position, used to start the microcontroller at the beginning of the computer system restart by restoring the backup data to the system ROM Repair operation of BIOS data. 2、如权利要求1所述保护笔记型电脑的BIOS数据的装置,其特征在于该微控制器是通过一I2C总线对该微控制器的只读存储器和系统ROM进行BIOS数据的备份与修复操作。2. The device for protecting the BIOS data of a notebook computer as claimed in claim 1, wherein the microcontroller carries out backup and repair operations of the BIOS data to the read-only memory and the system ROM of the microcontroller through an I2C bus . 3、如权利要求1所述保护笔记型电脑的BIOS数据的装置,其特征在于该修复开关在进行BIOS的数据备份时,是设于一无效位置,该微控制器则通过该总线切换器,使得系统ROM的总线与该微控制器的只读存储器连接,并且对该微控制器的只读存储器进行写入的操作,将系统ROM之中的BIOS数据备份至该微控制器的只读存储器之中。3. The device for protecting the BIOS data of a notebook computer as claimed in claim 1, wherein the repair switch is set at an invalid position when performing BIOS data backup, and the microcontroller passes through the bus switcher, The bus of the system ROM is connected to the read-only memory of the microcontroller, and the read-only memory of the microcontroller is written, and the BIOS data in the system ROM is backed up to the read-only memory of the microcontroller among. 4、如权利要求1所述保护笔记型电脑的BIOS数据的装置,其特征在于该修复开关在开始进行BIOS的数据修复操作之前,该修复开关将被切换至该使能位置,该微控制器则通过该总线切换器,使得系统ROM的总线与该微控制器的只读存储器连接,再对系统ROM进行系统BIOS的写入操作,将备份在该微控制器的只读存储器之中的BIOS数据重新回存至系统ROM,完成BIOS数据的修复。4. The device for protecting the BIOS data of a notebook computer as claimed in claim 1, wherein the repair switch will be switched to the enable position before starting the data repair operation of the BIOS, and the microcontroller Then, by the bus switcher, the bus of the system ROM is connected to the read-only memory of the microcontroller, and then the system BIOS is written into the system ROM, and the BIOS in the read-only memory of the microcontroller is backed up. The data is restored to the system ROM to complete the restoration of the BIOS data. 5、一种保护笔记型电脑的BIOS数据的方法,其特征在于提供一内含有BIOS监控程序的微控制器,并且依据下述的步骤,对储存于系统ROM之中的BIOS的数据进行备份与修复操作,该步骤包括有:5. A method for protecting the BIOS data of a notebook computer, characterized in that a microcontroller containing a BIOS monitoring program is provided, and according to the following steps, the data of the BIOS stored in the system ROM is backed up and Repair operation, this step includes: (A)、备份BIOS的数据的步骤,在第一次启动电脑系统之初,将系统BIOS的数据备份至该微控制器的一只读存储器;以及(A), the step of backing up the data of BIOS, at the beginning of starting computer system for the first time, the data of system BIOS is backed up to the read-only memory of this microcontroller; And (B)、修复BIOS的数据的步骤,用以在BIOS的开机程序失败时,由该微控制器发出一警告信息,提示使用者将一修复开关设置至一使能位置,然后在重新启动电脑系统时,启动该微控制器的BIOS修复程序,用以将备份在其只读存储器中的BIOS数据回存至系统ROM之中。(B), the step of repairing the data of BIOS is used for when the startup procedure of BIOS fails, a warning message is sent by the microcontroller, prompting the user to set a repair switch to an enabled position, and then restart the computer When the system is activated, the BIOS repair program of the microcontroller is started to restore the BIOS data backed up in its read-only memory to the system ROM. 6、如权利要求5所述保护笔记型电脑的BIOS数据的方法,其特征在于该微控制器是通过一I2C总线对该微控制器的只读存储器和系统ROM进行BIOS数据的备份与修复操作。6, the method for protecting the BIOS data of notebook computer as claimed in claim 5 is characterized in that this microcontroller is to carry out the backup and repair operation of BIOS data to the read-only memory and system ROM of this microcontroller by an I2C bus . 7、如权利要求5所述保护笔记型电脑的BIOS数据的方法,其特征在于包括有一更新BIOS数据的步骤,主要是在开始更新BIOS数据之初,将旧版的BIOS数据备份至该微控制器的只读存储器,再将新版的BIOS数据写入系统ROM,若是写入失败则执行前述修复BIOS的数据的步骤。7. The method for protecting the BIOS data of a notebook computer according to claim 5, characterized in that it includes a step of updating the BIOS data, mainly at the beginning of updating the BIOS data, backing up the old version of the BIOS data to the microcontroller Then write the new version of the BIOS data into the system ROM. If the writing fails, perform the aforementioned steps of repairing the BIOS data. 8、如权利要求5所述保护笔记型电脑的BIOS数据的方法,其特征在于包括有一更新BIOS数据的步骤,其包括有:8. The method for protecting the BIOS data of a notebook computer as claimed in claim 5, comprising a step of updating the BIOS data, which includes: (1)、首先进入BIOS的设定画面,等待使用者更新BIOS的数据的请求;(1), first enter the BIOS setting screen, and wait for the user to update the BIOS data request; (2)、在确认使用者已经启动更新BIOS数据的程序之后,将原先储存于系统ROM之内的旧版BIOS数据备份至该微控器的只读存储器之内,否则跳至步骤(9);(2), after confirming that the user has started the program for updating the BIOS data, back up the old version BIOS data originally stored in the system ROM to the read-only memory of the microcontroller, otherwise skip to step (9); (3)、若是旧版的BIOS数据备份成功则将新版的BIOS数据写入系统ROM之内,反之则重复旧版BIOS数据的备份,若是累计三次的备份均失败,则结束BIOS数据的更新操作;(3), if the old version of the BIOS data backup is successful, then write the new version of the BIOS data in the system ROM, otherwise, repeat the backup of the old version of the BIOS data, if the cumulative three backups all fail, then end the update operation of the BIOS data; (4)、若是新版的BIOS数据成功地被写入系统ROM,则跳至步骤(9),否则继续执行下一步骤;(4), if the new version of BIOS data is successfully written into the system ROM, then skip to step (9), otherwise continue to perform the next step; (5)、由该微控制器发出一警告信息,提示使用者先将电脑的电源切断,接着将该修复开关切换至一使能位置,然后重新开启电脑的电源;(5), a warning message is sent by the micro-controller, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an enabled position, and then turn on the power supply of the computer again; (6)、将备份的旧版BIOS数据回存入系统ROM之内;(6) Store the old BIOS data backed up into the system ROM; (7)、由该微控制器发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将该修复开关切换至一无效的位置,再重新开启电脑的电源;(7), by this micro-controller, send the message of a successful return storage to the user, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an invalid position, and then turn on the power supply of the computer again; (8)、等待使用者重新进入该步骤(1)的BIOS设定画面,否则便在BIOS自我检查完毕之后进入正常的开机操作,并且结束更新BIOS的数据的步骤;(8), wait for the user to re-enter the BIOS setting screen of the step (1), otherwise just enter the normal boot operation after the BIOS self-check is completed, and end the step of updating the data of the BIOS; (9)、更新BIOS数据的主要启动程序区,若是更新成功则结束更新BIOS的数据步骤,否则继续下一步骤;(9), update the main boot program area of the BIOS data, if the update is successful then end the data step of updating the BIOS, otherwise continue to the next step; (10)、由该微控制器发出一警告信息,提示使用者先将电脑的电源切断,接着将该修复开关切换至一使能位置,然后重新开启电脑的电源;(10), a warning message is sent by the microcontroller, prompting the user to cut off the power supply of the computer first, then switch the repair switch to an enabling position, and then turn on the power supply of the computer again; (11)、将储存于一紧急修复磁盘的主要启动程序区回存入系统ROM之内;以及(11), storing the main startup program area stored in an emergency repair disk back into the system ROM; and (12)、由该微控制器发出一回存成功的信息予使用者,提示使用者先将电脑的电源切断,接着将该修复开关切换至一无效的位置,再重新开启电脑的电源,然后跳至该步骤(8)。(12), by this micro-controller, send the information of a return storage success to the user, remind the user to cut off the power supply of the computer first, then switch the repair switch to an invalid position, then turn on the power supply of the computer again, and then Skip to that step (8).
CNB011311959A 2001-09-06 2001-09-06 Device and method for protecting BIOS data of notebook computer Expired - Fee Related CN1184568C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011311959A CN1184568C (en) 2001-09-06 2001-09-06 Device and method for protecting BIOS data of notebook computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011311959A CN1184568C (en) 2001-09-06 2001-09-06 Device and method for protecting BIOS data of notebook computer

Publications (2)

Publication Number Publication Date
CN1403925A CN1403925A (en) 2003-03-19
CN1184568C true CN1184568C (en) 2005-01-12

Family

ID=4670432

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011311959A Expired - Fee Related CN1184568C (en) 2001-09-06 2001-09-06 Device and method for protecting BIOS data of notebook computer

Country Status (1)

Country Link
CN (1) CN1184568C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100696111B1 (en) 2005-07-15 2007-03-20 삼성전자주식회사 Communication system
CN101814033B (en) * 2009-02-19 2013-04-10 英业达股份有限公司 Basic input/output system setting method
CN104182289A (en) * 2013-05-27 2014-12-03 英业达科技有限公司 System restoring method
CN105988829A (en) * 2015-01-30 2016-10-05 联想(北京)有限公司 BIOS (basic input/output system) management method, electronic equipment and system

Also Published As

Publication number Publication date
CN1403925A (en) 2003-03-19

Similar Documents

Publication Publication Date Title
CN1163824C (en) Quick start device and method
JP4371771B2 (en) Power management block used in non-volatile memory system
KR101856284B1 (en) Backing up firmware during initialization of device
US20070055969A1 (en) System and method for updating firmware
CN101030140A (en) Device and method for on-line updating fastener programm
CN1549131A (en) A method for repairing computer operating system
CN1561483A (en) Method for atomically updating a plurality of files
US7337359B2 (en) System and method for recovering a device state
TWI441081B (en) Method for flashing firmware and booting method and electronic apparatus using the method thereof
TW202028981A (en) Data storage devices and methods for firmware failure prevention
CN100454269C (en) Automatic repair method and system for basic input and output system
US8291206B2 (en) Method for booting computer system
CN1184568C (en) Device and method for protecting BIOS data of notebook computer
CN1235149C (en) Restoration method and device for computer operating system and method for producing the system
GB2434667A (en) Maintaining System Management BIOS in a computer system
CN1886729A (en) Method and device for starting a computer system
CN1977244A (en) Safe flashing
CN115033296A (en) A method and device for booting a domestic operating system based on UEFI and Linux
CN1276350C (en) System and method for updating a basic input output system via a buffer
CN100336036C (en) Multiple OS bootloading methods
TWI537735B (en) Electronic apparatus and bios updating apparatus thereof
CN1282922C (en) Method and device for updating firmware using memory card
CN101425028B (en) Computer system and firmware repair method of computer system
CN115599417A (en) MCU firmware updating method of electronic equipment
CN101739262A (en) Firmware updating method and electronic device applying same

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050112

Termination date: 20170906