CN111309349A - Method, device, equipment and storage medium for upgrading firmware version of power module - Google Patents

Method, device, equipment and storage medium for upgrading firmware version of power module Download PDF

Info

Publication number
CN111309349A
CN111309349A CN201911161220.1A CN201911161220A CN111309349A CN 111309349 A CN111309349 A CN 111309349A CN 201911161220 A CN201911161220 A CN 201911161220A CN 111309349 A CN111309349 A CN 111309349A
Authority
CN
China
Prior art keywords
psu
version
upgrading
firmware
firmware version
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.)
Withdrawn
Application number
CN201911161220.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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201911161220.1A priority Critical patent/CN111309349A/en
Publication of CN111309349A publication Critical patent/CN111309349A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for upgrading a firmware version of a power module, wherein the method comprises the following steps: regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number; if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU; and after the first PSU firmware version is upgraded successfully, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version. Therefore, when the version numbers of the two PSUs are detected to be inconsistent with the expected version numbers and both meet the upgrading conditions, the two PSU firmware upgrading methods are sequentially carried out, when the first PSU firmware is successfully upgraded, the second PSU firmware is upgraded, the risk that the two PSUs are powered off due to upgrading failure can be avoided, and the storage device is ensured to continuously provide the storage data service.

Description

Method, device, equipment and storage medium for upgrading firmware version of power module
Technical Field
The invention relates to the technical field of cloud computing data centers, in particular to a method, a device, equipment and a storage medium for upgrading a firmware version of a power module.
Background
In a storage device, a Power Supply Unit (PSU) is used to Supply Power to the device, and when a software function is changed, a version of the PSU needs to be updated to support a new function of the PSU. The traditional PSU firmware upgrading mode is divided into two types: the first is that after the version number is changed, manual upgrade is carried out; one is to perform an automatic upgrade during the start-up of the device. The scheme has the disadvantages that when the versions of two PSUs are required to be upgraded, a plurality of storage nodes upgrade the two PSUs simultaneously, and when an exception occurs in the upgrading process, the two PSUs cannot supply power, so that the storage service of the storage device is interrupted, and the data loss of a user is caused.
Therefore, how to avoid the risk of device power failure caused by failed upgrade of two PSUs is a technical problem to be urgently solved by those skilled in the art.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, a device and a storage medium for upgrading a firmware version of a power module, which can avoid a risk of powering off the device. The specific scheme is as follows:
a power module firmware version upgrading method comprises the following steps:
regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number;
if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU;
and after the first PSU firmware version is successfully upgraded, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, periodically detecting whether the version numbers of the two PSUs are consistent with an expected version number includes:
and detecting whether the version numbers of the two PSUs are consistent with the expected version number at the cluster layer.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, the upgrading condition includes: two nodes are online, two PSUs are online, the PSUs do not give an alarm, the output voltage of the PSUs is normal, and the nodes do not give an alarm for failure in firmware upgrading.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, upgrading a first PSU firmware version specifically includes:
receiving a first PSU firmware upgrade file;
turning off the output voltage of the first PSU;
a first PSU firmware upgrade command is received and executed.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, after upgrading a first PSU firmware version, the method further includes:
after waiting for a first preset time, turning on the output voltage of the first PSU;
detecting whether the version number of the first PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the first PSU, repairing the alarm, and stopping the upgrading of the firmware version of the second PSU;
if so, checking the firmware version and the output voltage of the first PSU after waiting for a second preset time;
if the second PSU firmware version is abnormal, reporting an alarm and stopping upgrading the second PSU firmware version;
and if the first PSU firmware version is not abnormal, judging that the first PSU firmware version is successfully upgraded.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, upgrading a firmware version of a second PSU specifically includes:
receiving a second PSU firmware upgrade file;
turning off the output voltage of the second PSU;
a second PSU firmware upgrade command is received and executed.
Preferably, in the method for upgrading a firmware version of a power module according to an embodiment of the present invention, after upgrading the firmware version of the second PSU, the method further includes:
after waiting for a first preset time, turning on the output voltage of the second PSU;
detecting whether the version number of the second PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the second PSU, and repairing and alarming;
if so, checking the firmware version and the output voltage of the second PSU after waiting for a second preset time;
if the abnormality occurs, reporting an alarm;
and if the second PSU firmware version is not abnormal, judging that the second PSU firmware version is successfully upgraded.
The embodiment of the invention also provides a device for upgrading the firmware version of the power module, which comprises:
the version number detection module is used for detecting whether the version numbers of the two PSUs are consistent with an expected version number or not at regular time;
the first upgrading module is used for upgrading the firmware version of the first PSU if the version number of the first PSU is inconsistent with the expected version number and meets upgrading conditions;
and the second upgrading module is used for upgrading the firmware version of the second PSU if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition after the firmware version of the first PSU is upgraded successfully.
The embodiment of the invention also provides a power module firmware version upgrading device which comprises a processor and a memory, wherein the processor realizes the power module firmware version upgrading method provided by the embodiment of the invention when executing the computer program stored in the memory.
The embodiment of the present invention further provides a computer-readable storage medium for storing a computer program, where the computer program, when executed by a processor, implements the method for upgrading the firmware version of the power module according to the embodiment of the present invention.
It can be seen from the foregoing technical solutions that, the method, apparatus, device and storage medium for upgrading a firmware version of a power module provided by the present invention include: regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number; if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU; and after the first PSU firmware version is successfully upgraded, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version.
According to the invention, when the version numbers of the two PSUs are detected to be inconsistent with the expected version numbers and both meet the upgrading conditions, the two PSU firmware are sequentially upgraded, and when the first PSU firmware is successfully upgraded, the second PSU firmware is upgraded after the equipment is normally powered on, so that the risk of equipment power failure caused by the failure of upgrading of the two PSUs can be avoided, the storage equipment is ensured to continuously provide the stored data service, and the problem of low manual upgrading efficiency can be overcome.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for upgrading a firmware version of a power module according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a power module firmware version upgrading apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a method for upgrading a firmware version of a power module, which comprises the following steps as shown in figure 1:
s101, regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number;
s102, if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU;
specifically, if the version number of the first PSU is not consistent with the expected version number, performing an automatic firmware upgrade process, and before executing the firmware version upgrade of the first PSU, detecting whether the first PSU meets an upgrade condition; the upgrade condition may include: two nodes are online, two PSUs are online, the first PSU has no alarm, the output voltage of the first PSU is normal, and the nodes have no alarm of firmware upgrading failure;
s103, after the first PSU firmware version is upgraded successfully, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version;
if the version number of the second PSU is not consistent with the expected version number, performing a firmware upgrade process, wherein the precondition is that the first PSU firmware version is successfully upgraded and whether the second PSU meets the upgrade condition is detected before the second PSU firmware version is upgraded; the upgrade condition may include: two nodes are online, two PSUs are online, the second PSU does not give an alarm, the output voltage of the second PSU is normal, and the nodes do not give an alarm for failure of firmware upgrade; it should be noted that the upgrade condition ensures that the PSU upgrade is terminated if other exceptions occur during the PSU upgrade process, thereby ensuring the robustness of the device.
In the method for upgrading the firmware version of the power module provided by the embodiment of the invention, when the version numbers of the two PSUs are detected to be inconsistent with the expected version numbers and both meet the upgrading conditions, the two PSU firmware are sequentially upgraded, and when the first PSU firmware is successfully upgraded and normal power supply can be carried out on the equipment, the second PSU firmware is upgraded, so that the risk of power failure of the equipment due to the failure of upgrading of the two PSUs can be avoided, the storage equipment is ensured to continuously provide the stored data service, and the problem of low manual upgrading efficiency can be overcome.
Further, in specific implementation, in the method for upgrading a firmware version of a power module according to the embodiment of the present invention, the step S101 may detect whether the version numbers of the two PSUs are consistent with an expected version number, and specifically include: and detecting whether the version numbers of the two PSUs are consistent with the expected version number at the cluster layer.
In practical application, a plurality of nodes exist in a storage device cluster state, so that in order to avoid that a single node executes PSU firmware upgrading and two nodes simultaneously upgrade one PSU, in the invention, a version detection area is arranged in a cluster layer, namely a data sharing layer of the two nodes, node information of the two devices is synchronized, information in the PSU upgrading process can be well shared, the orderliness of the PSU upgrading process is further ensured, and meanwhile, if upgrading fails, firmware upgrading failure information of a user can be timely informed, and the operation of the storage device is further ensured.
In a specific implementation, in the method for upgrading a firmware version of a power module according to the embodiment of the present invention, the step S102 may be to upgrade a firmware version of a first PSU, and specifically includes: receiving a first PSU firmware upgrade file; turning off the output voltage of the first PSU; a first PSU firmware upgrade command is received and executed.
In actual operation, the firmware automatic upgrade flow may be: firstly, issuing a first PSU firmware upgrading file to a BMC; then, issuing a command to close the output voltage of the first PSU through the BMC; and finally, issuing a first PSU firmware upgrading command to the BMC.
Further, in specific implementation, in the method for upgrading a firmware version of a power module according to the embodiment of the present invention, after the step S102 is executed to upgrade a firmware version of a first PSU, the method may further include:
after waiting for a first preset time, turning on the output voltage of the first PSU;
detecting whether the version number of the first PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the first PSU, repairing the alarm, and stopping the upgrading of the firmware version of the second PSU;
if so, checking the firmware version and the output voltage of the first PSU after waiting for a second preset time;
if the second PSU firmware version is abnormal, reporting an alarm and stopping upgrading the second PSU firmware version;
and if the first PSU firmware version is not abnormal, judging that the first PSU firmware version is successfully upgraded.
In actual operation, since each PSU firmware upgrade process generally requires 5 minutes, the first preset time may be set to 5 minutes, and the second preset time may be set to 30 minutes; after executing a first PSU firmware upgrading command, starting a timer for 5 minutes to wait, after the timer is overtime, firstly issuing a command to a BMC (baseboard management controller), opening the output voltage of the first PSU, simultaneously carrying out version detection, detecting whether the version is upgraded to an expected version, and reporting to a user if the version is upgraded unsuccessfully, wherein the firmware upgrading is failed; the first PSU is replaced in time, the alarm is repaired, and meanwhile, the firmware version of the second PSU is not upgraded; after the upgrade is successful, starting a timer for 30 minutes, checking the firmware version and the output voltage of the first PSU after the timer is overtime, reporting an alarm if the firmware version and the output voltage of the first PSU are abnormal, such as version number rollback or too low output voltage, and the like, and simultaneously not upgrading the firmware version of the second PSU; and after the timer is overtime for 30 minutes, if the version number and the output voltage are normal, upgrading the firmware version of the second PSU.
Similarly, in a specific implementation, in the method for upgrading a firmware version of a power module according to the embodiment of the present invention, the step S103 may be to upgrade a firmware version of a second PSU, and specifically includes: receiving a second PSU firmware upgrade file; turning off the output voltage of the second PSU; a second PSU firmware upgrade command is received and executed.
In actual operation, the firmware automatic upgrade flow may be: firstly, issuing a second PSU firmware upgrading file to the BMC; then, issuing a command to close the output voltage of the second PSU through the BMC; and finally, issuing a second PSU firmware upgrading command to the BMC.
Further, in a specific implementation, in the method for upgrading a firmware version of a power module according to the embodiment of the present invention, after the step S103 is executed to upgrade a firmware version of a second PSU, the method may further include:
after waiting for a first preset time, turning on the output voltage of the second PSU;
detecting whether the version number of the second PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the second PSU, and repairing and alarming;
if so, checking the firmware version and the output voltage of the second PSU after waiting for a second preset time;
if the abnormality occurs, reporting an alarm;
and if the second PSU firmware version is not abnormal, judging that the second PSU firmware version is successfully upgraded.
In practical operation, as above, the first preset time may be set to 5 minutes, and the second preset time may be set to 30 minutes; after executing a second PSU firmware upgrading command, starting a timer for 5 minutes to wait, after the timer is overtime, firstly issuing a command to the BMC, opening the output voltage of the second PSU, simultaneously carrying out version detection, detecting whether the version is upgraded to an expected version, and reporting to a user if the version is upgraded unsuccessfully, wherein the firmware upgrading is failed; replacing the second PSU in time and repairing the alarm; after upgrading is successful, starting a timer for 30 minutes, checking the firmware version and the output voltage of the second PSU after the timer is overtime, and reporting an alarm if abnormity occurs, such as version number rollback or too low output voltage; after the 30 minute timer times out, if the version number and output voltage are normal, the upgrade is successful.
It can be understood that, in the invention, the PSU version number is detected at regular time, and the version is automatically upgraded immediately if the version is inconsistent; the condition is checked before upgrading, so that avoidance measures are ensured for all the exceptions in the upgrading process; when any PSU has a problem in the upgrading process, the system can report an alarm to inform a user that the firmware version is failed to be upgraded, so that the risk of power failure of equipment is avoided.
Based on the same inventive concept, the embodiment of the present invention further provides a power module firmware version upgrading device, and as the principle of solving the problem of the power module firmware version upgrading device is similar to the foregoing power module firmware version upgrading method, the implementation of the power module firmware version upgrading device can refer to the implementation of the power module firmware version upgrading method, and repeated details are omitted.
In specific implementation, the apparatus for upgrading a firmware version of a power module according to an embodiment of the present invention, as shown in fig. 2, specifically includes:
a version number detection module 11, configured to detect whether the version numbers of the two PSUs are consistent with an expected version number at regular time;
the first upgrading module 12 is configured to upgrade a first PSU firmware version if the version number of the first PSU is not consistent with the expected version number and an upgrading condition is met;
the second upgrade module 13 is configured to upgrade, after the first PSU firmware version is successfully upgraded, the second PSU firmware version if the version number of the second PSU is not consistent with the expected version number and the upgrade condition is met.
In the power module firmware version upgrading device provided by the embodiment of the invention, the two PSU firmware can be sequentially upgraded through the interaction of the four modules, when the first PSU firmware is successfully upgraded and the equipment can be normally powered on, the second PSU firmware is upgraded, so that the risk of power failure of the equipment due to the failure of upgrading of the two PSUs can be avoided, the storage equipment is ensured to continuously provide the storage data service, and the problem of low manual upgrading efficiency can be solved.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Correspondingly, the embodiment of the invention also discloses a power module firmware version upgrading device, which comprises a processor and a memory; the firmware version upgrading method of the power module disclosed in the foregoing embodiments is implemented when the processor executes the computer program stored in the memory.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, the present invention also discloses a computer readable storage medium for storing a computer program; the computer program, when executed by the processor, implements the power module firmware version upgrade method disclosed above.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The embodiment of the invention provides a method, a device, equipment and a storage medium for upgrading a firmware version of a power module, wherein the method comprises the following steps: regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number; if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU; and after the first PSU firmware version is upgraded successfully, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version. Therefore, when the version numbers of the two PSUs are detected to be inconsistent with the expected version numbers and both meet the upgrading conditions, the two PSU firmware upgrading methods are sequentially carried out, when the first PSU firmware is successfully upgraded, the second PSU firmware is upgraded after the equipment is normally powered on, the risk that the equipment is powered off due to the fact that the two PSUs are unsuccessfully upgraded can be avoided, the storage equipment is guaranteed to continuously provide the storage data service, and the problem of low manual upgrading efficiency can be solved.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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.
The method, the apparatus, the device and the storage medium for upgrading the firmware version of the power module provided by the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for upgrading a firmware version of a power module is characterized by comprising the following steps:
regularly detecting whether the version numbers of the two PSUs are consistent with an expected version number;
if the version number of the first PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the firmware version of the first PSU;
and after the first PSU firmware version is successfully upgraded, if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition, upgrading the second PSU firmware version.
2. The method for upgrading a firmware version of a power module according to claim 1, wherein periodically detecting whether the version numbers of the two PSUs are consistent with an expected version number includes:
and detecting whether the version numbers of the two PSUs are consistent with the expected version number at the cluster layer.
3. The power module firmware version upgrade method according to claim 2, wherein the upgrade condition includes: two nodes are online, two PSUs are online, the PSUs do not give an alarm, the output voltage of the PSUs is normal, and the nodes do not give an alarm for failure in firmware upgrading.
4. The method for upgrading the firmware version of the power supply module according to claim 3, wherein upgrading the firmware version of the first PSU specifically comprises:
receiving a first PSU firmware upgrade file;
turning off the output voltage of the first PSU;
a first PSU firmware upgrade command is received and executed.
5. The method for upgrading the firmware version of the power supply module according to claim 4, further comprising, after upgrading the firmware version of the first PSU:
after waiting for a first preset time, turning on the output voltage of the first PSU;
detecting whether the version number of the first PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the first PSU, repairing the alarm, and stopping the upgrading of the firmware version of the second PSU;
if so, checking the firmware version and the output voltage of the first PSU after waiting for a second preset time;
if the second PSU firmware version is abnormal, reporting an alarm and stopping upgrading the second PSU firmware version;
and if the first PSU firmware version is not abnormal, judging that the first PSU firmware version is successfully upgraded.
6. The method for upgrading the firmware version of the power supply module according to claim 5, wherein upgrading the firmware version of the second PSU specifically comprises:
receiving a second PSU firmware upgrade file;
turning off the output voltage of the second PSU;
a second PSU firmware upgrade command is received and executed.
7. The method for upgrading the firmware version of the power supply module according to claim 6, further comprising, after upgrading the firmware version of the second PSU:
after waiting for a first preset time, turning on the output voltage of the second PSU;
detecting whether the version number of the second PSU is upgraded to an expected version number;
if not, informing the user that the firmware version fails to be upgraded, timely replacing the second PSU, and repairing and alarming;
if so, checking the firmware version and the output voltage of the second PSU after waiting for a second preset time;
if the abnormality occurs, reporting an alarm;
and if the second PSU firmware version is not abnormal, judging that the second PSU firmware version is successfully upgraded.
8. A power module firmware version upgrade device, comprising:
the version number detection module is used for detecting whether the version numbers of the two PSUs are consistent with an expected version number or not at regular time;
the first upgrading module is used for upgrading the firmware version of the first PSU if the version number of the first PSU is inconsistent with the expected version number and meets upgrading conditions;
and the second upgrading module is used for upgrading the firmware version of the second PSU if the version number of the second PSU is inconsistent with the expected version number and meets the upgrading condition after the firmware version of the first PSU is upgraded successfully.
9. A power module firmware version-up device comprising a processor and a memory, wherein the processor implements the power module firmware version-up method according to any one of claims 1 to 7 when executing a computer program stored in the memory.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the power module firmware version upgrade method of any one of claims 1 to 7.
CN201911161220.1A 2019-11-24 2019-11-24 Method, device, equipment and storage medium for upgrading firmware version of power module Withdrawn CN111309349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911161220.1A CN111309349A (en) 2019-11-24 2019-11-24 Method, device, equipment and storage medium for upgrading firmware version of power module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911161220.1A CN111309349A (en) 2019-11-24 2019-11-24 Method, device, equipment and storage medium for upgrading firmware version of power module

