CN110083491A - A kind of BIOS initialization method, apparatus, equipment and storage medium - Google Patents

A kind of BIOS initialization method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN110083491A
CN110083491A CN201910379783.1A CN201910379783A CN110083491A CN 110083491 A CN110083491 A CN 110083491A CN 201910379783 A CN201910379783 A CN 201910379783A CN 110083491 A CN110083491 A CN 110083491A
Authority
CN
China
Prior art keywords
mirror image
bios
starting
chip
bios chip
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
CN201910379783.1A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910379783.1A priority Critical patent/CN110083491A/en
Publication of CN110083491A publication Critical patent/CN110083491A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/1417Boot up procedures

Landscapes

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

Abstract

The invention discloses a kind of BIOS initialization methods, which comprises monitors the starting state that BIOS chip operational objective described in process detection starts mirror image by IPMI;Wherein, at least two starting mirror image of storage in BIOS chip;If detecting, starting state is abnormality, other starting mirror images of switching in addition to the target start mirror image, re-execute initialization operation from the BIOS chip.It can be seen that, this BIOS redundancy scheme that this programme proposes, it only needs to store multiple starting mirror images in BIOS chip, and the monitoring to BIOS chip starting state is realized by IPMI, if detecting starting state exception, other starting mirror images for then switching BIOS chip, so that system be made to restore from exception;The invention also discloses a kind of BIOS initialization device, equipment and computer readable storage mediums, are equally able to achieve said effect effect.

Description

