CN109032673A - Automatically reply the method and computer system of basic input output system image shelves - Google Patents

Automatically reply the method and computer system of basic input output system image shelves Download PDF

Info

Publication number
CN109032673A
CN109032673A CN201710419112.4A CN201710419112A CN109032673A CN 109032673 A CN109032673 A CN 109032673A CN 201710419112 A CN201710419112 A CN 201710419112A CN 109032673 A CN109032673 A CN 109032673A
Authority
CN
China
Prior art keywords
image shelves
state
bios image
management controller
baseboard management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710419112.4A
Other languages
Chinese (zh)
Inventor
杨顺杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Shunde Ltd
Shencloud Technology Co Ltd
Original Assignee
Mitac Computer Shunde Ltd
Shencloud Technology 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 Mitac Computer Shunde Ltd, Shencloud Technology Co Ltd filed Critical Mitac Computer Shunde Ltd
Priority to CN201710419112.4A priority Critical patent/CN109032673A/en
Publication of CN109032673A publication Critical patent/CN109032673A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • 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/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • 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/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

A method of automatically replying BIOS image shelves, it is executed by a computer system, it includes flash memory, a processor and the switch unit that switches between first and second state for having an image shelves, in the first state, the flash memory and a control chipset electrical connection, in second state, the flash memory and controller electrical connection, this method includes: when receiving a more new command, which exports a notification instruction;The controller makes the switch unit be switched to second state;The controller backs up the image shelves;When back up complete when, the switch unit switchback first state;The controller judges whether that receiving one is updated successfully instruction;When the judgment is no, which is switched to second state;The image shelves that the controller is backed up override into the flash memory.

Description

