CN101655800B - Basic input and output system update method and its update system - Google Patents
Basic input and output system update method and its update system Download PDFInfo
- Publication number
- CN101655800B CN101655800B CN200810213603A CN200810213603A CN101655800B CN 101655800 B CN101655800 B CN 101655800B CN 200810213603 A CN200810213603 A CN 200810213603A CN 200810213603 A CN200810213603 A CN 200810213603A CN 101655800 B CN101655800 B CN 101655800B
- Authority
- CN
- China
- Prior art keywords
- mentioned
- bios
- block
- update
- program code
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000006870 function Effects 0.000 claims description 5
- 230000005055 memory storage Effects 0.000 claims 4
- 238000013507 mapping Methods 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域 technical field
本发明是关于一种基本输入输出系统的更新方法及其更新系统,且特别是关于一种能通过图形用户介面显示更新文件的信息,以更新基本输入输出系统的方法及其系统。The present invention relates to a basic input output system updating method and its updating system, and in particular to a basic input output system updating method and its system which can display information of updating files through a graphic user interface.
背景技术 Background technique
基本输入输出系统(basic input/output system,BIOS)为加载在电脑系统中最基本的软件程序代码,其主要功能为在开机时进行开机自我测试(power on self test,POST),以检测电脑系统内的硬件设备的状态是否正常。基本输入输出系统(以下简称BIOS)的程序代码通常被保存在非挥发性存储器(nonvolatile memory)中,例如:闪存(flash memory),而储存BIOS程序代码的内存区块通常被称为主BIOS区块,其包含有开机区块(boot block)及主程序区块。The basic input/output system (BIOS) is the most basic software program code loaded in the computer system. Its main function is to perform a power on self test (POST) when the computer is turned on to test the computer system. Whether the status of the internal hardware devices is normal. The program code of the Basic Input Output System (hereinafter referred to as BIOS) is usually stored in a nonvolatile memory (nonvolatile memory), such as: flash memory (flash memory), and the memory block storing the BIOS program code is usually called the main BIOS area. block, which includes a boot block and a main program block.
电脑系统于开机时,一开始会先执行开机区块的程序代码,藉以在执行BIOS前,先经由检查码(checksum)来验证BIOS其它部分是否正常。在通过开机区块的检测后,便会执行主程序区块内的程序代码,以进行开机自我测试、初始化硬件设备以及记录系统设定值等等。倘若检测出BIOS程序代码发生错误时,则必须要进行BIOS的更新,才能完成开机程序。When the computer system is turned on, it will execute the program code of the boot block at first, so as to verify whether other parts of the BIOS are normal through a checksum (checksum) before executing the BIOS. After passing the detection of the boot block, the program code in the main program block will be executed to perform boot self-test, initialize hardware devices, record system setting values, and the like. If an error occurs in the BIOS program code, the BIOS must be updated to complete the boot process.
一般BIOS开机失败时,使用者必须放入储存有BIOS文件的软盘,而在执行开机区块的程序代码的同时,会自动地搜寻是否有完整的BIOS文件。但是,传统BIOS的更新只会通过文字介面告知使用者是否有找到BIOS文件,并进而更新BIOS,使用者不能选取所需的文件来进行更新。Generally, when the BIOS fails to boot, the user must put in the floppy disk storing the BIOS file, and while executing the program code of the boot block, it will automatically search for a complete BIOS file. However, the update of the traditional BIOS only informs the user whether the BIOS file is found through a text interface, and then updates the BIOS, and the user cannot select the required file to update.
发明内容 Contents of the invention
本发明提供一种基本输入输出系统的更新方法及其更新系统,其为以图形化显示更新文件的信息,并通过图形用户介面来选取所需的更新文件,以进行基本输入输出系统的更新,藉此提高基本输入输出系统的更新效率及使用上的便利性。The present invention provides a basic input and output system update method and its update system, which is to graphically display the information of the update file, and select the required update file through the graphical user interface to update the basic input and output system. In this way, the updating efficiency of the basic input output system and the convenience in use are improved.
本发明提出一种基本输入输出系统的更新方法。基本输入输出系统的程序代码为储存在主BIOS区块之中,且主BIOS区块包括一开机区块。首先,执行开机区块的程序代码,以侦测主BIOS区块是否毁损。当主BIOS区块毁损时,则从存储装置搜寻BIOS映像文件。其中,此BIOS映像文件包括图形用户介面的程序代码及多个更新文件。通过执行图形用户介面的程序代码,以图形化显示更新文件的信息,并且依据一控制指令,选择其一更新文件来更新主BIOS区块。The invention proposes a basic input and output system update method. The program code of the BIOS is stored in the main BIOS block, and the main BIOS block includes a boot block. Firstly, the program code of the boot block is executed to detect whether the main BIOS block is damaged. When the main BIOS block is damaged, the BIOS image file is searched from the storage device. Wherein, the BIOS image file includes the program code of the GUI and multiple update files. By executing the program code of the graphical user interface, the information of the update file is graphically displayed, and according to a control instruction, an update file is selected to update the main BIOS block.
本发明提出一种基本输入输出系统的更新系统,其包括主BIOS区块、存储装置以及内存模块。主BIOS区块储存基本输入输出系统的程序代码,且存储装置储存一BIOS映像文件,其中此BIOS映像文件包括图形用户介面的程序代码及多个更新文件。当更新系统侦测到主BIOS区块毁损时,便从存储装置加载图形用户介面的程序代码至内存模块,并执行图形用户介面的程序代码,以图形化显示更新文件的信息。而更新系统依据一控制命令,选择其一更新文件来更新主BIOS区块。The invention proposes a BIOS update system, which includes a main BIOS block, a storage device and a memory module. The main BIOS block stores the program code of the basic input output system, and the storage device stores a BIOS image file, wherein the BIOS image file includes the program code of the graphical user interface and a plurality of update files. When the update system detects that the main BIOS block is damaged, it loads the program code of the GUI from the storage device to the memory module, and executes the program code of the GUI to graphically display the information of the update file. The update system selects an update file to update the main BIOS block according to a control command.
本发明采用图形化显示更新文件的信息的方式,让使用者可以通过图形用户介面来选取所需的更新文件来进行更新。相较于以往通过文字介面的方式告知使用者是否有更新文件,并进而更新整个主BIOS区块的方式,本发明不仅提高基本输入输出系统的更新效率,也提高了使用上的便利性。The present invention adopts the method of graphically displaying the information of the update file, so that the user can select the required update file to update through the graphic user interface. Compared with the previous method of notifying the user whether there is an update file through a text interface, and then updating the entire main BIOS block, the present invention not only improves the updating efficiency of the basic input and output system, but also improves the convenience of use.
为让本发明的上述和其它目的、特征和优点能更明显易懂,下文特举本发明的较佳实施例,并配合所附图式,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments of the present invention will be described in detail below together with the accompanying drawings.
附图说明 Description of drawings
图1为本发明的一实施例基本输入输出系统的更新系统的方块图。FIG. 1 is a block diagram of an updating system of a BIOS according to an embodiment of the present invention.
图2为本发明的一实施例基本输入输出系统的更新方法的流程图。FIG. 2 is a flowchart of a BIOS updating method according to an embodiment of the present invention.
图3为本发明的一实施例的图形用户介面的示意图。FIG. 3 is a schematic diagram of a GUI of an embodiment of the invention.
具体实施方式 Detailed ways
图1为本发明的一实施例基本输入输出系统的更新系统的示意图。请参照图1,本实施例的更新系统为电脑系统100的一部分,其包括主BIOS区块110、内存模块130以及存储装置120。主BIOS区块110通常为使用非挥发性存储器(例如为闪存),来储存基本输入输出系统的程序代码,且主BIOS区块110包含有开机区块及主程序区块。内存模块130为电脑系统100中的主存储器(main memory),其通过芯片组140与中央处理器150进行数据的交换,以暂存程序指令、储存运算所得的结果以及等待输出的数据。存储装置120例如为光盘、软盘、硬盘或者通用序列总线(universalseries bus,USB)装置,用以储存一BIOS映像文件(image file)121,其中BIOS映像文件121包括图形用户介面(graphical user interface,GUI)的程序代码以及更新文件。FIG. 1 is a schematic diagram of an updating system of a BIOS according to an embodiment of the present invention. Referring to FIG. 1 , the updating system of this embodiment is a part of a
图2为本发明的一实施例基本输入输出系统的更新方法的流程图。请参照图1与图2,当电脑系统100于开机时,会先执行开机区块中的程序代码(步骤S201),通过检查码(checksum)来验证主BIOS区块110是否毁损(步骤S202),例如:BIOS程序代码发生错误或者电脑系统100需要支持新的硬件。倘若主BIOS区块110经验证无误后,便会开始执行主程序区块中的程序代码,以进行开机自我测试、初始化硬件设备以及记录系统设定值等等,并且继续正常的开机程序(步骤S203)。当主BIOS区块110毁损时,则更新系统会搜寻电脑系统100中是否有其它的存储装置120(步骤S204),若有,则更进一步地搜寻存储装置120中是否存有可供更新的BIOS映像文件121(步骤S205)。倘若未搜寻到有其它的存储装置120,又或者存储装置120中未存有BIOS映像文件121时,则搜寻结束(步骤S206),不进行BIOS的更新。FIG. 2 is a flowchart of a BIOS updating method according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 2, when the
在本实施例中,倘若存储装置120中存有可供更新的BIOS映像文件121时,则更新系统会侦测电脑系统100中是否有兼容的显卡,例如:视讯图形阵列(video graphics array,VGA)显卡,并且驱动此显卡的功能(步骤S207),以显示图形用户介面。在成功驱动显卡的功能后,更新系统加载图形用户介面的程序代码至内存模块130(步骤S208),并且执行图形用户介面的程序代码,以图形化显示更新文件的信息,例如:更新文件的文件名或者其存放路径。经由图形用户介面,更新系统能与使用者互动,其依据一控制指令(例如:鼠标或者键盘的键入指令),选择所需的更新文件来更新主BIOS区块110(步骤S209)。In this embodiment, if there is an updateable
另外,如步骤S207所示,若未有兼容的显卡,或者显卡的功能驱动失败时,则更新系统会自动地撷取BIOS映像文件121中的更新文件来更新整个主BIOS区块(步骤S209)。当完成主BIOS区块的更新后,更新系统便重新启动基本输入输出系统(步骤S210)。In addition, as shown in step S207, if there is no compatible graphics card, or when the function driver of the graphics card fails, the update system will automatically capture the update file in the
图3为本发明的一实施例的图形用户介面的示意图。请参照图3,在图形用户介面300中,区块301显示本实施例所提供的通用程序(Utility)版本讯息,而区块302显示储存基本输入输出系统程序代码的闪存型号。区块303显示目前固件所适用的主板型号、固件的版本及更新日期。使用者依据区块307内的指示来操作键盘(亦即产生控制命令),挑选区块305内所显示的存储装置,例如:软盘A或者硬盘D,即可在区块306显示出存储装置所存有的更新文件。而且,使用者亦可依上述方式,选取区块306内所需的更新文件。此时,区块304显示所选取的更新文件适用的主板、其版本及更新日期。使用者可以由比对区块303及区块304内的信息,来确认目前固件是否为最新版本,或者进一步地进行更新。FIG. 3 is a schematic diagram of a GUI of an embodiment of the invention. Referring to FIG. 3 , in the
值得一提的是,以往主BIOS区块110中的主程序区块储存有BIOS设定的图形用户介面的程序代码,使用者可以通过此BIOS设定的图形用户介面来设定电脑系统100的工作频率以及系统时间等。但是,当主BIOS区块毁损时,此BIOS设定的图形用户介面的程序代码并不会被执行。本实施例的图形用户介面不同于以往BIOS设定的图形用户介面,其为图形化显示BIOS映像文件121所包含的更新文件,以供使用者选取所需的更新文件来更新主BIOS区块。It is worth mentioning that in the past, the main program block in the
综上所述,上述实施例通过执行开机区块的程序代码来侦测主BIOS区块是否毁损。当主BIOS区块毁损时,例如:BIOS程序代码错误,则便从存储装置中加载备用的BIOS映像文件。特别的是,此BIOS映像文件包括有图形用户介面的程序代码及更新文件。通过执行图形用户介面的程序代码,可以将更新文件的信息图形化显示于图形用户介面上。因此,便可依据控制命令,于图形用户介面上选取所需的更新文件来进行更新。藉此,不仅提高了使用上的便利性,也可针对基本输入输出系统中所需修复的部分进行更新,大大地提高了更新效率。To sum up, the above embodiment detects whether the main BIOS block is damaged by executing the program code of the boot block. When the main BIOS block is damaged, for example, the BIOS program code is wrong, then a backup BIOS image file is loaded from the storage device. In particular, the BIOS image file includes the program code of the graphical user interface and the update file. By executing the program code of the graphical user interface, the information of the updated file can be graphically displayed on the graphical user interface. Therefore, according to the control command, the required update file can be selected on the GUI for updating. In this way, not only the convenience of use is improved, but also the parts that need to be repaired in the basic input and output system can be updated, which greatly improves the update efficiency.
虽然本发明已以较佳实施例描述如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视权利要求书所界定的内容为准。Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the art can make some changes and modifications without departing from the spirit and scope of the present invention. modification, so the scope of protection of the present invention should be determined by the content defined in the claims.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810213603A CN101655800B (en) | 2008-08-22 | 2008-08-22 | Basic input and output system update method and its update system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810213603A CN101655800B (en) | 2008-08-22 | 2008-08-22 | Basic input and output system update method and its update system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101655800A CN101655800A (en) | 2010-02-24 |
| CN101655800B true CN101655800B (en) | 2012-09-26 |
Family
ID=41710096
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200810213603A Active CN101655800B (en) | 2008-08-22 | 2008-08-22 | Basic input and output system update method and its update system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101655800B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105117250B (en) * | 2015-08-24 | 2019-03-29 | 联想(北京)有限公司 | A kind of compatibility processing method and electronic equipment |
| CN108958982A (en) * | 2018-07-26 | 2018-12-07 | 深圳控道智能科技有限公司 | A kind of BIOS reinforcement means and system |
| CN113849818B (en) * | 2021-09-16 | 2025-07-22 | 联想(北京)有限公司 | Method for updating data protection block and electronic equipment |
| TWI815607B (en) * | 2022-08-12 | 2023-09-11 | 神雲科技股份有限公司 | Method of updating basic input/output system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1302015A (en) * | 1999-12-24 | 2001-07-04 | 英业达股份有限公司 | Method for Updating Basic Input/Output System via Network |
| CN1670696A (en) * | 2004-03-20 | 2005-09-21 | 鸿富锦精密工业(深圳)有限公司 | System and method for updating BIOS program |
-
2008
- 2008-08-22 CN CN200810213603A patent/CN101655800B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1302015A (en) * | 1999-12-24 | 2001-07-04 | 英业达股份有限公司 | Method for Updating Basic Input/Output System via Network |
| CN1670696A (en) * | 2004-03-20 | 2005-09-21 | 鸿富锦精密工业(深圳)有限公司 | System and method for updating BIOS program |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101655800A (en) | 2010-02-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8423991B2 (en) | Embedded network device and firmware upgrading method | |
| US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
| US7322029B2 (en) | Method and system for recovering program code in a computer system | |
| US20100049961A1 (en) | Update method for basic input/output system and update system thereof | |
| TWI382346B (en) | Computer system with dual bios protection mechanism and control method of the same | |
| CN104679540B (en) | Computer system and computer system starting method | |
| US20100058314A1 (en) | Computer System and Related Method of Logging BIOS Update Operation | |
| CN101373451B (en) | Computer system for protecting dual basic output and output system program and its control method | |
| US20140149644A1 (en) | Electronic apparatus, method of updating firmware, and computer-readable recording medium | |
| US20080270685A1 (en) | Information processing apparatus and firmware updating method | |
| CN103294572A (en) | Electronic device to restore MBR, and method thereof | |
| CN104424047A (en) | NVRAM data recovery method and NVRAM data recovery device | |
| US20120324161A1 (en) | Electronic device and method for performing data backup and recovery | |
| CN102799497A (en) | Data recovery system and method for non-volatile random access memory (NVRAM) | |
| CN101655800B (en) | Basic input and output system update method and its update system | |
| US11409607B1 (en) | Basic input output system updates | |
| CN113849230B (en) | Server startup method, device, electronic device and readable storage medium | |
| US20100287364A1 (en) | Boot systems and methods, and related devices | |
| CN109408282B (en) | Application program backup recovery method and device and computer readable storage medium | |
| CN102830988A (en) | Firmware updating method and related computer system | |
| TWI515557B (en) | Computer system and control method | |
| CN104657232A (en) | BIOS automatic recovery system and BIOS automatic recovery method | |
| CN103106086B (en) | Operating system disposal route and system | |
| CN104239245A (en) | Electronic systems and methods of operation | |
| CN103136010A (en) | Firmware update method and firmware update device capable of being used by firmware update method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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 |