A kind of BIOS initialization method, apparatus, equipment and storage medium
Technical field
The present invention relates to field of computer technology, more specifically to a kind of BIOS initialization method, apparatus, equipment And computer readable storage medium.
Background technique
Basic input output system (Basic Input Output System, BIOS) is the computer of one group of setting hardware Program is stored in one piece of rom chip on mainboard.In entire computer system, the main function of BIOS provides three kinds of clothes Business: self-test and initialization, hardware Interrupt Process and journey and setting are interrupted.As the most basic program of computer, BIOS journey after booting Sequence is loaded first, then it can the hardware device to computer fully and completely examined and tested.If it find that problem, then Providing corresponding prompt transfers to user to handle;It is stand-by state, then start-up operation system by hardware setting if do not found the problem System, gives user the control to computer.For the hardware in computer system, BIOS is responsible for carrying out lowest level to it Management.In computer working, BIOS directly with the I/O of computer (Input/Output, i.e. input/output) equipment into Row interaction, is issued by specific data port and is ordered, and the data of various external equipments are sent or receive, and realizes operating system pair The direct operation of hardware.In addition to this, the operations such as BIOS will also assist CPU and hardware to be interrupted, address is distributed.
As can be seen that BIOS plays particularly important effect in a stable operating system.If BIOS itself is met To expendable unusual condition, then operating system will be unable to normal boot-strap, stable service can not be provided.Currently, being The reliability for guaranteeing BIOS, devises redundancy scheme, such as: by system PCH, (Platform Controller Hub integrates south Bridge) SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) bus be connected to the switch chip of 1-to-2, Spi bus is connected respectively to two BIOS chips of principal and subordinate by switch chip, and the SPI that PCH is controlled by logic control element is total Line is connected to principal and subordinate's BIOS chip.Under default conditions, the spi bus of PCH is connected to main BIOS chip, when main BIOS chip occurs When failure, the spi bus of PCH is switched to from BIOS by logic control element by switch chip, guarantees that BIOS function is normal.But It is that although BIOS redundancy may be implemented in the above method, but the complexity of the design of BIOS and related hardware can also greatly increase.
Summary of the invention
The purpose of the present invention is to provide a kind of BIOS initialization method, apparatus, equipment and computer readable storage medium, To realize the stability for improving BIOS.
To achieve the above object, the present invention provides a kind of BIOS initialization method, which comprises
The starting state that BIOS chip operational objective described in process detection starts mirror image is monitored by IPMI;Wherein, BIOS At least two starting mirror image of storage in chip;
If detect starting state be abnormality, from the BIOS chip switching except the target start mirror image it Other outer starting mirror images, re-execute initialization operation.
Optionally, described that the starting shape that BIOS chip operational objective described in process detection starts mirror image is monitored by IPMI State, comprising:
If S11, the IPMI monitor process detection to system boot, judge from the first scheduled duration after system boot It is interior, if to receive the first receipt signal that the BIOS chip is sent;
If being not received by, S12 is executed;If receiving, S13 is executed;
S12, the starting state for determining the BIOS chip operational objective starting mirror image are abnormality;
S13, judge out of, the second scheduled duration that receive the first receipt signal, if receive the BIOS core The second receipt signal that piece is sent;
If being not received by, the S12 is executed;If receiving, S14 is executed;
S14, the starting state for determining the BIOS chip operational objective starting mirror image are normal condition.
Optionally, if described detect that starting state is abnormality, switching removes the mesh from the BIOS chip Other starting mirror images except mark starting mirror image, re-execute initialization operation, comprising:
If detecting, starting state is abnormality, it is determined that in the BIOS chip in addition to the target start mirror image Other starting mirror images code names mark;
The code name is identified to the EEPROM of write-in mirror image switch chip, so that the BIOS chip is after turning back on, Corresponding starting mirror image is read by the code name mark stored in the EEPROM, re-executes initialization operation, and will be with institute It states code name and identifies corresponding starting mirror image as target start mirror image, continue to execute the S11.
Optionally, the mirror image switch chip is CY8C9 chip.
To achieve the above object, the present invention further provides a kind of BIOS initialization device, described device includes:
Starting state detection module starts mirror image for monitoring BIOS chip operational objective described in process detection by IPMI Starting state;Wherein, at least two starting mirror image of storage in BIOS chip;
Start mirror image switch module, for detecting that starting state is abnormality, is then cut from the BIOS chip Other starting mirror images in addition to the target start mirror image are changed, initialization operation is re-executed.
Optionally, the starting state detection module includes:
First judging unit, for judging after system boot when the IPMI monitors process detection to system boot The first scheduled duration in, if receive the first receipt signal that the BIOS chip is sent;
First judging unit, for determining the BIOS when being not received by the first receipt signal/second receipt signal The starting state that chip operational objective starts mirror image is abnormality;
Second judgment unit, for when receiving the first receipt signal, judging from receiving the first receipt signal The second scheduled duration in, if receive the second receipt signal that the BIOS chip is sent;
Second judging unit, for when receiving the second receipt signal, determining the BIOS chip operational objective starting The starting state of mirror image is normal condition.
Optionally, the starting mirror image switch module includes:
Code name identifies determination unit, when for detecting that starting state is abnormality, determining and removing in the BIOS chip The code name mark of other starting mirror images except the target start mirror image;
Code name identifies writing unit, for the code name to be identified to the EEPROM of write-in mirror image switch chip, so that described BIOS chip reads corresponding starting mirror image after turning back on, through the code name mark stored in the EEPROM, holds again Row initialization operation;
Target start mirror image updating unit, for will starting mirror image corresponding with code name mark as target start mirror Picture, and trigger first judging unit.
Optionally, the mirror image switch chip is CY8C9 chip.
To achieve the above object, the present invention further provides a kind of BIOS initialization equipment, comprising:
Memory, for storing computer program;Processor is realized when for executing the computer program as above-mentioned The step of BIOS initialization method.
To achieve the above object, the present invention further provides a kind of computer readable storage mediums, described computer-readable Computer program is stored on storage medium, the computer program is realized as above when being executed by processor the computer program The step of BIOS initialization method stated.
By above scheme it is found that a kind of BIOS initialization method provided in an embodiment of the present invention, which comprises logical Cross the starting state of BIOS chip operational objective starting mirror image described in IPMI monitoring process detection;Wherein, storage in BIOS chip At least two starting mirror images;If detecting, starting state is abnormality, and switching removes the target from the BIOS chip Start other starting mirror images except mirror image, re-executes initialization operation.
As it can be seen that this BIOS redundancy scheme that this programme proposes, it is only necessary to multiple starting mirror images are stored in BIOS chip, And the monitoring to BIOS chip starting state is realized by IPMI, if detecting starting state exception, switch BIOS chip Other starting mirror images, so that system be made to restore from exception;The invention also discloses a kind of BIOS initialization device, equipment and Computer readable storage medium is equally able to achieve said effect effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of BIOS initialization method flow schematic diagram disclosed by the embodiments of the present invention;
Fig. 2 is another BIOS initialization method flow schematic diagram disclosed by the embodiments of the present invention;
Fig. 3 is a kind of BIOS initialization apparatus structure schematic diagram disclosed by the embodiments of the present invention;
Fig. 4 is a kind of BIOS initialization device structure schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of BIOS initialization method, apparatus, equipment and computer readable storage medium, with Realize the stability for improving BIOS.
Referring to Fig. 1, a kind of BIOS initialization method provided in an embodiment of the present invention, which comprises
S101, the starting state that BIOS chip operational objective described in process detection starts mirror image is monitored by IPMI;Wherein, At least two starting mirror image of storage in BIOS chip;
Specifically, IPMI (Intelligent Platform Management Interface) is Intelligent Platform pipe The abbreviation for managing interface is a kind of industry mark for managing the use of peripheral equipment used in the business system based on Intel structure It is quasi-.IPMI can provide standard commands and OEM order management control system and hardware device, such as temperature, voltage, fan work shape State, power supply status etc., it is easy to use when needing to operate machine large batch of in computer room.As can be seen that as service Monitoring management tool on device, IPMI protocol are applied to monitoring management software and hardware information, and provide unified, pond interface To outside, it is more convenient for managing.Therefore this BIOS redundancy scheme based on IPMI protocol design that this programme proposes, is compared to It is a kind of feasible and convenient and fast scheme for current other technologies.
This programme needs to guarantee to store at least two starting mirrors in BIOS chip to realize to the switching of starting mirror image Picture is known as target start mirror image for the starting mirror image run first in S101;Therefore, it is in power-up state in system, There are at least two starting mirror images in BIOS chip, and when IPMI process normal operation, if triggering power-on operation, IPMI process can create monitoring thread after detecting system boot, pass through the monitoring thread real-time monitoring BIOS operating status. Wherein, starting state includes abnormality and normal condition, and under abnormality, operating system is unable to normal boot-strap, and just In normal situation, system can normal boot-strap.
If S102, detecting that starting state is abnormality, switching removes the target start from the BIOS chip Other starting mirror images except mirror image, re-execute initialization operation.
It should be noted that the quantity of the starting mirror image in BIOS chip is at least two, that is to say, that start mirror image Quantity can be two, or be greater than two;Therefore, when it is abnormal for detecting starting state, time of the handover operation of execution Number is starting mirror image quantity -1, such as: if the quantity of starting mirror image is two, then IPMI process cuts BIOS starting mirror image Changing operation at most only will do it once, and system will be unable to normally start when switching times are greater than 1, because switching times are more than one When, show that two BIOS mirror images are all destroyed, machine can not normally start in this state.
As can be seen that this method based on IPMI switching BIOS starting mirror image that this programme proposes, when one of them is opened When index glass picture breaks down during startup, another starting mirror image that can switch BIOS by IPMI order is restarted, from And restore system from exception;Also, since this programme is realized based on IPMI protocol, so with other BIOS redundancy schemes It compares, this programme design is more simple and more easy to maintain.
Referring to fig. 2, another BIOS initialization method provided in an embodiment of the present invention, which comprises
If S11, the IPMI monitor process detection to system boot, judge from the first scheduled duration after system boot It is interior, if to receive the first receipt signal that the BIOS chip is sent;
If being not received by, S12 is executed;If receiving, S13 is executed;
S12, the starting state for determining the BIOS chip operational objective starting mirror image are abnormality, and continue to execute S15;
Specifically, creating IPMI monitoring process just after system boot to be monitored to starting state;BIOS starts to hold Row initialization operation, under normal condition, when BIOS chip runs the first scheduled duration by target start mirror image, just to IPMI into Journey sends a receipt signal, for showing that BIOS starting at this time is normal;If being not received by receipt in the first scheduled duration Signal then illustrates that starting state is abnormality, and executes S15;If receiving receipt signal, continue to monitor.
S13, judge out of, the second scheduled duration that receive the first receipt signal, if receive the BIOS core The second receipt signal that piece is sent;
If being not received by, the S12 is executed;If receiving, S14 is executed;
S14, the starting state for determining the BIOS chip operational objective starting mirror image are normal condition;
It should be noted that under normal circumstances, understand after completing CPU and various hardware initializations after BIOS starting, then It is secondary to send receipt signal to IPMI process;If IPMI monitoring process receives receipt signal, illustrate that initialization operation executes Success;If IPMI monitoring process is not received by receipt signal in the second scheduled duration, illustrate that starting state is abnormal State, and execute S15.
It is understood that the first scheduled duration and the second scheduled duration in this programme can voluntarily be set according to demand It is fixed, such as: settable first scheduled duration is 5 seconds, and the second scheduled duration of setting is 20 minutes;It should be noted that in addition to this Starting state described in embodiment determines except method, can also determine starting state by other means, such as: setting BIOS only sends a receipt signal to IPMI monitoring process, that is to say, that only after BIOS initialization success, just supervises to IPMI Survey process sends receipt signal, although this mode also may be implemented the monitoring to BIOS starting state, the waiting time compared with It is long, by taking the second scheduled duration is 20 minutes as an example, if BIOS sends receipt signal twice, it was not received by 5 seconds Receipt signal can execute S15-S16;If BIOS sends a receipt signal, need not receive in 20 minutes When to receipt signal, S15-S16 just can be performed.
S15, determine that the code name of other starting mirror images in the BIOS chip in addition to the target start mirror image identifies;
S16, the EEPROM that the code name is identified to write-in mirror image switch chip, so that the BIOS chip is turning back on Afterwards, corresponding starting mirror image is read by the code name that stores in EEPROM mark, re-executes initialization operation, and will be with The code name identifies corresponding starting mirror image as target start mirror image, continues to execute the S11.Wherein, the mirror image switch Chip is CY8C9 chip.
In the present solution, IPMI process can control hardware shutdown at this time, then switch if starting state is abnormality BIOS starts mirror image to another, then turns back on, continues to execute initialization operation, and continue to execute S11, monitoring starting shape State.
Also, this programme, can be by IPMI Process flowchart mirror image switch chip to BIOS's when executing handover operation Starting mirror image is selected;The mirror image switch chip is specially the CY8C9 chip of programmable systemonchip PsoC, in we In case, mirror image switch chip is not defined, as long as the mirror image switch chip can interact with BIOS and interior set memory, energy Realize the switching to mirror image.In the present embodiment, it is only illustrated so that mirror image switch chip is CY8C9 chip as an example.
In the present solution, each starting mirror image in BIOS chip is corresponding with a code name mark, therefore, pass through When CY8C9 chip executes mirror image switch operation, it is necessary first to which into the EEPROM of the chip, filling enables the code name mark of mirror image; It is by the benefit that EEPROM is written in mirror image code name: will not be lost after currently needing the code name mark power-off of starting mirror image to be applied It loses, even if power operation occurs, when being switched on again, BIOS still can read the code name mark of starting mirror image from the EEPROM of chip Know, boots up operation by other starting mirror images.
As can be seen that this programme by IPMI process monitoring BIOS initialization starting state, if detecting that BIOS is opened When dynamic abnormal, then switch the starting mirror image of BIOS, to realize the redundancy scheme of BIOS, avoiding the occurrence of operating system cannot be just The phenomenon that normally opened machine.
BIOS initialization device provided in an embodiment of the present invention is introduced below, BIOS initialization dress described below Setting can be cross-referenced with above-described BIOS initialization method.
Referring to Fig. 3, a kind of BIOS initialization device provided in an embodiment of the present invention, described device includes:
Starting state detection module 100 starts for monitoring BIOS chip operational objective described in process detection by IPMI The starting state of mirror image;Wherein, at least two starting mirror image of storage in BIOS chip;
Start mirror image switch module 200, for detecting that starting state is abnormality, then from the BIOS chip Other starting mirror images of switching in addition to the target start mirror image, re-execute initialization operation.
Wherein, the starting state detection module includes:
First judging unit, for judging after system boot when the IPMI monitors process detection to system boot The first scheduled duration in, if receive the first receipt signal that the BIOS chip is sent;
First judging unit, for determining the BIOS when being not received by the first receipt signal/second receipt signal The starting state that chip operational objective starts mirror image is abnormality;
Second judgment unit, for when receiving the first receipt signal, judging from receiving the first receipt signal The second scheduled duration in, if receive the second receipt signal that the BIOS chip is sent;
Second judging unit, for when receiving the second receipt signal, determining the BIOS chip operational objective starting The starting state of mirror image is normal condition.
Wherein, the starting mirror image switch module includes:
Code name identifies determination unit, when for detecting that starting state is abnormality, determining and removing in the BIOS chip The code name mark of other starting mirror images except the target start mirror image;
Code name identifies writing unit, for the code name to be identified to the EEPROM of write-in mirror image switch chip, so that described BIOS chip reads corresponding starting mirror image after turning back on, through the code name mark stored in the EEPROM, holds again Row initialization operation;
Target start mirror image updating unit, for will starting mirror image corresponding with code name mark as target start mirror Picture, and trigger first judging unit.
Wherein, the mirror image switch chip is CY8C9 chip.
Referring to fig. 4, the embodiment of the invention also discloses a kind of BIOS initialization equipment 1, comprising:
Memory 11, for storing computer program;
Processor 12 realizes the BIOS initialization as described in above method embodiment when for executing the computer program The step of method.
In the present embodiment, equipment 1 can be PC (PersonalComputer, PC), be also possible to intelligent hand The terminal devices such as machine, tablet computer, palm PC, portable computer.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 It can be the internal storage unit of equipment 1, such as the hard disk of the equipment 1 in some embodiments.Memory 11 is in other realities Apply the plug-in type hard disk being equipped on the External memory equipment for being also possible to equipment 1 in example, such as equipment 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Into One step, memory 11 can also both internal storage units including equipment 1 or including External memory equipment.Memory 11 is not only It can be used for storing and be installed on application software and Various types of data, such as the code of BIOS initialization of equipment 1 etc., can be also used for Temporarily store the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute BIOS initialization etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 4 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, equipment can also include network interface 14, network interface 14 optionally may include wireline interface and/ Or wireless interface (such as WI-FI interface, blue tooth interface), it is logical commonly used in being established between the equipment 1 and other electronic equipments Letter connection.
Optionally, which can also include user interface, and user interface may include display (Display), input Unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate Referred to as display screen or display unit, for showing the information handled in the device 1 and for showing visual user interface.
Fig. 4 illustrates only the equipment 1 with component 11-14 and BIOS initialization, it will be appreciated by those skilled in the art that , the structure shown in Fig. 4 do not constitute the restriction to equipment 1, may include than illustrate less perhaps more components or Combine certain components or different component layouts.
The embodiment of the invention also discloses a kind of computer readable storage medium, deposited on the computer readable storage medium Computer program is contained, realizes that the BIOS as described in above method embodiment is initial when the computer program is executed by processor The step of change method.
Wherein, the storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of BIOS initialization method, which is characterized in that the described method includes:
The starting state that BIOS chip operational objective described in process detection starts mirror image is monitored by IPMI;Wherein, BIOS chip Interior at least two starting mirror image of storage;
If detecting, starting state is abnormality, and switching is in addition to the target start mirror image from the BIOS chip Other starting mirror images, re-execute initialization operation.
2. method according to claim 1, which is characterized in that described to monitor the fortune of BIOS chip described in process detection by IPMI The starting state of row target start mirror image, comprising:
If S11, the IPMI monitor process detection to system boot, judge out of, the first scheduled duration after system boot, Whether first receipt signal that the BIOS chip send is received;
If being not received by, S12 is executed;If receiving, S13 is executed;
S12, the starting state for determining the BIOS chip operational objective starting mirror image are abnormality;
S13, judge out of, the second scheduled duration that receive the first receipt signal, if receive the BIOS chip hair The the second receipt signal sent;
If being not received by, the S12 is executed;If receiving, S14 is executed;
S14, the starting state for determining the BIOS chip operational objective starting mirror image are normal condition.
3. method according to claim 2, which is characterized in that if described detect that starting state is abnormality, from institute Other starting mirror images of switching in addition to the target start mirror image in BIOS chip are stated, initialization operation is re-executed, comprising:
If detecting, starting state is abnormality, it is determined that its in the BIOS chip in addition to the target start mirror image He starts the code name mark of mirror image;
The EEPROM that the code name is identified to write-in mirror image switch chip, so that the BIOS chip passes through after turning back on The code name mark stored in the EEPROM reads corresponding starting mirror image, re-executes initialization operation, and will be with the generation Number corresponding starting mirror image of mark continues to execute the S11 as target start mirror image.
4. method according to claim 3, which is characterized in that the mirror image switch chip is CY8C9 chip.
5. a kind of BIOS initialization device, which is characterized in that described device includes:
Starting state detection module starts opening for mirror image for monitoring BIOS chip operational objective described in process detection by IPMI Dynamic state;Wherein, at least two starting mirror image of storage in BIOS chip;
Start mirror image switch module, for detecting that starting state is abnormality, then switches from the BIOS chip and remove Other starting mirror images except the target start mirror image, re-execute initialization operation.
6. device according to claim 5, which is characterized in that the starting state detection module includes:
First judging unit, for when the IPMI monitors process detection to system boot, judging from the after system boot In one scheduled duration, if receive the first receipt signal that the BIOS chip is sent;
First judging unit, for determining the BIOS chip when being not received by the first receipt signal/second receipt signal The starting state that operational objective starts mirror image is abnormality;
Second judgment unit, for when receiving the first receipt signal, judging from receiving the of the first receipt signal In two scheduled durations, if receive the second receipt signal that the BIOS chip is sent;
Second judging unit, for when receiving the second receipt signal, determining the BIOS chip operational objective starting mirror image Starting state be normal condition.
7. device according to claim 6, which is characterized in that the starting mirror image switch module includes:
Code name identifies determination unit, when for detecting that starting state is abnormality, determines in the BIOS chip except described The code name mark of other starting mirror images except target start mirror image;
Code name identifies writing unit, for the code name to be identified to the EEPROM of write-in mirror image switch chip, so that the BIOS Chip reads corresponding starting mirror image after turning back on, through the code name mark stored in the EEPROM, re-executes just Beginningization operation;
Target start mirror image updating unit, for will starting mirror image corresponding with code name mark as target start mirror image, And trigger first judging unit.
8. device according to claim 7, which is characterized in that the mirror image switch chip is CY8C9 chip.
9. a kind of BIOS initialization equipment characterized by comprising
Memory, for storing computer program;
Processor realizes such as Claims 1-4 described in any item BIOS initialization sides when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as Claims 1-4 described in any item BIOS initialization methods when the computer program is executed by processor The step of.
CN201910379783.1A 2019-05-08 2019-05-08 A kind of BIOS initialization method, apparatus, equipment and storage medium Pending CN110083491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910379783.1A CN110083491A (en) 2019-05-08 2019-05-08 A kind of BIOS initialization method, apparatus, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910379783.1A CN110083491A (en) 2019-05-08 2019-05-08 A kind of BIOS initialization method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110083491A true CN110083491A (en) 2019-08-02