Automatically reply the method and computer system of basic input output system image shelves
Technical field
The invention relates to a kind of method and computer systems, particularly relate to one kind and automatically reply basic input and output system The method and computer system of system image shelves.
Background technique
Existing computer system is mainly by the basic input output system executed stored by its internal flash memory (Basic Input/Output System, BIOS) image shelves (hereinafter referred to as BIOS image shelves) boot up.
When needing to update the BIOS image shelves and updating failure again, it will cause the computer system just normally opened Machine.In response to this problem, existing restorative procedure mainly has two kinds: (1) utilizing recovery function provided by the computer system itself The BIOS image shelves can be made to return back to its init state;(2) when utilizing a CD writer directly by the computer system power-on Required BIOS image shelves imprinting is to the flash memory.However, this two kinds of restorative procedures require reparation personnel to in-situ processing, and The flash memory can not be returned to and update preceding identical state (that is, the BIOS image shelves quilt that the flash memory is stored before updating The BIOS image shelves of genuine setting are covered).Therefore, the known method for repairing BIOS image shelves still has improved space.
Summary of the invention
The technical problem to be solved in the present invention is to provide one kind, and automatically replying for prior art disadvantage can be overcome substantially defeated Enter the method for output system image shelves.
In order to solve the above technical problems, the method that the present invention automatically replies basic input output system (BIOS) image shelves, As performed by a computer system, the computer system include one store the flash memory of a BIOS image shelves, one control chipset, One processor, a baseboard management controller and a switch unit, which generally operates at a first state, but can respond In one control signal and switch between the first state and one second state, when the switch unit operation in the first state, Establish between the flash memory and the control chipset and be electrically connected, when the switch unit operation in second state, establish the flash memory and It is electrically connected between the baseboard management controller, which comprises the steps of:
(A) when the processor, which receives an instruction, updates the more new command of the BIOS image shelves, one notice of processor output Instruction;
(B) baseboard management controller generates the control signal according to the notification instruction, so that the switch unit is according to the control Signal and switch to second state from the first state;
(C) baseboard management controller backs up the BIOS image shelves stored by the flash memory;
(D) when backing up completion, the control signal caused by the baseboard management controller makes the switch unit from second shape State switches back into the first state;
(E) baseboard management controller judge whether in received in one first preset time from the processor one instruction should What the BIOS image shelves in flash memory were updated successfully is updated successfully instruction;
(F) when the judging result of (E) step is no, the control signal caused by the baseboard management controller makes the switch list Member switches to second state;And
(G) the BIOS image shelves that the baseboard management controller is backed up it override into the flash memory.
The invention solves another technical problem be to provide one kind and can overcome automatically replying for prior art disadvantage The method of basic input output system image shelves.
In order to solve the above technical problems, the method that the present invention automatically replies basic input output system (BIOS) image shelves, As performed by a computer system, which is suitable for providing the BIOS of a new version via communication network connection one The remote server of image shelves, the computer system include one store the flash memory of a BIOS image shelves, one control chipset, one Baseboard management controller, a switch unit and a processor, which generally operates at a first state, but may be in response to One control signal and switch between the first state and one second state, when the switch unit operation in the first state, build Stand and be electrically connected between the flash memory and the control chipset, when the switch unit operation in second state, establish the flash memory and should It is electrically connected between baseboard management controller, which comprises the steps of:
(A) when the processor receives the more new command that an instruction updates the BIOS image shelves, and the baseboard management controller is defeated Out when the control signal, which switches to second state from the first state according to the control signal;
(B) baseboard management controller backs up the BIOS image shelves stored by the flash memory;
(C) baseboard management controller overrides the BIOS image shelves of the new version provided by the remote server into the sudden strain of a muscle It deposits;
(D) baseboard management controller judges whether the BIOS image shelves of the new version are override completely into the flash memory;And
(E) when the judging result of (D) step is no, the BIOS image shelves which is backed up it are override Enter the flash memory.
This trouble another to be solved technical problem, which is to provide one kind, can overcome the department of computer science of prior art disadvantage System.
To solve this technical problem, computer system of the present invention is suitable for being electrically connected the basic input of one new version of offer The storage device of output system (BIOS) image shelves, the computer system include a flash memory, a control chipset, a switch list Member, a processor and a baseboard management controller.
The flash memory stores a BIOS image shelves.
The control chipset is for being electrically connected the storage device to receive the BIOS image shelves of the new version.
The switch unit have one be electrically connected the flash memory first end, one be electrically connected the control chipset second end, one The control terminal of one control signal of third end and a reception, and a first state is generally operated at, but may be in response to the control signal And switch between the first state and one second state, when the switch unit operation in the first state, the first end with should Be connected between second end, when the switch unit operation in second state, be connected between the first end and the third end.
The processor is electrically connected the control chipset, when the more new command for receiving an instruction and updating the BIOS image shelves When, which exports a notification instruction to the control chipset.
The baseboard management controller is electrically connected the third end and control terminal of the switch unit, and utilizes a coffret It is electrically connected the control chipset, and receives the notice from the processor via the coffret and the control chipset and refers to It enables, and the control signal is generated according to the notification instruction, so that the switch unit is according to the control signal and from the first state Second state is switched to, so that the baseboard management controller can read via the switch unit and keep in stored by the flash memory The BIOS image shelves are to be backed up.
When backing up completion, the control signal caused by the baseboard management controller makes the switch unit from second shape State switches back into the first state, and the processor control the control chipset by its received new version BIOS image shelves It overrides via the switch unit into the flash memory, to update the BIOS image shelves.
When the update of BIOS image shelves failure, the control signal caused by the baseboard management controller makes the switch Unit switches to second state from the first state, and the BIOS image shelves that the baseboard management controller is backed up it cover The flash memory is written.
The invention solves another technical problem be to provide one kind and can overcome the department of computer science of prior art disadvantage System.
In order to solve the above technical problems, computer system of the present invention is suitable for connecting a remote service via a communication network Device, basic input output system (BIOS) the image shelves and an instruction that a new version is provided by the remote server update one The more new command of BIOS image shelves, the computer system include a flash memory, a switch unit and a baseboard management controller.
The flash memory stores the BIOS image shelves.
The switch unit has one to be electrically connected the first end of the flash memory, one control of a second end, a third end and a reception The control terminal of signal, and generally operate at a first state, but may be in response to the control signal and in the first state and one Switch between two-state, when the switch unit operation in the first state, be connected between the first end and the second end, when the switch Unit is operated in second state, is connected between the first end and the third end.
The baseboard management controller is used to connect the remote server via the communication network to receive the new version BIOS image shelves and the more new command, and it is electrically connected the third end and the control terminal of the switch unit, when the substrate management control After device processed receives and exports the more new command, and when receiving a notification instruction, the baseboard management controller is according to the notice Instruction generates the control signal and the switch unit is made to switch to second state from the first state according to the control signal, So that the baseboard management controller can be read via the switch unit and keep in the BIOS image shelves stored by the flash memory with into Row backup.The baseboard management controller includes a memory.
The memory is electrically connected the third end of the switch unit, is configured to temporarily store the baseboard management controller and is read from the flash memory The BIOS image shelves got.
When backing up completion, which receives via the communication network should provided by the remote server The BIOS image shelves of new version, and by its BIOS image shelves of the received new version override via the switch unit into the sudden strain of a muscle It deposits, to update the BIOS image shelves.
When the baseboard management controller judges the update failure of the BIOS image shelves, the baseboard management controller is by its institute The BIOS image shelves of backup override into the flash memory.
Compared to the prior art, the present invention is since before updating BIOS image shelves B1, which can be first The BIOS image shelves original in the flash memory are temporarily stored in the memory.(e.g., exist after the update failure of BIOS image shelves B1 Powered off when overriding BIOS image shelves process, cause the BIOS image shelves of the new version that can not be used), the baseboard management controller The BIOS image shelves B1 being temporarily stored in the memory can also be override into the flash memory, be automatically replied with reaching and do not need to repair people Member to in-situ processing function, while can make the flash memory store with update before identical BIOS image shelves B1, in turn Reach the effect of can returning back to preceding identical state is updated.
[Detailed description of the invention]
The other features and effect of the present invention, will clearly be presented in the embodiment referring to schema, in which:
Fig. 1 is a block diagram, illustrates computer system of the present invention with the basic input of a new version provided by a storage device Output system image shelves carry out one of version updating first embodiment;
Fig. 2 is a flow chart, illustrates that the computer system of the first embodiment executes one kind and automatically replies basic input and output The method of system image shelves;
Fig. 3 is a schematic diagram, illustrates a basic input output system image shelves of the first embodiment;
Fig. 4 is a block diagram, illustrates computer system of the present invention with the substantially defeated of a new version provided by a remote server Enter output system image shelves and carries out one of version updating second embodiment;And
Fig. 5 is a flow chart, illustrates that the computer system of the second embodiment executes one kind and automatically replies basic input and output The method of system image shelves.
[specific embodiment]
Before the present invention is described in detail, it shall be noted that in the following description content, similar component is with identical volume It number indicates.
<first embodiment>
Refering to fig. 1, the first embodiment of computer system 10 of the present invention is suitable for being electrically connected the substantially defeated of one new version of offer Enter the storage of output system (Basic Input/Output System, BIOS) image shelves (hereinafter referred to as BIOS image shelves) NB Device 1(is for example, a Portable disk), which includes a flash memory 2, one control chipset 3, at a switch unit 4, one Manage device 5 and baseboard management controller 6(Baseboard Management a Controller, BMC).
The flash memory 2 stores a BIOS image shelves B1.
The control chipset 3 is for being electrically connected the storage device 1 to receive the BIOS image shelves NB of the new version.In this reality Apply in example, the control chipset 3 have universal input and output (General Purpose Input and Output, GPIO) pin (not shown), and the control chipset 3 is with a platform path controller (Platform Controller Hub, PCH) implement.
The switch unit 4 have one be electrically connected the flash memory 2 first end, one be electrically connected the control chipset 3 second end, The control terminal of one control signal C1 of one third end and a reception, and a first state is generally operated at, but may be in response to the control Signal C1 and switch between the first state and one second state.When the switch unit 4 operation is in the first state, this first End is electrically connected with conducting between the second end with establishing between the flash memory 2 and the control chipset 3, and between the first end and the third end It is not turned on.When the switch unit 4 operation is in second state, conducting is between the first end and the third end to establish the flash memory 2 And it is electrically connected between the baseboard management controller 6, and be not turned between the first end and the second end.
The processor 5 is electrically connected the control chipset 3.When booting up, which is operated in first shape State, the processor 5 read via the control chipset 3 and the switch unit 4 and execute the BIOS image stored by the flash memory 2 Shelves B1 is switched on.When needing to update BIOS image shelves B1 (that is, the control chipset 3, which receives an instruction, updates the BIOS The outside more new command of image shelves B1, and the more new command is transmitted to the processor 5 and receives the update in the processor 5 When instruction), which exports a notification instruction I1 to the control chipset 3.It should be noted that this more new command does not exist Drawn in Fig. 1, and the more new command may be from the storage device 1 or one be electrically connected the control chipset 3 keyboard (not shown). Notification instruction I1 is one based on Intelligent Platform Management Interface (Intelligent Platform Management Interface original equipment factory instruction (the IPMI Original Equipment Manufacturing) defined Command, IPMI OEMC).
The baseboard management controller 6 is electrically connected the third end and control terminal of the switch unit 4, and is connect using a transmission Mouth is electrically connected the control chipset 3.The baseboard management controller 6 comes from via the coffret and the control chipset 3 reception The notification instruction I1 of the processor 5, and the control signal C1 is generated according to notification instruction I1 and is exported to the switch unit 4 The control terminal so that the switch unit 4 switches to second state from the first state according to the control signal C1 so that The baseboard management controller 6 can via the switch unit 4 read and keep in the BIOS image shelves B1 stored by the flash memory 2 with into Row backup.In the present embodiment, which is a low pin number bus interface (Low Pin Count Bus Interface, LPCBI), and meet low pin number (Low Pin between the baseboard management controller 6 and the control chipset 3 Count, LPC) confluence transport protocol, but not limited to this.The baseboard management controller 6 includes a memory 61.
The memory 61 is electrically connected the third end of the switch unit 4, is configured to temporarily store the baseboard management controller 6 from the flash memory The 2 BIOS image shelves B1 read.
Referring to Fig.2, it illustrates that the computer system 10 by a kind of method for automatically replying BIOS image shelves is executed, can make For the computer system 10 after the procedure failure for updating BIOS image shelves B1, the flash memory 2 is complete before can also storing and updating Identical BIOS image shelves B1.In the present embodiment, which comprises the steps of:
In step 81, which reads via the control chipset 3 and the switch unit 4 and executes stored by the flash memory 2 BIOS image shelves B1, to boot up.
In step 82, when the processor 5 receives more new command (that is, it needs to the updating BIOS image shelves B1), The more new procedures that the processor 5 starting updates BIOS image shelves B1 simultaneously export notification instruction I1, and by the notification instruction I1 is sent to the baseboard management controller 6 via the control chipset 3 and the coffret, to notify the baseboard management controller 6 will start to be updated BIOS image shelves B1.
In a step 83, which generates control signal C1 according to notification instruction I1, so that this is opened It closes unit 4 and second state is switched to from the first state according to the control signal C1.At this point, the processor 5 temporarily interrupts The more new procedures, and the flash memory 2 is controlled by the baseboard management controller 6.
In step 84, which reads the BIOS stored by the flash memory 2 via the switch unit 4 Image shelves B1, and BIOS image shelves B1 is temporarily stored in the memory 61, to be backed up.
In step 85, when backing up completion in step 84, control signal C1 caused by the baseboard management controller 6 The switch unit 4 is set to switch back into the first state from second state.At this point, the flash memory 2 is controlled by the control chipset 3 System.
In step 86, when in step 84 back up complete when, the baseboard management controller 6 adjust the control chipset 3 it The universal input and output pin current potential (that is, the baseboard management controller 6 by the current potential of the universal input and output pin from One high logic level (that is, high potential) is adjusted to a low logic level (that is, low potential)), to notify the processor 5 to back up At so that the processor 5 controls the control chipset 3 to update BIOS image shelves B1.
In step 87, the processor 5 continue to execute the more new procedures and control the control chipset 3 by its institute it is received The BIOS image shelves NB of the new version overrides via the switch unit 4 into the flash memory 2, by the BIOS image in the flash memory 2 Shelves B1 is updated, and when BIOS image shelves B1 is updated successfully, which generates and export the instruction flash memory 2 In BIOS image shelves B1 be updated successfully be updated successfully instruction I2(that is, the BIOS image shelves NB of the new version overrides completely Enter in the flash memory 2), and this is updated successfully instruction I2 and is exported via the control chipset 3 and the coffret to the substrate pipe Manage controller 6.
In step 88, the baseboard management controller 6 judge whether in one first preset time via the coffret And the control chipset 3 receive from the processor 5 this be updated successfully instruction I2.If so, carrying out step 89, step 90;(that is, the update of BIOS image shelves B1 fails) if not, then carry out step 92, step 93.
In the present embodiment, first preset time be the baseboard management controller 6 by the control chipset 3 this is general Type input and output pin current potential adjustment after (that is, being adjusted to the low logic level from the high logic level) under normal circumstances should Time needed for flash memory 2 completes version updating.
In step 89, which re-starts booting according to the BIOS image shelves NB of the new version.
In step 90, which more judges whether in connecing in one second preset time via the transmission Mouth and the control chipset 3 receive the successful power-on instruction I3 from the processor 5.If so, skipping to step 91;If It is no, then carry out step 92.
In the present embodiment, success power-on instruction I3 can be for one to indicate the processor 5 according to the new version The IPMI instruction that BIOS image shelves NB booting finishes.Second preset time is that the processor 5 boots up under normal circumstances Time needed for generating the success power-on instruction I3 and being transmitted to the baseboard management controller 6.
In step 91, BIOS image shelves B1's is updated successfully (that is, the flash memory 2 completion version updating, original to be somebody's turn to do Replaced BIOS image shelves NB of the BIOS image shelves B1 by the new version).
In step 92, control signal C1 caused by the baseboard management controller 6 make the switch unit 4 from this first State switches to second state.
In step 93, the baseboard management controller 6 by the BIOS image shelves B1 being temporarily stored in the memory 61 override into The flash memory 2, so that the flash memory 2 stores the BIOS image shelves B1(before updating that is, BIOS image shelves stored by the flash memory 2 It is returned to and updates preceding identical version).
Refering to Fig. 3, for example, the BIOS image shelves B1 includes a bios program code part B11 and a configuration and setting Part B12.In BIOS image shelves B1 before update, which has BIOS journey required when being switched on Sequence code, the configuration and setting part B12 have the setting being relevant to stored by user.Fail when the BIOS image shelves B1 updates When, according to existing restorative procedure (refering to prior art), utilize return function provided by existing computer system itself Or BIOS image shelves B1 is repaired using a CD writer, due to its configuration and setting portion of BIOS image shelves of genuine setting Point B12 is blank, and setting stored by original user will be eliminated by overriding the flash memory 2, and make the BIOS image after repairing Shelves are different from not preprosthetic BIOS image shelves.However, then may be used according to the method for automatically replying BIOS image shelves of the invention It is returned to BIOS image shelves B1 and updates preceding identical version.That is, the bios program code part B11 has Required bios program code when having a booting, which, which has, is relevant to the original stored setting of user, And then reach the purpose of the present invention.
<second embodiment>
Refering to Fig. 4, the second embodiment of computer system 10 ' of the present invention is similar to the first embodiment, and the two difference exists In: (1) second embodiment omit storage device 1(in the first embodiment see Fig. 1);(2) computer system 10 ' is suitable For connecting a remote server 7 via a communication network 70, reflected by the remote server 7 come the BIOS for providing a new version As the instruction of shelves NB and one updates the more new command I4 of BIOS image shelves B1, and the computer system 10 ' and the remote server 7 Between transmission meet the industrial transmission standard of IPMI;(3) also via the communication network 70 connection, this is remote for the baseboard management controller 6 Journey server 7;(4) when needing to update the BIOS image shelves, the remote server 7 is by the more new command I4 via the communication network Network 70, the baseboard management controller 6 and the control chipset 3 are transmitted to the processor 5;It (5) will by the baseboard management controller 6 The BIOS image shelves NB of the new version from the remote server 7 overrides via the switch unit 4 into the flash memory 2, should BIOS image shelves B1 in flash memory 2 is updated.
Refering to Fig. 5, illustrate the method that the computer system 10 ' automatically replies BIOS image shelves by another kind is executed, Come make the computer system 10 ' update BIOS image shelves B1 procedure failure after, before which can also store and update Identical BIOS image shelves B1.In the present embodiment, which comprises the steps of:
In step 71, when the processor 5 receives the more new command I4 from the remote server 7, which is opened Dynamic more new procedures for updating BIOS image shelves B1 simultaneously export notification instruction I1 to the baseboard management controller 6, so that should Baseboard management controller 6 generates control signal C1 according to notification instruction I1, and makes the switch unit 4 according to the control signal C1 and switch to second state from the first state.
In step 72, which reads the BIOS stored by the flash memory 2 via the switch unit 4 Image shelves B1, and BIOS image shelves B1 is temporarily stored in the memory 61, to be backed up.
In step 73, when backing up completion in step 72, which should by the control chipset 3 The current potential of universal input and output pin is adjusted to the low logic level from the high logic level, to notify the processor 5 to back up It completes, so that the processor 5 controls the control chipset 3 to notify the baseboard management controller 6 to start to update the BIOS image Shelves B1.
In step 74, which receives provided by the remote server 7 via the communication network 70 The BIOS image shelves NB of the new version, and by its BIOS image shelves NB of the received new version covered via the switch unit 4 The flash memory 2 is written, to update BIOS image shelves B1.
In step 75, the baseboard management controller 6 judge the BIOS image shelves NB of the new version whether override completely into In the flash memory 2.If so, carrying out step 76, step 77, step 78;(that is, the update of BIOS image shelves B1 fails) if not, Then carry out step 701.
In a step 76, control signal C1 caused by the baseboard management controller 6 make the switch unit 4 from this second State switches back into the first state.
In step 77, which re-starts out according to the BIOS image shelves NB of the new version in the flash memory 2 Machine.
In step 78, which more judges whether in connecing in second preset time via the transmission Mouth and the control chipset 3 receive the success power-on instruction I3 from the processor 5.If so, skipping to step 79;If It is no, then step 702 is first carried out, then carry out step 701.
In step 79, BIOS image shelves B1's is updated successfully (that is, the flash memory 2 completion version updating, original to be somebody's turn to do Replaced BIOS image shelves NB of the BIOS image shelves B1 by the new version).
In step 701, the baseboard management controller 6 by the BIOS image shelves B1 being temporarily stored in the memory 61 override into The flash memory 2, so that the flash memory 2 stores the BIOS image shelves B1(before updating that is, BIOS image shelves stored by the flash memory 2 It is returned to and updates preceding identical version, and this related description sees the citing of Fig. 3).
In a step 702, control signal C1 caused by the baseboard management controller 6 make the switch unit 4 from this One state switches to second state.
In conclusion the baseboard management controller 6 meeting first will be in the flash memory 2 due to before updating BIOS image shelves B1 Original BIOS image shelves B1 is temporarily stored in the memory 61.It (e.g., is being override after the update failure of BIOS image shelves B1 Powered off when BIOS image shelves process, cause the BIOS image shelves of the new version that can not be used), the baseboard management controller 6 is also The BIOS image shelves B1 being temporarily stored in the memory 61 can be override into the flash memory 2, be automatically replied with reaching and do not need to repair Personnel to in-situ processing function, while can make the flash memory 2 store with update before identical BIOS image shelves B1, into And reach the effect of can returning back to preceding identical state is updated, therefore the purpose of the present invention can be reached really.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (13)

