Upgrading method of voltage regulation firmware, server, electronic equipment and storage medium

By automatically upgrading the voltage regulation firmware by using the substrate management controller to control the switches of the auxiliary circuit when the server power is turned off, the problem of cumbersome operation and inefficiency in traditional methods is solved, and a fast and reliable firmware upgrade is achieved.

CN120085893APending Publication Date: 2025-06-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510199083.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

The traditional voltage regulation firmware upgrade method is cumbersome to operate and errors are prone to errors, resulting in inefficient upgrades and difficult to meet the needs of rapid upgrades.

Method used

When the server power is turned off, the power supply down command is sent through the substrate management controller to close the auxiliary circuit related to the voltage regulation firmware to be upgraded, and perform firmware upgrade; after the upgrade is completed, the power supply up command is sent, the auxiliary circuit is turned on, and the auxiliary circuit is enabled, and the voltage regulation firmware after the upgrade is run.

Benefits of technology

Automatic power-down and power-up operation is realized, reducing the risk of manual operation, improving upgrade efficiency and reliability, so that the voltage-regulating firmware can take effect under constant power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120085893A_ABST
    Figure CN120085893A_ABST
Patent Text Reader

Abstract

The invention provides a voltage regulation firmware upgrading method, a server, electronic equipment and a storage medium, and can be applied to the technical field of computer application. The method comprises the steps that under the condition that a server power supply is turned off, an auxiliary circuit related to voltage regulation firmware to be upgraded is set to be in a turn-off state in response to a detected auxiliary power-off command from a substrate management controller, so that under the condition that the substrate management controller detects that the auxiliary circuit is turned off, the auxiliary circuit related to the voltage regulation firmware to be upgraded is turned off; upgrading the to-be-upgraded voltage regulation firmware to obtain upgraded voltage regulation firmware; and in response to detection of an auxiliary power-on command from the substrate management controller, setting the auxiliary circuit to be in an on state so as to operate the upgraded voltage regulation firmware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer application technologies, and more particularly to a method for upgrading voltage regulation firmware, a server, an electronic device, and a storage medium. Background Art

[0002] In large-scale data centers, the stable operation of a large number of servers is crucial for business continuity and reliability. The stability of voltage regulation directly affects the performance and lifespan of servers. Therefore, it is necessary to upgrade the voltage regulation firmware in a timely manner to reduce server failures and downtime caused by power problems, and improve the availability and operation and maintenance efficiency of servers.

[0003] Traditional methods for upgrading voltage regulation firmware usually require manual selection of firmware and manual power-off of the entire machine. The operation method is cumbersome and error-prone, resulting in low upgrade efficiency and making it difficult to meet the requirements of rapid upgrading. Summary of the Invention

[0004] In view of the above problems, this application provides a method for upgrading voltage regulation firmware, a server, an electronic device, and a storage medium.

[0005] According to the first aspect of this application, there is provided a method for upgrading voltage regulation firmware, including: when the server power is off, in response to detecting a lower auxiliary power command from a baseboard management controller, setting an auxiliary circuit related to the voltage regulation firmware to be upgraded to a closed state, so that the baseboard management controller upgrades the voltage regulation firmware to be upgraded to obtain an upgraded voltage regulation firmware when detecting that the auxiliary circuit is closed, where the auxiliary circuit, the voltage regulation firmware to be upgraded, and the baseboard management controller are all provided in the server, and the lower auxiliary power command is generated by the baseboard management controller based on a firmware upgrade instruction for the voltage regulation firmware to be upgraded; in response to detecting an upper auxiliary power command from the baseboard management controller, setting the auxiliary circuit to an open state to run the upgraded voltage regulation firmware, where the upper auxiliary power command is generated by the baseboard management controller when detecting that the upgrade of the voltage regulation firmware to be upgraded is completed.

[0006] According to an embodiment of this application, the baseboard management controller is electrically connected to a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information; the method further includes: reading the command information from the first register; when the command information represents lower auxiliary power information, determining that a lower auxiliary power command is detected; and when the command information represents upper auxiliary power information, determining that an upper auxiliary power command is detected.

[0007] According to an embodiment of the present application, a baseboard management controller is electrically connected to a second register, and the second register is used to record the auxiliary power state; the method further includes: in response to detecting that the auxiliary circuit has been turned off, setting the auxiliary power state of the second register to the power-off prohibited startup state; and in response to detecting that the auxiliary circuit has been turned on, setting the auxiliary power state of the second register to the power-on permitted startup state.

[0008] According to a second aspect of the present application, a method for upgrading voltage regulation firmware is provided, including: when the server power is off, in response to detecting a firmware upgrade instruction for the voltage regulation firmware to be upgraded, sending a lower auxiliary power command to a control device, so as to, based on the control device, set the auxiliary circuit related to the voltage regulation firmware to be upgraded to the off state, where the auxiliary circuit, the voltage regulation firmware to be upgraded, and the control device are provided in the server; when detecting that the auxiliary circuit has been turned off, upgrading the voltage regulation firmware to be upgraded to obtain the upgraded voltage regulation firmware; in response to detecting that the upgrade of the voltage regulation firmware to be upgraded has been completed, sending an upper auxiliary power command to the control device, so as to, based on the control device, set the auxiliary circuit to the on state to run the upgraded voltage regulation firmware.

[0009] According to an embodiment of the present application, the control device includes a programmable logic device, and the programmable logic device includes a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information; sending a lower auxiliary power command to the programmable logic device includes: writing the lower auxiliary power command into the first register.

[0010] According to an embodiment of the present application, sending an upper auxiliary power command to the programmable logic device includes: writing the upper auxiliary power command into the first register.

[0011] According to an embodiment of the present application, the programmable logic device includes a second register, and the second register is used to record the auxiliary power state, and the auxiliary power state is the power-off prohibited startup state or the power-on permitted startup state; the method further includes: in response to detecting that the auxiliary power state in the second register is the power-off prohibited startup state, determining that the auxiliary circuit has been turned off.

[0012] According to a second aspect of the present application, a server is provided, including:

[0013] The voltage regulation firmware to be upgraded, provided on the server;

[0014] The auxiliary circuit, electrically connected to the voltage regulation firmware to be upgraded;

[0015] The control device, electrically connected to the auxiliary circuit, and the control device is configured to, when the server power is off, in response to detecting a lower auxiliary power command, set the auxiliary circuit to the off state; and in response to detecting an upper auxiliary power command, set the auxiliary circuit to the on state to run the upgraded voltage regulation firmware;