Publications (1)

Publication Number Publication Date
CN111309349A true CN111309349A (en) 2020-06-19

Family

ID=71145023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911161220.1A Withdrawn CN111309349A (en) 2019-11-24 2019-11-24 Method, device, equipment and storage medium for upgrading firmware version of power module

Country Status (1)

Country Link
CN (1) CN111309349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928541A (en) * 2022-05-24 2022-08-19 阿里云计算有限公司 Version upgrading method and device and upgrading rule configuration method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589955A (en) * 2017-09-19 2018-01-16 郑州云海信息技术有限公司 A kind of upgrade method and system of double CMC firmware versions
WO2018209853A1 (en) * 2017-05-15 2018-11-22 万达百汇科技(深圳)有限公司 Pos machine, pos machine wireless communication module firmware upgrade method and computer readable storage medium
CN109189430A (en) * 2018-09-14 2019-01-11 郑州云海信息技术有限公司 A kind of power supply firmware upgrade method, device, equipment and storage medium
CN109783390A (en) * 2019-01-23 2019-05-21 郑州云海信息技术有限公司 PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209853A1 (en) * 2017-05-15 2018-11-22 万达百汇科技(深圳)有限公司 Pos machine, pos machine wireless communication module firmware upgrade method and computer readable storage medium
CN107589955A (en) * 2017-09-19 2018-01-16 郑州云海信息技术有限公司 A kind of upgrade method and system of double CMC firmware versions
CN109189430A (en) * 2018-09-14 2019-01-11 郑州云海信息技术有限公司 A kind of power supply firmware upgrade method, device, equipment and storage medium
CN109783390A (en) * 2019-01-23 2019-05-21 郑州云海信息技术有限公司 PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928541A (en) * 2022-05-24 2022-08-19 阿里云计算有限公司 Version upgrading method and device and upgrading rule configuration method

