CN106776282A - The abnormality eliminating method and device of a kind of bios program - Google Patents

The abnormality eliminating method and device of a kind of bios program Download PDF

Info

Publication number
CN106776282A
CN106776282A CN201611050425.9A CN201611050425A CN106776282A CN 106776282 A CN106776282 A CN 106776282A CN 201611050425 A CN201611050425 A CN 201611050425A CN 106776282 A CN106776282 A CN 106776282A
Authority
CN
China
Prior art keywords
bios program
bios
program
breaks down
main
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
CN201611050425.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611050425.9A priority Critical patent/CN106776282A/en
Publication of CN106776282A publication Critical patent/CN106776282A/en
Priority to PCT/CN2017/100375 priority patent/WO2018095107A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3644Software debugging by instrumenting at runtime
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

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

Abstract

The invention discloses the abnormality eliminating method and device of a kind of bios program.In the method, the first bios program is a BIOS in N number of bios program of physical equipment, and to start the main bios program of physical equipment;After it is determined that the first bios program breaks down, determine that the second bios program in the n-th bios program is main bios program;The 2nd BIOS is triggered with role's starting device of main bios program.Due to it is determined that by the 2nd BIOS with role's restarting equipment of main bios program after the first bios program breaks down, so that equipment can solve BIOS failure problems in a short time, the Business Processing that do not result in is carried out needed for the equipment is interrupted for a long time, the loss that reduction is brought due to bios program failure.

Description

