CN102053875A - Method for recovering basic input and output system of computer system and computer system - Google Patents
Method for recovering basic input and output system of computer system and computer system Download PDFInfo
- Publication number
- CN102053875A CN102053875A CN 200910210170 CN200910210170A CN102053875A CN 102053875 A CN102053875 A CN 102053875A CN 200910210170 CN200910210170 CN 200910210170 CN 200910210170 A CN200910210170 A CN 200910210170A CN 102053875 A CN102053875 A CN 102053875A
- Authority
- CN
- China
- Prior art keywords
- control unit
- storage device
- data transmission
- bios code
- computer system
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000011084 recovery Methods 0.000 claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims description 100
- 230000001960 triggered effect Effects 0.000 claims description 5
- 125000004122 cyclic group Chemical group 0.000 claims description 4
- 230000008569 process Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种恢复一计算机系统的基本输入输出系统的方法及其相关计算机系统,尤其涉及一种可通过控制单元控制恢复程序的方法及其相关计算机系统。The present invention relates to a method for recovering a basic input and output system of a computer system and its related computer system, in particular to a method capable of controlling the recovery program through a control unit and its related computer system.
背景技术Background technique
基本输入输出系统(Basic Input/Output System,BIOS)在计算机系统的开机过程中担任着极为关键的角色。一般来说,在使用者按下开机键之后,一直到计算机系统载入执行一操作系统(Operating System,OS)之前,BIOS会陆续进行许多程序来实现开机程序。例如开机自我测试、初始化动作、记录系统设定值、提供常驻程序库、协助载入操作系统等等皆是BIOS所提供的功能。因此,在开机过程中,通过BIOS对计算机系统的每一个硬件进行启始化设定和测试,以及协助启动操作系统,将可确保系统能够正常工作。在实际操作上,BIOS码(BIOS code)通常会被存储于一存储装置中,当计算机系统供应一中央处理器所需的系统电源后,中央处理器会存取并执行存储装置中的BIOS码,以进行计算机系统的开机程序。The Basic Input/Output System (BIOS) plays a very critical role in the boot process of the computer system. Generally speaking, after the user presses the power-on button, until the computer system loads and executes an operating system (Operating System, OS), the BIOS will perform many procedures successively to realize the boot-up procedure. For example, boot self-test, initialization actions, recording system settings, providing resident program libraries, assisting in loading the operating system, etc. are all functions provided by the BIOS. Therefore, in the booting process, each hardware of the computer system is initialized and tested through the BIOS, and the operating system is assisted to start, which will ensure that the system can work normally. In actual operation, the BIOS code (BIOS code) is usually stored in a storage device. When the computer system supplies the system power required by a central processing unit, the central processing unit will access and execute the BIOS code in the storage device. , to start the computer system boot process.
然而,如果是存储装置中的BIOS码发生毁损或数据不完整的情况时,将使得计算机系统无法顺利开机。在此情况下,为了避免因BIOS损坏而导致计算机系统无法运作,已知技术利用设置多组存储装置来存放多份备份BIOS码,并设定优先顺序,当遭遇前述问题时,便依序变换至其他组存储装置,以解决只有单组BIOS时的窘境。但是,使用前述方式,虽可即时解决无法开机的问题,却也因而耗费过多的制造成本而变得不切实际。因此,已知技术便提出另一种解决的方式。请参考图1,图1为已知计算机系统10的示意图。如图1所示,计算机系统10包含主控单元102、主要存储装置104以及备份存储装置106。主要存储装置104用来存放BIOS码,备份存储装置106用来存放检查程序(或烧录程序)与备份BIOS码。当系统开机时,主控单元102会先存取备份存储装置106中的检查程序并执行检查程序,以检查主要存储装置104中的BIOS码是否有损坏的问题发生。如果无损坏情况发生时,则主控单元102会进而存取并执行BIOS码,来进行开机程序。如果是有损坏情况发生时,则将备份存储装置106中的备份BIOS码复制至主要存储装置104,接着,主控单元102再存取并执行经复制的BIOS码,来进行开机程序。此种双BIOS的方式,需使用可存放约两倍多大小的BIOS码的存储空间,来达到备援BIOS的目的。但是,一旦备份存储装置106中的检查程序有毁损情况时,主控单元102将因此无法完成检查任务,使开机程序中断,而无法完成开机程序。However, if the BIOS code in the storage device is damaged or the data is incomplete, the computer system cannot be started smoothly. In this case, in order to avoid the failure of the computer system due to BIOS damage, the known technology utilizes multiple sets of storage devices to store multiple backup BIOS codes, and sets the priority order. When encountering the aforementioned problems, they will be changed sequentially. to other group storage devices to solve the dilemma when there is only a single group of BIOS. However, although the aforementioned method can immediately solve the problem of not being able to start the device, it also consumes too much manufacturing cost and becomes impractical. Therefore, the known technology proposes another solution. Please refer to FIG. 1 , which is a schematic diagram of a known computer system 10 . As shown in FIG. 1 , the computer system 10 includes a main control unit 102 , a primary storage device 104 and a backup storage device 106 . The main storage device 104 is used to store the BIOS code, and the backup storage device 106 is used to store the checking program (or burning program) and the backup BIOS code. When the system is turned on, the main control unit 102 will first access the check program in the backup storage device 106 and execute the check program to check whether the BIOS code in the main storage device 104 is damaged. If no damage occurs, the main control unit 102 will further access and execute the BIOS code to perform a boot procedure. If there is a damage situation, the backup BIOS code in the backup storage device 106 is copied to the main storage device 104, and then the main control unit 102 accesses and executes the copied BIOS code to perform a boot procedure. This double BIOS method needs to use a storage space that can store more than twice the size of the BIOS code to achieve the purpose of backup BIOS. However, once the inspection program in the backup storage device 106 is damaged, the main control unit 102 will not be able to complete the inspection task, so that the booting process is interrupted and the booting process cannot be completed.
发明内容Contents of the invention
因此,本发明主要在于提供一种恢复计算机系统的基本输入输出系统(Basic Input/Output System,BIOS)的方法及其相关计算机系统。Therefore, the present invention is mainly to provide a method for recovering a basic input/output system (Basic Input/Output System, BIOS) of a computer system and a related computer system.
本发明公开一种恢复计算机系统BIOS的方法,计算机系统包含主控单元、控制单元及第一存储装置,控制单元用来控制提供至主控单元的系统电源,主控单元通过第一数据传输单元存取第一存储装置中的BIOS码来进行开机初始程序,此方法包含:在计算机系统有恢复需求时,关闭系统电源;将备份BIOS码重写入第一存储装置;以及开启系统电源,使主控单元得以存取第一存储装置中经重写的BIOS码,以进行开机初始程序。The invention discloses a method for restoring the BIOS of a computer system. The computer system includes a main control unit, a control unit and a first storage device. The control unit is used to control the system power supplied to the main control unit. The main control unit passes through the first data transmission unit. The BIOS code in the first storage device is accessed to carry out the booting initial program, and the method includes: when the computer system has a recovery requirement, turn off the system power; rewrite the backup BIOS code into the first storage device; and turn on the system power to enable The main control unit is able to access the rewritten BIOS code in the first storage device, so as to perform the booting initial procedure.
本发明还公开一种计算机系统,其包含第一存储装置,用来存储BIOS码;第二存储装置,用来存储控制码及备份BIOS码;主控单元经由第一数据传输单元耦接至第一存储装置,用来存取BIOS码,以进行开机初始程序;以及控制单元,耦接至主控单元,用来根据控制码,控制提供至主控单元的系统电源;其中,在计算机系统有恢复需求时,利用控制单元关闭系统电源并将备份BIOS码重写入第一存储装置,再开启系统电源,使主控单元得以存取第一存储装置中经重写的BIOS码,以进行开机初始程序。The present invention also discloses a computer system, which includes a first storage device for storing BIOS codes; a second storage device for storing control codes and backup BIOS codes; the main control unit is coupled to the second storage device via the first data transmission unit A storage device is used to access the BIOS code to perform the boot initial program; and the control unit is coupled to the main control unit and is used to control the system power provided to the main control unit according to the control code; wherein, in the computer system, there are When restoring the demand, use the control unit to turn off the system power and rewrite the backup BIOS code into the first storage device, and then turn on the system power, so that the main control unit can access the rewritten BIOS code in the first storage device to start the system initial program.
本发明还公开一种恢复计算机系统BIOS的方法,计算机系统包含主控单元、控制单元及第一存储装置,控制单元用来控制提供至主控单元的系统电源,主控单元通过第一数据传输单元存取第一存储装置中的BIOS码来进行开机初始程序,此方法包含:在计算机系统有恢复需求时,利用控制单元关闭系统电源;利用控制单元控制主控单元存取数据,并开启系统电源;利用主控单元存取存储于第二存储装置的BIOS启动区块码;利用主控单元执行BIOS启动区块码,以将存储于第三存储装置的备份BIOS码重写入至第一存储装置;利用控制单元关闭系统电源;以及利用控制单元开启系统电源,使主控单元得以通过第一数据传输单元存取第一存储装置中经重写的BIOS码,以进行开机初始程序。The invention also discloses a method for restoring the BIOS of a computer system. The computer system includes a main control unit, a control unit and a first storage device. The control unit is used to control the system power supplied to the main control unit. The main control unit transmits the The unit accesses the BIOS code in the first storage device to carry out the booting initial program. The method includes: when the computer system needs to be restored, the control unit is used to turn off the system power; the control unit is used to control the main control unit to access data, and the system is turned on. Power supply; use the main control unit to access the BIOS startup block code stored in the second storage device; use the main control unit to execute the BIOS startup block code to rewrite the backup BIOS code stored in the third storage device to the first storage device; using the control unit to turn off the system power supply; and using the control unit to turn on the system power supply, so that the main control unit can access the rewritten BIOS code in the first storage device through the first data transmission unit to perform the booting initial procedure.
本发明还公开一种计算机系统,其包含第一存储装置,用来存储BIOS码;第二存储装置,用来存储控制码及BIOS启动区块码;第三存储装置,用来存储备份BIOS码;主控单元经由第一数据传输单元耦接至第一存储装置,用来存取BIOS码,以进行开机初始程序;以及将控制单元耦接至主控单元,用来根据控制码,控制提供至主控单元的系统电源及读取BIOS启动区块码;其中,在计算机系统有恢复需求时,利用控制单元存取所读取的BIOS启动区块码,在主控单元执行BIOS启动区块码时,将存储于第三存储装置的备份BIOS码重写入至第一存储装置,使主控单元得以存取第一存储装置中经重写的BIOS码,以进行开机初始程序。The invention also discloses a computer system, which includes a first storage device for storing BIOS codes; a second storage device for storing control codes and BIOS startup block codes; a third storage device for storing backup BIOS codes ; the main control unit is coupled to the first storage device via the first data transmission unit, and is used to access the BIOS code to perform the boot initialization procedure; and the control unit is coupled to the main control unit, and is used to control the provision of To the system power of the main control unit and read the BIOS startup block code; wherein, when the computer system has recovery needs, use the control unit to access the read BIOS startup block code, and execute the BIOS startup block on the main control unit code, rewrite the backup BIOS code stored in the third storage device to the first storage device, so that the main control unit can access the rewritten BIOS code in the first storage device to perform the booting initial procedure.
附图说明Description of drawings
图1为已知一计算机系统的示意图。FIG. 1 is a schematic diagram of a known computer system.
图2为本发明第一实施例一计算机系统的示意图。FIG. 2 is a schematic diagram of a computer system according to the first embodiment of the present invention.
图3为本发明第一实施例恢复计算机系统的BIOS码的一流程的示意图。FIG. 3 is a schematic diagram of a process for recovering the BIOS code of the computer system according to the first embodiment of the present invention.
图4至图8为图2中的计算机系统进行恢复BIOS的示意图。4 to 8 are schematic diagrams of the computer system in FIG. 2 recovering the BIOS.
图9为本发明第二实施例一计算机系统的示意图。FIG. 9 is a schematic diagram of a computer system according to the second embodiment of the present invention.
图10为本发明第二实施例恢复计算机系统的BIOS码的一流程的示意图。FIG. 10 is a schematic diagram of a process for recovering the BIOS code of the computer system according to the second embodiment of the present invention.
【主要元件符号说明】[Description of main component symbols]
10、20、90 计算机系统10, 20, 90 Computer systems
102、202、902 主控单元102, 202, 902 main control unit
104 主要存储装置104 main storage device
106 备份存储装置106 backup storage device
204、904 控制单元204, 904 control unit
206、906 第一存储装置206, 906 The first storage device
208、908 第二存储装置208, 908 Second storage device
210、912 第一数据传输单元210, 912 The first data transmission unit
212、914 第二数据传输单元212, 914 Second data transmission unit
214、916 第三数据传输单元214, 916 The third data transmission unit
402 第一切换开关402 The first toggle switch
404 第二切换开关404 Second toggle switch
910 第三存储装置910 The third storage device
918 第四数据传输单元918 The fourth data transmission unit
具体实施方式Detailed ways
请参考图2,图2为本发明第一实施例一计算机系统20的示意图。计算机系统20包含主控单元202、控制单元204、第一存储装置206、第二存储装置208、第一数据传输单元210、第二数据传输单元212以及第三数据传输单元214。其中,第一存储装置206用来存储基本输入输出系统(Basic Input/Output System,BIOS)码。第二存储装置208用来存储控制码(例如,嵌入式控制码或其他具类似功能的程序代码)及备份BIOS码。在正常开机过程中,主控单元202经由第一数据传输单元210耦接至第一存储装置206,以存取并执行BIOS码,而进行开机初始程序。控制单元204分别经由第一数据传输单元210、第二数据传输单元212以及第三数据传输单元214耦接至第一存储装置206、第二存储装置208及主控单元202。控制单元204根据控制码,控制提供至计算机系统20的各元件的电源(例如,主控单元202操作所需的系统电源)并控制恢复BIOS码的程序。Please refer to FIG. 2 , which is a schematic diagram of a
因此,当第一存储装置206中的BIOS码发生毁损或数据不完整的情况时,主控单元202将无法成功执行BIOS码来进行开机程序。使用已知技术的方式,必须在主控单元202有电源供应的情况下才能进行检测错误情况进而执行恢复BIOS码。而本发明所使用的控制单元204可以在无系统电源供电的情况下通过控制单元204自动检测错误,或在计算机系统有恢复需求时,利用控制单元204关闭系统电源来控制恢复程序,以恢复第一存储装置206中的BIOS码。如此一来,本发明的计算机系统20将能避免传统方法中会因存放于其他存储装置的检查程序也可能发生毁损状况导致开机程序中断的问题。关于计算机系统20的详细操作方式,请继续参考以下说明。Therefore, when the BIOS code in the
请参考图3,图3为本发明第一实施例恢复计算机系统20的BIOS码的一流程30的示意图。流程30用来实现上述计算机系统20的一操作流程,其包含下列步骤:Please refer to FIG. 3 , which is a schematic diagram of a
步骤300:开始。Step 300: start.
步骤302:在计算机系统20有恢复BIOS码的需求时,利用控制单元204关闭主控单元202操作所需的系统电源。Step 302 : When the
步骤304:利用控制单元204将备份BIOS码重写入第一存储装置206。Step 304 : Rewrite the backup BIOS code into the
步骤306:利用控制单元204开启系统电源,使主控单元202得以存取第一存储装置206中经重写的BIOS码,以进行开机初始程序。Step 306 : Use the
步骤308:结束。Step 308: end.
根据流程30,计算机系统20通过控制单元204的控制,来实现BIOS码的恢复程序。在步骤302中,控制单元204在得知计算机系统20有BIOS码的恢复需求后,会将提供至主控单元202的系统电源关闭,使主控单元202暂时停止进行存取第一存储装置206的BIOS码,而进入恢复程序。要注意的是,在本发明中,任何可以使控制单元204得以判断是否有BIOS码的恢复需求的方式,皆适用于本发明。举例来说,可以设定于计算机系统20上的热键、特定按键(如恢复启动按键)、组合键(多个按键的组合)等被使用者按压后,触发恢复需求至控制单元204,则控制单元204会根据所触发的恢复需求,将供应至主控单元202的系统电源关闭。或者,也可通过控制单元202例行执行的功能来评断是否有恢复需求。例如通常在计算机系统中,会设计于系统开机成功后,对控制单元204回报目前已完成开机程序的机制。在此情况下,控制单元204可以检测计算机系统20在开机键被按压后的特定时间内是否有回报讯息。如果无,则视为开机失败。例如在本实施例中,可以设定当控制单元204统计发生开机失败的次数大于一特定临限值(例如3次)时,控制单元204会关闭提供至主控单元202的系统电源,并继续进行步骤304至步骤308。除此之外,控制单元204也可通过任一连接端口,例如第80号连接端口(port 80)的状况来检测计算机系统20的主控单元202是否有恢复需求,举例来说,当控制单元204累计由第80号连接端口所产生之一开机失败讯息的次数大于一临限值(例如5次)时,控制单元204会关闭系统电源而进行恢复程序。According to the
除此之外,步骤304可包含由控制单元204检测第一存储装置206中的BIOS码是否有错误情况发生,并在检测出BIOS码存在错误时,再由控制单元204将第二存储装置208中的备份BIOS码重写入第一存储装置206。较佳地,当检测出BIOS码无存在任何错误时,则毋需进行将备份BIOS码重写入第一存储装置206的程序,而直接跳至步骤308。另一方面,控制单元204可使用任何数据错误检测方式,来检测出BIOS码是否存在错误,举例来说,控制单元204可对第一存储装置206中的BIOS码执行校验和(checksum)、奇偶校验(parity check)或循环冗余校验(cyclic redundancy check)程序,以检测出BIOS码的错误。In addition,
在步骤306中,由于控制单元204已将备份BIOS码重写入第一存储装置206,因此,利用控制单元204的控制,再开启提供主控单元202的系统电源,如此一来,主控单元202将可继续存取第一存储装置206中经重写的BIOS码,而顺利进行开机初始程序。In
请参考图4及图5,图4及图5为图2中的计算机系统20进行恢复BIOS的示意图。如图4所示,当控制单元204得知有BIOS码的恢复需求后,会先将提供至主控单元202的系统电源关闭,使主控单元202暂时停止进行存取第一存储装置206的BIOS码。接着,控制单元204通过切换第一数据传输单元210检测存储于第一存储装置206中的BIOS码。当检测出BIOS码存在错误时,控制单元204可经由第二数据传输单元212读取存放于第二存储装置208中的备份BIOS码。进一步地,控制单元204经由第一数据传输单元210将所读取的备份BIOS码传送至第一存储装置206并将所读取的备份BIOS码重写入至第一存储装置206。在此情况下,第一存储装置206已存有完整BIOS码。因此,如图5所示,控制单元204切换第一数据传输单元210,恢复供应至主控单元202的系统电源,则主控单元202可通过第一数据传输单元210来存取并执行经恢复后的BIOS码,而顺利实现开机程序。Please refer to FIG. 4 and FIG. 5 . FIG. 4 and FIG. 5 are schematic diagrams of restoring the BIOS of the
请参考图6至图8,提供当控制单元204无法提供足够的输入输出端口时的详细实施方式,图6至图8为图2中的计算机系统20进行恢复BIOS的另一示意图。如图6所示,当控制单元204得知有BIOS码的恢复需求后,会先将提供至主控单元202的系统电源关闭。接着,控制单元204可以通过切换第一数据传输单元210及第二数据传输单元212来检测存储于第一存储装置206中的BIOS码。当检测出BIOS码存在错误时,如图7所示,控制单元204通过切换第二数据传输单元212读取存放于第二存储装置206中的备份BIOS码。进一步地,如图8所示,控制单元204通过切换第二数据传输单元212,以经由第一数据传输单元210及第二数据传输单元212将所读取的备份BIOS码传送至第一存储装置206并将所读取的备份BIOS码重写入至第一存储装置206。在此情况下,第一存储装置206已存有完整BIOS码。因此,如图5所示,控制单元204再通过切换第一数据传输单元210,恢复供应至主控单元202的系统电源,则主控单元202可通过第一数据传输单元210来存取并执行经恢复后的BIOS码,而顺利实现开机程序。Please refer to FIG. 6 to FIG. 8 , which provide detailed implementations when the
较佳地,如图4至图8所示,第一数据传输单元210包含第一切换开关402,第一切换开关402可选择性地耦接于主控单元202、控制单元204或第二数据传输单元212。第二数据传输单元212包含一第二切换开关404,第二切换开关404可选择性地耦接于第一数据传输单元210或第二存储装置208。值得注意的是,切换开关402、404可为晶体管或其他可达成相同功能的元件。Preferably, as shown in FIG. 4 to FIG. 8, the first
请参考图9,图9为本发明第二实施例计算机系统90的示意图。值得注意的是,由于图2的计算机系统20与图9的计算机系统90中相同名称的元件具有类似的运作方式与功能,因此为求说明书内容简洁起见,详细说明便在此省略,这些元件的连结关系如图9所示,在此不再赘述。计算机系统90包含主控单元902、控制单元904、第一存储装置906、第二存储装置908、第三存储装置910、第一数据传输单元912、第二数据传输单元914、第三数据传输单元916以及第四数据传输单元918。其中与图2不同之处在于第二存储装置908用来存储控制码及BIOS启动区块码(boot block code),第三存储装置910用来存储备份BIOS码,且主控单元902可通过第四数据传输单元918存取备份BIOS码。较佳地,第三存储装置910为外部存储装置。当有BIOS恢复需求时,计算机系统90利用控制单元904控制主控单元902的引脚,例如设置引脚(strap pin),但本发明并不以此为限,也可采用其他具相同功效的软硬件设计,以使主控单元902通过第二数据传输单元914存取并执行由控制单元904自第二存储装置908所读取的BIOS启动区块码。在此情况下,主控单元902会根据BIOS启动区块码,将存储于第三存储装置910的备份BIOS码重写入第一存储装置906,而完成BIOS的恢复程序。关于计算机系统90的详细操作方式,请继续参考以下说明。Please refer to FIG. 9 , which is a schematic diagram of a
请参考图10,图10为本发明第二实施例恢复计算机系统90的BIOS码的流程100的示意图。流程100用来实现上述计算机系统90的操作流程,其包含下列步骤:Please refer to FIG. 10 , which is a schematic diagram of a
步骤1000:开始。Step 1000: start.
步骤1002:在计算机系统90有恢复需求时,利用控制单元904关闭主控单元902操作所需的系统电源。Step 1002: Use the
步骤1004:利用控制单元904控制主控单元902存取数据,并开启系统电源。Step 1004: Use the
步骤1006:利用主控单元902存取存储于第二存储装置908的BIOS启动区块码。Step 1006: Utilize the
步骤1008:利用主控单元902执行BIOS启动区块码,以将存储于第三存储装置910的备份BIOS码重写入至第一存储装置906。Step 1008 : Use the
步骤1010:利用控制单元904关闭系统电源。Step 1010: Use the
步骤1012:利用控制单元904开启系统电源,使主控单元902得以通过第一数据传输单元912存取第一存储装置906中经重写的BIOS码,以进行开机初始程序。Step 1012: Use the
步骤1014:结束。Step 1014: end.
进一步说明,在步骤1002中,在有恢复需求时,计算机系统90利用控制单元904关闭主控单元902操作所需的系统电源,使主控单元902暂时停止进行存取第一存储装置906的BIOS码。通过控制设置引脚,主控单元902可经由第一数据传输单元912或经由第二数据传输单元914存取外部数据,在步骤1004中,控制单元904将通过设置引脚,再开启提供至主控单元902的系统电源。在此情况下,主控单元902将会经由第二数据传输单元914存取控制单元904所提供的数据。在步骤1006中,可利用主控单元902通过第三数据传输单元916传送一存取要求至控制单元904,接着,在控制单元904根据该存取要求自第二存储装置908读取BIOS启动区块码之后,主控单元902通过第三数据传输单元916存取控制单元904所读取的BIOS启动区块码。在步骤1008中,主控单元902于存取到BIOS启动区块码后,进而执行BIOS启动区块码,以通过第四数据传输单元918,读取存储于第三存储装置910的备份BIOS码,并经由第一数据传输单元912,将所读取的备份BIOS码重写入至第一存储装置906。在步骤1010中,控制单元904将关闭系统电源,并再度通过设置引脚,使主控单元902经由第一数据传输单元912存取第一存储装置906的BIOS码。最后,在步骤1012中,恢复主控单元902的系统电源,以使主控单元902得以进行开机初始程序。因此,相较于已知技术,本发明可以在计算机系统有恢复需求时,利用控制单元904来控制恢复程序,而不致因检查程序损坏而中断开机程序。对于计算机系统来说,更仅需使用较小的存储空间来存放BIOS启动区块码,即可完成恢复程序。To further illustrate, in
需注意的是,计算机系统20及计算机系统90为本发明的实施例,本领域技术人员当可据以做不同的变化。主控单元202、902为中央处理器、芯片组(南桥芯片、北桥芯片)或上述的组合,然本发明并不以此为限。控制单元204、904为嵌入式控制器(embedded controller)、微处理器(Microprocessor)、I/O控制器(I/O controller)或任何具有类似功能的元件。凡是可以用来存储数据的装置皆可用来实现本发明实施例中所提及的存储单元,例如只读存储器、电子式可擦除只读存储器、快闪存储器、非挥发性存储器等等。而本发明实施例中所提及的数据传输单元可以是任何用来传送数据的装置,举例来说,第一数据传输单元912或第二数据传输单元914可为序列周边总线接口(Serial Peripheral Interface,SPI),第三数据传输单元916可为LPC总线接口(Low Pin Count,LPC),第四数据传输单元918可为通用串行总线接口(Universal Serial Bus,USB),但不以此为限。此外,在本发明中所述的热键包含一个或一个以上的按键,举例来说,可设定为功能键Fn、字母J键以及开关键为预设的热键,当此三键被同时按压时即触发一恢复需求。此外,在本发明中所述的特定按键并不拘于特别型式,其包含计算机系统原先已存在或额外增设的实体按键,换句话说,只要是能与控制单元连结并由其管理供应电力的相关设备即可。It should be noted that the
综上所述,相较于已知技术。本发明不需于开机时即检查BIOS码的状况,而可在计算机系统有恢复需求时,利用控制单元来控制恢复程序,而不致因检查程序损坏而中断开机程序。另一方面,本发明仅需使用较小的存储空间来存放BIOS启动区块码,即可完成恢复程序,将可大幅降低制造成本。In summary, compared with the known technology. The present invention does not need to check the status of the BIOS code when the computer system is turned on, but can use the control unit to control the recovery program when the computer system needs recovery, so that the boot process will not be interrupted due to the damage of the checking program. On the other hand, the present invention only needs to use a small storage space to store the BIOS startup block code to complete the recovery procedure, which can greatly reduce the manufacturing cost.
以上所述仅为本发明的优选实施例,凡依本发明权利要求书所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (29)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200910210170 CN102053875B (en) | 2009-10-29 | 2009-10-29 | Method for recovering basic input output system of computer system and computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200910210170 CN102053875B (en) | 2009-10-29 | 2009-10-29 | Method for recovering basic input output system of computer system and computer system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102053875A true CN102053875A (en) | 2011-05-11 |
| CN102053875B CN102053875B (en) | 2013-03-27 |
Family
ID=43958226
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200910210170 Expired - Fee Related CN102053875B (en) | 2009-10-29 | 2009-10-29 | Method for recovering basic input output system of computer system and computer system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102053875B (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102662715A (en) * | 2012-04-23 | 2012-09-12 | 深圳市掌讯通讯设备有限公司 | Startup method for embedded operation system |
| CN103645972A (en) * | 2013-12-17 | 2014-03-19 | 广州商科信息科技有限公司 | Method and device for automatic recovery of system |
| CN103678018A (en) * | 2012-09-04 | 2014-03-26 | 联想(北京)有限公司 | Method and device for recovering data |
| CN103729220A (en) * | 2013-12-25 | 2014-04-16 | 合肥联宝信息技术有限公司 | Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM |
| WO2014067071A1 (en) * | 2012-10-30 | 2014-05-08 | 深圳市多尼卡电子技术有限公司 | Play control method and system for player |
| CN104025047A (en) * | 2012-01-05 | 2014-09-03 | 三菱电机株式会社 | Information Processing Device, Information Processing Method, And Computer Program |
| CN104182289A (en) * | 2013-05-27 | 2014-12-03 | 英业达科技有限公司 | System restoring method |
| CN104216797A (en) * | 2013-06-04 | 2014-12-17 | 国基电子(上海)有限公司 | Embedded system set value setting system and method and electronic device |
| US9311075B2 (en) | 2011-12-16 | 2016-04-12 | Asmedia Technology Inc. | Electronic apparatus and BIOS updating apparatus thereof |
| CN105653931A (en) * | 2014-11-11 | 2016-06-08 | 联想(北京)有限公司 | Data processing method and electronic device |
| CN110162321A (en) * | 2019-05-06 | 2019-08-23 | 晶晨半导体(上海)股份有限公司 | A kind of update method of bootstrap loader |
| CN113051576A (en) * | 2021-03-31 | 2021-06-29 | 联想(北京)有限公司 | Control method and electronic device |
| CN114116020A (en) * | 2020-08-27 | 2022-03-01 | 技嘉科技股份有限公司 | Basic input output system recovery system and method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1680920B (en) * | 2004-04-07 | 2011-06-15 | 纬创资通股份有限公司 | Method and device for remotely updating basic input and output system in data processing system |
| TWI410793B (en) * | 2007-12-28 | 2013-10-01 | Asustek Comp Inc | Computer, and method for error-detecting and booting of bios thereof |
-
2009
- 2009-10-29 CN CN 200910210170 patent/CN102053875B/en not_active Expired - Fee Related
Cited By (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9311075B2 (en) | 2011-12-16 | 2016-04-12 | Asmedia Technology Inc. | Electronic apparatus and BIOS updating apparatus thereof |
| CN104025047A (en) * | 2012-01-05 | 2014-09-03 | 三菱电机株式会社 | Information Processing Device, Information Processing Method, And Computer Program |
| CN104025047B (en) * | 2012-01-05 | 2017-06-06 | 三菱电机株式会社 | Information processor, information processing method and computer program |
| US9471435B2 (en) | 2012-01-05 | 2016-10-18 | Mitsubishi Electric Corporation | Information processing device, information processing method, and computer program |
| CN102662715B (en) * | 2012-04-23 | 2016-03-23 | 深圳市掌讯通讯设备有限公司 | A kind of starting of embedded operation system method |
| CN102662715A (en) * | 2012-04-23 | 2012-09-12 | 深圳市掌讯通讯设备有限公司 | Startup method for embedded operation system |
| CN103678018A (en) * | 2012-09-04 | 2014-03-26 | 联想(北京)有限公司 | Method and device for recovering data |
| WO2014067071A1 (en) * | 2012-10-30 | 2014-05-08 | 深圳市多尼卡电子技术有限公司 | Play control method and system for player |
| CN104169876A (en) * | 2012-10-30 | 2014-11-26 | 深圳市多尼卡电子技术有限公司 | A playback control method and system for a player |
| CN104182289A (en) * | 2013-05-27 | 2014-12-03 | 英业达科技有限公司 | System restoring method |
| CN104216797B (en) * | 2013-06-04 | 2017-08-08 | 国基电子(上海)有限公司 | Embedded system setting value initialization system, method and electronic installation |
| CN104216797A (en) * | 2013-06-04 | 2014-12-17 | 国基电子(上海)有限公司 | Embedded system set value setting system and method and electronic device |
| CN103645972A (en) * | 2013-12-17 | 2014-03-19 | 广州商科信息科技有限公司 | Method and device for automatic recovery of system |
| CN103729220A (en) * | 2013-12-25 | 2014-04-16 | 合肥联宝信息技术有限公司 | Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM |
| CN105653931A (en) * | 2014-11-11 | 2016-06-08 | 联想(北京)有限公司 | Data processing method and electronic device |
| CN105653931B (en) * | 2014-11-11 | 2020-03-24 | 联想(北京)有限公司 | Data processing method and electronic equipment |
| CN110162321A (en) * | 2019-05-06 | 2019-08-23 | 晶晨半导体(上海)股份有限公司 | A kind of update method of bootstrap loader |
| CN110162321B (en) * | 2019-05-06 | 2023-07-28 | 晶晨半导体(上海)股份有限公司 | Updating method of boot loader |
| CN114116020A (en) * | 2020-08-27 | 2022-03-01 | 技嘉科技股份有限公司 | Basic input output system recovery system and method |
| CN113051576A (en) * | 2021-03-31 | 2021-06-29 | 联想(北京)有限公司 | Control method and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102053875B (en) | 2013-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI399647B (en) | Method for recovering bios in computer system and computer system thereof | |
| CN102053875B (en) | Method for recovering basic input output system of computer system and computer system | |
| TWI515660B (en) | Firmware variable update method | |
| US9280433B2 (en) | Hardware diagnostics and software recovery on headless server appliances | |
| US7900036B2 (en) | System and method for implementing boot/recovery on a data processing sysem | |
| US7206971B2 (en) | Selectable and updatable computer boot memory | |
| US8060786B2 (en) | Method for recovering basic input output system and computer device thereof | |
| US20150149815A1 (en) | Bios failover update with service processor having direct serial peripheral interface (spi) access | |
| TW201520895A (en) | System and method for automatically recovering BIOS of a computer | |
| TW201020779A (en) | System for auto-operating backup firmware and method thereof | |
| CN101308470A (en) | Computer system for actively restoring, backing up and updating BIOS | |
| US20150154091A1 (en) | Bios maintenance method | |
| WO2008075646A1 (en) | Information processing system and method for starting/recovering the system | |
| CN104657232A (en) | BIOS automatic recovery system and BIOS automatic recovery method | |
| CN1371052A (en) | Automatic safety recovery method of BIOS storage device in a computer system | |
| CN101515236B (en) | Basic input and output system recovery method and update module and computer system | |
| CN101739315A (en) | System and method for automatically starting backup firmware | |
| CN101354654A (en) | System and method for automatically switching basic input/output program | |
| TWI666556B (en) | Electronic device and operating method thereof | |
| TWI526817B (en) | Computer system, adaptable hibernation control module and control method thereof | |
| CN101303655B (en) | Basic input output system management device and method | |
| CN1323361C (en) | Processor system and method using multi memory of start-up procedure | |
| CN105824650A (en) | Computer system, adaptive sleep control module and control method thereof | |
| CN100394392C (en) | Automatic starting control method and system for computer program recovery mode | |
| TWI541724B (en) | Circuit and method for writing bios code into bios |
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 | ||
| 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: 20130327 Termination date: 20201029 |