Similar Documents

Publication Publication Date Title
JP6291248B2 (en) Firmware upgrade error detection and automatic rollback
CN103092746B (en) The localization method of thread exception and system
US7979747B2 (en) Interactive problem resolution presented within the context of major observable application behaviors
US8108733B2 (en) Monitoring distributed software health and membership in a compute cluster
CN109189430A (en) A kind of power supply firmware upgrade method, device, equipment and storage medium
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
CN107660289A (en) Automatic network controls
EP2888685A2 (en) Transaction-level health monitoring of online services
CN110865835A (en) Configuration file updating method and device, computer equipment and storage medium
US10275330B2 (en) Computer readable non-transitory recording medium storing pseudo failure generation program, generation method, and generation apparatus
CN109408343B (en) Hard disk indicator lamp control method and device and related equipment
CN112099825B (en) Method, device, equipment and storage medium for upgrading component
KR20090120541A (en) Method and system for automatic recovery of an embedded operating system
CN108897646B (en) Switching method of BIOS (basic input output System) chips and substrate management controller
CN104049999A (en) Automatic storage device repair system based on network and method thereof
CN112527575A (en) Hard disk lighting test method, device and equipment and readable storage medium
CN115718450A (en) Equipment wire-stopping monitoring method and device, electronic equipment and system
CN111309349A (en) Method, device, equipment and storage medium for upgrading firmware version of power module
CN110968456B (en) Method and device for processing fault disk in distributed storage system
CN111488246A (en) CP L D upgrading method and device, electronic equipment and readable storage medium
CN116225812A (en) Baseboard management controller system operation method, device, equipment and storage medium
CN111124095B (en) Power supply running state detection method and related device during upgrading of power supply firmware
CN110908839A (en) Method, device and equipment for relieving fault of logic module
CN110795123A (en) Version upgrading method and system for power supply unit in storage system and related device
CN113835971A (en) Monitoring method for abnormal lighting of server backboard and related components

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200619