Server power management system, method, device, medium and program product

By introducing power supply units, backup battery units and power control devices into the server, and configuring abnormal power supply timing and redundant power supply mode, the data protection problem of the storage server in the event of power supply failure is solved, and efficient power management and system stability are achieved.

CN118897615BActive Publication Date: 2025-08-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411370072.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-08-26
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

In the prior art, how to manage the server's power more efficiently is an urgent problem to be solved, especially in storage servers, how to protect data from loss and avoid service interruption in the event of power supply failure.

Method used

By introducing power supply units, backup battery units and power control devices into the server, configuring the power supply timing of abnormal power supply, using backup battery units to switch power supply before power failure, and perform data backup, combining the power supply redundant power supply mode and time synchronization mechanism, ensuring power supply to key components such as fan and substrate management controllers.

Benefits of technology

It effectively protects the data of the storage server from damage, reduces data loss and service interruption caused by power supply problems, and improves the system's response speed and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897615B_ABST
    Figure CN118897615B_ABST
Patent Text Reader

Abstract

The present invention provides a server power management system, method, device, medium and program product, which relate to the field of power management technology and include: at least one power supply unit, a backup battery unit and a power control device; a baseboard controller in the server is used to configure a power abnormality power-off sequence for the power supply unit when it is detected that the server is a storage server; wherein the power abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power abnormality alarm message, wherein the alarm value is less than a fault value when the power supply unit fails; wherein the power control device is used to switch the backup battery unit to power the fan and baseboard management controller in the server and perform data backup when it is detected that the power supply unit issues a power abnormality alarm signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power management technology, and in particular to a server power management system, method, device, medium and program product. Background Art

[0002] With the continuous development of digital technology, the amount of data is also growing. Storage servers for data storage have been widely used. Correspondingly, the requirements for the use of storage servers are becoming increasingly higher. In particular, the requirements for power management solutions for storage servers are becoming increasingly higher.

[0003] Therefore, how to manage server power more efficiently has become an urgent problem to be solved in the industry. Summary of the Invention

[0004] The present invention provides a server power management system, method, device, medium and program product, which are used to solve the problem of how to more efficiently manage the power of the server in the prior art.

[0005] The present invention provides a server power management system, comprising: at least one power supply unit, a backup battery unit and a power control device;

[0006] The baseboard controller in the server is configured to configure a power supply abnormality power-off sequence for the power supply unit when detecting that the server is a storage server; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0007] The power control device is used to switch the backup battery unit to supply power to the fan and baseboard management controller in the server and perform data backup when it detects that the power supply unit sends a power abnormality alarm signal.

[0008] According to a server power management system provided by the present invention, the power supply unit is respectively connected to the power control device and the hard disk, expansion card, fan, and baseboard management controller in the server, and the backup battery unit is electrically connected to the power control device and the fan and baseboard management controller in the server;

[0009] When the backup battery unit supplies power to the fan and the baseboard management controller in the server, the hard disk and the expansion card are powered off.

[0010] According to a server power management system provided by the present invention, the power control device is further used for:

[0011] Performing an on-site signal determination on the power supply unit;

[0012] When the presence signal of the first power supply unit or the second power supply unit changes, the power control device re-detects the server type.

[0013] According to a server power management system provided by the present invention, the power control device is further used for:

[0014] When the on-site signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device;

[0015] When the time synchronization information is longer than a first preset time period compared with the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

[0016] According to a server power management system provided by the present invention, the baseboard management controller is specifically used to:

[0017] Set the power supply redundancy mode according to the master / slave mode command input by the user;

[0018] Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

[0019] According to a server power management system provided by the present invention, the baseboard management controller is further used for:

[0020] In the case where a power abnormality alarm signal of a power supply unit is detected, the power abnormality alarm signal is collected and written into an abnormality log.

[0021] According to a server power management system provided by the present invention, the server further comprises: an evaluation control unit;

[0022] Wherein, the evaluation control unit is used to monitor the status of the backup battery unit and evaluate the backup power capacity;

[0023] When the backup power capacity of the backup battery unit is abnormal, a backup power alarm signal is generated.

[0024] According to a server power management system provided by the present invention, the evaluation control unit is further configured to:

[0025] In the case where the server is a non-storage server, the evaluation control unit monitors the power supply unit;

[0026] When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

[0027] According to a server power management system provided by the present invention, the power supply unit includes: a first pull-up resistor, a second pull-up resistor, a third zero-ohm resistor, a fourth pull-down resistor, a fifth pull-down resistor, a sixth pull-up resistor, a seventh pull-up resistor, an eighth pull-up resistor, a ninth pull-down resistor and a power supply unit;

[0028] Wherein, the serial data line is connected to the power supply through the first pull-up resistor, and the serial clock line is connected to the power supply through the second pull-up resistor;

[0029] Wherein, the first address line is connected to the power supply via the sixth pull-up resistor, and the second address line is connected to the power supply via the seventh pull-up resistor;

[0030] Among them, the power-on signal interface is grounded through the third zero-ohm resistor, the alarm signal interface is grounded through the fourth pull-down resistor, the power status signal interface is grounded through the fifth pull-down resistor, the input voltage normal signal interface is grounded through the ninth pull-down resistor, and the existence signal interface is connected to the power supply through the eighth pull-up resistor.

[0031] According to the present invention, a server power management system and a power supply unit are provided, which are specifically used for:

[0032] When the power supply unit is in place, the presence signal interface is in a high level state, generating a presence signal;

[0033] When the power supply unit is not in place, the presence signal interface is in a low level state and stops generating the presence signal.

[0034] The present invention further provides a server power management method based on any of the above server power management systems, comprising:

[0035] When the baseboard management controller detects that the server is a storage server, it configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0036] The power control device is used to switch the backup battery unit to supply power to the fan and baseboard management controller in the server and perform data backup when detecting that the power supply unit sends a power abnormality alarm signal.

[0037] According to the server power management method provided in the embodiment of the present application,

[0038] When the baseboard management controller detects that the server is a storage server, configuring a power supply abnormality power-off sequence for the power supply unit includes:

[0039] In a case where the server power management system includes a first power supply unit and a second power supply unit, configuring a first warning value for the first power supply unit and configuring a second warning value for the second power supply unit;

[0040] The first warning value is less than a first fault value of the first power supply unit, the first warning value is used to trigger the first power supply unit to generate a power abnormality alarm signal, and the first fault value is a threshold when the first power supply unit triggers a fault;

[0041] Among them, the second warning value is less than the second fault value of the second power supply unit, the second warning value is used to trigger the second power supply unit to generate a power abnormality alarm signal, and the second fault value is the threshold when the second power supply unit triggers a fault.

[0042] According to the server power management method provided in an embodiment of the present application, before the baseboard management controller detects that the server is a storage server and configures a power supply unit with a power-off sequence due to power failure, the method further includes:

[0043] Performing on-site signal determination on the power supply unit;

[0044] When the presence signal of the first power supply unit or the second power supply unit changes, the power control device performs server type detection on the server.

[0045] According to the server power management method provided in an embodiment of the present application, the method further includes:

[0046] When the on-site signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device;

[0047] When the time synchronization information is longer than a first preset time period compared with the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

[0048] According to the server power management method provided in an embodiment of the present application, the method further includes:

[0049] Set the power supply redundancy mode according to the master / slave mode command input by the user;

[0050] Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

[0051] According to the server power management method provided in an embodiment of the present application, the method further includes:

[0052] In the case where a power abnormality alarm signal of a power supply unit is detected, the power abnormality alarm signal is collected and written into an abnormality log.

[0053] According to the server power management method provided in an embodiment of the present application, the method further includes:

[0054] In the case where the server is a non-storage server, the evaluation control unit in the server monitors the at least one power supply unit;

[0055] When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

[0056] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described server power management methods is implemented.

[0057] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the server power management method described above is implemented.

[0058] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned server power management methods.

[0059] The server power management system, method, device, medium and program product provided by the present invention identify the type of server. When the server is identified as a storage server, it indicates that when a power failure occurs, the server also needs to consider the issue of data backup. Therefore, the power supply unit can be further configured with relevant information of the power-off timing of abnormal power supply, so that when the first power supply unit and the second power supply unit both meet the warning value but do not reach the fault value, a power abnormality alarm signal is generated in advance, and the backup battery unit is switched to power the fan and baseboard management controller in the server, providing power for key components, preventing data loss and service interruption, and performing data backup, thereby effectively protecting the data stored in the server from damage. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0061] Figure 1 A schematic diagram of the server power management system structure provided in an embodiment of the present application;

[0062] Figure 2 A schematic diagram of the structure of a power supply unit provided in an embodiment of the present application;

[0063] Figure 3 The server power management method provided in the embodiment of the present application;

[0064] Figure 4 A schematic diagram of the intelligent control algorithm for the power module provided in an embodiment of the present application;

[0065] Figure 5 A schematic diagram of the intelligent control process provided in an embodiment of the present application;

[0066] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0067] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0068] Figure 1 A schematic diagram of the server power management system structure provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, it includes: a power supply unit 11, a backup battery unit 12 and a power control device 13;

[0069] The power supply unit 11 is respectively connected to the power control device 13 and the hard disk, expansion card, fan, and baseboard management controller in the server, and the backup battery unit 12 is electrically connected to the power control device 13 and the fan and baseboard management controller in the server;

[0070] The baseboard controller in the server is configured to configure a power supply abnormality power-off sequence for the power supply unit when detecting that the server is a storage server; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0071] Among them, the power-off sequence due to power abnormality includes: an alarm value for triggering the power supply unit to issue a power abnormality alarm message, and the alarm value is less than the fault value when the power supply unit fails; wherein, the power control device 13 is used to switch the backup battery unit 12 to power the fan and baseboard management controller in the server and perform data backup when it detects that the power supply unit 11 issues a power abnormality alarm signal.

[0072] In an embodiment of the present application, the power supply unit 11 (Power Supply Unit, PSU) is the main power supply unit of the server, which may specifically include a first power supply unit PUS1 and a second power supply unit PUS2, which provide power to the hard disk, expansion card, fan and baseboard management controller (Baseboard Management Controller, BMC) inside the server.

[0073] The BMC is responsible for monitoring and managing the server's hardware status. When a server is identified as a storage server, the BMC configures a power-off sequence for PSU1 and PSU2. This ensures that when a power alarm is issued, the server is processed according to the power-off sequence, ensuring data storage security.

[0074] In the embodiment of the present application, PSU1 and PSU2 can be specifically connected to the fan and baseboard management controller through EFUSE and ORING to perform current protection.

[0075] The backup battery unit (BBU) provides the system's emergency power supply. If the primary power supply fails, it intervenes, ensuring continued server operation for a period of time to facilitate essential operations, such as data backup. The power control device monitors the status of PSU1 and PSU2 and automatically switches power to the BBU if both power supplies generate abnormality alarms within a preset timeframe. This process ensures that critical server components, such as fans and the BMC, do not cease operation due to power failures, thereby preventing the risk of overheating or data loss.

[0076] The power control device also manages the redundant power supply mode of the power modules, automatically switching between current-sharing redundant power supply mode and active / standby redundant power supply mode based on the load current. This intelligent management strategy helps improve server energy efficiency and reduce unnecessary energy consumption.

[0077] In an embodiment of the present application, the server type is identified by reading the server model, or distinguishing between storage servers and non-storage servers based on the server's hardware architecture, storage capacity, or different communication protocols supported by the server.

[0078] When the server is identified as a storage server, it means that when a power failure occurs, the server also needs to consider the issue of data backup. Therefore, relevant information of the power abnormality power-off timing can be further configured for at least one power supply unit, so that when the first power supply unit and the second power supply unit both meet the warning value but do not reach the failure value, a power abnormality alarm signal is generated in advance, and the backup battery unit is switched to power the fan and baseboard management controller in the server, providing power for key components, preventing data loss and service interruption, and performing data backup, thereby effectively protecting the data stored in the server from damage.

[0079] Optionally, the at least one power supply unit is respectively connected to the power control device and a hard disk, an expansion card, a fan, and a baseboard management controller in the server, and the backup battery unit is electrically connected to the power control device and the fan and baseboard management controller in the server;

[0080] When the backup battery unit supplies power to the fan and baseboard management controller in the server, the hard disk and the expansion card are powered off, which can effectively reduce the load pressure of the backup battery unit.

[0081] Optionally, the baseboard management controller is specifically configured to:

[0082] In a case where the server is a storage server, configuring a first warning value for the first power supply unit, and configuring a second warning value for the second power supply unit;

[0083] The first warning value is less than a first fault value of the first power supply unit, the first warning value is used to trigger the first power supply unit to generate a power abnormality alarm signal, and the first fault value is a threshold when the first power supply unit triggers a fault;

[0084] Among them, the second warning value is less than the second fault value of the second power supply unit, the second warning value is used to trigger the second power supply unit to generate a power abnormality alarm signal, and the second fault value is the threshold when the second power supply unit triggers a fault.

[0085] In an embodiment of the present application, when a server is identified as a storage server, the BMC configures a first warning value and a second warning value for at least one power supply unit. These warning values ​​are pre-set thresholds used to monitor the power status of the power supply unit.

[0086] The first warning value is set to be lower than the first fault value of the first power supply unit, which means that when the power state of the first power supply unit reaches the first warning value but has not yet reached the first fault value, a power abnormality alarm signal will be triggered.

[0087] Similarly, the second warning value is also set to be lower than the second fault value of the second power supply unit. When the power status of the second power supply unit reaches the second warning value but has not yet reached the second fault value, a power abnormality alarm signal is also triggered.

[0088] More specifically, the setting of the first warning value and the second warning value enables the power supply unit to issue an alarm signal in advance before reaching the fault value, thereby providing the power control device with sufficient time to take measures, such as switching to the backup battery unit or performing other protection measures.

[0089] With this early warning mechanism, the BMC is able to manage power more efficiently because it can take action before the power supply unit fails completely.

[0090] This approach improves system responsiveness and reduces the risk of data loss or service interruption due to power problems.

[0091] At the same time, by providing early warning before a failure occurs, the system can perform data backup and power switching in a planned manner, further protecting the data stored on the server and the stability of the system.

[0092] Optionally, the power control device is further used to:

[0093] Performing on-site signal determination on the power supply unit;

[0094] When the presence signal of the first power supply unit or the second power supply unit changes, the power control device re-detects the server type.

[0095] In the embodiment of the present application, the power control device is responsible for monitoring a presence signal (usually a logic signal, such as a PRESENT signal) of at least one power supply unit.

[0096] The presence signal indicates whether the power supply unit is correctly installed and connected to the server. If the power supply unit is in place, this signal is usually high; if not, it is low.

[0097] In an embodiment of the present application, when the power control device detects a change in the presence signal of the power supply unit, it triggers a response mechanism. The change in the presence signal may mean that the power supply unit has been replaced, removed, or has a connection problem.

[0098] In the embodiment of the present application, after detecting a change in the presence signal, the power control device will re-detect the server type to ensure that the power management policy matches the actual configuration and requirements of the server.

[0099] Server type detection may involve identifying whether the server is of storage type, compute type, or other type, as different types of servers may require different power management policies.

[0100] In an embodiment of the present application, the power control device monitors the presence signal of the power supply unit and re-detects the server type when the signal changes, thereby realizing intelligent adaptation and optimization of the power management system, further improving the efficiency and reliability of server power management.

[0101] Optionally, the power control device is further used to:

[0102] When the on-site signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device;

[0103] When the time synchronization information is longer than a first preset time period compared with the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

[0104] In an embodiment of the present application, when the presence signal of at least one power supply unit remains unchanged, the power control device detects the time synchronization information between the two power supply units and itself. The time synchronization information ensures that all power supply units and the power control device maintain consistent time.

[0105] If the power control device detects that the time synchronization information differs from the current time by more than a first preset time interval (i.e., the time deviation exceeds the allowable range), it will send new time synchronization information to at least one power supply unit. This is to ensure that the timestamp of at least one power supply unit matches the timestamp of the power control device.

[0106] In an embodiment of the present application, by regularly checking and updating time synchronization information, the power control device ensures the time consistency of the entire power management system, which is crucial for system logging, fault analysis and event correlation.

[0107] Optionally, the baseboard management controller is specifically configured to:

[0108] Set the power supply redundancy mode according to the master / slave mode command input by the user;

[0109] Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

[0110] In the embodiment of the present application, the user can send instructions to the BMC through a specific interface (such as a command line interface, a graphical interface, or a remote management interface) to configure the operation mode of the power supply system. The BMC sets the power supply redundancy mode according to the active / standby mode instructions input by the user.

[0111] In the embodiment of the present application, the redundant power supply mode control algorithm is as follows:

[0112]

[0113] More specifically, current-sharing redundant power supply mode: In this mode, multiple power supply units (such as the first power supply unit and the second power supply unit) share the power requirements of the server, and each power supply unit outputs the same or proportionally distributed current.

[0114] Forced active / standby power supply mode host: In this mode, one power supply unit (the master) provides all or most of the power, while the other power supply unit (the standby) takes over if the master fails.

[0115] Forced active / standby redundant power supply mode slave: Compared to the forced active / standby redundant power supply mode master, in this mode, the standby power supply unit is in standby state and is activated only when a problem occurs in the master power supply unit.

[0116] Automatic active / standby redundant power supply mode host: In this mode, the system automatically selects one power supply unit as the active unit and the other as the standby unit, and automatically switches according to the status and load of the power supply unit.

[0117] Optionally, the baseboard management controller is further configured to:

[0118] In the case where a power abnormality alarm signal of a power supply unit is detected, the power abnormality alarm signal is collected and written into an abnormality log.

[0119] In an embodiment of the present application, the BMC continuously monitors the status of at least one power supply unit. When any power supply unit detects a power anomaly (such as overvoltage, undervoltage, overtemperature, etc.), it will issue an alarm signal.

[0120] Once the BMC detects a power anomaly alarm signal, it immediately collects the signal. The collected information may include the alarm signal type, occurrence time, duration, and related power parameters.

[0121] The BMC records the collected power supply abnormality alarm signal information in the server's abnormality log. The abnormality log is a file that records all abnormal events that occur during system operation and is crucial for fault diagnosis and system maintenance.

[0122] In the embodiment of the present application, by recording abnormal logs, the log records can be used to accurately analyze and locate problems, effectively improving processing efficiency.

[0123] Optionally, the server further comprises: an evaluation control unit;

[0124] Wherein, the evaluation control unit is used to monitor the status of the backup battery unit and evaluate the backup power capacity;

[0125] When the backup power capacity of the backup battery unit is abnormal, a backup power alarm signal is generated.

[0126] In an embodiment of the present application, the evaluation control unit continuously monitors the status of the backup battery unit, including key parameters such as the battery's charging status, discharging status, voltage level, temperature, and aging degree.

[0127] This monitoring helps ensure that the backup battery unit is always in good working condition so that it can take over power supply in a timely manner if a problem occurs with the power supply unit.

[0128] The evaluation control unit regularly evaluates the backup power capability of the backup battery unit, that is, evaluates the length of time the battery can support the server operation in the event of a power outage.

[0129] When the evaluation control unit detects abnormalities in the backup battery's backup capacity, such as when the battery capacity falls below a predetermined threshold, the battery fails to charge or discharge normally, or the battery temperature is abnormal, it generates a backup power alarm signal. This alarm signal is synchronized to the baseboard management controller (BMC) so that appropriate measures can be taken, such as replacing the battery, performing battery maintenance, or adjusting the power management strategy.

[0130] In the embodiment of the present application, by continuously monitoring and evaluating the backup battery unit, the system can promptly detect potential problems, thereby avoiding server downtime due to battery failure in emergency situations.

[0131] Optionally, the evaluation control unit is further configured to:

[0132] In the case where the server is a non-storage server, the evaluation control unit monitors the at least one power supply unit;

[0133] When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

[0134] In this embodiment of the present application, when the server is a non-storage server, the evaluation control unit is responsible for real-time monitoring of at least one power supply unit. Monitoring includes, but is not limited to, parameters such as power supply output voltage, current, power, and temperature, as well as the operating status of the power supply unit and any abnormalities.

[0135] The evaluation control unit continuously detects whether at least one power supply unit issues a power abnormality alarm signal. These alarm signals may be caused by power failure, overload, overheating or other power-related problems.

[0136] Once a power anomaly alarm signal is detected, the evaluation control unit will take measures to protect the server hardware and maintain stable operation of the system.

[0137] Frequency reduction refers to reducing the operating frequency of the server CPU or other processors to reduce power consumption and heat generation.

[0138] By reducing the frequency, the server can continue to run critical tasks when the power supply is insufficient or there is a potential power problem, while reducing the demand on power and avoiding system crashes.

[0139] In the embodiment of the present application, the evaluation control unit enhances the self-protection capability of the server in the event of power anomalies by monitoring the power status and implementing frequency reduction processing when necessary, thereby ensuring the high availability and data security of the server.

[0140] Optionally, Figure 2 A schematic diagram of the structure of the power supply unit provided in the embodiment of the present application is shown in FIG. Figure 2 As shown, the power supply unit includes: a first pull-up resistor R1, a second pull-up resistor R2, a third zero-ohm resistor R3, a fourth pull-down resistor R4, a fifth pull-down resistor R5, a sixth pull-up resistor R6, a seventh pull-up resistor R7, an eighth pull-up resistor R8, a ninth pull-down resistor R9 and a power supply;

[0141] Wherein, the serial data line is connected to the power supply through the first pull-up resistor, and the serial clock line is connected to the power supply through the second pull-up resistor;

[0142] Wherein, the first address line is connected to the power supply via the sixth pull-up resistor, and the second address line is connected to the power supply via the seventh pull-up resistor;

[0143] Among them, the power-on signal interface is grounded through the third zero-ohm resistor, the alarm signal interface is grounded through the fourth pull-down resistor, the power status signal interface is grounded through the fifth pull-down resistor, the input voltage normal signal interface is grounded through the ninth pull-down resistor, and the existence signal interface is connected to the power supply through the eighth pull-up resistor.

[0144] The serial data line (SDA) is connected to the power supply via a first pull-up resistor. This means that when the SDA line is high, it is pulled to the power supply voltage level via the first pull-up resistor. The serial clock line (SCL) is connected to the power supply via a second pull-up resistor. Similarly, when the SCL line is high, it is pulled to the power supply voltage level via the second pull-up resistor.

[0145] In this embodiment, the first address line (AD0) is connected to the power supply via the sixth pull-up resistor. This is used to set or read the PMBus device address. The second address line (AD1) is connected to the power supply via the seventh pull-up resistor. This is also used as part of the address configuration.

[0146] The power-on signal interface is grounded through a third zero-ohm resistor. Zero-ohm resistors are typically used to provide configurable connection points in circuit design. The third zero-ohm resistor is grounded to disconnect or connect the power-on signal when needed.

[0147] The PSU status signals Alert, Pwok, and Vin-good are connected to ground through pull-down resistors, and the Present signal is connected to 3.3V through a pull-up resistor to ensure accurate identification of abnormal power supply status when the power supply is not in place. The PSU LS bus is connected to one piece, and the printed circuit board is designed away from interference sources to ensure that the current sharing accuracy is within 5%.

[0148] The PRESENT signal is connected through a pull-up resistor to ensure that it is inactive when the PSU is not in place. The baseboard management controller (BMC) recognizes the PRESENT signal and intelligently configures the timing for abnormal PSU power-off when the server system is powered on or when the PRESENT signal changes from inactive to active.

[0149] In the embodiment of the present application, these connection relationships ensure that each signal line can provide the correct level state at the appropriate time, thereby ensuring the stability and reliability of PMBus communication, and also providing the necessary control and monitoring signals for the power management system.

[0150] Optionally, the power supply unit is specifically configured to:

[0151] When the power supply unit is in place, the presence signal interface is in a high level state, generating a presence signal;

[0152] When the power supply unit is not in place, the presence signal interface is in a low level state and stops generating the presence signal.

[0153] In the embodiments of the present application, when the power supply unit is correctly installed in the server and functioning properly, it will drive the presence signal interface (usually marked as PRESENT or similar) to a high level through internal circuitry. This signal interface is usually connected to the power supply through a pull-up resistor to ensure that the presence signal interface can remain high when the power supply unit is in place.

[0154] A high-level presence signal indicates that the power supply unit is ready and can provide power. This signal is detected by the server's baseboard management controller (BMC) or other management circuits to confirm the presence and status of the power supply unit.

[0155] If the power supply unit is removed or fails to operate normally due to a fault, the internal circuit will no longer be able to drive the presence signal interface to a high level, so the interface will be in a low level state due to the pull-down resistor.

[0156] A low-level presence signal indicates that the power supply unit is not present or is not functioning. Upon detecting this signal, the server management system can take a number of actions, such as attempting to start a backup power supply unit, logging the event, issuing an alert to notify the administrator, or implementing other troubleshooting procedures.

[0157] Figure 3 The server power management method provided in the embodiment of the present application is as follows: Figure 3 As shown, including:

[0158] Step 310: When the baseboard management controller detects that the server is a storage server, the baseboard management controller configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0159] The baseboard management controller (BMC) first detects the server type. If the server is identified as a storage server, the BMC configures a power-off sequence for at least one power supply unit.

[0160] In an embodiment of the present application, the power-off sequence for abnormal power supply conditions can specifically include configuring a first warning value for the first power supply unit and a second warning value for the second power supply unit, thereby safely shutting down the power supply units when a power supply abnormality occurs. This can prevent data loss or hardware damage.

[0161] Step 320: The power control device is configured to switch the backup battery unit to supply power to the fan and baseboard management controller in the server and perform data backup when detecting that the power supply unit issues a power abnormality alarm signal.

[0162] In an embodiment of the present application, the power control device monitors whether at least one power supply unit simultaneously issues a power abnormality alarm signal within a first preset time period.

[0163] If the power control device detects that both power supply units send power abnormality alarm signals within the first preset time period, this indicates that the server may face a serious power problem.

[0164] In response, the power control device switches power to the backup battery unit, which activates the backup battery unit to ensure that key server components such as fans and baseboard management controllers (BMCs) continue to have power in the event of a problem with the main power supply.

[0165] The backup battery unit will power the fans and BMC to maintain necessary cooling and system management functions. At the same time, the power control device will also trigger the data backup process to protect the data in the server from being lost due to power problems.

[0166] Optionally, when the baseboard management controller detects that the server is a storage server, configuring a power-off sequence due to abnormal power supply for the power supply unit includes:

[0167] In a case where the server power management system includes a first power supply unit and a second power supply unit, configuring a first warning value for the first power supply unit and configuring a second warning value for the second power supply unit;

[0168] The first warning value is less than a first fault value of the first power supply unit, the first warning value is used to trigger the first power supply unit to generate a power abnormality alarm signal, and the first fault value is a threshold when the first power supply unit triggers a fault;

[0169] Among them, the second warning value is less than the second fault value of the second power supply unit, the second warning value is used to trigger the second power supply unit to generate a power abnormality alarm signal, and the second fault value is the threshold when the second power supply unit triggers a fault.

[0170] In the embodiment of the present application, the BMC configures a first warning value for the first power supply unit, which is a specific power parameter threshold, such as voltage or current level, which is less than a first fault value of the first power supply unit.

[0171] For the second power supply unit, the BMC configures a second warning value for it. Similarly, this warning value is smaller than the second fault value of the second power supply unit.

[0172] The first warning value is less than the first fault value of the first power supply unit. This means that when the parameter of the power supply unit reaches the first warning value, it has not yet reached a fault state, but is close enough to issue an alarm signal.

[0173] The second warning value is less than the second fault value of the second power supply unit. Similarly, this means that when the parameter of the power supply unit reaches the second warning value, an alarm signal needs to be issued.

[0174] When the parameters of the first power supply unit reach the first warning value, it will trigger a power anomaly alarm signal to notify the BMC that there may be a problem with the power supply unit. When the parameters of the second power supply unit reach the second warning value, it will also trigger a power anomaly alarm signal.

[0175] The first fault value is the threshold at which the first power supply unit triggers a fault. That is, when a parameter of the power supply unit reaches or exceeds this value, the power supply unit is considered to have failed. The second fault value is the threshold at which the second power supply unit triggers a fault, and its function is the same as the first fault value.

[0176] Optionally, before the step of configuring a power-off sequence for at least one power supply unit when the baseboard management controller detects that the server is a storage server, the method further includes:

[0177] Performing on-site signal determination on the power supply unit;

[0178] When the presence signal of the first power supply unit or the second power supply unit changes, the power control device performs server type detection on the server.

[0179] In an embodiment of the present application, the BMC performs a presence signal check on at least one power supply unit. If the presence signal indicates that the power supply unit is correctly installed and ready to operate (usually a high level state), the BMC considers that the power supply unit is in place and available.

[0180] The BMC continuously monitors these presence signals to detect any changes. If the BMC detects a change in the power supply unit's presence signal, this may be due to the power supply unit being unplugged, plugged in, or failing.

[0181] Once a change in the presence signal is detected, the power control device (which may be the BMC or other control logic) will perform server type detection. The purpose of server type detection is to determine the specific model and configuration of the server so that the correct power management policy can be applied.

[0182] Optionally, the method further includes:

[0183] When the on-site signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device;

[0184] When the time synchronization information is longer than a first preset time period compared with the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

[0185] In an embodiment of the present application, the BMC or the power control device detects time synchronization information between at least one power supply unit and the power control device.

[0186] Time synchronization information is used to ensure that all power supply units and power control devices operate according to the same time base, which is crucial for coordinated operation and event recording.

[0187] The detected time synchronization information is compared with the current time to determine whether time resynchronization is required. If the time synchronization information is more than a first predetermined time interval away from the current time, this indicates that time resynchronization is required. The power control device transmits the time synchronization information to at least one power supply unit.

[0188] The purpose of this is to correct the time deviation and ensure that the timestamp of at least one power supply unit matches the timestamp of the power control device.

[0189] Optionally, the method further includes:

[0190] Set the power supply redundancy mode according to the master / slave mode command input by the user;

[0191] Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

[0192] In this embodiment of the present application, the current-sharing redundant power supply mode means that two power supply units (e.g., at least one power supply unit) operate simultaneously and evenly share the total power demand of the server. This mode can improve power supply efficiency and reliability because each power supply unit bears a portion of the load, reducing the burden on a single power supply unit.

[0193] Forced active / standby power supply mode means one power supply unit (the master) provides all power to the server, while the other power supply unit (the standby) is in standby mode. If the master power supply fails, the standby unit automatically takes over, ensuring continuous server operation.

[0194] A slave in forced active / standby redundant power supply mode operates similarly to a master in forced active / standby redundant power supply mode, but with the roles reversed. One power supply unit acts as the backup unit, while the other acts as the master. This mode is typically used for specific fault recovery scenarios or maintenance operations.

[0195] In automatic active / standby redundant power supply mode, the system automatically selects one power supply unit as the primary and the other as the backup. The primary unit provides power, while the backup unit remains in standby mode. If the primary unit fails, the system automatically switches power to the backup unit. Users can select either of these power supply redundancy modes by entering the active / standby mode command.

[0196] Optionally, the method further includes:

[0197] In the case where the server is a non-storage server, the evaluation control unit in the server monitors the at least one power supply unit;

[0198] When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

[0199] In an embodiment of the present application, if the server is a non-storage server, the server's evaluation control unit (which may be a BMC or other management control unit of the server) monitors at least one power supply unit. This monitoring typically includes continuous detection of the power supply unit's output voltage, current, temperature, and other key parameters.

[0200] If the evaluation control unit detects a power abnormality alarm signal from at least one power supply unit, this indicates that there may be a problem with the power supply, such as overload, overheating, unstable output voltage, etc.

[0201] After detecting a power anomaly alarm, the evaluation control unit will take measures to protect the server hardware and ensure system stability. One of these measures is to control the server to reduce its frequency.

[0202] Throttling means reducing the operating frequency of a server's CPU or other processors, thereby reducing overall power consumption and heat generation. This measure helps prevent the power supply unit from becoming overloaded and further deteriorates, while allowing the server to continue running critical tasks even when the power supply is limited.

[0203] In an alternative embodiment, Figure 4 This is a schematic diagram of the intelligent control algorithm for the power module provided in the embodiment of the present application, such as Figure 4 As shown, the PMBUS interface allows for flexible configuration of abnormal power-off sequence triggering conditions for the power modules to meet diverse power management requirements. Power redundancy modes can also be configured as needed, including active / standby redundant power supply mode and current-sharing redundant power supply mode. In active / standby redundant power supply mode, forced active / standby redundant power supply or automatic active / standby redundant power supply can be selected. Furthermore, the system time can be synchronized to the power modules periodically. The power modules accumulate and update the system time, overwriting their own accumulated time when receiving the new system time.

[0204] The SMBUS subroutine is responsible for transmitting the power module's electrical parameters, alarm information, and exception logs back to the system, while also receiving control commands from the system. The command recognition subroutine verifies the integrity of these command frames, intelligently identifies and classifies control commands, and then jumps to the corresponding control flow. The abnormal power-off sequence configuration subroutine configures the triggering conditions for the power module's alert signal changes in various abnormal scenarios, such as whether the power supply overheat protection triggers an alert signal change.

[0205] The timestamp synchronization subroutine ensures that the system time is synchronized with the power module and updates the power module time promptly. The control subroutine monitors key internal parameters of the power supply and implements intelligent control accordingly. For example, upon receiving a command for current-sharing redundant power supply mode, the power module enters this mode, using the current-sharing bus voltage as the control parameter for the outer and inner loops. In forced active / standby redundant power supply mode, the power module is forced into this mode. In automatic active / standby redundant power supply mode, the power module automatically switches between active / standby and current-sharing redundant power supply modes based on changes in load current.

[0206] The AD sampling subroutine samples the power module's input voltage, input current, output voltage, output current, system power bus voltage, key component temperatures, and power inlet temperature. The abnormality diagnosis subroutine has been optimized to record the time of an abnormality, synchronizing it with the system timer. This subroutine can also repeatedly record the same abnormality, such as overcurrent protection, to facilitate fault analysis and resolution.

[0207] Figure 5The intelligent control flow diagram provided in the embodiment of this application is as follows: Figure 5 As shown in the figure, the server system uses intelligent identification to determine the server model and decide whether to configure an abnormal power-off sequence for the power modules. The system also configures the redundant power supply mode for the power modules based on core software control instructions and regularly synchronizes the system time to ensure that the timestamps in the power module abnormality logs are consistent with the system time.

[0208] To facilitate on-site problem location, the system collects black box logs. This allows accurate troubleshooting of power module issues without the need to return the unit. The server system continuously monitors the power supply presence signal, detecting changes in the signal to determine whether a power module has been inserted or removed. When a server is powered on or a power module is removed or inserted, the system re-identifies the server model and intelligently configures the power module power-off sequence.

[0209] For storage servers, the system specifically configures trigger conditions for alert signal changes in conditions such as overheating, overcurrent, and input alarms to prevent data loss. The time synchronization control subroutine synchronizes the power module time every half hour to ensure that the module timestamp matches the system log timestamp.

[0210] The power supply mode control subroutine sends redundant power supply mode control instructions based on customer needs to adapt to different power management strategies. The exception log collection subroutine proactively collects exception logs for the current and historical pages when a power module experiences a power failure. This allows accurate identification of the problem at the customer site without returning to the power module.

[0211] Figure 6 Schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the server power management method, which includes:

[0212] When the baseboard management controller detects that the server is a storage server, it configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0213] When the power supply unit is detected to have issued a power abnormality alarm signal, the power control device switches the backup battery unit to supply power to the fan and baseboard management controller in the server and performs data backup.

[0214] Furthermore, the logic instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0215] On the other hand, the present invention further provides a computer program product, comprising a computer program. The computer program may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the server power management method provided by each of the above methods. The method comprises:

[0216] When the baseboard management controller detects that the server is a storage server, it configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0217] When the power supply unit is detected to have issued a power abnormality alarm signal, the power control device switches the backup battery unit to supply power to the fan and baseboard management controller in the server and performs data backup.

[0218] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the server power management method provided by the above methods is implemented, and the method includes:

[0219] When the baseboard management controller detects that the server is a storage server, it configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails;

[0220] When the power supply unit is detected to have issued a power abnormality alarm signal, the power control device switches the backup battery unit to supply power to the fan and baseboard management controller in the server and performs data backup.

[0221] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0222] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0223] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A server power management system, characterized in that: include: At least one power supply unit, a backup battery unit, and a power control device; The baseboard controller in the server is used to configure a power supply abnormality power-off sequence for the power supply unit when it is detected that the server is a storage server; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power supply abnormality alarm message, wherein the alarm value is less than a fault value when the power supply unit fails; the baseboard controller is also used to periodically synchronize the system time with the power supply unit to ensure that the timestamp of the abnormality log record is consistent with the system time; The power control device is used to switch the backup battery unit to power the fans and baseboard management controller in the server and perform data backup when detecting that the power supply unit issues a power abnormality alarm signal; the power control device is also used to automatically switch between the current-sharing redundant power supply mode and the active-standby redundant power supply mode according to the load current; Wherein, the power abnormality alarm signal is a power abnormality alarm signal generated in advance when it is detected that the power supply unit meets the warning value but does not reach the fault value; The server power management system includes a first power supply unit and a second power supply unit; the first power supply unit is configured with a first warning value, and the second power supply unit is configured with a second warning value; The first warning value is less than a first fault value of the first power supply unit, the first warning value is used to trigger the first power supply unit to generate a power abnormality alarm signal, and the first fault value is a threshold when the first power supply unit triggers a fault; The second warning value is less than a second fault value of the second power supply unit, the second warning value is used to trigger the second power supply unit to generate a power abnormality alarm signal, and the second fault value is a threshold value when the second power supply unit triggers a fault; generating a power abnormality alarm signal in advance when the first power supply unit meets the first warning value but does not meet the first fault value, and the second power supply unit meets the second warning value but does not meet the second fault value; The server further comprises: an evaluation control unit; The evaluation control unit is used to: In the case where the server is a non-storage server, the evaluation control unit monitors the power supply unit; When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

2. The server power management system according to claim 1, wherein: The at least one power supply unit is respectively connected to the power control device and the hard disk, expansion card, fan, and baseboard management controller in the server, and the backup battery unit is electrically connected to the power control device and the fan and baseboard management controller in the server; When the backup battery unit supplies power to the fan and the baseboard management controller in the server, the hard disk and the expansion card are powered off.