The abnormality eliminating method and device of a kind of bios program
Technical field
The present invention relates to the communications field, more particularly to a kind of bios program abnormality eliminating method and device.
Background technology
The application of server is more and more wider, and the key area such as finance, government, education is carried to server reliability, stability Requirement higher is gone out.
BIOS (Basic Input Output System, basic input output system) is cured to server master board In storage medium, after the program of the most important basic input and output of the in store servers of BIOS, start self-check program and system from Startup program etc., the major function of BIOS be for server provides the bottom, most direct hardware setting and control, therefore, The reliability and importance of BIOS are self-evident.
Traditional server often using list BIOS designs, i.e., only has a BIOS, this reliable design on one server Property is poor.When there is bios program exception or storage medium is damaged, it is necessary to after waiting the operation maintenance personnel of specialty to be repaired Business could be recovered, the service disconnection long period often brings larger economic loss to client.
The content of the invention
The abnormality eliminating method and device of a kind of bios program are the embodiment of the invention provides, is used to realize as a BIOS When program breaks down, can start the 2nd BIOS carries out Business Processing as main bios program.
In a first aspect, a kind of abnormality eliminating method of bios program is the embodiment of the invention provides, including:
First BIOS is a bios program in the N number of bios program of physical equipment, and N is the integer more than or equal to 2, and First bios program is the main bios program for starting the physical equipment.
After it is determined that first bios program breaks down, the second bios program in N number of bios program is determined Used as main bios program, the second bios program of triggering starts the equipment with the role of main bios program.
Due to it is determined that by the 2nd BIOS with role's restarting equipment of main bios program after the first bios program breaks down, So that equipment can solve BIOS failure problems in a short time, the Business Processing carried out needed for the equipment is not resulted in for a long time Interrupt, the loss that reduction is brought due to bios program failure.
With reference in a first aspect, in the first possible implementation of first aspect, the method also includes to BIOS journeys The method that the upgrade failure occurred in sequence escalation process is processed.Obtain first and storage medium where the first bios program is entered The authority of row read-write, then upgrades, if being upgraded successfully to the first bios program, in the equipment to the first bios program Other bios programs in partly or entirely upgraded.If the first bios program is upgraded failing, that is, confirm a BIOS Program breaks down, and according to preceding method using the second bios program as main bios program, and can trigger the second bios program The equipment is started with the role of main bios program.
Due to obtaining the access limit to the first bios program, enabling by outband management mode to a BIOS Program is upgraded, i.e., the first bios program is upgraded used by physical channel with perform the first bios program carry out business Treatment physical channel used is different, enabling the first bios program is risen while the equipment carries out Business Processing Level, and without interrupting service.
With reference in a first aspect, in second possible implementation of first aspect, it is determined that the first bios program is It is not no when breaking down, can monitor whether the first bios program break down by house dog.By guard the gate can dog detect Due to the first bios program exception caused by the factor such as program latent fault or adverse circumstances interference, additionally, house dog can also Enough the first bios programs to breaking down reset.
With reference in a first aspect, in the third possible implementation of first aspect, can also be by monitoring first A BIOS judges whether the first bios program breaks down by signal that hardware interface sends in Preset Time.Guard the gate Dog is to detect whether the first bios program breaks down by receiving software signal, if equipment does not open house dog also, may be used also Judge whether the first bios program breaks down by the signal that hardware interface sends with by the first bios program of detection.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the can also be monitored by CPLD Whether one bios program breaks down.If monitoring the hardware interface signal of storage medium where the first bios program by CPLD Generation is abnormal, it is determined that the first bios program breaks down.In some cases, the storage medium where the first bios program Hardware interface abnormal signal, cause the storage medium cannot normal work, and then cause the first bios program also cannot be normal Work, now can monitor whether the first bios program can normally run by CPLD.
With reference to first aspect and the 4th kind of possible implementation of first aspect, the 5th kind in first aspect is possible In implementation, after monitoring that a BIOS breaks down by CPLD, can remove in CPLD for representing a BIOS The mark for breaking down, after the mark is eliminated, CPLD will send reset signal so that the device reset, i.e., with the 2nd BIOS journeys Sequence is main program starting device.
With reference in a first aspect, in the 6th kind of possible implementation of first aspect, the equipment can also include M ME, M are the integer more than or equal to 2, and the ME as main ME is monitored, after it is determined that a ME sends failure, really The 2nd ME in the fixed M ME triggers the 2nd ME with role's starting device of main ME as main ME.
Due to ME operation stability, reliability it is also extremely important, ME can also be supervised in embodiments of the present invention Control, after it is determined that main ME sends failure, by the 2nd BIOS with role's starting device of main bios program, makes equipment recover normal work Make, the loss that reduction is brought due to ME failures.
Second aspect, the embodiment of the invention provides a kind of exception handling device of bios program, including determining module and Trigger module.
Wherein it is determined that module is used to determine that the first bios program breaks down that first bios program to be N number of BIOS journeys A bios program in sequence, N is the positive integer more than or equal to 2, and first bios program is in a BIOS journeys Sequence is used to start the main bios program of physical equipment before breaking down;After it is determined that first bios program breaks down, really The second bios program in fixed N number of bios program is main bios program.
Trigger module is used for after the determining module determines second bios program for main bios program, and triggering is described Second bios program starts the equipment with the role of main bios program.
With reference to second aspect, in the first possible implementation of second aspect, the device also includes upgraded module, For:Obtain the access limit of storage medium where the first bios program;First bios program is upgraded;If to first Bios program is upgraded successfully, then second bios program is upgraded.
With reference to second aspect, in second possible implementation of second aspect, the determining module is specific to use In:Determine whether the first bios program breaks down by house dog.
With reference to second aspect, in the third possible implementation of second aspect, the determining module is specific to use In:If not monitoring the signal that a BIOS is sent by hardware interface in Preset Time, it is determined that a BIOS occurs Failure.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the determining module is specific to use In:The hardware interface signal of storage medium where first bios program is monitored by CPLD;If monitoring institute by CPLD State the hardware interface abnormal signal of storage medium where the first bios program, it is determined that the first bios program breaks down.
With reference to second aspect and the 4th kind of possible implementation of second aspect, the 5th kind in second aspect is possible In implementation, the trigger module is additionally operable to:Remove in the CPLD for representing that first bios program breaks down Mark so that the CPLD triggers second bios program with role's starting device of main bios program.
With reference to second aspect, in the 6th kind of possible implementation of second aspect, the determining module is additionally operable to: Determine that the first management engine ME breaks down, a ME is a ME program in M ME, M is whole more than or equal to 2 Number a, ME is the main ME for being used to start the physical equipment before a ME breaks down;It is determined that described After one ME breaks down, determine that the 2nd ME in the M ME is main ME.
The trigger module, is additionally operable to triggering the 2nd ME with role's starting device of main ME.
A kind of third aspect, there is provided computer-readable recording medium, be stored with computer in computer-readable recording medium Execute instruction, BMC (Baseboard Management Controller, baseboard management controller) performs computer execution The exception of the bios program that the various possible implementation for instructing to realize above-mentioned first aspect or first aspect is provided Reason method.
A kind of fourth aspect, there is provided computer program product, the computer program product includes computer executed instructions, should Computer executed instructions are stored in a computer-readable storage medium.BMC can read the meter from computer-readable recording medium Calculation machine execute instruction, performs the computer executed instructions to implement the various possible reality of above-mentioned first aspect or first aspect The abnormality eliminating method of the bios program that existing mode is provided.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly introduced.
Fig. 1 is outband management software connection diagram in the prior art;
Fig. 2 is one of abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 3 is the two of the abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 4 is the three of the abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 5 is the four of the abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 6 is the five of the abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 7 is the six of the abnormality eliminating method schematic flow sheet of bios program provided in an embodiment of the present invention;
Fig. 8 is the structural representation of the exception handling device of bios program provided in an embodiment of the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step ground is described in detail.
In order to solve the problems, such as that it is abnormal that the bios program in equipment occurs, a kind of bios program is the embodiment of the invention provides Abnormality eliminating method and device.
Method provided in an embodiment of the present invention can be applied to be solidified with the physical equipment of at least two bios programs, its In, at least two bios programs can be cured in same storage medium, it is also possible to be cured in different storage mediums. Above-mentioned storage medium can be nonvolatile storage, or Flash memory chip, obtain other storage mediums, the present invention Embodiment is without limitation.
In embodiments of the present invention, when bios program occurs abnormal, it is preferred to use the mode of outband management is to BIOS journeys The control of sequence.Outband management, i.e., transmit managing control information and data message, chain of command and data by different physical channels Face is completely independent, and is independent of each other.By the way of outband management so that bios program is currently running and is entered by data surface passage During row Business Processing, it is also possible to controlled it by chain of command passage so that the operation being managed to BIOS can be During equipment carries out Business Processing, without when equipment is in holding state, that is, starting shooting but when not carrying out Business Processing BIOS could be managed.
Software for realizing outband management, such as BMC (Baseboard Management Controller, substrate pipe Reason controller) etc., can be completely separate or be partially separated with the operation system of equipment, the as outband management shown in Fig. 1 is soft The schematic diagram that part is kept completely separate with the operation system of equipment.Outband management software can be managed to operation system, such as right Business power supply is managed (upper electric or lower electricity etc.), provides long-range KVM (Keyboard Video Mouse, keyboard, display, mouse Mark) function and the function of mirror image carry is provided facilitating management of the user to operation system;Outband management software can also be right The hardware of equipment is managed, for example, monitoring CPU (Central Processing Unit, central processing unit), internal memory, hard The working condition of disk, network interface card, to note abnormalities in time;Additionally, outband management software can also provide various user interfaces supplying User is managed by outband management software to equipment, for example the interface based on WEB, SSH, FTP.
At present, outband management software BMC is managed to power-on and power-off, temperature, speed governing, alarm, fault diagnosis etc..Wherein, When BMC is managed to BIOS, can be communicated with BIOS by LPC (Low Pin Count, low pin count interface), be supervised The state of BIOS and operation system in control power up;Or, can also be by SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) communicated with the BIOS being solidificated in SPI Flash chips, after access limit is obtained Firmware upgrade can be carried out to the BIOS being solidificated in SPI Flash.
The abnormality eliminating method of bios program provided in an embodiment of the present invention is described in detail below.
It is the schematic flow sheet of the abnormality eliminating method of bios program provided in an embodiment of the present invention, the method referring to Fig. 2 Can be performed by outband management software (such as BMC).As illustrated, the method is comprised the following steps:
Step 201, determine that the first bios program breaks down.
Wherein, the first bios program is a BIOS being cured in the N number of bios program on the storage medium of equipment Program, N is the integer more than or equal to 2, and the first bios program is to be used to start the equipment before the first bios program sends failure Main bios program.
Step 202, after it is determined that the first bios program breaks down, determine the 2nd BIOS journeys in this N number of bios program Sequence is used as main bios program.
Alternatively, when N is the integer more than 2, it is determined that the second bios program in this N number of bios program is used as master During bios program, can be according to the priority for pre-setting, will be preferential from the N-1 bios program in addition to the first bios program Level highest bios program is defined as the second bios program of main program, it is also possible to random from addition to the first bios program A bios program is chosen in N-1 bios program as main program, the embodiment of the present invention is without limitation.
Step 203, it is determined that the second bios program be main bios program after, triggering the second bios program with main bios program Role start the equipment.
It should be appreciated that " the first bios program " and " the second bios program " used in the embodiment of the present invention be in order to In differentiation, rather than refer in particular to certain bios program.
In certain embodiments, when realizing above-mentioned steps 201, can determine whether the first bios program is sent out by house dog Raw failure, as shown in Figure 3.Because program may have potential mistake, or equipment is subject to the interference of external electromagnetic field to cause to post The confusion of storage and internal storage data, causes program to be absorbed in endless loop, it is impossible to continue normal work, and house dog can regularly look into The working condition of chip is seen, Restart Signal is sent to chip once making a mistake;The order that house dog sends is in program Possess highest priority in disconnected.
House dog, is called watchdog timer (watchdog timer), is a timer circuit, and input can receive The signal that one BIOS sends, output end can export reset signal to a BIOS.When the first bios program normal operation, week Phase property ground sends a signal (being commonly called as " feeding dog ") to house dog, represents the first bios program normal operation, and house dog is receiving To after signal, timer is reset, and reclocking.When the first bios program operation exception, then sent without normal direction house dog and believed Number, and house dog sends reset signal due to not receiving signal in setting time, then to a BIOS, so that a BIOS Reset.
After house dog does not receive signal in setting time, can also be to outband management software sending signal, to notify The bios program of outband management software first breaks down, outband management software receive house dog transmission for represent first After bios program out of order signal, above-mentioned steps 202 and step 203 are performed, that is, determine that the 2nd BIOS is main BIOS, and touch Send out the second bios program and the equipment is started with the role of main bios program.
Alternatively, when outband management software receives being broken down for the first bios program of expression for the transmission of house dog Signal after, warning message can also be prompted the user with, so that user knows the first bios program operation exception, it is necessary to switch to Second bios program, operation system will be reset.After user can occur exception the first bios program is known, detection first The reason for bios program occurs abnormal.
When implementing, house dog can be independently of outband management software, it is also possible to is integrated in outband management software, The embodiment of the present invention is without limitation.
In other embodiment, when realizing above-mentioned steps 201, outband management software can monitor a BIOS and pass through The signal that hardware interface sends, if as shown in figure 4, the first bios program normal operation, can be by hardware interface sending signal. Outband management software is monitoring a BIOS by after hardware interface sending signal, timer being reset, and reclocking;If Outband management software does not monitor the signal that a BIOS is sent by hardware interface in Preset Time, then confirm first Bios program occurs abnormal.
House dog is to detect whether the first bios program breaks down by receiving software signal, if equipment is not opened also Whether house dog, can also judge the first bios program by the first bios program of detection by the signal that hardware interface sends Break down.Therefore, it can be combined above two embodiment, find that the first bios program breaks down in time with more.
Additionally, in some cases, due to being electric signal exception on hardware, may result in the first bios program place Storage medium cannot normal work, and then cause the operation system of equipment constantly to reset, in this case, house dog or band The BIOS of outer management and monitoring the possibly cannot normally be started by the monitoring mechanism of hardware interface sending signal, at this point it is possible to logical CPLD (Complex Programmable Logic Device, CPLD) is crossed to be monitored.
As shown in figure 5, when the hardware electric signal of the storage medium where CPLD monitors the first bios program is abnormal, CPLD will be used to identify that whether the normal flag of the storage medium is provided for representing abnormal mark;CPLD can incited somebody to action The flag is set to after exception is identified actively to outband management software sending signal, it is also possible to by outband management software timing pair The flag in CPLD is scanned, when outband management software determines the first bios program not according to the mark in the flag When can normally run, it is determined that the second bios program is main bios program, while this is used to represent abnormal mark in removing CPLD Know.
Alternatively, after being used to represent that abnormal mark is eliminated in CPLD, CPLD can directly trigger device reset, that is, touch Send out the second bios program and the equipment is started with the role of main bios program.It is of course also possible to determine based on the second bios program After bios program, the second bios program is triggered by outband management software the equipment is started with the role of main bios program.
Bios program abnormality eliminating method provided in an embodiment of the present invention, can also be applied to upgrade bios program When.In the prior art, bios program is upgraded, it is necessary to equipment be in it is standby in the case of carry out, i.e., equipment is not also When proceeding by Business Processing, this allows for the necessary interrupting service of escalation process, and for needing continual transaction in 24 hours For system, database operation system, the escalation process of prior art is inconvenient.
And in the embodiment of the present invention, due to can be by the way of outband management software be by outband management so that data The firmware upgrade of the Business Processing and chain of command in face can be carried out simultaneously.When need operation the first bios program to carry out at business During reason, generally first the program needed for Business Processing is copied in internal memory, by the program in running memory carrying out at business Reason, therefore, the first bios program is upgraded by the chain of command with data surface independence now, Business Processing can't be influenceed Process.Can be applied in the continual equipment of operation system.
Outband management software first obtains the access limit of storage medium where the first bios program, so that outband management software First bios program can be updated.Escalation process can be with as shown in fig. 6, outband management software gets redaction It is first, as main bios program for the first bios program is updated upgrading, if upgrading successfully, to continue as during bios program Other bios programs in the equipment in N number of bios program in addition to the first bios program are upgraded.Specifically, when N is more than 2 Integer when, can be entered to not carrying out bios program according to priority order from high to low according to the priority for pre-setting Row upgrading;Or, the order upgraded to other bios programs can also be random;Further, it is also possible to only to except first The part bios program in other bios programs outside bios program is upgraded, and part bios program wouldn't can be upgraded, Remaining bios program is upgraded again when equipment operating load is relatively low, the embodiment of the present invention is without limitation.
If the first bios program is upgraded failing, i.e., the first bios program cannot normally run and break down, then can be by According to preceding method, determine that the second bios program, as main bios program, then triggers the second bios program with main bios program Role starts the equipment.
Under normal circumstances, management engine (Management Engine, ME) is together solidificated in depositing for equipment mainboard with BIOS In storage media, system start-up phase needs ME to complete some information configurations of equipment control, and whether the stabilization of ME will also have influence on Operation of the equipment in startup stage.
Importance due to ME to equipment in startup stage, and ME tended not to after breaking down it is automatic recover, it is necessary to Firmware program is reloaded, the embodiment of the present invention can also within one device solidify multiple ME programs, so that as main ME When first ME programs of program break down, other ME work can be switched to, to ensure the normal operation of equipment.
Would generally be using as a ME program images of main ME programs to the mainboard of equipment, the mainboard of equipment will can be somebody's turn to do The hardware information of equipment is sent to outband management software, and outband management software can be according to hardware information, by SMLink (System Management Link, system administration link) is communicated with equipment mainboard.As shown in fig. 7, when detecting the One ME program operation exceptions, or during ME active reportings exception, outband management software can be determined based on the 2nd ME programs ME programs, and the 2nd ME of triggering starts the equipment with the role of main ME programs.Outband management software can also send to a ME Reset instruction, so that a ME is resetted, and copies firmware program from the 2nd ME.
In general, a bios program and a ME program, i.e., a usual BIOS are solidified with a storage medium Program and a ME programs can be cured in same storage medium, therefore, often it is determined that the first bios program or a ME When program occurs abnormal, determine that the second bios program and the 2nd ME programs in another storage medium are main bios program and main ME Program.It is of course also possible to solidify multiple bios programs and/or multiple ME programs, the embodiment of the present invention in same storage medium It is without limitation.
By above-described embodiment, realize it is determined that by the 2nd BIOS with main BIOS journeys after the first bios program breaks down Role's restarting equipment of sequence so that equipment can solve BIOS failure problems in a short time, do not result in and enter needed for the equipment Capable Business Processing is interrupted for a long time, the loss that reduction is brought due to bios program failure.It is determined that the first bios program is It is not no when breaking down, the software signal of the first bios program can be monitored by house dog, it is also possible to supervised by outband management software The signal that the first bios program is sent by hardware interface is surveyed, storage where can also monitoring the first bios program by CPLD is situated between The hardware signal of matter, due to that can be monitored to the first bios program from many aspects, realizes and can under different scenes Find that the first bios program breaks down in time, and solve in time.When needing to carry out firmware upgrade to BIOS, outband management is soft Part can carry out firmware upgrade when equipment carries out Business Processing to BIOS, it is to avoid must interrupting service due to firmware upgrade The inconvenience for being brought.Additionally, can also be monitored to ME in embodiments of the present invention, and is switched to when ME breaks down Two ME are operated.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of exception handling device of bios program, uses To realize above method embodiment.It is that the structure of bios program exception handling device provided in an embodiment of the present invention is shown referring to Fig. 8 It is intended to, as described in Figure, the device includes:Determining module 801 and trigger module 802, further, returning apparatus can also include rising Level module 803.
Wherein it is determined that module 801 is used to determine that the first bios program breaks down that first bios program to be N number of A bios program in bios program, N is the integer more than or equal to 2, and first bios program is described first Bios program is used to start the main bios program of physical equipment before breaking down;It is determined that first bios program breaks down Afterwards, determine that the second bios program in N number of bios program is main bios program.
Trigger module 802 is used for after the determining module determines second bios program for main bios program, triggering Second bios program starts the equipment with the role of main bios program.
Further, the device can also include upgraded module 803, for obtaining storage medium where the first bios program Access limit;First bios program is upgraded;If being upgraded successfully to the first bios program, to the 2nd BIOS journeys Sequence is upgraded.
Optionally it is determined that module 801, can determine whether the first bios program breaks down by house dog.
Optionally it is determined that module 801, it is also possible to detect the signal that a BIOS is sent by hardware interface, if default The signal that a BIOS is sent by hardware interface is not monitored in time, it is determined that a BIOS breaks down.
Optionally it is determined that module 801, can also monitor the hard of storage medium where first bios program by CPLD Part interface signal;If monitoring the hardware interface abnormal signal of storage medium where first bios program by CPLD, Determine that the first bios program breaks down.
Alternatively, however, it is determined that module 801 monitors that the first bios program sends failure by CPLD, and trigger module 802 is also For:Remove for representing the mark that first bios program breaks down in the CPLD, so that CPLD triggerings institute The second bios program is stated with role's starting device of main bios program.
Optionally it is determined that module 801 can be also used for:Determine that the first management engine ME breaks down, a ME is M A ME program in individual ME, M is the integer more than or equal to 2, and a ME is used before a ME breaks down In the main ME for starting the physical equipment;After it is determined that a ME breaks down, determine that the 2nd ME in the M ME is Main ME.Now, trigger module 802, are additionally operable to triggering the 2nd ME with role's starting device of main ME.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored with computer-readable recording medium Computer executed instructions, BMC performs the computer executed instructions to realize the abnormality eliminating method embodiment of above-mentioned bios program.
The embodiment of the present invention additionally provides a kind of computer program product, and the computer program product is performed including computer Instruction, the computer executed instructions are stored in a computer-readable storage medium.BMC can read from computer-readable recording medium The computer executed instructions are taken, performs the computer executed instructions to implement the embodiment of the abnormality eliminating method of bios program.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (14)