1. the method that one kind automatically replies basic input output system (BIOS) image shelves should as performed by a computer system Computer system include one store the flash memory of a BIOS image shelves, one control chipset, a processor, a substrate management control Device and a switch unit, the switch unit generally operate at a first state, but may be in response to a control signal and this first Switch between state and one second state, when the switch unit operation in the first state, establish the flash memory and the control chip Be electrically connected between group, when the switch unit operation in second state, establish between the flash memory and the baseboard management controller and be electrically connected It connects, which is characterized in that the method for automatically replying BIOS image shelves comprises the steps of:
(A) when the processor, which receives an instruction, updates the more new command of the BIOS image shelves, one notice of processor output Instruction;
(B) baseboard management controller generates the control signal according to the notification instruction, so that the switch unit is according to the control Signal and switch to second state from the first state;
(C) baseboard management controller backs up the BIOS image shelves stored by the flash memory;
(D) when backing up completion, the control signal caused by the baseboard management controller makes the switch unit from second shape State switches back into the first state;
(E) baseboard management controller judge whether in received in one first preset time from the processor one instruction should What the BIOS image shelves in flash memory were updated successfully is updated successfully instruction;
(F) when the judging result of (E) step is no, the control signal caused by the baseboard management controller makes the switch list Member switches to second state;And
(G) the BIOS image shelves that the baseboard management controller is backed up it override into the flash memory.
2. the method for automatically replying BIOS image shelves as described in claim 1, which is characterized in that after step (G), also wrap Containing following steps:
(H) when the judging result of (E) step, which is, is, which re-starts out according to the BIOS image shelves of a new version Machine;
(I) baseboard management controller more judges whether in receiving the success from the processor in one second preset time Power-on instruction;
(J) when the judging result of (I) step is no, the control signal caused by the baseboard management controller makes the switch list Member switches to second state;And
(K) the BIOS image shelves that the baseboard management controller is backed up it override into the flash memory.
3. the method for automatically replying BIOS image shelves as described in claim 1, which is characterized in that the control chipset has one Universal input and output pin also comprises the steps of: after step (D) and before step (E)
(L) when backing up completion, which adjusts the universal input and output pin of the control chipset Current potential, to notify processor backup to complete.
4. the method for automatically replying BIOS image shelves as described in claim 1, which is characterized in that the control chipset is for connecing The BIOS image shelves for receiving a new version also comprise the steps of: after step (D) and before step (E)
(M) processor control the control chipset by its BIOS image shelves of the received new version override into the flash memory, To update the BIOS image shelves.
5. the method for automatically replying BIOS image shelves as described in claim 1, which is characterized in that the BIOS image shelves include one Bios program code part and a configuration and setting part.
6. the method that one kind automatically replies basic input output system (BIOS) image shelves should as performed by a computer system Computer system is suitable for providing the remote server of the BIOS image shelves of a new version, the meter via communication network connection one Calculation machine system includes that one to store the flash memory of a BIOS image shelves, a control chipset, a baseboard management controller, a switch single Member and a processor, the switch unit generally operate at a first state, but may be in response to a control signal and in first shape Switch between state and one second state, when the switch unit operation in the first state, establish the flash memory and the control chipset Between be electrically connected, when the switch unit operation in second state, establish between the flash memory and the baseboard management controller and be electrically connected, It is characterized in that the method for automatically replying BIOS image shelves comprises the steps of:
(A) when the processor receives the more new command that an instruction updates the BIOS image shelves, and the baseboard management controller is defeated Out when the control signal, which switches to second state from the first state according to the control signal;
(B) baseboard management controller backs up the BIOS image shelves stored by the flash memory;
(C) baseboard management controller overrides the BIOS image shelves of the new version provided by the remote server into the sudden strain of a muscle It deposits;
(D) baseboard management controller judges whether the BIOS image shelves of the new version are override completely into the flash memory;And
(E) when the judging result of (D) step is no, the BIOS image shelves which is backed up it are override Enter the flash memory.
7. the method for automatically replying BIOS image shelves as claimed in claim 6, which is characterized in that after the step (B) and Before step (C), also comprise the steps of:
(F) when backing up completion, which adjusts the universal input and output pin of one of the control chipset Current potential, with notify the processor backup complete.
8. the method for automatically replying BIOS image shelves as claimed in claim 6, which is characterized in that the BIOS image shelves include one Bios program code part and a configuration and setting part.
9. a kind of computer system, suitable for being electrically connected basic input output system (BIOS) image shelves of one new version of offer Storage device, which is characterized in that the computer system includes:
One flash memory stores a BIOS image shelves;
One control chipset, the BIOS image shelves of the new version are received for being electrically connected the storage device;
One switch unit, with one be electrically connected the flash memory first end, one be electrically connected the control chipset second end, a third End and one receive a control signal control terminal, and generally operate at a first state, but may be in response to the control signal and Switch between the first state and one second state, when the switch unit operation in the first state, the first end and this second Be connected between end, when the switch unit operation in second state, be connected between the first end and the third end;
One processor is electrically connected the control chipset, should when receiving an instruction and updating the more new command of the BIOS image shelves Processor exports a notification instruction to the control chipset;And
One baseboard management controller is electrically connected the third end and the control terminal of the switch unit, and utilizes coffret electricity The control chipset is connected, and receives the notification instruction from the processor via the coffret and the control chipset, And the control signal is generated according to the notification instruction, so that the switch unit switches according to the control signal from the first state To second state, so that the baseboard management controller can read via the switch unit and keep in being somebody's turn to do stored by the flash memory BIOS image shelves are to be backed up;
Wherein, when back up complete when, the control signal caused by the baseboard management controller make the switch unit from this second State switches back into the first state, and the processor control the control chipset by its received new version BIOS image Shelves override via the switch unit into the flash memory, to update the BIOS image shelves;
Wherein, when the update of BIOS image shelves failure, the control signal caused by the baseboard management controller opens this It closes unit and switches to second state, and the BIOS image shelves that the baseboard management controller is backed up it from the first state It overrides into the flash memory.
10. computer system as claimed in claim 9, which is characterized in that when the switch unit operation in the first state, It is not turned between the first end and the third end, when switch unit operation is in second state, the first end and the second end Between be not turned on, and the baseboard management controller includes:
One memory is electrically connected the third end of the switch unit, is configured to temporarily store the baseboard management controller and is read from the flash memory The BIOS image shelves arrived.
11. computer system as claimed in claim 9, it is characterised in that:
When the switch unit operation in the first state, be not turned between the first end and the third end, when the switch unit grasp Make in second state, is not turned between the first end and the second end;
The control chipset has a universal input and output pin, and when backing up completion, baseboard management controller adjustment should The current potential of the universal input and output pin of chipset is controlled to notify processor backup to complete, so that the processor controls The control chipset updates the BIOS image shelves;And
The baseboard management controller judges whether in connecing in one first preset time via the coffret and the control chipset Receive from the processor one instruction the flash memory in the BIOS image shelves be updated successfully be updated successfully instruction, if it is not, then The update of the BIOS image shelves fails.
12. computer system as claimed in claim 9, it is characterised in that:
When the judging result of the baseboard management controller is yes, when being updated successfully of the BIOS image shelves, the processor again into Row booting, and the baseboard management controller more judge whether in one second preset time via the coffret and the control core Piece group receives the successful power-on instruction from the processor, if it is not, the letter of the control caused by the baseboard management controller So that the switch unit is switched to second state from the first state, and the baseboard management controller it is backed up should BIOS image shelves override into the flash memory.
13. a kind of computer system is suitable for connecting a remote server via a communication network, come by the remote server Basic input output system (BIOS) the image shelves and an instruction that there is provided a new version update the more new command of a BIOS image shelves, It is characterized in that the computer system includes:
One flash memory stores the BIOS image shelves;
One switch unit, first end, the one control letter of a second end, a third end and a reception for being electrically connected the flash memory with one Number control terminal, and generally operate at a first state, but may be in response to the control signal and in the first state and one second Switch between state, when the switch unit operation in the first state, be connected between the first end and the second end, when the switch list Atom operation is connected between the first end and the third end in second state;And
One baseboard management controller is reflected for connecting the remote server via the communication network with the BIOS for receiving the new version As shelves and the more new command, and it is electrically connected the third end and control terminal of the switch unit, when the baseboard management controller connects After receiving and exporting the more new command, and when receiving a notification instruction, which produces according to the notification instruction The raw control signal simultaneously makes the switch unit switch to second state from the first state according to the control signal, so that should Baseboard management controller can read via the switch unit and keep in the BIOS image shelves stored by the flash memory to be backed up, The baseboard management controller includes
One memory is electrically connected the third end of the switch unit, is configured to temporarily store the baseboard management controller and is read from the flash memory The BIOS image shelves arrived;
Wherein, when backing up completion, which receives provided by the remote server via the communication network The BIOS image shelves of the new version, and by its received new version BIOS image shelves via the switch unit override into should Flash memory, to update the BIOS image shelves;
Wherein, when the baseboard management controller judge the BIOS image shelves update failure when, the baseboard management controller by its The BIOS image shelves backed up override into the flash memory.
CN201710419112.4A 2017-06-06 2017-06-06 Automatically reply the method and computer system of basic input output system image shelves Pending CN109032673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710419112.4A CN109032673A (en) 2017-06-06 2017-06-06 Automatically reply the method and computer system of basic input output system image shelves

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710419112.4A CN109032673A (en) 2017-06-06 2017-06-06 Automatically reply the method and computer system of basic input output system image shelves