3. The server power management system according to claim 1, wherein: The power control device is also used for: Performing an on-site signal determination on the power supply unit; When the presence signal of the power supply unit changes, the power control device re-detects the server type.

4. The server power management system according to claim 3, wherein: The power control device is also used for: When the on-site signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device; When the time synchronization information is longer than a first preset time period compared with the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

5. The server power management system according to claim 1, wherein: The baseboard management controller is specifically used for: Set the power supply redundancy mode according to the master / slave mode command input by the user; Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

6. The server power management system according to claim 1, wherein: The baseboard management controller is further configured to: In the case where a power abnormality alarm signal of a power supply unit is detected, the power abnormality alarm signal is collected and written into an abnormality log.

7. The server power management system according to claim 1, wherein: The evaluation control unit is used to monitor the status of the backup battery unit and evaluate the backup power capacity; When the backup power capacity of the backup battery unit is abnormal, a backup power alarm signal is generated.

8. The server power management system according to claim 1, wherein: The power supply unit includes: a first pull-up resistor, a second pull-up resistor, a third zero-ohm resistor, a fourth pull-down resistor, a fifth pull-down resistor, a sixth pull-up resistor, a seventh pull-up resistor, an eighth pull-up resistor, a ninth pull-down resistor and a power supply; Wherein, the serial data line is connected to the power supply through the first pull-up resistor, and the serial clock line is connected to the power supply through the second pull-up resistor; Wherein, the first address line is connected to the power supply via the sixth pull-up resistor, and the second address line is connected to the power supply via the seventh pull-up resistor; Among them, the power-on signal interface is grounded through the third zero-ohm resistor, the alarm signal interface is grounded through the fourth pull-down resistor, the power status signal interface is grounded through the fifth pull-down resistor, the input voltage normal signal interface is grounded through the ninth pull-down resistor, and the existence signal interface is connected to the power supply through the eighth pull-up resistor.

9. The server power management system according to claim 8, wherein: The power supply unit is specifically used for: When the power supply unit is in place, the presence signal interface is in a high level state, generating a presence signal; When the power supply unit is not in place, the presence signal interface is in a low level state and stops generating the presence signal.

10. A server power management method based on the server power management system according to any one of claims 1 to 9, characterized in that: include: When the baseboard management controller detects that the server is a storage server, it configures a power supply abnormality power-off sequence for the power supply unit; wherein the power supply abnormality power-off sequence includes: an alarm value for triggering the power supply unit to issue a power abnormality alarm message, the alarm value being less than a fault value when the power supply unit fails; the baseboard controller is further configured to periodically synchronize system time with the power supply unit to ensure that the timestamp of the abnormality log record is consistent with the system time; When the power supply unit sends a power anomaly alarm signal, the power control device switches the backup battery unit to power the fans and baseboard management controller in the server and performs data backup. The power control device is also used to automatically switch between the current-sharing redundant power supply mode and the active-standby redundant power supply mode according to the load current. The power supply abnormality alarm signal is a power supply abnormality alarm signal generated in advance when it is detected that the power supply unit meets the warning value but does not reach the fault value; When the baseboard management controller detects that the server is a storage server, configuring an abnormal power-off sequence for the power supply unit includes: In a case where the server power management system includes a first power supply unit and a second power supply unit, configuring a first warning value for the first power supply unit and configuring a second warning value for the second power supply unit; The first warning value is less than a first fault value of the first power supply unit, the first warning value is used to trigger the first power supply unit to generate a power abnormality alarm signal, and the first fault value is a threshold when the first power supply unit triggers a fault; The second warning value is less than a second fault value of the second power supply unit, the second warning value is used to trigger the second power supply unit to generate a power abnormality alarm signal, and the second fault value is a threshold value when the second power supply unit triggers a fault; The method further comprises: In the case where the server is a non-storage server, the evaluation control unit in the server monitors the at least one power supply unit; When a power abnormality alarm signal is detected from a power supply unit, the server is controlled to perform frequency reduction processing.

11. The server power management method according to claim 10, wherein: Before the step of configuring an abnormal power-off sequence for the power supply unit when the baseboard management controller detects that the server is a storage server, the method further includes: Performing on-site signal determination on the power supply unit; When the presence signal of the power supply unit changes, the power control device performs server type detection on the server.

12. The server power management method according to claim 11, wherein: The method further comprises: When the presence signal of the power supply unit does not change, detecting time synchronization information between the power supply unit and the power control device; When the time synchronization information is longer than a first preset time period compared to the current time, the power control device sends the time synchronization information to the power supply unit to ensure that the timestamps of the power supply unit and the power control device match.

13. The server power management method according to claim 10, wherein: The method further comprises: Set the power supply redundancy mode according to the master / slave mode command input by the user; Among them, the power supply redundant power supply mode includes: current sharing redundant power supply mode, forced master-slave redundant power supply mode host, forced master-slave redundant power supply mode slave, automatic master-slave redundant power supply mode host.

14. The server power management method according to claim 10, wherein: The method further comprises: In the case where a power abnormality alarm signal of a power supply unit is detected, the power abnormality alarm signal is collected and written into an abnormality log.

15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the server power management method according to any one of claims 10 to 14 is implemented.

16. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the server power management method according to any one of claims 10 to 14 is implemented.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the server power management method according to any one of claims 10 to 14 is implemented.

Citation Information

Patent Citations

  • Power management method, device and system

    CN107122035A

  • Data backup method, computer equipment and storage medium

    CN115686935A

  • Power supply control system and method for preventing server from being powered off and shut down

    CN115904050A