1. a kind of abnormality eliminating method of basic input-output system BIOS program, it is characterised in that methods described includes:
Determine that the first bios program breaks down, first bios program is a bios program in N number of bios program, N It is the positive integer more than or equal to 2, first bios program is to be used to start before first bios program breaks down The main bios program of physical equipment;
After determining that first bios program breaks down, determine based on the second bios program in N number of bios program Bios program;
Second bios program is determined after main bios program, to trigger second bios program with the role of main bios program Start the equipment.
2. the method for claim 1, it is characterised in that also include:
Obtain the access limit of storage medium where the first bios program;
First bios program is upgraded;
If being upgraded successfully to the first bios program, second bios program is upgraded.
3. the method for claim 1, it is characterised in that by house dog determine the first bios program whether occur therefore Barrier.
4. the method for claim 1, it is characterised in that the bios program of the determination first breaks down, including:
If not monitoring the signal that a BIOS is sent by hardware interface in Preset Time, it is determined that a BIOS occurs Failure.
5. the method for claim 1, it is characterised in that the bios program of the determination first breaks down, including:
The hardware interface signal of storage medium where first bios program is monitored by complex programmable logic device (CPLD);
If monitoring the hardware interface abnormal signal of storage medium where first bios program by CPLD, it is determined that first Bios program breaks down.
6. method as claimed in claim 5, it is characterised in that triggering second bios program is with main bios program Role's starting device, including:
Remove for representing the mark that first bios program breaks down in the CPLD, so that CPLD triggerings are described Second bios program is with role's starting device of main bios program.
7. the method for claim 1, it is characterised in that also include:
Determine that the first management engine ME breaks down, a ME is a ME program in M ME, M is more than or equal to 2 Integer, a ME is to be used to start the main ME of the physical equipment before a ME breaks down;
After it is determined that a ME breaks down, determine that the 2nd ME in the M ME is main ME;
The 2nd ME is triggered with role's starting device of main ME.
8. a kind of exception handling device of basic input-output system BIOS program, it is characterised in that including:
Determining module, for determining that the first bios program breaks down, first bios program is in N number of bios program Individual bios program, N is the positive integer more than or equal to 2, and first bios program is that event occurs in first bios program It is used to start the main bios program of physical equipment before barrier;After it is determined that first bios program breaks down, determine described N number of The second bios program in bios program is main bios program;
Trigger module, for determining second bios program after main bios program, to trigger described the in the determining module Two bios programs start the equipment with the role of main bios program.
9. device as claimed in claim 8, it is characterised in that also including upgraded module, be used for:
Obtain the access limit of storage medium where the first bios program;First bios program is upgraded;If to first Bios program is upgraded successfully, then second bios program is upgraded.
10. device as claimed in claim 8, it is characterised in that the determining module, specifically for:
Determine whether the first bios program breaks down by house dog.
11. devices as claimed in claim 8, it is characterised in that the determining module, specifically for:
If not monitoring the signal that a BIOS is sent by hardware interface in Preset Time, it is determined that a BIOS occurs Failure.
12. devices as claimed in claim 8, it is characterised in that the determining module, specifically for:
The hardware interface signal of storage medium where first bios program is monitored by complex programmable logic device (CPLD);
If monitoring the hardware interface abnormal signal of storage medium where first bios program by CPLD, it is determined that first Bios program breaks down.
13. devices as claimed in claim 12, it is characterised in that the trigger module, specifically for:
Remove for representing the mark that first bios program breaks down in the CPLD, so that CPLD triggerings are described Second bios program is with role's starting device of main bios program.
14. devices as claimed in claim 8, it is characterised in that the determining module, are additionally operable to:
Determine that the first management engine ME breaks down, a ME is a ME program in M ME, M is more than or equal to 2 Integer, a ME is to be used to start the main ME of the physical equipment before a ME breaks down;It is determined that institute State after a ME breaks down, determine that the 2nd ME in the M ME is main ME;
The trigger module, is additionally operable to triggering the 2nd ME with role's starting device of main ME.
CN201611050425.9A 2016-11-24 2016-11-24 The abnormality eliminating method and device of a kind of bios program Pending CN106776282A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611050425.9A CN106776282A (en) 2016-11-24 2016-11-24 The abnormality eliminating method and device of a kind of bios program
PCT/CN2017/100375 WO2018095107A1 (en) 2016-11-24 2017-09-04 Bios program abnormal processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050425.9A CN106776282A (en) 2016-11-24 2016-11-24 The abnormality eliminating method and device of a kind of bios program