Publications (1)

Publication Number Publication Date
CN109032673A true CN109032673A (en) 2018-12-18

Family

ID=64629034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710419112.4A Pending CN109032673A (en) 2017-06-06 2017-06-06 Automatically reply the method and computer system of basic input output system image shelves

Country Status (1)

Country Link
CN (1) CN109032673A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021216046A1 (en) * 2020-04-21 2021-10-28 Hewlett-Packard Development Company, L.P. Bios updates
CN113687843A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller
CN114064130A (en) * 2020-07-31 2022-02-18 广达电脑股份有限公司 Automatic driving system with double safety starting
CN113687843B (en) * 2020-05-18 2024-04-19 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308470A (en) * 2007-05-17 2008-11-19 华硕电脑股份有限公司 Computer system for initiative restoration, backup and update of BIOS
CN101364193A (en) * 2007-08-06 2009-02-11 英业达股份有限公司 BIOS automatic recovery method and computer and system using the method
US20110093741A1 (en) * 2009-10-15 2011-04-21 Te-Yu Liang Method for recovering bios and computer system thereof
CN106681751A (en) * 2015-11-05 2017-05-17 广达电脑股份有限公司 Unified firmware management system, management method, and computer readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308470A (en) * 2007-05-17 2008-11-19 华硕电脑股份有限公司 Computer system for initiative restoration, backup and update of BIOS
CN101364193A (en) * 2007-08-06 2009-02-11 英业达股份有限公司 BIOS automatic recovery method and computer and system using the method
US20110093741A1 (en) * 2009-10-15 2011-04-21 Te-Yu Liang Method for recovering bios and computer system thereof
CN106681751A (en) * 2015-11-05 2017-05-17 广达电脑股份有限公司 Unified firmware management system, management method, and computer readable medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GAMING小龙女: "https://tieba.baidu.com/p/4028924617", 《微星100系列主板刷BIOS新方式》 *
小王数码: "https://www.pc841.com/article/20160328-64000_all.html", 《主板BIOS怎么刷 主板BIOS更新进阶教程 (全文)》 *
白头翁: "www.360doc.com/content/13/0314/11/4263355_271424225.shtml", 《主板BIOS的备份与升级详解》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021216046A1 (en) * 2020-04-21 2021-10-28 Hewlett-Packard Development Company, L.P. Bios updates
CN113687843A (en) * 2020-05-18 2021-11-23 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller
CN113687843B (en) * 2020-05-18 2024-04-19 佛山市顺德区顺达电脑厂有限公司 Method for automatically recovering firmware of baseboard management controller
CN114064130A (en) * 2020-07-31 2022-02-18 广达电脑股份有限公司 Automatic driving system with double safety starting
CN114064130B (en) * 2020-07-31 2024-04-02 广达电脑股份有限公司 Automatic driving system with double safety starting

