Server motherboard power-down control method, device, computer equipment, and storage medium

By coordinating monitoring between the BMC and CPLD, the problem of misjudgment caused by PG signal interference during the server motherboard power-down process was solved, achieving more accurate server power-down control, reducing the risk of downtime, and improving system stability.

CN117784905BActive Publication Date: 2026-11-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311722255.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-14
Publication Date
2026-11-17
Estimated Expiration
2043-12-14

AI Technical Summary

Technical Problem

Existing DC-DC power monitoring solutions for server motherboards are prone to misjudgment due to PG signal interference, leading to server downtime and affecting business operations.

Method used

By working in conjunction with the Baseboard Management Controller (BMC) and Complex Programmable Logic Device (CPLD), the system monitors the power supply signal of the power chip, performs intelligent analysis and filtering to avoid misjudgment and ensure accurate power-down.

Benefits of technology

It reduced the unexpected downtime rate of servers, improved server stability and reliability, and reduced the risk of business interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117784905B_ABST
    Figure CN117784905B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, computer device, and storage medium for controlling the power-down of a server motherboard. The method includes: obtaining a normal power supply signal from a power supply chip of a complex programmable logic device (CPL); sending an access request to the power supply chip when the normal power supply signal is pulled low; and sending a command to the CPL to control the server motherboard to power down when there is no response from the power supply chip after a first preset number of consecutive accesses, so that the CPL can control the server motherboard to power down. This method can accurately determine the operating status of the power supply chip and thus accurately control the server motherboard to power down, reducing the unexpected downtime rate of client machines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of server technology, and in particular to a server motherboard power-down control method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the development of cloud computing applications, information technology is gradually covering all areas of society. People are increasingly communicating through the internet in their daily work and life, and the amount of network data is constantly increasing; at the same time, the application of cloud space is also gradually increasing, which puts forward high-density and high-stability requirements for data center computer rooms that provide cloud computing and cloud space.

[0003] Server circuit boards are highly integrated and high-density; internal chips (such as CPUs and memory) have different requirements for power supply voltage, power-on / off timing, and power supply ripple noise. This requires the server motherboard to isolate, step down, reduce noise, and control the power-on / off timing of the 12V DC power supplied by the PSU (Power Supply Unit) in order to simultaneously meet the voltage requirements of each chip.

[0004] Currently, the industry mainstream approach is to step down 12V DC to 1.8V or 3.3V DC using DC-DC or LDO (linear regulator) chips. In the server field, DC-DC chips are widely used for voltage reduction due to their advantages such as high conversion efficiency, controllable timing, power isolation, and protection for downstream circuits. Therefore, monitoring and managing DC-DC power chips on motherboards has become an important research direction.

[0005] Existing DC-DC power monitoring solutions on server motherboards use complex programmable logic devices (PLDs) to detect the power good signal level output by the controller. Typically, a threshold is pre-set for the PLD, such as a 3.3V power good signal and a 2V threshold for the PLD. When the power chip experiences an abnormal power supply or output, the power controller pulls the PG (power good) signal low and feeds it back to the PLD. Once the PLD detects that the PG signal has been pulled low, it shuts down the 12V core power supply to the motherboard, only maintaining power to chips such as the board management controller to prevent board burnout.

[0006] Since complex programmable logic devices can only determine high and low levels internally, the following scenario can occur: when the PG signal transmitted by the DC-DC chip controller is interfered with and jitters, the complex programmable logic device will mistakenly believe that there is a problem with the power chip and forcibly shut down the 12V core power, causing the server to crash, which will inevitably have a great impact on business operations. Summary of the Invention

[0007] Therefore, it is necessary to provide a method, device, computer equipment, and storage medium for controlling the power-down of a server motherboard, in order to address the aforementioned technical problems.

[0008] A server motherboard power-down control method is provided. The method is applied to a baseboard management controller (BMD). The BMD is connected to a complex programmable logic device (CPL). The BMD and the CPL are respectively connected to a power supply chip. The BMD, the CPL, and the power supply chip are all located on the server motherboard. The method includes:

[0009] Obtain a normal power supply signal from the power chip of the complex programmable logic device;

[0010] When the power supply normal signal of the power chip is pulled low, an access request is sent to the power chip.