Publications (1)

Publication Number Publication Date
CN106776282A true CN106776282A (en) 2017-05-31

Family

ID=58910670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050425.9A Pending CN106776282A (en) 2016-11-24 2016-11-24 The abnormality eliminating method and device of a kind of bios program

Country Status (2)

Country Link
CN (1) CN106776282A (en)
WO (1) WO2018095107A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590009A (en) * 2017-08-31 2018-01-16 深圳市恒扬数据股份有限公司 Fault handling method and device for main frame running
WO2018095107A1 (en) * 2016-11-24 2018-05-31 华为技术有限公司 Bios program abnormal processing method and apparatus
CN108599981A (en) * 2018-03-13 2018-09-28 迈普通信技术股份有限公司 Management method, service card and the communication equipment of service card
CN109375956A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of method of reboot operation system, logical device and control equipment
CN109714205A (en) * 2018-12-28 2019-05-03 郑州云海信息技术有限公司 A kind of guard method of BIOS dual redundant, device and computer for whitepack interchanger
CN110083491A (en) * 2019-05-08 2019-08-02 苏州浪潮智能科技有限公司 A kind of BIOS initialization method, apparatus, equipment and storage medium
WO2019169877A1 (en) * 2018-03-07 2019-09-12 郑州云海信息技术有限公司 Double bios control method and related devices
CN113010215A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 Method, device and equipment for quickly restarting operating system and readable medium
CN113064747A (en) * 2021-03-26 2021-07-02 山东英信计算机技术有限公司 Fault positioning method, system and device in server starting process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN102750206A (en) * 2012-05-10 2012-10-24 加弘科技咨询(上海)有限公司 Multiple-basic input/ output system (BIOS) circuit and multiple-BIOS switching method
CN103077060A (en) * 2013-01-10 2013-05-01 中兴通讯股份有限公司 Method, device and system for switching master basic input/output system (BIOS) and spare BIOS
CN104615506A (en) * 2015-02-13 2015-05-13 浪潮电子信息产业股份有限公司 Logic control based BIOS (basic input/output system) and BMC (baseboard management controller) backup method
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN105159719A (en) * 2015-09-06 2015-12-16 浙江大华技术股份有限公司 Starting method and device of master basic input/output system and slave basic input/output system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776282A (en) * 2016-11-24 2017-05-31 华为技术有限公司 The abnormality eliminating method and device of a kind of bios program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN102750206A (en) * 2012-05-10 2012-10-24 加弘科技咨询(上海)有限公司 Multiple-basic input/ output system (BIOS) circuit and multiple-BIOS switching method
CN103077060A (en) * 2013-01-10 2013-05-01 中兴通讯股份有限公司 Method, device and system for switching master basic input/output system (BIOS) and spare BIOS
CN104615506A (en) * 2015-02-13 2015-05-13 浪潮电子信息产业股份有限公司 Logic control based BIOS (basic input/output system) and BMC (baseboard management controller) backup method
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN105159719A (en) * 2015-09-06 2015-12-16 浙江大华技术股份有限公司 Starting method and device of master basic input/output system and slave basic input/output system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018095107A1 (en) * 2016-11-24 2018-05-31 华为技术有限公司 Bios program abnormal processing method and apparatus
CN107590009A (en) * 2017-08-31 2018-01-16 深圳市恒扬数据股份有限公司 Fault handling method and device for main frame running
WO2019169877A1 (en) * 2018-03-07 2019-09-12 郑州云海信息技术有限公司 Double bios control method and related devices
CN108599981A (en) * 2018-03-13 2018-09-28 迈普通信技术股份有限公司 Management method, service card and the communication equipment of service card
CN109375956A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of method of reboot operation system, logical device and control equipment
CN109375956B (en) * 2018-11-01 2021-10-15 郑州云海信息技术有限公司 Method for restarting operating system, logic device and control device
CN109714205A (en) * 2018-12-28 2019-05-03 郑州云海信息技术有限公司 A kind of guard method of BIOS dual redundant, device and computer for whitepack interchanger
CN110083491A (en) * 2019-05-08 2019-08-02 苏州浪潮智能科技有限公司 A kind of BIOS initialization method, apparatus, equipment and storage medium
CN113010215A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 Method, device and equipment for quickly restarting operating system and readable medium
CN113010215B (en) * 2021-03-12 2023-03-21 山东英信计算机技术有限公司 Method, device and equipment for quickly restarting operating system and readable medium
CN113064747A (en) * 2021-03-26 2021-07-02 山东英信计算机技术有限公司 Fault positioning method, system and device in server starting process

Also Published As

Publication number Publication date
WO2018095107A1 (en) 2018-05-31

Similar Documents

Publication Publication Date Title
CN106776282A (en) The abnormality eliminating method and device of a kind of bios program
CN102597962B (en) Method and system for fault management in virtual computing environments
US7716520B2 (en) Multi-CPU computer and method of restarting system
CN100517246C (en) Computer remote control method and system
TWI529624B (en) Method and system of fault tolerance for multiple servers
JP2017517060A (en) Fault processing method, related apparatus, and computer
CN106598790A (en) Server hardware failure detection method, apparatus of server, and server
US11321454B2 (en) Notice of intrusion into firmware
US9436539B2 (en) Synchronized debug information generation
JP2008033836A (en) Transmission device and software automatic update method
JP2003150280A (en) Backup management system and method
CN110445638B (en) Switch system fault protection method and device
CN105579973A (en) Redundant system and method for managing redundant system
CN114116280A (en) Interactive BMC self-recovery method, system, terminal and storage medium
US10824517B2 (en) Backup and recovery of configuration files in management device
WO2023065601A1 (en) Server component self-test anomaly recovery method and device, system, and medium
EP3528125B1 (en) Power supply unit fan recovery process
JPH09251443A (en) Processor fault recovery processing method for information processing system
EP3534259B1 (en) Computer and method for storing state and event log relevant for fault diagnosis
JP6880961B2 (en) Information processing device and log recording method
CN111858448B (en) Method and device for deadlock and recovery of I2C
CN110968456B (en) Method and device for processing fault disk in distributed storage system
WO2017072904A1 (en) Computer system and failure detection method
JP2007028118A (en) Failure judging method of node device
JP2015106226A (en) Dual system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531