Similar Documents

Publication Publication Date Title
CN108038019B (en) Automatic fault recovery method and system for substrate management controller
US8762782B2 (en) Basic input-output system circuit and method for using the same
TWI633487B (en) Method and computer system for automatically recovering the bios image file
CN103488498A (en) Computer booting method and computer
CN102546135B (en) Active/standby server switched system and method
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN103748569A (en) System and methods for driverless operation of USB device
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
CN109189461A (en) The programme upgrade method and elevator control system and lift facility of elevator control system
CN102238093A (en) Service interruption prevention method and device
EP3709149A1 (en) Off-board flash memory
CN109358893A (en) A kind of the online upgrading method, apparatus and system of FPGA program
CN109032673A (en) Automatically reply the method and computer system of basic input output system image shelves
CN109857540A (en) Management method, device, terminal and the computer readable storage medium of server
US11403113B2 (en) Server with system setting data synchronization function
CN107147698B (en) Remote control system, method and device of intelligent switch
CN111385613B (en) Television system repairing method, storage medium and application server
US20150269237A1 (en) Disaster Recovery of Converged Infrastructure Platforms
CN109446008A (en) A kind of failure cause detection method, failure cause detection device and terminal device
JP2006318394A (en) Management method for uninterruptible power supply device in network system
CN112650099B (en) Control method and control system of battery monitoring platform
CN114448783A (en) Device replacement method and related device
CN108319679B (en) Method and device for generating primary key
CN110733037B (en) Signal processing method and device, storage medium and processor
KR101261022B1 (en) Apparatus of data processing and method of setting program data thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination