CN112732486B - Redundant firmware switching method, device, equipment and storage medium - Google Patents

Redundant firmware switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN112732486B
CN112732486B CN202110019340.9A CN202110019340A CN112732486B CN 112732486 B CN112732486 B CN 112732486B CN 202110019340 A CN202110019340 A CN 202110019340A CN 112732486 B CN112732486 B CN 112732486B
Authority
CN
China
Prior art keywords
firmware
switching
cpu
signal
redundant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110019340.9A
Other languages
Chinese (zh)
Other versions
CN112732486A (en
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 Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur 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 Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110019340.9A priority Critical patent/CN112732486B/en
Publication of CN112732486A publication Critical patent/CN112732486A/en
Application granted granted Critical
Publication of CN112732486B publication Critical patent/CN112732486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1441Resetting or repowering
    • 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/1497Details of time redundant execution on a single processing unit

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)
  • Hardware Redundancy (AREA)

Abstract

The application discloses a redundant firmware switching method, a redundant firmware switching device, redundant firmware switching equipment and a storage medium. The method comprises the following steps: acquiring a firmware verification state signal of a CPU; judging whether more than one firmware switching signal exists in the firmware verification state signal; if yes, acquiring a target firmware switching signal generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU; and switching the target firmware corresponding to the target firmware switching signal into corresponding redundant firmware and controlling the mainboard to be electrified again. The method can avoid the condition that the programmable logic device switches the normally running firmware into the redundant firmware when the firmware switching signals of the plurality of firmware are initiated to the programmable logic device due to the false triggering of the CPU, thereby ensuring the accuracy of firmware switching and the overall efficiency of the firmware switching process. In addition, the application also provides a redundant firmware switching device, equipment and a storage medium, and the beneficial effects are as described above.

Description

Redundant firmware switching method, device, equipment and storage medium
Technical Field
The present application relates to the field of servers, and in particular, to a method, an apparatus, a device, and a storage medium for switching redundant firmware.
Background
In the design of a main board and other important board cards in a server, in order to improve the reliability of products, redundancy design is carried out on key components, and the redundancy design has the function of adding more than one set of functional channels, working elements or components which complete the same function so as to ensure that a system or equipment can still work normally when the part fails.
In the currently designed server, the firmware is also designed redundantly, after the mainboard is powered on, the CPU checks each currently running firmware in a specific sequence, when there is a firmware with abnormal checking, a firmware switching signal is sent to the programmable logic device, and after the current CPU sends the firmware switching signal to the programmable logic device, the checking operation on the non-checked firmware is stopped.
Therefore, it is a problem to be solved by those skilled in the art to provide a redundant firmware switching method to relatively ensure the accuracy of firmware switching and the overall efficiency of the firmware switching process.
Disclosure of Invention
The present application is directed to provide a redundant firmware switching method to relatively ensure the accuracy of firmware switching and the overall efficiency of the firmware switching process.
In order to solve the above technical problem, the present application provides a method for switching a redundant firmware, which is applied to a programmable logic device, and includes:
acquiring a firmware verification state signal of a CPU;
judging whether more than one firmware switching signal exists in the firmware verification state signal;
if yes, acquiring a target firmware switching signal generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU;
and switching the target firmware corresponding to the target firmware switching signal into corresponding redundant firmware and controlling the mainboard to be electrified again.
Preferably, before acquiring the firmware verification status signal of the CPU, the method further comprises:
acquiring power-on state information of a CPU;
judging whether the CPU finishes powering up according to the power-up state information of the CPU;
if yes, executing the step of acquiring the firmware verification state signal of the CPU.
Preferably, before switching the target firmware corresponding to the target firmware switching signal to the corresponding redundant firmware and controlling the motherboard to be powered up again, the method further includes:
acquiring a firmware verification state signal of a CPU (Central processing Unit) transmitted by a BMC (baseboard management controller); wherein, the BMC establishes a communication relation with the CPU;
judging whether a target firmware switching signal exists in the firmware verification state signal;
if so, executing the step of switching the target firmware corresponding to the target firmware switching signal into the corresponding redundant firmware and controlling the mainboard to be electrified again.
Preferably, when the target firmware switching signal does not exist in the firmware verification status signal, the method further includes:
and recording the target firmware switching signal to a log.
Preferably, the programmable logic device comprises a CPLD.
Preferably, the firmware verification status signal comprises an SCP firmware verification status signal and a BIOS firmware verification status signal.
In addition, the present application further provides a redundant firmware switching apparatus, applied to a programmable logic device, including:
the state information acquisition module is used for acquiring a firmware verification state signal of the CPU;
the signal judging module is used for judging whether more than one firmware switching signal exists in the firmware verification state signal, and if so, the sequence acquiring module is executed;
the sequence acquisition module is used for acquiring a target firmware switching signal which is generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU;
and the redundancy switching module is used for switching the target firmware corresponding to the target firmware switching signal into the corresponding redundancy firmware and controlling the mainboard to be electrified again.
Preferably, the apparatus further comprises:
the CPU information acquisition module is used for acquiring the power-on state information of the CPU;
and the power-on judging module is used for judging whether the CPU finishes power-on according to the power-on state information of the CPU, and if so, the state information acquiring module is called.
In addition, the present application also provides a redundant firmware switching device, including:
a memory for storing a computer program;
a processor for implementing the steps of the above-mentioned redundant firmware switching method when executing the computer program.
In addition, the present application also provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the redundancy firmware switching method as described above.
The method for switching the redundant firmware is applied to a programmable logic device, firstly, a firmware verification state signal of a CPU is obtained, whether more than one firmware switching signal exists in the firmware verification state signal is judged, if more than one firmware switching signal exists, a target firmware switching signal which is generated firstly in the firmware switching signals is obtained according to a firmware verification sequence of the CPU, then, a target firmware corresponding to the target firmware switching signal is switched into a corresponding redundant firmware, and a mainboard is controlled to be powered on again. According to the method, only the target firmware switching signal generated by the CPU at first is responded according to the firmware verification sequence of the CPU, namely, the target firmware corresponding to the target firmware switching signal is switched by the redundant firmware and the mainboard is controlled to be powered up again, so that when the firmware switching signals of a plurality of firmware are initiated to the programmable logic device due to error triggering of the CPU, the situation that the programmable logic device switches the normally-running firmware into the redundant firmware is avoided, and the accuracy of firmware switching and the overall efficiency of the firmware switching process are further ensured. In addition, the application also provides a redundant firmware switching device, equipment and a storage medium, and the beneficial effects are as described above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a redundant firmware switching method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a redundant firmware switching apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
In the currently designed server, the firmware is designed redundantly, after the mainboard is powered on, the CPU checks each currently running firmware in a specific sequence, when there is a firmware with abnormal checking, a firmware switching signal is sent to the programmable logic device, and after the current CPU sends the firmware switching signal to the programmable logic device, the checking operation on the non-checked firmware is stopped.
Therefore, the core of the application is to provide a redundant firmware switching method to relatively ensure the accuracy of firmware switching and the overall efficiency of the firmware switching process.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present application discloses a method for switching a redundant firmware, which is applied to a programmable logic device, and includes:
step S10: and acquiring a firmware verification state signal of the CPU.
It should be noted that the CPU (Central Processing Unit) in the present embodiment refers to an operation and control core of the computer system, and is a final execution Unit for information Processing and program operation. The execution main body of the embodiment is a programmable logic device which is respectively connected with a CPU and a component running firmware, the programmable logic device is a general-purpose integrated circuit, and the logic function of the programmable logic device is determined according to the programming of a user on the programmable logic device. In this embodiment, the CPU may verify the firmware currently running in each component in a specific order, so as to generate a firmware verification status signal representing the running status of the firmware, and further provide the firmware verification status signal to the programmable logic device. The programmable logic device is used for responding to a firmware switching signal generated after the CPU verifies the firmware, and further switching the redundant firmware of the corresponding component.
Step S11: it is determined whether there is more than one firmware switching signal in the firmware verification status signal, and if yes, step S12 is executed.
Since the verification operation of the non-verified firmware is stopped after the CPU generates the firmware switching signal of a certain firmware and sends the firmware switching signal to the programmable logic device, when more than one firmware switching signal exists in the firmware verification status signal of the CPU, the situation that the signal false triggering exists in the CPU is explained.
After the firmware verification state signal of the CPU is obtained, whether more than one firmware switching signal exists in the firmware verification state signal is further judged, so that whether the condition that the firmware switching signal is triggered by mistake exists in the CPU is judged.
Step S12: and acquiring a target firmware switching signal generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU.
When more than one firmware switching signal exists in the firmware verification state signal, namely the condition that the CPU triggers the firmware switching signal by mistake is judged, the step further obtains the target firmware switching signal which is generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU, namely the target firmware switching information which is generated firstly in each firmware switching signal is obtained according to the sequence of the CPU verifying the firmware, and the aim is to only respond to the target firmware switching information in the subsequent step.
Step S13: and switching the target firmware corresponding to the target firmware switching signal into corresponding redundant firmware and controlling the mainboard to be electrified again.
After the target firmware switching signal generated firstly in the firmware switching signals is obtained according to the firmware verification sequence of the CPU, the target firmware corresponding to the target firmware switching signal is further switched into the corresponding redundant firmware and the mainboard is controlled to be powered on again, so that the redundant firmware is switched to the abnormal firmware.
The method for switching the redundant firmware is applied to a programmable logic device, firstly, a firmware verification state signal of a CPU is obtained, whether more than one firmware switching signal exists in the firmware verification state signal is judged, if more than one firmware switching signal exists, a target firmware switching signal which is generated firstly in the firmware switching signals is obtained according to a firmware verification sequence of the CPU, then, a target firmware corresponding to the target firmware switching signal is switched into a corresponding redundant firmware, and a mainboard is controlled to be powered on again. According to the method, only the target firmware switching signal generated by the CPU at first is responded according to the firmware verification sequence of the CPU, namely, the target firmware corresponding to the target firmware switching signal is switched by the redundant firmware and the mainboard is controlled to be powered up again, so that when the firmware switching signals of a plurality of firmware are initiated to the programmable logic device due to error triggering of the CPU, the situation that the programmable logic device switches the normally-running firmware into the redundant firmware is avoided, and the accuracy of firmware switching and the overall efficiency of the firmware switching process are further ensured.
On the basis of the foregoing embodiment, as a preferred implementation manner, before acquiring the firmware verification status signal of the CPU, the method further includes:
acquiring power-on state information of a CPU;
judging whether the CPU finishes powering up according to the power-up state information of the CPU;
if yes, executing the step of acquiring the firmware verification state signal of the CPU.
It should be noted that, considering that a certain pulse signal is often generated when the CPU is not powered on, and the pulse signal may be consistent with a pulse of the firmware verification status signal, which may cause the programmable logic device to acquire the pulse signal generated in the CPU power-on process as the firmware verification status signal, and it is difficult to ensure the accuracy of firmware switching, in this embodiment, before acquiring the firmware verification status signal of the CPU, the power-on status information of the CPU is first acquired, and then it is determined whether the CPU is powered on according to the power-on status information of the CPU, when the CPU is in the power-on state, the step of acquiring the firmware verification status signal of the CPU is further performed, so as to avoid the influence of the pulse signal generated in the CPU power-on process on the firmware verification status signal acquired by the programmable logic device, and this embodiment further ensures the reliability of the firmware verification status signal acquired by the programmable logic device, thereby ensuring the accuracy of firmware switching.
On the basis of the foregoing embodiment, as a preferred implementation manner, before switching the target firmware corresponding to the target firmware switching signal to the corresponding redundant firmware and controlling the motherboard to be powered up again, the method further includes:
acquiring a firmware verification state signal of a CPU (Central processing Unit) transmitted by a BMC (baseboard management controller); wherein, the BMC establishes a communication relation with the CPU;
judging whether a target firmware switching signal exists in the firmware verification state signal;
if so, executing the step of switching the target firmware corresponding to the target firmware switching signal into the corresponding redundant firmware and controlling the mainboard to be electrified again.
It should be noted that, in this embodiment, the programmable logic device is further connected to a BMC (Baseboard Management Controller), the BMC establishes a communication relationship with the CPU, and the BMC also obtains a firmware verification status signal of the CPU, and then before switching a target firmware corresponding to the target firmware switching signal to a corresponding redundant firmware and controlling the motherboard to be powered on again, the programmable logic device obtains the firmware verification status signal of the CPU transmitted by the BMC, and then determines whether a target firmware switching signal exists in the firmware verification status signal, that is, whether a target firmware switching signal exists in the firmware verification status signal obtained by the BMC, and determines whether a target firmware switching signal exists in the firmware verification status signal obtained by the BMC, and when a target firmware switching signal also exists in the firmware verification status signal obtained by the BMC, and executing the step of switching the target firmware corresponding to the target firmware switching signal into the corresponding redundant firmware and controlling the mainboard to be powered on again. The embodiment further improves the accuracy of firmware switching.
Further, as a preferred embodiment, when the firmware verification status signal does not include the target firmware switching signal, the method further includes:
and recording the target firmware switching signal to a log.
It should be noted that, in this embodiment, when it is determined that there is no target firmware switching signal in the firmware verification status signal acquired through the BMC, the operation of switching the target firmware corresponding to the target firmware switching signal to the corresponding redundant firmware and controlling the motherboard to be powered on again is not performed, and the target firmware switching signal is further recorded in the log, so that a technician can learn the target firmware switching signal that is not responded to by the programmable logic device through the log, and can manually determine whether it is necessary to switch the corresponding firmware according to the target firmware switching signal, thereby further ensuring the accuracy of firmware switching.
Further, as a preferred embodiment, the programmable logic device comprises a CPLD.
Note that the present embodiment focuses on the CPLD as the programmable logic device. The cpld (complex Programmable Logic device) is a digital integrated circuit in which a user constructs Logic functions according to their own needs, and has high flexibility and reliability of Logic control, and can further ensure the reliability of redundant firmware switching.
Based on the above series of embodiments, as a preferred implementation, the firmware verification status signal includes an SCP firmware verification status signal and a BIOS firmware verification status signal.
It should be noted that, the SCP (system Control processor) is a system Control processor, the BIOS (basic Input Output system) is a basic Input Output system, and the firmware verification status signal in this embodiment includes an SCP firmware verification status signal and a BIOS firmware verification status signal, which can relatively ensure accuracy of the redundant firmware switching process performed on the SCP firmware and the BIOS firmware and overall efficiency of the firmware switching process.
Referring to fig. 2, an embodiment of the present application provides a redundant firmware switching apparatus applied to a programmable logic device, including:
a status information obtaining module 10, configured to obtain a firmware verification status signal of the CPU;
a signal judgment module 11, configured to judge whether there is more than one firmware switching signal in the firmware verification status signal, and if yes, execute the sequence acquisition module 12;
a sequence acquiring module 12, configured to acquire a target firmware switching signal generated first in the firmware switching signals according to a firmware verification sequence of the CPU;
and the redundancy switching module 13 is configured to switch the target firmware corresponding to the target firmware switching signal to a corresponding redundancy firmware and control the motherboard to be powered up again.
Further, as a preferred embodiment, the apparatus further comprises:
the CPU information acquisition module is used for acquiring the power-on state information of the CPU;
and the power-on judging module is used for judging whether the CPU finishes power-on according to the power-on state information of the CPU, and if so, the state information acquiring module is called.
The redundant firmware switching device provided by the application is applied to a programmable logic device, firstly, a firmware verification state signal of a CPU is obtained, whether more than one firmware switching signal exists in the firmware verification state signal is judged, if more than one firmware switching signal exists, a target firmware switching signal which is generated firstly in the firmware switching signals is obtained according to a firmware verification sequence of the CPU, then, a target firmware corresponding to the target firmware switching signal is switched into a corresponding redundant firmware, and a mainboard is controlled to be powered on again. Because the device only responds to the target firmware switching signal generated by the CPU firstly according to the firmware verification sequence of the CPU, namely, the target firmware corresponding to the target firmware switching signal is switched by the redundant firmware and the mainboard is controlled to be electrified again, when the firmware switching signals of a plurality of firmware are initiated to the programmable logic device due to error triggering of the CPU, the situation that the programmable logic device switches the normally running firmware into the redundant firmware is avoided, and the accuracy of firmware switching and the overall efficiency of the firmware switching process are further ensured.
In addition, the present application also provides a redundant firmware switching device, including:
a memory for storing a computer program;
a processor for implementing the steps of the above-mentioned redundant firmware switching method when executing the computer program.
The redundancy firmware switching equipment provided by the application firstly acquires a firmware verification state signal of a CPU (Central processing Unit), judges whether more than one firmware switching signal exists in the firmware verification state signal, and acquires a target firmware switching signal generated firstly in the firmware switching signals according to a firmware verification sequence of the CPU if more than one firmware switching signal exists, so that target firmware corresponding to the target firmware switching signal is switched into corresponding redundancy firmware, and controls a mainboard to be electrified again. Because the equipment only responds to the target firmware switching signal generated by the CPU firstly according to the firmware verification sequence of the CPU, namely, the target firmware corresponding to the target firmware switching signal is switched by the redundant firmware and the mainboard is controlled to be electrified again, when the firmware switching signals of a plurality of pieces of firmware are initiated to the programmable logic device due to error triggering of the CPU, the situation that the programmable logic device switches the normally running firmware into the redundant firmware is avoided, and the accuracy of firmware switching and the overall efficiency of the firmware switching process are further ensured.
In addition, the present application also provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the redundancy firmware switching method as described above.
The computer-readable storage medium provided by the application is applied to a programmable logic device, firstly, a firmware verification state signal of a CPU is obtained, whether more than one firmware switching signal exists in the firmware verification state signal is judged, if more than one firmware switching signal exists, a target firmware switching signal which is generated firstly in the firmware switching signals is obtained according to a firmware verification sequence of the CPU, then, a target firmware corresponding to the target firmware switching signal is switched into a corresponding redundant firmware, and a mainboard is controlled to be powered on again. The computer readable storage medium only responds to the target firmware switching signal generated by the CPU firstly according to the firmware verification sequence of the CPU, namely, the target firmware corresponding to the target firmware switching signal is switched by the redundant firmware and the mainboard is controlled to be powered up again, so that when the firmware switching signals of a plurality of firmware are initiated to the programmable logic device due to error triggering of the CPU, the situation that the programmable logic device switches normally-running firmware into the redundant firmware is avoided, and the accuracy of firmware switching and the overall efficiency of the firmware switching process are further ensured.
The foregoing describes a method, an apparatus, a device, and a storage medium for switching redundant firmware provided in the present application in detail. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A redundant firmware switching method is applied to a programmable logic device and comprises the following steps:
acquiring a firmware verification state signal of a CPU;
judging whether more than one firmware switching signal exists in the firmware verification state signal;
if yes, acquiring a target firmware switching signal generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU;
and switching the target firmware corresponding to the target firmware switching signal into corresponding redundant firmware and controlling the mainboard to be powered on again.
2. The redundant firmware switching method according to claim 1, wherein before the acquiring the firmware verification status signal of the CPU, the method further comprises:
acquiring the power-on state information of the CPU;
judging whether the CPU finishes powering up according to the power-on state information of the CPU;
and if so, executing the step of acquiring the firmware verification state signal of the CPU.
3. The method according to claim 1, wherein before switching the target firmware corresponding to the target firmware switching signal to the corresponding redundant firmware and controlling the motherboard to be powered up again, the method further comprises:
acquiring a firmware verification state signal of the CPU transmitted by the BMC; the BMC and the CPU are established with a communication relation;
judging whether the firmware verification state signal has the target firmware switching signal or not;
and if so, executing the step of switching the target firmware corresponding to the target firmware switching signal into the corresponding redundant firmware and controlling the mainboard to be electrified again.
4. The redundant firmware switching method according to claim 3, wherein when the target firmware switching signal is not present in the firmware verification status signal, the method further comprises:
and recording the target firmware switching signal to a log.
5. The method of claim 3, wherein the programmable logic device comprises a CPLD.
6. The method of any of claims 1 to 5, wherein the firmware verification status signal comprises an SCP firmware verification status signal and a BIOS firmware verification status signal.
7. A redundant firmware switching device applied to a programmable logic device comprises:
the state information acquisition module is used for acquiring a firmware verification state signal of the CPU;
the signal judging module is used for judging whether more than one firmware switching signal exists in the firmware verification state signal, and if so, the sequence acquiring module is executed;
the sequence acquisition module is used for acquiring a target firmware switching signal which is generated firstly in the firmware switching signals according to the firmware verification sequence of the CPU;
and the redundancy switching module is used for switching the target firmware corresponding to the target firmware switching signal into corresponding redundancy firmware and controlling the mainboard to be electrified again.
8. The redundant firmware switching apparatus according to claim 7, further comprising:
the CPU information acquisition module is used for acquiring the power-on state information of the CPU;
and the power-on judging module is used for judging whether the CPU finishes power-on according to the power-on state information of the CPU, and if so, the state information acquiring module is called.
9. A redundant firmware switching apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the redundant firmware switching method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the redundant firmware switching method according to any one of claims 1 to 6.
CN202110019340.9A 2021-01-07 2021-01-07 Redundant firmware switching method, device, equipment and storage medium Active CN112732486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110019340.9A CN112732486B (en) 2021-01-07 2021-01-07 Redundant firmware switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110019340.9A CN112732486B (en) 2021-01-07 2021-01-07 Redundant firmware switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112732486A CN112732486A (en) 2021-04-30
CN112732486B true CN112732486B (en) 2022-08-02