[0016] A baseboard management controller is electrically connected to the voltage regulation firmware to be upgraded. The baseboard management controller is configured to send a lower auxiliary power command to a control device in response to detecting a firmware upgrade instruction for the voltage regulation firmware to be upgraded when the server power is off; upgrade the voltage regulation firmware to be upgraded to obtain upgraded voltage regulation firmware when detecting that the auxiliary circuit has been turned off; and send an upper auxiliary power command to the control device in response to detecting that the upgrade of the voltage regulation firmware to be upgraded is completed.

[0017] Wherein, there is an electrical connection between the control device and the baseboard management controller.

[0018] According to a fourth aspect of the present application, an electronic device is provided, including: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0019] A fifth aspect of the present application further provides a computer-readable storage medium, on which computer programs or instructions are stored, and when the computer programs or instructions are executed by a processor, the steps of the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Through the following description of the embodiments of the present application with reference to the drawings, the above content and other objects, features and advantages of the present application will become clearer. In the drawings:

[0021] Figure 1 Schematically shows an application scenario diagram of a method for upgrading voltage regulation firmware according to an embodiment of the present application;

[0022] Figure 2 Schematically shows a flowchart of a method for upgrading voltage regulation firmware according to an embodiment of the present application;

[0023] Figure 3 Schematically shows a flowchart of a method for upgrading voltage regulation firmware according to another embodiment of the present application;

[0024] Figure 4 Schematically shows a schematic diagram of a method for upgrading voltage regulation firmware according to an embodiment of the present application;

[0025] Figure 5 Schematically shows a structural block diagram of an apparatus for upgrading voltage regulation firmware according to an embodiment of the present application;

[0026] Figure 6 Schematically shows a structural block diagram of an apparatus for upgrading voltage regulation firmware according to another embodiment of the present application; and

[0027] Figure 7 A block diagram of an electronic device suitable for implementing an upgrade method of voltage regulation firmware according to an embodiment of the present application is schematically shown. Detailed implementation manners

[0028] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present application. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present application. However, obviously, one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present application.

[0029] The terms used herein are merely for describing specific embodiments and are not intended to limit the present application. The terms "including", "comprising", etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0030] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0031] In the case of using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but not be limited to a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0032] In modern information technology ecosystems, there are a wide variety of devices, including servers, desktop computers, embedded devices, Internet of Things devices, etc. The firmware versions, function interfaces, and communication protocols of these devices are diverse, making the firmware upgrade work extremely complex. The same firmware update operation may encounter problems such as configuration incompatibility and update failure on different devices, which poses a huge challenge to device management.

[0033] As the main bearer of social computing power, the operating efficiency of servers is crucial. In large-scale data centers, the stable operation of a large number of servers is crucial for the continuity and reliability of services. The stability of voltage regulation directly affects the performance and lifespan of servers. Therefore, it is necessary to upgrade the voltage regulation firmware in a timely manner to reduce server failures and downtime caused by power problems and improve the availability and operation and maintenance efficiency of servers.

[0034] The power supply requirements of different users for the device may vary. For example, some users who are sensitive to energy consumption may require a more energy-efficient voltage regulation scheme, while some users with extremely high performance requirements may need a faster and more accurate voltage regulation. Through firmware upgrade, the voltage regulation function can be customized according to the specific needs of users to provide personalized solutions.

[0035] Moreover, the security threats faced by the device are also increasing day by day. Vulnerabilities in the voltage regulation firmware can lead to device failures, data loss, and even security incidents. By upgrading the firmware in a timely manner, known security vulnerabilities can be repaired, enhancing the security and stability of the device.

[0036] In some critical application scenarios, such as the fields of finance, healthcare, and aerospace, the reliability of the device is of utmost importance. The upgrade of the voltage regulation firmware can optimize power management, reduce voltage fluctuations and anomalies, thereby improving the reliability and fault tolerance of the entire system.

[0037] In the related technology, the administrator can use a browser to access the IP address of the baseboard management controller for login, and click the selection button in the firmware management function area, manually select the previously downloaded firmware file and click the submit button. The baseboard management controller will upload the firmware file to the server and start writing, that is, start the voltage regulation firmware upgrade. After the upgrade is completed, the baseboard management controller will return a success message. After checking that the log is correct, a power-off failure is performed.

[0038] However, in the above voltage regulation firmware upgrade method, when the voltage regulation firmware is powered on, it will load some configurations from the node version manager into the register, and then the voltage regulation firmware will output the corresponding power supply strategy according to the register. The node version manager is an electronic storage device with a fusing technology, that is, each modification of the node version manager will consume a user area of the voltage regulation firmware. During the firmware upgrade process of the voltage regulation firmware, some auxiliary power is inevitably modified. Usually, after the voltage regulation firmware is upgraded, the entire server is powered on and off again. The entire operation and maintenance process is overly cumbersome. Especially in a computer room with multiple models, manually operating the power-off, whether remotely or on-site, will bring some risks and inconveniences.

[0039] In summary, in the related technology, the firmware upgrade is implemented through the baseboard management controller, which requires manual selection of the firmware. Before the upgrade, the entire machine needs to be powered off manually. The operation method is cumbersome and error-prone, resulting in low upgrade efficiency and difficult to meet the requirements of rapid upgrade.

[0040] Based on this, the present application provides an upgrade method for voltage regulation firmware, including: when the server power is off, in response to detecting a lower auxiliary power command from the baseboard management controller, setting the auxiliary circuit related to the voltage regulation firmware to be turned off, so that when the baseboard management controller detects that the auxiliary circuit is turned off, it upgrades the voltage regulation firmware to be upgraded to obtain the upgraded voltage regulation firmware, where the auxiliary circuit, the voltage regulation firmware to be upgraded, and the baseboard management controller are all set in the server, and the lower auxiliary power command is generated by the baseboard management controller based on the firmware upgrade instruction for the voltage regulation firmware to be upgraded; in response to detecting an upper auxiliary power command from the baseboard management controller, setting the auxiliary circuit to the on state to run the upgraded voltage regulation firmware, where the upper auxiliary power command is generated by the baseboard management controller when it detects that the upgrade of the voltage regulation firmware to be upgraded is completed.

[0041] Figure 1 FIG. schematically shows an application scenario diagram of the upgrade method for voltage regulation firmware according to an embodiment of the present application.

[0042] As Figure 1 shown, the application scenario 100 according to this embodiment may include a baseboard management controller 101, a control device 102, voltage regulation firmware 103, and an auxiliary circuit 104 related to the voltage regulation firmware. The baseboard management controller 101 is connected to the voltage regulation firmware 103 through a serial communication protocol. An electrical connection is achieved between the baseboard management controller 101 and the control device 102. The voltage regulation firmware 103 is used to output the parameters of the auxiliary circuit 104. The control device 102 is used to perform a power-down or power-up operation on the auxiliary circuit 104 related to the voltage regulation firmware.

[0043] When the server power is off, after accessing the IP address of the baseboard management controller 101 using a browser, a firmware upgrade instruction indicating that the voltage regulation firmware 103 needs to be upgraded is sent to the baseboard management controller 101. After receiving the firmware upgrade instruction, the baseboard management controller 101 sends a lower auxiliary power command to the control device 102. The control device 102 performs a power-down operation on the auxiliary circuit 104 related to the voltage regulation firmware, causing the auxiliary circuit to turn off. At the same time, the control device 102 sets the auxiliary power state to the power-down prohibited startup state. The baseboard management controller 101 reads the power-down prohibited startup state from the control device 102 and upgrades the voltage regulation firmware 103.

[0044] After the baseboard management controller 101 detects that the upgrade of the voltage regulation firmware 103 is completed, it sends an upper auxiliary power command to the control device 102. The control device 102 performs a power-up operation on the auxiliary circuit 104 related to the voltage regulation firmware, causing the auxiliary circuit to turn on. At the same time, the control device 102 sets the auxiliary power state to the power-up allowed startup state.

[0045] It should be noted that the method for upgrading the voltage regulation firmware provided in the embodiments of the present application can be executed by the baseboard management controller 101 or by the control device 102.

[0046] The following will be based on Figure 1 the described scenario, and will Figures 2 to 4 describe in detail the method for upgrading the voltage regulation firmware of the disclosed embodiments.

[0047] Figure 2 FIG. schematically shows a flowchart of a method for upgrading voltage regulation firmware according to an embodiment of the present application.

[0048] As Figure 2 shown, the method 200 for upgrading the voltage regulation firmware of this embodiment includes operations S210 to S220.

[0049] In operation S210, when the server power is off, in response to detecting a lower auxiliary power command from the baseboard management controller, the auxiliary circuit related to the voltage regulation firmware to be upgraded is set to the off state, so that the baseboard management controller upgrades the voltage regulation firmware to be upgraded to obtain an upgraded voltage regulation firmware when detecting that the auxiliary circuit is off.

[0050] In operation S220, in response to detecting an upper auxiliary power command from the baseboard management controller, the auxiliary circuit is set to the on state to run the upgraded voltage regulation firmware.

[0051] According to an embodiment of the present application, the method can be applied to a control device. The control device is responsible for initializing and configuring some important components. For example, it can set the functions of some pins of the CPU to determine whether they are ordinary I / O pins or special function pins (such as memory access pins, etc.). The control device can also, according to different working modes of the server (such as high-performance computing mode, energy-saving mode, etc.), cooperate with the voltage regulation firmware to perform different initializations and configurations on each component of the system, thereby optimizing the system performance.

[0052] According to an embodiment of the present application, the voltage regulation firmware in an electronic device is responsible for regulating the input voltage to a stable output voltage to meet the requirements of different electronic devices.

[0053] According to an embodiment of the present application, the control device, the auxiliary circuit, the voltage regulation firmware to be upgraded, and the baseboard management controller are all provided on the server.

[0054] According to an embodiment of the present application, before upgrading the voltage regulation firmware to be upgraded, the server power supply can be monitored to determine whether the server power supply is turned off. For example, by monitoring the temperatures of the CPU, memory, fan, etc. of the server, it can be judged whether the server is in a power-off state.

[0055] According to an embodiment of the present application, when it is determined that the server is in a power-off state, the IP address of the baseboard management controller can be accessed through a browser for login to upload the upgrade file, and an upgrade instruction is sent to the baseboard management controller. After receiving the upgrade instruction, the baseboard management controller parses the upgrade file and, after verifying that the integrity of the upgrade file passes, sends a lower auxiliary power command to the control device.

[0056] According to an embodiment of the present application, the lower auxiliary power command can be generated by the baseboard management controller based on the firmware upgrade instruction for the voltage regulation firmware to be upgraded. It is a command for powering down the auxiliary circuit associated with the voltage regulation firmware to be upgraded. For example, if the voltage regulation firmware to be upgraded is associated with the auxiliary circuits of devices such as the CPU, memory, hard disk, and fan, the lower auxiliary power command is a command for powering down the auxiliary circuits of the CPU, memory, hard disk, fan, etc.

[0057] According to an embodiment of the present application, after the control device receives the lower auxiliary power command, it can pull down the pin of the power supply of the auxiliary circuit in the logic control unit according to a certain timing sequence, pull down the corresponding pin of the auxiliary circuit, realize the power-down operation of the auxiliary circuit, and set the auxiliary circuit to the off state.

[0058] According to an embodiment of the present application, the auxiliary circuit can be a circuit that is self-powered inside the server motherboard and is a circuit that still needs to be powered all the time even after the server is shut down. The auxiliary circuit can include a power management auxiliary circuit and a signal conversion and transmission auxiliary circuit.

[0059] According to an embodiment of the present application, the power management auxiliary circuit can include a power supply monitoring circuit and a power supply timing control circuit. The power supply monitoring circuit is to monitor the output voltage and current of each power supply in real time through the power management module. When abnormal situations such as overvoltage, undervoltage, or current overload occur in the voltage, a signal is sent in time to notify the control module of the motherboard to perform corresponding processing, such as cutting off the power supply, to protect other components on the motherboard. The power supply timing control circuit is to ensure that different components on the motherboard are powered on and off in a specific order and time. For example, power is supplied to the memory first, and then to the CPU, etc., to ensure that each component can be normally initialized and operate, and to avoid equipment failures or damages caused by incorrect power supply sequences.

[0060] According to an embodiment of the present application, the signal conversion and transmission auxiliary circuit may include a level conversion circuit and a signal buffering and amplifying circuit. Since different modules on the server motherboard may adopt different voltage standards, the level conversion circuit is used to convert one level signal into another level signal, enabling effective signal transmission and communication between devices with different voltage levels. For example, converting a 3.3V signal into a 1.8V signal for use by a specific module. The signal buffering and amplifying circuit buffers and amplifies some signals with a relatively long transmission distance or vulnerable to interference, enhancing the driving ability and anti-interference ability of the signal, ensuring that the signal will not be distorted or attenuated during transmission, and guaranteeing the accuracy and stability of data transmission. It is commonly used for signal transmission such as USB and network.

[0061] According to an embodiment of the present application, after detecting a lower auxiliary power command from the baseboard management controller, the control device may perform a power-down operation on the auxiliary circuit related to the voltage regulation firmware to be upgraded, that is, set the auxiliary circuit to the off state. And when the baseboard management controller detects that the auxiliary circuit is closed, the baseboard management controller parses the upgrade file, obtains the address of the voltage regulation firmware to be upgraded, and writes the upgrade file into the voltage regulation firmware to be upgraded, so as to realize the upgrade of the voltage regulation firmware to be upgraded and obtain the upgraded voltage regulation firmware.

[0062] According to an embodiment of the present application, the upper auxiliary power command is generated by the baseboard management controller after detecting that the upgrade of the voltage regulation firmware to be upgraded has been completed. It is a command for performing a power-up operation on the auxiliary circuit associated with the voltage regulation firmware.

[0063] According to an embodiment of the present application, in response to detecting an upper auxiliary power command from the baseboard management controller, the control device performs a power-up operation on the auxiliary circuit associated with the voltage regulation firmware, and at the same time sets the auxiliary circuit associated with the voltage regulation firmware to the on state to run the upgraded voltage regulation firmware.

[0064] According to an embodiment of the present application, after the control device receives the upper auxiliary power command, it delays for a certain time, for example, delays for 500 ms, and then raises the corresponding pins of the auxiliary circuit again according to a certain timing sequence to restore the auxiliary power, providing a stable power supply for the control circuit and the protection circuit.

[0065] According to an embodiment of the present application, running the upgraded voltage regulation firmware can take effect on the main circuit and the auxiliary circuit. The main circuit takes effect by turning on the main circuit; the auxiliary circuit can take effect through the process of first powering down the auxiliary circuit and then powering it up; thus, the upgraded voltage regulation firmware can be made to take effect.

[0066] According to an embodiment of the present application, in the case where the server power is turned off, a lower auxiliary power command sent from the baseboard management controller is received through a control device, and a lower auxiliary power operation is performed on an auxiliary circuit related to the voltage regulation firmware to be upgraded, so that the baseboard management controller upgrades the voltage regulation firmware to be upgraded when it detects that the auxiliary circuit has been turned off, and receives an upper auxiliary power command generated by the baseboard management controller after the upgrade is completed, and performs an upper auxiliary power operation on the auxiliary circuit to run the upgraded voltage regulation firmware. This solves the technical problems of manual power-off of the server and manual upgrade during the upgrade of the voltage regulation firmware in the related art, which may cause misoperations and low upgrade efficiency. Furthermore, it achieves the technical effect of automatically implementing the lower and upper auxiliary power operations, enabling the upgraded firmware to take effect without power interruption, reducing misoperations, and improving the reliability and upgrade efficiency of the upgraded firmware.

[0067] According to an embodiment of the present application, the baseboard management controller is electrically connected to a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information. The method further includes: reading the command information from the first register; determining that a lower auxiliary power command is detected when the command information represents lower auxiliary power information; and determining that an upper auxiliary power command is detected when the command information represents upper auxiliary power information.

[0068] According to an embodiment of the present application, the control device may include a programmable logic device, or may be other devices, such as an MCU (Micro Control Unit). Taking the control device as a programmable logic device as an example, the programmable logic device may include a first register, and the first register may be a write register. By electrically connecting the baseboard management controller to the first register, the command information of the lower auxiliary power command or the upper auxiliary power command received from the baseboard management controller can be written into the first register.

[0069] According to an embodiment of the present application, the programmable logic device reads the corresponding command information from the first register, and based on the read command information, determines whether to execute a lower auxiliary power command or an upper auxiliary power command on the auxiliary circuit corresponding to the voltage regulation firmware to be upgraded.

[0070] According to an embodiment of the present application, the first register of the programmable logic device stores the automatic lower auxiliary power command before the voltage regulation firmware upgrade and the automatic upper auxiliary power command after the upgrade, so as to be able to implement the automatic lower auxiliary power operation or upper auxiliary power operation on the auxiliary circuit based on the programmable logic device, such that there is no need for manual power-off during the voltage regulation firmware upgrade before and when the upgrade takes effect, improving the upgrade efficiency, reducing operation errors, and providing a stable power supply for the control circuit and the protection circuit.

[0071] According to an embodiment of the present application, the baseboard management controller is electrically connected to a second register, and the second register is used to record the auxiliary power state. The method further includes: in response to detecting that the auxiliary circuit has been turned off, setting the auxiliary power state of the second register to the power-down prohibited startup state; in response to detecting that the auxiliary circuit has been turned on, setting the auxiliary power state of the second register to the power-on permitted startup state.

[0072] According to an embodiment of the present application, the programmable logic device may further include a second register, and the second register may be a read register. After the programmable logic device performs a lower auxiliary power operation on the auxiliary circuit corresponding to the voltage regulation firmware to be upgraded and determines that the auxiliary circuit has been turned off, it may update the auxiliary power state of the voltage regulation firmware stored in the second register to the power-down prohibited startup state; after the programmable logic device performs an upper auxiliary power operation on the auxiliary circuit corresponding to the voltage regulation firmware to be upgraded and determines that the auxiliary circuit has been turned on, it may update the auxiliary power state of the voltage regulation firmware stored in the second register to the power-on permitted startup state.

[0073] According to an embodiment of the present application, by electrically connecting the baseboard management controller to the second register, the baseboard management controller can read the auxiliary power state of the feedback voltage regulation firmware from the second register, that is, the power-down prohibited startup state or the power-on permitted startup state.

[0074] According to an embodiment of the present application, when the auxiliary power state of the feedback voltage regulation firmware read is the power-down prohibited startup state, the upgrade of the voltage regulation firmware is realized; when the auxiliary power state of the feedback voltage regulation firmware read is the power-on permitted startup state, the upgraded voltage regulation firmware is run.

[0075] According to an embodiment of the present application, if the lower auxiliary power command received from the baseboard management controller is incorrect and causes the auxiliary circuit to power down, the control device needs to make a judgment. Only when the server is powered off can the corresponding power-down operation be performed on the lower auxiliary power command; and when the server power-on command is received, but the control device has not received the instruction that the voltage regulation firmware upgrade is completed, that is, the second register is in the power-down prohibited startup state and the voltage regulation firmware is still being upgraded, the server power is not allowed to be turned on to improve the reliability of the voltage regulation firmware upgrade.

[0076] Figure 3 The flowchart of the method for upgrading the voltage regulation firmware according to another embodiment of the present application is schematically shown.

[0077] As Figure 3 shown, the method 300 for upgrading the voltage regulation firmware in this embodiment includes operations S310 to S330.

[0078] In operation S310, with the server power off, in response to detecting a firmware upgrade instruction for the voltage regulation firmware to be upgraded, a lower auxiliary power command is sent to the control device, so that based on the control device, the auxiliary circuit related to the voltage regulation firmware to be upgraded is set to the off state.

[0079] In operation S320, when it is detected that the auxiliary circuit is off, the voltage regulation firmware to be upgraded is upgraded to obtain the upgraded voltage regulation firmware.

[0080] In operation S330, in response to detecting that the upgrade of the voltage regulation firmware to be upgraded is completed, an upper auxiliary power command is sent to the control device, so that based on the control device, the auxiliary circuit is set to the on state to run the upgraded voltage regulation firmware.

[0081] According to an embodiment of the present application, the method can be applied to a baseboard management controller. The auxiliary circuit, the voltage regulation firmware to be upgraded, the control device, and the baseboard management controller are all provided on the server.

[0082] According to an embodiment of the present application, the baseboard management controller can be connected to the voltage regulation firmware through a serial communication protocol to implement functions such as monitoring and management, fault diagnosis and handling, and firmware upgrade.

[0083] According to an embodiment of the present application, for the monitoring and management function: after the connection is established and the test is passed, the baseboard management controller can use the serial communication protocol interface to monitor the working status of the voltage regulation firmware in real time, such as parameters such as output voltage, current, and temperature, and perform some basic management operations, such as adjusting the voltage output value and setting protection thresholds.

[0084] According to an embodiment of the present application, for the fault diagnosis and handling function: when a power-related fault occurs in the server, the baseboard management controller can connect with the voltage regulation firmware through the serial communication protocol to quickly obtain relevant fault information and diagnostic data to help technicians quickly locate and solve problems.

[0085] According to an embodiment of the present application, for the firmware upgrade function: when upgrading the voltage regulation firmware, the upgraded firmware can be safely and stably transmitted to the voltage regulation firmware through the serial communication protocol connection between the baseboard management controller and the voltage regulation firmware, and the upgrade operation can be performed to ensure the smooth progress of the upgrade process and the normal operation of the device.

[0086] According to an embodiment of the present application, the baseboard management controller can add two commands to be implemented. The two commands can include a write command and a read command. The write command is used to inform the control device whether to perform upper or lower auxiliary power on the auxiliary circuit. The read command is used to obtain whether the current auxiliary circuit is powered on or off.

[0087] According to an embodiment of the present application, when performing voltage regulation firmware upgrade, the server power supply can be monitored to determine that the server power supply is in the off state.

[0088] According to an embodiment of the present application, the IP address of the baseboard management controller can be accessed through a browser for login and upload of the upgrade file, and an upgrade instruction is sent to the base management controller. After receiving the upgrade instruction, the baseboard management controller parses the upgrade file and, after verifying the integrity of the upgrade file, sends a lower auxiliary power command to the control device.

[0089] According to an embodiment of the present application, after the control device receives the lower auxiliary power command, the pins of the power supply of the auxiliary circuit related to the voltage regulation firmware to be upgraded in the logic control unit can be pulled low according to a certain timing sequence, pulling low the corresponding pins of the auxiliary circuit to implement the power-down operation of the auxiliary circuit, and setting the auxiliary circuit to the off state.

[0090] According to an embodiment of the present application, when the baseboard management controller obtains the information that the auxiliary circuit is closed from the control device, the baseboard management controller parses the upgrade file, obtains the address of the voltage regulation firmware to be upgraded, and writes the upgrade file into the voltage regulation firmware to be upgraded, so as to implement the upgrade of the voltage regulation firmware to be upgraded and obtain the upgraded voltage regulation firmware.

[0091] According to an embodiment of the present application, after the baseboard management controller detects that the upgrade of the voltage regulation firmware to be upgraded is completed, an upper auxiliary power command is sent to the control device, so that after a certain delay time, the control device can pull up the corresponding pins of the auxiliary circuit again according to a certain timing sequence to perform a power-on operation on the auxiliary circuit associated with the voltage regulation firmware to be upgraded to restore the auxiliary power, providing a stable power supply for the control circuit and the protection circuit. At the same time, the auxiliary power state of the auxiliary circuit is set to the on state to run the upgraded voltage regulation firmware.

[0092] According to an embodiment of the present application, the operation of the upgraded voltage regulation solid can specifically take effect on the main circuit and the auxiliary circuit. The main circuit takes effect by turning on the main circuit; the auxiliary circuit takes effect by first operating the power-down and then the power-on process on the auxiliary circuit; thus, the upgraded voltage regulation firmware takes effect.

[0093] According to an embodiment of the present application, in the case where the server power supply is turned off, by sending a lower auxiliary power command from the baseboard management controller to the control device, and detecting that the auxiliary circuit has been turned off, the voltage regulation firmware to be upgraded is upgraded, and after the upgrade is completed, an upper auxiliary power command is sent to the control device so that the control device sets the auxiliary circuit to the on state and runs the upgraded voltage regulation firmware. This solves the technical problems of manual power-off of the server and manual upgrade during the upgrade of the voltage regulation firmware in the related art, which may cause misoperations and low upgrade efficiency. Furthermore, it achieves the technical effect of automatically realizing the lower and upper auxiliary power operations, enabling the upgraded firmware to take effect without power interruption, reducing misoperations, and improving the reliability and upgrade efficiency of the upgraded firmware.

[0094] According to an embodiment of the present application, taking the control device as a programmable logic device as an example, the programmable logic device includes a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information; sending a lower auxiliary power command to the programmable logic device includes: writing the lower auxiliary power command into the first register.

[0095] According to an embodiment of the present application, sending an upper auxiliary power command to the programmable logic device includes: writing the upper auxiliary power command into the first register.

[0096] According to an embodiment of the present application, the programmable logic device may include a first register, and the first register may be a write register. The baseboard management controller is electrically connected to the first register. The baseboard management controller sends a write command information of a lower auxiliary power command to the programmable logic device, and the write command information is written into the first register in the programmable logic device to inform the programmable logic device to perform a power-down operation on the auxiliary circuit.

[0097] According to an embodiment of the present application, after determining that the upgrade of the voltage regulation firmware to be upgraded is completed, the baseboard management controller is electrically connected to the first register, and the baseboard management controller sends a write command information of an upper auxiliary power command to the programmable logic device, and the write command information is written into the first register in the programmable logic device to inform the programmable logic device to perform a power-up operation on the auxiliary circuit.

[0098] According to an embodiment of the present application, a lower auxiliary power command or an upper auxiliary power command can be written into the first register of the programmable logic device by the baseboard management controller, so that based on the programmable logic device reading the command information in the first register, the automatic lower or upper auxiliary power operation of the auxiliary circuit can be realized, enabling no manual power-off operation before and when the voltage regulation firmware is upgraded and taking effect, improving the upgrade efficiency, reducing operation errors, and providing a stable power supply for the control circuit and the protection circuit.

[0099] According to an embodiment of the present application, a programmable logic device includes a second register, and the second register is used to record the auxiliary power state, where the auxiliary power state is a power-down prohibited startup state or a power-up permitted startup state; the method further includes: in response to detecting that the auxiliary power state in the second register is the power-down prohibited startup state, determining that the auxiliary circuit has been turned off.

[0100] According to an embodiment of the present application, the programmable logic device may further include a second register, and the second register may be a read register. After the programmable editing device performs a down-auxiliary power operation on the auxiliary circuit corresponding to the voltage regulation firmware to be upgraded and determines that the auxiliary circuit has been turned off, it may update the auxiliary power state of the voltage regulation firmware stored in the second register to the power-down prohibited startup state.

[0101] According to an embodiment of the present application, when the baseboard management controller reads from the second register of the programmable logic device that the auxiliary power state of the auxiliary circuit is the power-down prohibited startup state, it performs an upgrade operation on the voltage regulation firmware to be upgraded.

[0102] According to an embodiment of the present application, after the programmable logic device performs an up-auxiliary power operation on the auxiliary circuit corresponding to the voltage regulation firmware to be upgraded and determines that the auxiliary circuit has been turned on, it may update the auxiliary power state of the voltage regulation firmware stored in the second register to the power-up permitted startup state.

[0103] According to an embodiment of the present application, when the baseboard management controller reads from the second register of the programmable logic device that the auxiliary power state of the auxiliary circuit is the power-up permitted startup state, it realizes performing a startup operation.

[0104] According to an embodiment of the present application, the baseboard management controller may further add a startup judgment logic, and the startup judgment logic is used to judge the auxiliary power state currently recorded in the second register to determine whether to permit startup. If the current auxiliary power state of the auxiliary circuit is the power-down prohibited startup state, it returns that startup is not currently permitted when receiving a startup command; if the current auxiliary power state is the power-up permitted startup state, it returns that startup is currently permitted when receiving a startup command, so as to improve the reliability of the voltage regulation firmware upgrade.

[0105] According to an embodiment of the present application, since there are differences in the upgrade schemes of voltage regulation firmware from different manufacturers, when replacing the voltage regulation firmware supplier or performing a system upgrade, compatibility problems may occur, and it is necessary to modify and adjust the code of related devices such as the baseboard management controller, increasing the maintenance cost and security risk. By using the voltage regulation firmware upgrade method proposed in the present application, it is possible to achieve compatibility with the upgrade schemes of voltage regulation firmware from different manufacturers, reducing the maintenance cost and security risk.

[0106] Figure 4 A schematic diagram of the voltage regulation firmware upgrade method according to an embodiment of the present application is schematically shown.

[0107] like Figure 4 As shown, in the schematic diagram 400, when the server power is turned off, the baseboard management controller sends an auxiliary power-off command 402 to the programmable logic device in response to detecting an upgrade instruction 401 for the voltage regulation firmware, and the programmable logic device performs a power-off operation 403 on the auxiliary circuit associated with the voltage regulation firmware to be upgraded, and determines whether the power-off of the auxiliary circuit is successful 404; if the power-off is unsuccessful, the upgrade is exited 405; if the power-off is successful, the programmable logic device sets the auxiliary power state of the auxiliary circuit related to the voltage regulation firmware to be upgraded to power-off prohibited startup 406, and reads the power-off prohibited startup state from the programmable logic device through the baseboard management controller 407, and upgrades the voltage regulation firmware to be upgraded 408; the baseboard management controller generates an auxiliary power-on command 409 after detecting that the upgrade of the regulation firmware to be upgraded has been completed; and sends the auxiliary power-on command to the programmable logic device and performs a power-on operation 410 on the auxiliary circuit; at the same time, the programmable logic device sets the auxiliary power state of the auxiliary circuit to power-on allowed startup 411, and the upgrade is completed. The upgraded voltage firmware can be effective for the main circuit and the auxiliary circuit. The main circuit is effective by turning on the main circuit; the auxiliary circuit can be effective by first powering off the auxiliary circuit and then powering it on; thus, the upgraded voltage regulation firmware is effective.

[0108] Based on the above voltage regulation firmware upgrade method, the present application also provides a voltage regulation firmware upgrade device. Figure 5 and Figure 6 The device is described in detail.

[0109] Figure 5 The structure block diagram of a voltage regulation firmware upgrade device according to an embodiment of the present application is schematically shown.

[0110] like Figure 5 As shown, the voltage regulation firmware upgrade device 500 of this embodiment includes: a lower auxiliary power command response module 510 and an upper auxiliary power command response module 520.

[0111] The lower auxiliary power command response module 510 is configured to, when the server power is off, in response to detecting a lower auxiliary power command from the baseboard management controller, set the auxiliary circuit related to the voltage regulation firmware to be upgraded to the off state, so that the baseboard management controller upgrades the voltage regulation firmware to be upgraded to obtain the upgraded voltage regulation firmware when detecting that the auxiliary circuit is off. Wherein, the auxiliary circuit, the voltage regulation firmware to be upgraded, and the baseboard management controller are all disposed in the server, and the lower auxiliary power command is generated by the baseboard management controller based on the firmware upgrade instruction for the voltage regulation firmware to be upgraded. In one embodiment, the lower auxiliary power command response module 510 may be configured to perform the operation S210 described above, which will not be elaborated herein.

[0112] The upper auxiliary power command response module 520 is configured to, in response to detecting an upper auxiliary power command from the baseboard management controller, set the auxiliary circuit to the on state to run the upgraded voltage regulation firmware, where the upper auxiliary power command is generated by the baseboard management controller when detecting that the upgrade of the voltage regulation firmware to be upgraded is completed. In one embodiment, the upper auxiliary power command response module 520 may be configured to perform the operation S220 described above, which will not be elaborated herein.

[0113] According to an embodiment of the present application, the baseboard management controller is electrically connected to a first register, and the first register is configured to record command information representing lower auxiliary power information or upper auxiliary power information; the apparatus 500 further includes: a command information reading module, a lower auxiliary power command determining module, and an upper auxiliary power command determining module.

[0114] The command information reading module is configured to read the command information from the first register.

[0115] The lower auxiliary power command determining module is configured to determine that a lower auxiliary power command is detected when the command information represents lower auxiliary power information.

[0116] The upper auxiliary power command determining module is configured to determine that an upper auxiliary power command is detected when the command information represents upper auxiliary power information.

[0117] According to an embodiment of the present application, the baseboard management controller is electrically connected to a second register, and the second register is configured to record the auxiliary power state; the apparatus 500 further includes: a power-down prohibited boot state setting module and a power-on permitted boot state setting module.

[0118] The power-down prohibited boot state setting module is configured to, in response to detecting that the auxiliary circuit is off, set the auxiliary power state of the second register to the power-down prohibited boot state.

[0119] The power-on permitted boot state setting module is configured to, in response to detecting that the auxiliary circuit is on, set the auxiliary power state of the second register to the power-on permitted boot state.

[0120] Figure 6 A structural block diagram of an upgrade device for voltage regulation firmware according to another embodiment of the present application is schematically shown.

[0121] As Figure 6 shown, the upgrade device 600 for voltage regulation firmware in this embodiment includes: a firmware upgrade instruction response module 610, a firmware upgrade module 620, and an upper auxiliary power command sending module 630.

[0122] The firmware upgrade instruction response module 610 is configured to, when the server power is off, in response to detecting a firmware upgrade instruction for the voltage regulation firmware to be upgraded, send a lower auxiliary power command to the control device, so that based on the control device, the auxiliary circuit related to the voltage regulation firmware to be upgraded is set to the off state, where the auxiliary circuit, the voltage regulation firmware to be upgraded, and the control device are disposed in the server. In one embodiment, the firmware upgrade instruction response module 610 can be used to perform the operation S310 described above, which will not be elaborated here.

[0123] The firmware upgrade module 620 is configured to upgrade the voltage regulation firmware to be upgraded to obtain an upgraded voltage regulation firmware when it is detected that the auxiliary circuit is off. In one embodiment, the firmware upgrade module 620 can be used to perform the operation S320 described above, which will not be elaborated here.

[0124] The upper auxiliary power command sending module 630 is configured to, in response to detecting that the upgrade of the voltage regulation firmware to be upgraded is completed, send an upper auxiliary power command to the control device, so that based on the control device, the auxiliary circuit is set to the on state to run the upgraded voltage regulation firmware. In one embodiment, the upper auxiliary power command sending module 630 can be used to perform the operation S330 described above, which will not be elaborated here.

[0125] According to an embodiment of the present application, the control device includes a programmable logic device, and the programmable logic device includes a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information. The upper auxiliary power command sending module 630 includes: a lower auxiliary power command writing sub-module and an upper auxiliary power command writing sub-module.

[0126] The lower auxiliary power command writing sub-module is configured to write the lower auxiliary power command into the first register.

[0127] The upper auxiliary power command writing sub-module is configured to write the upper auxiliary power command into the first register.

[0128] According to an embodiment of the present application, the programmable logic device includes a second register, and the second register is used to record the auxiliary power state, and the auxiliary power state is a power-down prohibited startup state or a power-on allowed startup state. The device 600 further includes: a power-down prohibited startup state response module.

[0129] The power-down prohibited startup state response module is used to determine that the auxiliary circuit has been turned off in response to detecting that the auxiliary power state in the second register is the power-down prohibited startup state.

[0130] According to an embodiment of the present application, any multiple of the lower auxiliary power command response module 510 and the upper auxiliary power command response module 520, or the firmware upgrade instruction response module 610, the firmware upgrade module 620, and the upper auxiliary power command sending module 630 can be combined and implemented in one module, or any one of them can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present application, at least one of the lower auxiliary power command response module 510 and the upper auxiliary power command response module 520, or the firmware upgrade instruction response module 610, the firmware upgrade module 620, and the upper auxiliary power command sending module 630 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by any other reasonable means of integrating or packaging circuits, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, at least one of the lower auxiliary power command response module 510 and the upper auxiliary power command response module 520, or the firmware upgrade instruction response module 610, the firmware upgrade module 620, and the upper auxiliary power command sending module 630 can be at least partially implemented as a computer program module, which can execute the corresponding functions when the computer program module is run.

[0131] The present invention also provides a server, including: a voltage regulation firmware to be upgraded, which is set on the server;

[0132] An auxiliary circuit, which is electrically connected to the voltage regulation firmware to be upgraded;

[0133] A control device, which is electrically connected to the auxiliary circuit. The control device is configured to, when the server power is turned off, in response to detecting a lower auxiliary power command, set the auxiliary circuit to the off state; and in response to detecting an upper auxiliary power command, set the auxiliary circuit to the on state to run the upgraded voltage regulation firmware;

[0134] The baseboard management controller is electrically connected to the voltage regulation firmware to be upgraded. The baseboard management controller is configured to, when the server power is off, in response to detecting a firmware upgrade instruction for the voltage regulation firmware to be upgraded, send a lower auxiliary power command to the control device; when detecting that the auxiliary circuit has been turned off, upgrade the voltage regulation firmware to be upgraded to obtain an upgraded voltage regulation firmware; and in response to detecting that the upgrade of the voltage regulation firmware to be upgraded is completed, send an upper auxiliary power command to the control device.

[0135] Wherein, there is an electrical connection between the control device and the baseboard management controller.

[0136] Figure 7 A block diagram of an electronic device suitable for implementing a method for upgrading voltage regulation firmware according to an embodiment of the present application is schematically shown.

[0137] As Figure 7 shown, the electronic device 700 according to an embodiment of the present application includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703. The processor 701 can include, for example, a general microprocessor (such as a CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (such as an application specific integrated circuit (ASIC)), etc. The processor 701 can also include on-board memory for caching purposes. The processor 701 can include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present application.

[0138] In the RAM 703, various programs and data required for the operation of the electronic device 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. The processor 701 performs various operations of the method flow according to an embodiment of the present application by executing the programs in the ROM 702 and / or the RAM 703. It should be noted that the programs can also be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 can also perform various operations of the method flow according to an embodiment of the present application by executing the programs stored in one or more memories.

[0139] According to an embodiment of the present application, the electronic device 700 may further include an input / output (I / O) interface 705, and the input / output (I / O) interface 705 is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. The drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage portion 708 as needed.

[0140] The present application also provides a computer-readable storage medium, which may be included in the device / device / system described in the above embodiment; or may exist separately without being assembled into the device / device / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present application is implemented.

[0141] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present application, the computer-readable storage medium may include the ROM 702 and / or the RAM 703 described above and / or one or more memories other than the ROM 702 and the RAM 703.

[0142] An embodiment of the present application further includes a computer program product, which includes a computer program, and the computer program includes program code for executing the method shown in the flowchart. When the computer program product runs in a computer system, the program code is used to cause the computer system to implement the method provided by the embodiment of the present application.

[0143] When the computer program is executed by the processor 701, the above functions defined in the system / apparatus of the embodiments of the present application are executed. According to the embodiments of the present application, the above-described systems, apparatuses, modules, units, etc. can be implemented by computer program modules.

[0144] In one embodiment, the computer program can rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program can also be transmitted and distributed in the form of signals on a network medium, and be downloaded and installed through the communication part 709, and / or be installed from the removable medium 711. The program code included in the computer program can be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0145] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or be installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiments of the present application are executed. According to the embodiments of the present application, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.

[0146] According to the embodiments of the present application, the program code for executing the computer program provided by the embodiments of the present application can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedures and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include but are not limited to, such as Java, C++, python, the "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).

[0147] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code, and the above-mentioned module, segment of a program, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0148] Those skilled in the art can understand that the features described in the various embodiments of the present application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments of the present application can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present application.

[0149] The embodiments of the present application have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present application. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. Without departing from the scope of the present application, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present application.

Claims

1. A method for upgrading voltage regulation firmware, characterized in that: The method comprises: In the case where the power supply of the server is turned off, in response to detecting an auxiliary power-off command from the baseboard management controller, an auxiliary circuit related to the voltage regulation firmware to be upgraded is set to a closed state, so that the baseboard management controller upgrades the voltage regulation firmware to be upgraded to obtain the upgraded voltage regulation firmware when detecting that the auxiliary circuit is turned off, wherein the auxiliary circuit, the voltage regulation firmware to be upgraded and the baseboard management controller are all arranged in the server, and the auxiliary power-off command is generated by the baseboard management controller based on a firmware upgrade instruction for the voltage regulation firmware to be upgraded; In response to detecting an auxiliary power-on command from the baseboard management controller, the auxiliary circuit is set to an on state to run the upgraded voltage regulation firmware, wherein the auxiliary power-on command is generated by the baseboard management controller after detecting that the upgrade of the voltage regulation firmware to be upgraded has been completed.

2. The method according to claim 1, characterized in that The baseboard management controller is electrically connected to a first register, and the first register is used to record command information representing lower auxiliary power information or upper auxiliary power information; the method further includes: Read the command information from the first register; In the case where the command information represents the auxiliary power down information, determining that the auxiliary power down command is detected; and In a case where the command information represents the auxiliary power-on information, it is determined that the auxiliary power-on command is detected.

3. The method according to claim 1 or 2, characterized in that: The baseboard management controller is electrically connected to a second register, and the second register is used to record the auxiliary power state; the method further includes: In response to detecting that the auxiliary circuit has been turned off, setting the auxiliary power state of the second register to a power-off disabled boot state; and In response to detecting that the auxiliary circuit has been turned on, the auxiliary power state of the second register is set to a power-on enabling start-up state.

4. A method for upgrading voltage regulation firmware, characterized in that: The method comprises: In a case where the power supply of the server is turned off, in response to detecting a firmware upgrade instruction for the voltage regulating firmware to be upgraded, sending an auxiliary power-off command to a control device, so as to set an auxiliary circuit related to the voltage regulating firmware to be upgraded to a closed state based on the control device, wherein the auxiliary circuit, the voltage regulating firmware to be upgraded and the control device are set in the server; When it is detected that the auxiliary circuit is closed, the voltage regulation firmware to be upgraded is upgraded to obtain the upgraded voltage regulation firmware; In response to detecting that the upgrade of the voltage regulation firmware to be upgraded is completed, an auxiliary power-on command is sent to the control device, so that based on the control device, the auxiliary circuit is set to an on state to run the upgraded voltage regulation firmware.

5. The method according to claim 4, characterized in that The control device includes a programmable logic device, and the programmable logic device includes a first register, and the first register is used to record command information representing the lower auxiliary power information or the upper auxiliary power information; The sending of the auxiliary power-down command to the programmable logic device comprises: The auxiliary power-off command is written into the first register.

6. The method according to claim 5, characterized in that The sending of the auxiliary power-on command to the programmable logic device comprises: The auxiliary power-on command is written into the first register.

7. The method according to any one of claims 4 to 6, characterized in that: The programmable logic device includes a second register, the second register is used to record the auxiliary power state, the auxiliary power state is a power-off prohibition power-on state or a power-on permission power-on state; The method further comprises: In response to detecting that the auxiliary power state in the second register is the power-off power-off prohibited state, it is determined that the auxiliary circuit is turned off.

8. A server, comprising: The voltage regulation firmware to be upgraded is set on the server; an auxiliary circuit, electrically connected to the voltage regulating firmware to be upgraded; a control device electrically connected to the auxiliary circuit, the control device being configured to set the auxiliary circuit to a closed state in response to detecting an auxiliary power-off command when the server power is turned off; and in response to detecting an auxiliary power-on command, setting the auxiliary circuit to an on state to run the upgraded voltage regulation firmware; a baseboard management controller, electrically connected to the voltage regulating firmware to be upgraded, the baseboard management controller being configured to send an auxiliary power-off command to the control device in response to detecting a firmware upgrade instruction for the voltage regulating firmware to be upgraded when the power supply of the server is turned off; When it is detected that the auxiliary circuit is closed, the voltage regulation firmware to be upgraded is upgraded to obtain the upgraded voltage regulation firmware; and in response to detecting that the upgrade of the voltage regulation firmware to be upgraded has been completed, sending an auxiliary power-on command to the control device; There is an electrical connection between the control device and the baseboard management controller.

9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Firmware upgrade circuit, firmware upgrade method, server, device and program product

    CN121433694A