[0011] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the control server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down.

[0012] In one embodiment, the above method further includes:

[0013] When the power supply normal signal of the power chip is pulled low, the power supply normal signal is continuously detected;

[0014] The above-mentioned sending an access request to the power chip when the power chip's normal power supply signal is pulled low includes:

[0015] When the detected power supply signal is below a preset threshold for more than a preset time, an access request is sent to the power chip.

[0016] In one embodiment, the power supply chip includes multiple chips, and sending an access request to the power supply chip includes:

[0017] Each power chip is polled sequentially to obtain its status information.

[0018] The above methods also include:

[0019] If no preset key error information is found after acquiring the status information of each power chip for the second consecutive preset number of times, it is determined that the power supply normal signal of the power chip is being interfered with.

[0020] Generate log information indicating that the power chip did not malfunction;

[0021] When critical error messages are present, it is determined that the power chip has malfunctioned;

[0022] Send a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down and report the server motherboard to power down.

[0023] The aforementioned process, whereby when the power chip fails to respond after a first preset number of consecutive accesses, sends a command to the complex programmable logic device (CPLD) to power down the server motherboard, so that the CPLD can control the server motherboard to power down, includes:

[0024] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down and reports the power down of the server motherboard.

[0025] In one embodiment, the above method further includes:

[0026] When the baseboard management controller malfunctions, it transmits information about the abnormal operating state to the complex programmable logic device (CPL), so that the CPL controls whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0027] In one embodiment, the above method further includes:

[0028] When a shutdown command is received, information about the abnormal operating state is transmitted to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0029] In one embodiment, the server motherboard further includes a power supply module connected to a complex programmable logic device (CPLD). When the power chip fails to respond after a first preset number of consecutive accesses, the power supply module sends a command to the CPLD to power down the server motherboard, including:

[0030] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD). This allows the CPLD to shut down the power supply module via an enable signal, thereby powering down the server motherboard.

[0031] In one embodiment, the aforementioned substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

[0032] A server motherboard power-down control device is provided. The device is applied to a baseboard management controller (BMD). The BMD is connected to a complex programmable logic device (CPL). The BMD and the CPL are respectively connected to a power supply chip. The BMD, the CPL, and the power supply chip are all located on the server motherboard. The device includes:

[0033] The acquisition module is used to obtain the normal power supply signal from the power chip of the complex programmable logic device;

[0034] The access module is used to send an access request to the power chip when the power supply normal signal is pulled low.

[0035] The control module is used to send a power-down command to the complex programmable logic device (CPLD) when the power chip fails to respond after a first preset number of consecutive accesses, so that the CPLD can control the power-down of the server motherboard.

[0036] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps:

[0037] Obtain a normal power supply signal from the power chip of the complex programmable logic device;

[0038] When the power supply normal signal of the power chip is pulled low, an access request is sent to the power chip.

[0039] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the control server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down.

[0040] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the following steps:

[0041] Obtain a normal power supply signal from the power chip of the complex programmable logic device;

[0042] When the power supply normal signal of the power chip is pulled low, an access request is sent to the power chip.

[0043] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the control server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down.

[0044] The aforementioned server motherboard power-down control method, device, computer equipment, and storage medium monitor the normal power supply signal from the power chip via a baseboard management controller. When the normal power supply signal from the power chip is detected to be pulled low, the controller accesses the power chip and determines whether to send a command to control the server motherboard to power down based on the access result. This application uses a baseboard management controller to perform intelligent analysis and processing of motherboard power-down. By comprehensively judging based on the normal power supply signal from the power chip and the access status of the power chip, it can accurately determine the working status of the power chip and thus accurately control the server motherboard to power down. This solves the problem that in the traditional CPLD monitoring mode, controlling the motherboard power-down solely based on the normal power supply signal from the power chip can easily lead to misjudgments and forced server shutdowns, thus reducing the unexpected downtime rate of clients. Attached Figure Description

[0045] Figure 1 This is a flowchart illustrating a server motherboard power-down control method in one embodiment;

[0046] Figure 2 This is a flowchart illustrating the step of sending an access request to the power chip in one embodiment;

[0047] Figure 3 This is a circuit diagram of a CPLD controlling a power supply chip in traditional technology.

[0048] Figure 4 This is a circuit diagram of a CPLD controlling a power supply chip in one embodiment;

[0049] Figure 5 This is a structural block diagram of a server motherboard power-down control device in one embodiment;

[0050] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0052] In one embodiment, such as Figure 1 As shown, a server motherboard power-down control method is provided. The method is applied to a baseboard management controller (BMD). The BMD is connected to a complex programmable logic device (CPL), and both the BMD and the CPL are connected to a power supply chip. The BMD, the CPL, and the power supply chip are all located on the server motherboard. The method includes:

[0053] S11. Obtain a normal power supply signal from the power chip of the complex programmable logic device.

[0054] The baseboard management controller can be a Baseboard Management Controller (BMC). The complex programmable logic device (CPLD) can be a complex programmable logic device (CPLD). The power supply chip can be a DC-DC converter (Direct Current to Direct Current converter).

[0055] In this application, the server's motherboard is connected to the server's circuit boards. The server's circuit boards are highly integrated and high-density; their internal chips (such as the CPU and memory) have different requirements for power supply voltage, power-on / off timing, and power supply ripple noise. This necessitates that the server motherboard isolate, step down, reduce noise, and control the power-on / off timing of the 12V DC power supplied by the PSU to simultaneously meet the voltage requirements of each chip. In this application, a DC-DC chip can be used to step down the 12V DC power to 1.8V or 3.3V DC power.

[0056] Specifically, the aforementioned server motherboard includes a baseboard management controller, a complex programmable logic device (CPL), and a power supply chip. The power supply chip is connected to the baseboard management controller and the CPL via an I2C (Inter-Integrated Circuit, two-wire serial bus) bus.

[0057] In this application, the CPLD and BMC on the server motherboard are connected via an I2C bus. The BMC obtains the power supply normal signal from the power chip from the CPLD via the I2C bus. This power supply normal signal is the "power good" signal. In this application, since the CPLD itself can only perform logic monitoring and judgment, and cannot perform intelligent analysis and filtering, the BMC can assist the CPLD in completing the judgment, performing intelligent analysis and filtering on the received PG signal.

[0058] S12. When the power supply normal signal of the power chip is pulled low, send an access request to the power chip.

[0059] The aforementioned "power supply normal signal being pulled low" refers to the power supply normal signal transitioning from a high level to a low level. The status information of the power supply chip mainly includes the chip's voltage and whether the chip is functioning correctly.

[0060] Specifically, the BMC monitors the internal register information of the DC-DC power chip and the CPLD register information via I2C. When it detects that the PG signal in the CPLD register information is pulled low, it will trigger the BMC to obtain and access the internal register information of the power chip through the I2C line directly connected to the power chip.

[0061] S13. When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the control server motherboard is sent to the complex programmable logic device so that the complex programmable logic device can control the server motherboard to power down.

[0062] In this application, when the power supply normal signal of the power chip is pulled low, multiple polling of the aforementioned power chip is triggered to obtain the power chip's status information. The number of consecutive accesses is a first preset number, which can be set according to actual needs or application scenarios, and is not specifically limited here.

[0063] Specifically, when the power chip is not malfunctioning, the BMC obtains status information from the power chip, and the power chip will provide feedback on the voltage and whether it is working properly. When the BMC does not receive feedback on the voltage or whether it is working properly from the power chip, it determines that the power chip is faulty. At this time, the BMC sends a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down.

[0064] After detecting that the PG signal is pulled low, this application will further access the register information of the power chip and determine whether the power chip is faulty based on the access information. Compared with the traditional technology that judges whether the power chip is abnormal based solely on the high or low level of the PG signal, the technical solution of this application is more accurate and less prone to misjudgment.

[0065] In one embodiment, the above method may further include:

[0066] When the power supply normal signal of the power chip is pulled low, the power supply normal signal is continuously detected;

[0067] The aforementioned action of sending an access request to the power chip when the power chip's normal power supply signal is pulled low may include:

[0068] When the detected power supply signal is below a preset threshold for more than a preset time, an access request is sent to the power chip.

[0069] The preset threshold and preset time mentioned above can be set according to actual needs. For example, the preset time can be set to 100us.