Family

ID=67419248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910379783.1A Pending CN110083491A (en) 2019-05-08 2019-05-08 A kind of BIOS initialization method, apparatus, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110083491A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463244A (en) * 2020-10-29 2021-03-09 苏州浪潮智能科技有限公司 CPU starting method and device, electronic equipment and computer readable storage medium
CN114090095A (en) * 2022-01-19 2022-02-25 苏州浪潮智能科技有限公司 BIOS loading method and related components of CPU in multi-path server
CN117008704A (en) * 2023-09-27 2023-11-07 天固信息安全系统(深圳)有限公司 Control method and device based on EC or CPLD, storage medium and electronic equipment

Citations (2)

* 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
CN109634675A (en) * 2018-12-10 2019-04-16 广东浪潮大数据研究有限公司 A kind of redundancy approach of BIOS, redundant system and relevant apparatus

Patent Citations (2)

* 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
CN109634675A (en) * 2018-12-10 2019-04-16 广东浪潮大数据研究有限公司 A kind of redundancy approach of BIOS, redundant system and relevant apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463244A (en) * 2020-10-29 2021-03-09 苏州浪潮智能科技有限公司 CPU starting method and device, electronic equipment and computer readable storage medium
CN112463244B (en) * 2020-10-29 2022-12-27 苏州浪潮智能科技有限公司 CPU starting method and device, electronic equipment and computer readable storage medium
CN114090095A (en) * 2022-01-19 2022-02-25 苏州浪潮智能科技有限公司 BIOS loading method and related components of CPU in multi-path server
CN117008704A (en) * 2023-09-27 2023-11-07 天固信息安全系统(深圳)有限公司 Control method and device based on EC or CPLD, storage medium and electronic equipment
CN117008704B (en) * 2023-09-27 2023-12-01 天固信息安全系统(深圳)有限公司 Control method and device based on EC or CPLD, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107122321B (en) Hardware repair method, hardware repair system, and computer-readable storage device
US8468389B2 (en) Firmware recovery system and method of baseboard management controller of computing device
US9158628B2 (en) Bios failover update with service processor having direct serial peripheral interface (SPI) access
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
TWI261748B (en) Policy-based response to system errors occurring during OS runtime
CN110083491A (en) A kind of BIOS initialization method, apparatus, equipment and storage medium
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
JP2004038529A (en) Information processor
CN105807848B (en) Touch industrial personal computer
CN103827834A (en) Migration method of in-memory data, computer and device
JP2007172591A (en) Method and arrangement to dynamically modify the number of active processors in multi-node system
EP3319283B1 (en) Server data port learning at data switch
JP2007323631A (en) Cpu runaway determination circuit
US9652259B2 (en) Apparatus and method for managing register information in a processing system
US8495353B2 (en) Method and circuit for resetting register
TW201413445A (en) Self-repair device for computer motherboard
JP2004302731A (en) Information processor and method for trouble diagnosis
CN107179911B (en) Method and equipment for restarting management engine
US7657730B2 (en) Initialization after a power interruption
JP2007172096A (en) Information processor and start control method
CN103106089B (en) A kind of upgrade method of intelligent platform management controller and system
CN107704399B (en) Method and device for storing data
CN113742737B (en) Computer main board chip safety management method and device and computer equipment
CN114327986B (en) FRB2WDT timeout time determining method, device, equipment and medium

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: 20190802