Family

ID=75591128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110019340.9A Active CN112732486B (en) 2021-01-07 2021-01-07 Redundant firmware switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112732486B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843915A (en) * 2015-12-03 2017-06-13 比亚迪股份有限公司 A kind of firmware switching method and apparatus
CN109062517A (en) * 2018-09-19 2018-12-21 郑州云海信息技术有限公司 A kind of firmware redundancy approach, device, equipment and medium
CN111399919A (en) * 2020-03-06 2020-07-10 苏州浪潮智能科技有限公司 Starting method and system of server, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112732486A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US20070234123A1 (en) Method for detecting switching failure
CN111324192A (en) System board power supply detection method, device, equipment and storage medium
CN109143954B (en) System and method for realizing controller reset
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
CN110459260B (en) Automatic test switching device, method and system
CN111966380A (en) BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
CN112732486B (en) Redundant firmware switching method, device, equipment and storage medium
CN113609051A (en) Hot plug method, system, device and computer storage medium for expansion board
CN116449800A (en) Control logic switching method, device, equipment and medium
CN115168146A (en) Anomaly detection method and device
CN107168819B (en) Method and device for restarting operating system
CN115934446A (en) Self-checking method, server, equipment and storage medium
CN115098342A (en) System log collection method, system, terminal and storage medium
CN110795293B (en) Method, system and device for testing soft shutdown of server
CN110989814A (en) Server protection method, device and equipment
CN114168393B (en) Server testing method, system, equipment and medium
CN114443446B (en) Hard disk indicator lamp control method, system, terminal and storage medium
CN113312214B (en) Method, apparatus, electronic device and storage medium for operating computer
CN113986635B (en) BIOS testing method, system, storage medium and device
CN117311769B (en) Server log generation method and device, storage medium and electronic equipment
CN111782442B (en) Device exception handling method, system, electronic device and storage medium
CN116541211A (en) Keyboard controller style interface fault redundancy method and device
TWI298137B (en)
US10303485B2 (en) Control method for controlling a server system by means of a set of reset signals and a set of notification signals
CN116540940A (en) Storage cluster management and control method, device, equipment and storage 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
GR01 Patent grant
GR01 Patent grant