[0070] Specifically, the BMC monitors the internal register information of the DC-DC power chip and the CPLD register information via I2C. When it detects that the PG signal from the power chip is pulled low, it will continue to monitor the PG signal. When the PG signal is lower than the set threshold for more than 100us, it will trigger the BMC to send an access request to the power chip through the I2C line directly connected to the power chip in order to obtain access to the internal register information of the power chip.

[0071] This application, upon detecting a low PG signal, does not, as in traditional technologies, immediately determine a power chip malfunction and power down the motherboard based on the low PG signal. Instead, it continuously monitors the PG signal's state for a preset time and determines whether to initiate an access request to the power chip based on the PG signal's state within that time. Compared to traditional technologies, this application demonstrates a more rigorous logic in its mechanism for determining whether the power chip is malfunctioning.

[0072] In one embodiment, please refer to Figure 2 The aforementioned power supply chips include multiple components, and the aforementioned sending of access requests to the power supply chips may include:

[0073] S21. Poll each power chip sequentially to obtain the status information of each power chip;

[0074] The above methods also include:

[0075] S22. When the status information of each power chip is obtained for the second consecutive preset number of times and no preset key error information is found, it is determined that the power supply normal signal of the power chip is interfered with.

[0076] S23. Generate log information indicating that the power chip has not malfunctioned;

[0077] S24. When critical error messages are present, it is determined that the power chip has malfunctioned;

[0078] S25. Send a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down and report that the server motherboard has powered down.

[0079] The aforementioned process of sending a command to the complex programmable logic device (CPLD) to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses, so that the CPLD can control the server motherboard to power down, may include:

[0080] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down and reports the power down of the server motherboard.

[0081] In this application, the aforementioned power supply chips may include multiple chips. When there are multiple power supply chips, the BMC sequentially polls each power supply chip multiple times to obtain the status information of the power supply chips. Specifically, the status information is obtained from the register information of the power supply chips.

[0082] When the PG signal of one or more power chips is pulled low, the BMC polls the register information of each power chip sequentially to obtain status information and check the operating status of each power chip. If no pre-set critical error message is found when polling the status information of each power chip, it is assumed that the low PG signal is due to jitter caused by interference, and not due to a malfunction of the power chip.

[0083] When the status information of each power chip is obtained for the second preset number of consecutive accesses, if the aforementioned key error information is found in the status information obtained in one access, it is determined that the power chip has actually failed. The BMC then sends a command to the complex programmable logic device to power down the server motherboard, so that the complex programmable logic device can control the server motherboard to power down and report the server motherboard power down.

[0084] Specifically, the second preset number of times mentioned above can be set to 2. If the BMC accesses the power chip twice consecutively without finding a fatal error, the BMC considers it a false alarm and only records a power drop alarm in the log. It also prints the power chip register information at this time to generate a register status log for subsequent debugging. At this point, the CPLD will not disable the power chips. Specifically, the CPLD records the black-box log to its own Flash memory and saves it. Using a JTAG tool, the black-box log is read from the CPLD and analyzed for debugging purposes.

[0085] In this application, the following methods are specifically included in determining whether a power chip has experienced an actual fault:

[0086] Option 1: When the status information of each power chip is obtained for the second preset number of consecutive times, at least one access to the obtained status information will display a critical error message.

[0087] Option 2: If the power chip does not respond after the first preset number of consecutive accesses.

[0088] When either Scheme 1 or Scheme 2 occurs, it is determined that the power chip has actually failed. In this case, the BMC sends a command to the complex programmable logic device to power down the server motherboard, so that the complex programmable logic device can control the server motherboard to power down and report the power down of the server motherboard.

[0089] After detecting that the PG signal is pulled low, this application further combines Scheme 1 and Scheme 2 to determine the working status of the power chip, making the determination of the working status of the power chip more accurate. This allows the application to filter out the situation where the PG signal is pulled low due to interference, thereby achieving more accurate control of the server motherboard power-down and reducing server downtime caused by misjudgment and the impact on business use.

[0090] In one embodiment, the above method may further include:

[0091] When the baseboard management controller malfunctions, it transmits information about the abnormal operating state to the complex programmable logic device (CPL), so that the CPL controls whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0092] In this application, the BMC and CPLD begin operating after the server is powered on. When the BMC is operating normally, it sends register information indicating the normal operating status of the BMC to the CPLD via an I2C signal. Upon receiving the normal operating information from the BMC, the CPLD will not activate its internal judgment logic and will manage the power chip based on the information transmitted by the BMC.

[0093] The internal logic here refers to the CPLD monitoring the status of the PG signal. When the CPLD detects that the PG signal is pulled low, it disables the power enable signal. Then, the CPLD shuts down the 12V core power supply to the motherboard, only maintaining power to chips such as the BMC to prevent board burnout. A power drop alarm is also recorded internally within the BMC.

[0094] When the BMC malfunctions, such as during an upgrade, process error, or system crash, it transmits the abnormal status register information to the CPLD. Upon receiving this information, the CPLD activates its own power management logic to monitor the motherboard's power status until the BMC status register returns to normal operation. During this time, the CPLD monitors the health of the motherboard's power supply chip's PG signal. If it detects an abnormally low PG signal, it will control the server motherboard to power down to protect it.

[0095] This application, through this implementation method, designs a BMC emergency mechanism. When the BMC malfunctions, the CPLD will intervene in monitoring and management while retaining the original CPLD monitoring and processing logic unchanged, thus preventing the motherboard from becoming unresponsive due to unexpected power loss when the BMC cannot be monitored and managed properly. Specifically, when the BMC malfunctions or restarts and cannot be accessed, the CPLD can switch the control entity based on the detected BMC status, resuming the CPLD's non-intelligent management of the power chip.

[0096] In one embodiment, the above method may further include:

[0097] When a shutdown command is received, information about the abnormal operating state is transmitted to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0098] When the server issues a shutdown command via the BMC, the BMC first sends an abnormal operating status register information to the CPLD. At this point, the CPLD will take over the power chip control as originally configured. Alternatively, when a shutdown command is issued via the server's power button, the CPLD will receive a power button signal and perform a power-down operation.

[0099] Both of these normal shutdown methods will still follow the original control logic of the CPLD and will not be affected by the BMC. The BMC only makes intelligent adjustments in the event of abnormal power failure.

[0100] This application enables the CPLD to determine the operating status of the power chip based on its internal judgment mechanism under normal power-off conditions.

[0101] In one embodiment, the server motherboard further includes a power supply module connected to a complex programmable logic device (CPLD). The method of sending a command to the CPLD to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses includes:

[0102] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD). This allows the CPLD to shut down the power supply module via an enable signal, thereby powering down the server motherboard.

[0103] In this application, when the CPLD controls the server motherboard to power down, it specifically does so by turning off the power enable signal. The CPLD then shuts off the motherboard's 12V core power supply, only maintaining power to chips such as the BMC, thus preventing board burn-out. Furthermore, the CPLD records a power drop alarm within the BMC.

[0104] In one embodiment, the aforementioned substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

[0105] In this application, the CPLD can detect whether the BMC is working properly via a bidirectional I2C link and determine whether to enable the internal judgment mechanism based on the detection results. The BMC can send the analysis results to the CPLD via the bidirectional I2C link so that the CPLD can determine whether it is necessary to control the server motherboard to power down.

[0106] This application realizes data transmission between the BMC and CPLD through a bidirectional I2C link. Through the data transmission process, the BMC and CPLD cooperate to jointly control the power-down of the server motherboard.

[0107] Please refer to Figure 3 , Figure 3 This is a circuit diagram of a CPLD controlling a power supply chip in traditional technology. In traditional technology, there is no connection between the BMC and the CPLD; the CPLD determines the operating status of the power supply chip itself. Specifically, in traditional technology, the CPLD detects the power good signal level output by the controller. A threshold is typically set for the CPLD beforehand, such as setting it to 2V for a 3.3V power good signal. When the power supply chip experiences an abnormal power supply or output, the power controller pulls down the PG (power good, hereinafter referred to as PG) signal and sends it back to the CPLD. Upon detecting the low PG signal, the CPLD disables the power enable signal, thereby controlling the server motherboard to power down.

[0108] Please refer to Figure 4 , Figure 4 This is a circuit diagram of a CPLD controlling a power supply chip in one embodiment of this application. In this application, the BMC is connected via a bidirectional I2C link, and the CPLD obtains information from the BMC through the I2C bus. Therefore, with the help of the I2C bus, the CPLD can obtain the internal register status of the BMC, monitor the operating status of various voltages on the motherboard and the BMC through the CPLD's logic, and write the information to its own Flash memory for storage. However, the CPLD itself can only perform logic monitoring and judgment, and cannot perform intelligent analysis and filtering. Therefore, the BMC can assist the CPLD in completing the judgment and perform intelligent analysis and filtering on the received PG signal.

[0109] When the BMC malfunctions or restarts and cannot be accessed, the CPLD can switch the control entity based on the detected BMC status, thus restoring the CPLD's non-intelligent management of the power chip.

[0110] This application obtains the BMC status record through CPLD, which ensures the availability of BMC status and fault cause when BMC malfunctions or upgrades fail. It also ensures that server fault phenomena are not destroyed and facilitates on-site fault analysis. It is mainly implemented through software layer code, requiring minimal hardware modifications, saving costs, and has strong versatility. The data format is flexible and customizable.

[0111] In one embodiment, such as Figure 5As shown, a server motherboard power-down control device is provided. The device is applied to a baseboard management controller (BMD). The BMD is connected to a complex programmable logic device (CPL), and both the BMD and the CPL are connected to a power supply chip. The BMD, CPL, and power supply chip are all located on the server motherboard. The device includes: an acquisition module 11, an access module 12, and a control module 13, wherein:

[0112] The acquisition module 11 is used to acquire the normal power supply signal of the power chip from the complex programmable logic device;

[0113] Access module 12 is used to send an access request to the power chip when the power supply normal signal of the power chip is pulled low.

[0114] Control module 13 is used to send a power-down command to the complex programmable logic device (CPLD) when the power chip fails to respond after a first preset number of consecutive accesses, so that the CPLD can control the power-down of the server motherboard.

[0115] In one embodiment, the access module 12 can also continuously detect the normal power supply signal when the power supply signal of the power chip is pulled low, and send an access request to the power chip when the normal power supply signal is detected to be lower than a preset threshold for a preset time.

[0116] In one embodiment, the aforementioned power supply chip includes multiple components. The access module 12 can sequentially poll each power supply chip to obtain its status information. When the status information of each power supply chip is obtained for a second preset number of consecutive times and no preset key error information is found, it is determined that the power supply signal of the power supply chip is being interfered with, and log information indicating that the power supply chip is not faulty is generated. When key error information is present, it is determined that the power supply chip is faulty, and a command to power down the control server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down and reports the server motherboard power down. The control module 13 can send a command to power down the control server motherboard to the CPLD when there is no response after accessing the power supply chip for a first preset number of consecutive times, so that the CPLD controls the server motherboard to power down and reports the server motherboard power down.

[0117] In one embodiment, the control module 13 can also transmit information about the abnormal operating state to the complex programmable logic device when the baseboard management controller malfunctions, so that the complex programmable logic device can control whether the server motherboard is powered down based on the power supply normal signal of the power chip.

[0118] In one embodiment, the control module 13 described above can also transmit information about abnormal operating status to the complex programmable logic device when it receives a power-off command, so that the complex programmable logic device can control whether the server motherboard is powered down based on the power supply normal signal of the power chip.

[0119] In one embodiment, the server motherboard further includes a power supply module connected to a complex programmable logic device (CPLD). The control module 13 can send a power-down command to the CPLD when the power chip fails to respond after a first preset number of consecutive accesses, so that the CPLD can control the server motherboard to power down by turning off the power supply module via an enable signal.

[0120] In one embodiment, the aforementioned substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

[0121] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data such as the operating data of smart home devices. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for controlling the power-down of the server motherboard.

[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: obtaining a power supply normal signal from a power chip of a complex programmable logic device; sending an access request to the power chip when the power supply normal signal of the power chip is pulled low; and sending an instruction to the complex programmable logic device to control the server motherboard to power down when there is no response from the power chip after a first preset number of consecutive accesses, so that the complex programmable logic device controls the server motherboard to power down.

[0123] In one embodiment, when the processor executes a computer program, it further performs the following steps:

[0124] When the power supply normal signal of the power chip is pulled low, the power supply normal signal is continuously detected;

[0125] When the processor executes the computer program to send an access request to the power chip when the power chip's normal power supply signal is pulled low, the specific steps are as follows:

[0126] When the detected power supply signal is below a preset threshold for more than a preset time, an access request is sent to the power chip.

[0127] In one embodiment, the aforementioned power supply chips include multiple chips. When the processor executes the computer program to implement the step of sending an access request to the power supply chips, the following steps are specifically implemented:

[0128] Each power chip is polled sequentially to obtain its status information.

[0129] When a processor executes a computer program, it also performs the following steps:

[0130] If no preset key error information is found after acquiring the status information of each power chip for the second consecutive preset number of times, it is determined that the power supply normal signal of the power chip is being interfered with.

[0131] Generate log information indicating that the power chip did not malfunction;

[0132] When critical error messages are present, it is determined that the power chip has malfunctioned;

[0133] Send a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down and report the server motherboard to power down.

[0134] When the processor executes a computer program to implement the above-mentioned step of sending a command to the complex programmable logic device to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses, the complex programmable logic device specifically implements the following steps:

[0135] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down and reports the power down of the server motherboard.

[0136] In one embodiment, when the processor executes a computer program, it further performs the following steps:

[0137] When the baseboard management controller malfunctions, it transmits information about the abnormal operating state to the complex programmable logic device (CPL), so that the CPL controls whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0138] In one embodiment, when the processor executes a computer program, it further performs the following steps:

[0139] When a shutdown command is received, information about the abnormal operating state is transmitted to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0140] In one embodiment, the aforementioned server motherboard further includes a power supply module connected to a complex programmable logic device (CPLD). When the processor executes a computer program to implement the step of sending a command to the CPLD to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses, the specific steps are as follows:

[0141] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD). This allows the CPLD to shut down the power supply module via an enable signal, thereby powering down the server motherboard.

[0142] In one embodiment, the aforementioned substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

[0143] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When the computer program is executed by a processor, it performs the following steps: obtaining a power supply normal signal from a power chip of a complex programmable logic device; sending an access request to the power chip when the power supply normal signal of the power chip is pulled low; and sending an instruction to the complex programmable logic device to control the server motherboard to power down when there is no response from the power chip after a first preset number of consecutive accesses, so that the complex programmable logic device controls the server motherboard to power down.

[0144] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0145] When the power supply normal signal of the power chip is pulled low, the power supply normal signal is continuously detected;

[0146] When the computer program is executed by the processor to implement the above-mentioned step of sending an access request to the power chip when the power supply chip's normal power supply signal is pulled low, the specific steps are as follows:

[0147] When the detected power supply signal is below a preset threshold for more than a preset time, an access request is sent to the power chip.

[0148] In one embodiment, the aforementioned power supply chips include multiple components. When a computer program is executed by a processor to implement the step of sending an access request to the power supply chips, the following steps are specifically implemented:

[0149] Each power chip is polled sequentially to obtain its status information.

[0150] When a computer program is executed by a processor, the following steps are also performed:

[0151] If no preset key error information is found after acquiring the status information of each power chip for the second consecutive preset number of times, it is determined that the power supply normal signal of the power chip is being interfered with.

[0152] Generate log information indicating that the power chip did not malfunction;

[0153] When critical error messages are present, it is determined that the power chip has malfunctioned;

[0154] Send a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down and report the server motherboard to power down.

[0155] When the computer program is executed by the processor to implement the above-mentioned action of sending a command to the complex programmable logic device to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses, the complex programmable logic device specifically implements the following steps when controlling the power down step of the server motherboard:

[0156] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD), so that the CPLD controls the server motherboard to power down and reports the power down of the server motherboard.

[0157] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0158] When the baseboard management controller malfunctions, it transmits information about the abnormal operating state to the complex programmable logic device (CPL), so that the CPL controls whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0159] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0160] When a shutdown command is received, information about the abnormal operating state is transmitted to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

[0161] In one embodiment, the aforementioned server motherboard further includes a power supply module connected to a complex programmable logic device (CPLD). When a computer program is executed by a processor to implement the step of sending a command to the CPLD to power down the server motherboard when the power chip fails to respond after a first preset number of consecutive accesses, the specific steps are as follows:

[0162] When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device (CPLD). This allows the CPLD to shut down the power supply module via an enable signal, thereby powering down the server motherboard.

[0163] In one embodiment, the aforementioned substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

[0164] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0165] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0166] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for controlling the power-down of a server motherboard, characterized in that, The method is applied to a baseboard management controller, which is connected to a complex programmable logic device (CPL). The baseboard management controller and the CPL are respectively connected to a power supply chip. The baseboard management controller, the CPL, and the power supply chip are all located on the server motherboard. The method includes: Obtain a normal power supply signal from the power chip of the complex programmable logic device; When the power supply normal signal of the power chip is pulled low, an access request is sent to the power chip; When the power chip fails to respond after a first preset number of consecutive accesses, a command is sent to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device can control the server motherboard to power down.

2. The method according to claim 1, characterized in that, The method further includes: When the power supply normal signal of the power chip is pulled low, the power supply normal signal is continuously detected; When the power supply normal signal of the power chip is pulled low, sending an access request to the power chip includes: When the power supply normal signal is detected to be below a preset threshold for more than a preset time, an access request is sent to the power chip.

3. The method according to claim 1, characterized in that, The power supply chip includes multiple chips, and sending an access request to the power supply chip includes: Each power chip is polled sequentially to obtain the status information of each power chip; The method further includes: If no preset critical error information is found when the status information of each power chip is obtained for a second preset number of consecutive times, it is determined that the power supply normal signal of the power chip is being interfered with. Generate log information indicating that the power chip has not malfunctioned; When the aforementioned critical error message is present, it is determined that the power chip has malfunctioned; Send a command to the complex programmable logic device to control the server motherboard to power down, so that the complex programmable logic device controls the server motherboard to power down and reports that the server motherboard has powered down; When the power chip fails to respond after a first preset number of consecutive accesses, a command is sent to the complex programmable logic device (CPLD) to control the server motherboard to power down, so that the CPLD controls the server motherboard to power down, including: When the power chip fails to respond after the first preset number of consecutive accesses, a command to control the server motherboard to power down is sent to the complex programmable logic device, so that the complex programmable logic device controls the server motherboard to power down and reports that the server motherboard has powered down.

4. The method according to claim 1, characterized in that, The method further includes: When the baseboard management controller malfunctions, it transmits information about the abnormal operating state to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

5. The method according to claim 1, characterized in that, The method further includes: When a shutdown command is received, information about the abnormal operating state is transmitted to the complex programmable logic device (CPLD), so that the CPLD can control whether the server motherboard is powered down based on the power supply normal signal from the power chip.

6. The method according to claim 1, characterized in that, The server motherboard also includes a power supply module connected to the complex programmable logic device (CPLD). When the power chip fails to respond after a first preset number of consecutive accesses, a command is sent to the CPLD to power down the server motherboard, including: When the power chip fails to respond after the first preset number of consecutive accesses, a command to power down the server motherboard is sent to the complex programmable logic device, so that the complex programmable logic device controls the power supply module to power down by turning off its enable signal.

7. The method according to claim 1, characterized in that, The substrate management controller is connected to the complex programmable logic device via a bidirectional I2C link.

8. A server motherboard power-down control device, characterized in that, The device is applied to a baseboard management controller, which is connected to a complex programmable logic device (CPL). The baseboard management controller and the CPL are respectively connected to a power supply chip. The baseboard management controller, the CPL, and the power supply chip are all located on the server motherboard. The device includes: The acquisition module is used to acquire the normal power supply signal of the power chip from the complex programmable logic device; The access module is used to send an access request to the power chip when the power supply normal signal of the power chip is pulled low. The control module is used to send a command to the complex programmable logic device to control the server motherboard to power down when the power chip fails to respond after a first preset number of consecutive accesses, so that the complex programmable logic device can control the server motherboard to power down.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

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

Citation Information

Patent Citations

  • Server decoding card power-off control method and system, terminal and storage medium

    CN113419618A

  • Power supply control method of power supply circuit and related components

    CN114884021A