A server coordinated power on / off device, method, system and medium

By setting up the CPLD and the PWRGD port of the power management chip in the server, hardware-coordinated power-on and power-off between the main server and the pooled server is achieved, which solves the reliability and stability problems that BMC cannot guarantee and improves the reliability and stability of coordinated power-on and power-off of the server.

CN115509333BActive Publication Date: 2026-05-29INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-09-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In the existing technology, the reliability and stability of server coordinated power-on and power-off through the baseboard management controller (BMC) are insufficient, which causes the server to fail to coordinate power-on and power-off normally during operation and maintenance.

Method used

CPLDs are set up on both the main server and the pooled server. Direct signal interaction between the main server and the pooled server is achieved through GPIO communication and the PWRGD port of the power management chip, avoiding the involvement of the BMC and using hardware to coordinate power-on and power-off control.

Benefits of technology

It improves the reliability and stability of server power-on and power-off coordination, avoids the impact of BMC operation and maintenance on the power-on and power-off process, and ensures normal server operation and service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509333B_ABST
    Figure CN115509333B_ABST
Patent Text Reader

Abstract

The application discloses a server cooperative power-on and power-off device, method, system and medium, relates to the technical field of servers, and is used for realizing cooperative power-on and power-off between servers, aiming at the problem that the system power-on and power-off reliability and stability between servers realized through a BMC are insufficient at present, and providing a server cooperative power-on and power-off device, which establishes a communication connection between an existing main server CPLD and a pooled server CPLD, so that the main server CPLD and the pooled server CPLD can realize signal interaction without a BMC as a relay. The PWRGD end of a power management chip of the rest components of the server is connected with the CPLD and monitored by the CPLD, so that the CPLD can detect the power-on state of the server, and the BMC does not need to be used, thereby effectively solving the problem that the server cannot be cooperatively powered on and powered off when the BMC is in an operation and maintenance upgrade state, and improving the reliability and stability.
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 collaborative power-on / off device, method, system, and medium. Background Technology

[0002] With the development of cloud computing and big data technologies, data centers are facing an increasing volume of data. To increase the resource utilization of general-purpose servers and facilitate resource expansion, pooled server products have emerged, such as storage resource pooled servers and compute resource pooled servers. General-purpose servers can be flexibly paired with pooled servers via cables to achieve resource expansion. For server products with the above architecture, because pooled servers cannot work independently and can be regarded as components of the main server in the overall system, the timing control of the coordinated power-on and power-off of the entire system becomes particularly important.

[0003] Currently, the coordinated power-on / off between the main server and the pooled servers is achieved through the Baseboard Management Controller (BMC). However, as a crucial management unit of the server system, the BMC's main functions include server hardware monitoring and fault alarms, thermal speed control, power management, and firmware upgrades. Numerous maintenance operations are performed on the BMC, such as firmware upgrades. Since the BMC cannot coordinate power-on / off during these maintenance processes, the reliability and stability of the current coordinated power-on / off solution need improvement.

[0004] Therefore, those skilled in the art urgently need a server collaborative power-on / off device to solve the problem of insufficient reliability and stability of the current system power-on / off mechanism implemented through BMC between servers. Summary of the Invention

[0005] The purpose of this application is to provide a server collaborative power-on / off device, method, system, and medium to solve the problem of insufficient reliability and stability of current server-to-server power-on / off systems achieved through BMC.

[0006] To address the aforementioned technical problems, this application provides a server collaborative power-on / off device, comprising: a main server CPLD located at the main server and a pooled server CPLD located at the pooled server;

[0007] Communication connection between the master server CPLD and the pooled server CPLD;

[0008] The PWRGD terminals of the power management chips of the other components of the main server are connected to the CPLD of the main server, and the PWRGD terminals of the power management chips of the other components of the pooled server are connected to the CPLD of the pooled server.

[0009] Preferably, the communication connection between the master server CPLD and the pooling server CPLD includes:

[0010] The master server CPLD and the pooled server CPLD are connected via three independent GPIO communication channels, which are used to transmit power-on / power-off signals, master server power-on status, and pooled server power-on status, respectively.

[0011] To address the aforementioned technical problems, this application also provides a server collaborative power-on / off method, wherein a main server CPLD located at the main server and a pooled server CPLD located at the pooled server are communicatively connected, and the PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooled server are connected to the pooled server CPLD; applied to the main server CPLD side, including:

[0012] When a power-on signal is detected, the power-on signal is sent to the pooled server CPLD so that the pooled server CPLD can perform the power-on operation;

[0013] The pooling server power-on status is detected by the pooling server CPLD. If it is in the power-on state, the power-on operation is performed. Specifically, when the pooling server CPLD detects that the power management chip PWRGD of the pooling server and other components of the pooling server are all in the power-on state, the power-on status of the pooling server is set to the power-on state.

[0014] When a shutdown signal is detected, a shutdown operation is performed;

[0015] The power management chip PWRGD of the main server and other components of the main server is detected. If they are all in the power-off state, a shutdown signal is sent to the pooled server CPLD, and the power-on state of the main server is set to the power-off state so that the pooled server CPLD can perform a shutdown operation.

[0016] Preferred options also include:

[0017] After sending the power-on signal to the pooling server CPLD, if it is detected that the power-on status of the pooling server returned by the pooling server CPLD is not in the powered-on state, the abnormal power-on status of the pooling server is latched into the register.

[0018] After the shutdown operation is performed, if the power-on state of the power management chip PWRGD terminal of the main server and other components of the main server is not detected to be the power-off state, the abnormal shutdown state of the main server is latched into the register.

[0019] Preferably, the power-on or power-off signal is transmitted between the main server CPLD and the pooled server CPLD using a transparent transmission method.

[0020] To address the aforementioned technical problems, this application also provides a server collaborative power-on / off method, wherein a main server CPLD located at the main server and a pooled server CPLD located at the pooled server are communicatively connected, and the PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooled server are connected to the pooled server CPLD; applied to the pooled server CPLD side, including:

[0021] Upon receiving a power-on signal from the master server CPLD, perform a power-on operation;

[0022] The power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server is detected. If they are all in the powered-on state, the power-on status of the pooled server is set to the powered-on state so that the main server CPLD can perform the power-on operation.

[0023] When a shutdown signal sent by the master server CPLD is detected, check the power-on status of the master server returned by the master server CPLD;

[0024] If the power is off, a shutdown operation is performed; specifically, when the main server CPLD detects that the power management chip PWRGD terminals of the main server and all other components of the main server are in a power-off state, the main server power-on state is set to the power-off state.

[0025] To address the aforementioned technical problems, this application also provides a server collaborative power-on / off device, wherein a main server CPLD located at the main server and a pooled server CPLD located at the pooled server are communicatively connected, and the PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooled server are connected to the pooled server CPLD; comprising:

[0026] The power-on signal sending module is used to send a power-on signal to the pooled server CPLD when a power-on signal is detected, so that the pooled server CPLD can perform a power-on operation;

[0027] The main server power-on module is used to detect the power-on status of the pooled server returned by the pooled server CPLD. If it is in the power-on state, the power-on operation is performed. Specifically, when the pooled server CPLD detects that the power management chip PWRGD of the pooled server and other components of the pooled server are all in the power-on state, the power-on status of the pooled server is set to the power-on state.

[0028] The main server shutdown module is used to perform a shutdown operation when a shutdown signal is detected.

[0029] The power-off signal sending module is used to detect the power-on status of the power management chip PWRGD of the main server and other components of the main server. If they are all in the power-off state, the power-off signal is sent to the pooled server CPLD, and the power-on status of the main server is set to the power-off state so that the pooled server CPLD can perform the power-off operation.

[0030] Preferred options also include:

[0031] The abnormal state latching module is used to latch the abnormal power-on state of the pooled server to a register if the power-on state of the pooled server returned by the CPLD is not "powered on" after the power-on signal is sent to the pooled server CPLD; and to latch the abnormal power-off state of the main server to a register if the power-on state of the power management chip PWRGD of the main server and other components of the main server is not "power-off" after the power-off operation is performed.

[0032] To address the aforementioned technical problems, this application also provides a server collaborative power-on / off device, wherein a main server CPLD located at the main server and a pooled server CPLD located at the pooled server are communicatively connected, and the PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooled server are connected to the pooled server CPLD; comprising:

[0033] The pooled server power-on module is used to perform a power-on operation when it receives a power-on signal sent by the master server CPLD.

[0034] The power-on status setting module is used to detect the power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server. If they are all in the power-on state, the power-on status of the pooled server is set to the power-on state so that the main server CPLD can perform the power-on operation.

[0035] The power-on status detection module is used to detect the power-on status of the main server returned by the main server CPLD when a power-off signal sent by the main server CPLD is detected.

[0036] The pooled server shutdown module is used to perform a shutdown operation if the server is in a powered-off state. Specifically, when the main server CPLD detects that the power management chip PWRGD terminals of the main server and other components of the main server are all in a powered-off state, the main server's power-on state is set to the powered-off state.

[0037] To address the aforementioned technical problems, this application also provides a server collaborative power-on / off system, comprising:

[0038] Memory, used to store computer programs;

[0039] A processor is used to implement the steps of the server-coordinated power-on / off method described above when executing computer programs.

[0040] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the server collaborative power-on / off method described above.

[0041] This application provides a server collaborative power-on / off device. By establishing a communication connection between a main server CPLD (Power Management Controller) responsible for powering on the main server and a pooled server CPLD responsible for powering on the pooled servers, signal exchange between the main server CPLD and the pooled server CPLD can be achieved without a BMC (Power Management Controller) as an intermediary. Furthermore, the PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD and monitored by it. Therefore, the main server CPLD can detect the power-on status of the main server without using a BMC. Similarly, the pooled server CPLD can detect the power-on status of the pooled server by monitoring the PWRGD terminals of the power management chips of the remaining components of the pooled server, also without BMC involvement. Therefore, through the established communication connection, the main server CPLD and the pooled server CPLD can transmit power-on and power-off signals as well as the power-on status of the main and pooled servers, enabling system power-on / off between servers without BMC involvement. This effectively solves the problem of server collaborative power-on / off being impossible when the BMC is under maintenance or upgrade, improving reliability and stability. In addition, since the power-on and power-off signals and the power-on status of the server are all implemented by simple level signals, this collaborative power-on and power-off control based on CPLD and hardware signals has higher reliability and stability than the pure software implementation of BMC, further ensuring the normal operation of collaborative power-on and power-off between servers.

[0042] The server collaborative power-on / off method, apparatus, system, and computer-readable storage medium provided in this application correspond to the aforementioned apparatus and have the same effect. Attached Figure Description

[0043] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This invention provides a structural diagram of a server collaborative power-on / off device.

[0045] Figure 2 A flowchart of a server collaborative power-on / off method applied to the CPLD side of the main server provided by the present invention;

[0046] Figure 3 A flowchart of a server collaborative power-on / off method applied to the CPLD side of a pooled server provided by the present invention;

[0047] Figure 4 A flowchart of a server collaborative power-on method provided by the present invention;

[0048] Figure 5 A flowchart of a server collaborative power-off method provided by the present invention;

[0049] Figure 6 A structural diagram of a server collaborative power-on / off device applied to the CPLD side of the main server provided by the present invention;

[0050] Figure 7 This invention provides a structural diagram of a server collaborative power-on / off device applied to the CPLD side of a pooled server;

[0051] Figure 8 This invention provides a structural diagram of a server collaborative power-on / off system. Detailed Implementation

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0053] The core of this application is to provide a server collaborative power-on / off device, method, system, and medium.

[0054] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0055] In current server applications, due to the limited resources of the main server, resource expansion is achieved through devices such as pooled servers. However, because pooled servers cannot operate independently, they can be considered components of the main server within the overall system. Taking a GPU pooled server as an example, when the entire system powers on, the GPU pooled server must be powered on first, followed by the main server; otherwise, the main server will not be able to recognize PCIe devices. Conversely, when the system powers off, the main server must be powered off first, followed by the GPU pooled server; otherwise, system crashes may occur.

[0056] PCIE: Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard.

[0057] I2C bus: A simple, bidirectional, two-wire synchronous serial bus. It requires only two wires to transmit information between devices connected to the bus.

[0058] Currently, during coordinated power-on, the master server BMC sends a power-on command to the pooled server BMC via the I2C bus and continuously polls the power-on status of the pooled servers. Only after ensuring the pooled servers are powered on does the master server perform the power-on operation. During coordinated power-off, the master server first performs a power-off action. After detecting the master server's power-off, the BMC sends a power-off command to the pooled server BMC via I2C, and the pooled server performs the power-off operation.

[0059] Specifically, the power-on and power-off operations of the servers are implemented by Complex Programmable Logic Devices (CPLDs) located on each server. The CPLD responsible for powering on and off the main server is called the main server CPLD, and the CPLD responsible for powering on and off the pooled servers is called the pooled server CPLD. There is no connection between the main server CPLD and the pooled server CPLD; the coordinated power-on and power-off of the servers is achieved through unified coordination by the BMC (Block Controller).

[0060] However, the aforementioned software-based collaborative power-on / off scheme can cause abnormal power-on / off of the entire machine due to BMC malfunctions or communication failures between the two management units, thereby affecting the normal operation of the server.

[0061] To address the aforementioned problems, this application provides a server collaborative power-on / off device, such as... Figure 1 As shown, it includes: a main server CPLD12 located at the main server 11 and a pooling server CPLD14 located at the pooling server 13;

[0062] Communication connection between the master server CPLD12 and the pooling server CPLD14;

[0063] The PWRGD terminals of the power management chips 15 (power management chip AE) of the other components of the main server 11 are connected to the main server CPLD 12, and the PWRGD terminals of the power management chips 15 (power management chip AE) of the other components of the pooled server 13 are connected to the pooled server CPLD 14.

[0064] PWRGD pin: Also known as the PWRGD terminal, it outputs a high or low level signal to indicate whether the corresponding device is powered on.

[0065] The PWRGD pins of the power management chips 15 of the remaining components of each server are connected to the corresponding CPLDs and monitored by the CPLDs. This allows the CPLDs to obtain the power-on status of the servers without the need for a BMC (strictly speaking, in the current architecture, the CPLD does not need to obtain the power-on status of the servers; the BMC only needs to send corresponding instructions after obtaining the power-on status, and the CPLD can then perform power-on and power-off operations according to the instructions sent by the BMC). Generally speaking, taking the main server 11 as an example, the main server 11 is considered to be powered on only when the main server 11 and all its other components are in a powered-on state.

[0066] Additionally, it should be noted that this embodiment does not limit the communication connection method between the main server CPLD12 and the pooling server CPLD14. It can be a wired connection or a wireless connection, and the communication protocol used is not limited, nor is the type of communication interface limited. The purpose is to establish a communication connection between the main server CPLD12 and the pooling server CPLD14, so that the two can transmit power-on signals and power-off signals, as well as monitor the power-on status of the main server 11 and the pooling server 13 without the aid of BMC.

[0067] However, this embodiment provides a preferred implementation: the main server CPLD12 and the pooling server CPLD14 establish a communication connection through a general-purpose input / output (GPIO) port.

[0068] Correspondingly, the power-on signal, power-off signal, and power-on status of each server are all level signals.

[0069] In one possible implementation, the power-on signal is the PowerCtrl signal, which is pulled low when the power button is pressed or when the BMC receives a power-on command. The power-off signal is the PowerCtrl signal, which is pulled low for 4 seconds when the power button is pressed for 4 seconds or when the BMC receives a power-off command. That is, transmitting the power-on signal involves pulling the corresponding GPIO port's level signal low, and transmitting the power-off signal involves pulling the GPIO port's level signal low for 4 seconds.

[0070] Similarly, the power-on and power-off status of the server can be the same as that of the PWRGD terminal of the power management chip 15. Different high and low levels indicate whether the server is powered on, that is, the CPLD pulls the level signal at the corresponding GPIO port low or high.

[0071] This embodiment provides a preferred solution that transforms the traditional software-based server collaborative power-on / off scheme, which relies on software polling and command issuance by a BMC, into a hardware-based scheme that uses GPIO to transmit high and low level signals between two CPLDs. Compared to the traditional software implementation, this hardware-based solution offers higher reliability and is less prone to failures that could prevent the server from coordinating power-on / off, thus improving server reliability.

[0072] Similarly, this application is not limited to the number of communication connections established between the main server CPLD12 and the pooling server CPLD14, but provides a preferred implementation scheme: the main server CPLD12 and the pooling server CPLD14 are connected by three independent GPIO communication connections, which are used to transmit power-on / power-off signals, the power-on status of the main server 11 and the power-on status of the pooling server 13, respectively.

[0073] As described in the above embodiments, the power-on / power-off signals, the power-on status of the main server 11, and the power-on status of the pooled server 13 are all transmitted as high or low level signals. These signals are transmitted between the two CPLDs via GPIO ports. By detecting the level status of the corresponding GPIO ports, the CPLDs can determine the power-on status of the main server 11 and the pooled server 13, and whether a power-on or power-off operation is required. Furthermore, the three independent GPIO ports ensure that these three signals do not interfere with each other, facilitating the smooth implementation of the coordinated power-on / off scheme provided in this application and further improving reliability.

[0074] This application provides a server collaborative power-on / off device. Based on existing main server CPLD and pooled server CPLDs, a communication connection is added between them. The PWRGD terminals of the power management chips of the remaining components of each server are connected to their respective CPLDs. This allows the CPLDs to determine the current power-on status of the server by monitoring the PWRGD terminals. Based on this connection, the main server CPLD and pooled server CPLDs can monitor and transmit the server's power-on status and power-on / off signals without a BMC, thus meeting the communication requirements for server power-on / off. Therefore, collaborative power-on / off of the main server and pooled servers can be achieved through hardware using only two CPLDs. Compared to current software-based solutions using a BMC for collaborative server power-on / off, this solution is not affected by BMC maintenance, and the hardware implementation is more stable than the software implementation, greatly improving the reliability of the server collaborative power-on / off solution. This helps protect the server from downtime due to abnormal power-on / off, extending the server's lifespan.

[0075] In view of the server collaborative power-on / off device provided in the above embodiments, this embodiment also provides a server collaborative power-on / off method, applied to the above-mentioned device, which is divided into a main server CPLD and a pooled server CPLD on both sides. When applied to the main server CPLD side, as follows... Figure 2 As shown, this method includes:

[0076] S21: When a power-on signal is detected, the power-on signal is sent to the pooled server CPLD.

[0077] The purpose of step S21 is to facilitate the CPLD pooled server to perform the boot operation.

[0078] S22: Check if the power-on status of the pooled server returned by the pooled server CPLD is "powered on". If so, proceed to step S23.

[0079] S23: Perform the power-on operation.

[0080] Specifically, when the pooling server CPLD detects that the power management chip PWRGD of the pooling server and all other components of the pooling server are in a powered-on state, the power-on state of the pooling server is set to the powered-on state.

[0081] S24: When a shutdown signal is detected, perform a shutdown operation.

[0082] S25: Detect whether the power management chip PWRGD of the main server and other components of the main server is in a power-off state. If so, proceed to step S26.

[0083] S26: Send a power-off signal to the pooled server CPLD and set the main server's power-on status to the power-off state.

[0084] The purpose of step S26 is to cause the pooled server CPLD to perform a shutdown operation.

[0085] Furthermore, this embodiment also provides a preferred implementation scheme, such as... Figure 2 As shown, the above method also includes:

[0086] Step S22 also includes: if not, proceed to step S27.

[0087] S27: Latch pool server boot abnormal status to register.

[0088] Step S25 also includes: if not, proceed to step S28.

[0089] S28: Latch the master server shutdown abnormal state to the register.

[0090] The above embodiments lock the abnormal state into a register when the power-on failure of the main server or the pooled server causes the entire server collaborative power-on process to fail. This allows subsequent maintenance personnel to obtain abnormal power-on information through the register and troubleshoot the fault.

[0091] Meanwhile, there is another possible implementation scheme in which the register is connected to the BMC, so that the BMC can obtain the abnormal state when the coordinated power-on or power-off fails and take corresponding actions.

[0092] Similarly, when the application is used on the pooled server side, such as Figure 3 As shown, this method includes:

[0093] S31: When a power-on signal is received from the master server CPLD, a power-on operation is performed.

[0094] S32: Detect the power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server. If they are all in the power-on state, then set the power-on status of the pooled server to the power-on state.

[0095] The purpose is to enable the main server CPLD to perform the boot operation.

[0096] S33: When a shutdown signal sent by the master server CPLD is detected, check the master server power-on status returned by the master server CPLD.

[0097] S34: If the device is already powered off, perform a shutdown operation.

[0098] Specifically, when the main server CPLD detects that the power management chip PWRGD of the main server and all other components of the main server are in a powered-off state, the main server power-on state is set to the powered-off state.

[0099] Additionally, it should be noted that when transmitting power-on and power-off signals between the main server CPLD and the pooled server CPLD, a preferred implementation method is through transparent transmission. Transparent transmission, also known as pass-through transmission, is a method that, regardless of the content of the transmitted services, only transmits the content from the source address to the destination address without altering the service data, thereby further improving the reliability of server-coordinated power-on and power-off.

[0100] This application provides a server collaborative power-on / off method, offering a control scheme for the aforementioned server collaborative power-on / off device. When the server is collaboratively powered on, the master server CPLD first receives a power-on signal and sends it to the pooled server CPLD. Upon receiving the power-on signal, the pooled server CPLD controls the pooled server to power on and detects the power-on status. After successful power-on, it updates the power-on status so that the master server CPLD can detect it. Once the master server CPLD detects the pooled server's power-on, it controls the master server to power on, thus completing the entire collaborative power-on process. The collaborative power-off process is similar, achieved through a communication connection between the two CPLDs, using hardware to complete the collaborative power-off, which offers higher stability compared to software implementation. Furthermore, this method does not require the involvement of the BMC (Browser Control Center), thus preventing the collaborative power-on / off from becoming unavailable due to frequent BMC maintenance operations, ensuring normal server operation, and further improving the reliability of the collaborative power-on / off scheme.

[0101] The above embodiments illustrate the coordinated power-on / off scheme from both the main server CPLD and the pooled server CPLD. To more clearly illustrate the server coordinated power-on / off method provided in this application, this embodiment, in conjunction with examples, further explains the entire process by dividing it into a power-on process and a power-off process:

[0102] 1. Power-on process (e.g.) Figure 4 (as shown);

[0103] S41: The main server CPLD has received a power-on signal.

[0104] S42: The master server CPLD will pass the power-on signal to the pooled server CPLD.

[0105] S43: After receiving the power-on signal, the pooled server CPLD performs a power-on operation on the pooled server.

[0106] S44: The pooling server CPLD detects and updates the power-on status of the pooling server.

[0107] S45: The main server CPLD checks whether the pooled server is powered on. If yes, proceed to step S46; otherwise, proceed to step S47.

[0108] S46: The master server CPLD performs a power-on operation on the master server.

[0109] S47: Latch the abnormal power-on state to a register.

[0110] 2. Power-off process (e.g.) Figure 5 (as shown);

[0111] S51: The main server CPLD received a shutdown signal.

[0112] S52: The master server CPLD performs a shutdown operation on the master server.

[0113] S53: The main server CPLD detects whether the main server's power-on status is "power-off". If yes, proceed to step S54; otherwise, proceed to step S55.

[0114] S54: The master server CPLD will pass the shutdown signal to the pooled server CPLD.

[0115] S55: Latch the shutdown exception state to the register.

[0116] S56: After receiving the shutdown signal, the pooled server CPLD performs a shutdown operation on the pooled server.

[0117] S57: The pooled server CPLD detects and updates the power-on status of the pooled server.

[0118] The above embodiments have described a server collaborative power-on / off method in detail. This application also provides an embodiment of a server collaborative power-on / off device. It should be noted that this application describes the device embodiment from two perspectives: one based on functional modules and the other based on hardware.

[0119] From the perspective of functional modules, this embodiment provides a server collaborative power-on / off device, which is also divided into two types: one applied to the main server CPLD side and the other applied to the pooled server CPLD side. The device applied to the main server CPLD side is as follows: Figure 6 As shown, it includes:

[0120] The power-on signal sending module 61 is used to send a power-on signal to the pooled server CPLD when a power-on signal is detected, so that the pooled server CPLD can perform a power-on operation;

[0121] The main server power-on module 62 is used to detect the power-on status of the pooled server returned by the pooled server CPLD. If it is in the power-on state, the power-on operation is performed. Specifically, when the pooled server CPLD detects that the power management chip PWRGD of the pooled server and other components of the pooled server are all in the power-on state, the power-on status of the pooled server is set to the power-on state.

[0122] The main server shutdown module 63 is used to perform a shutdown operation when a shutdown signal is detected.

[0123] The power-off signal sending module 64 is used to detect the power-on status of the power management chip PWRGD of the main server and other components of the main server. If they are all in the power-off state, the power-off signal is sent to the pooled server CPLD and the power-on status of the main server is set to the power-off state so that the pooled server CPLD can perform the power-off operation.

[0124] Preferred options also include:

[0125] The abnormal state latching module is used to latch the abnormal power-on state of the pooled server to a register if the power-on state of the pooled server returned by the CPLD is not "powered on" after the power-on signal is sent to the pooled server CPLD; and to latch the abnormal power-off state of the main server to a register if the power-on state of the power management chip PWRGD of the main server and other components of the main server is not "power-off" after the power-off operation is performed.

[0126] Devices used on the CPLD side of pooled servers, such as Figure 7 As shown, it includes:

[0127] The pooled server power-on module 71 is used to perform a power-on operation when it receives a power-on signal sent by the master server CPLD;

[0128] The power-on status setting module 72 is used to detect the power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server. If they are all in the power-on state, the power-on status of the pooled server is set to the power-on state so that the main server CPLD can perform the power-on operation.

[0129] The power-on status detection module 73 is used to detect the power-on status of the main server returned by the main server CPLD when a power-off signal sent by the main server CPLD is detected.

[0130] The pooled server shutdown module 74 is used to perform a shutdown operation if the server is in a power-off state. Specifically, when the main server CPLD detects that the power management chip PWRGD terminals of the main server and other components of the main server are all in a power-off state, the main server power-on state is set to the power-off state.

[0131] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0132] This embodiment provides a server collaborative power-on / off device, which is applied to both the main server CPLD side and the pooled server CPLD side. When the servers are collaboratively powered on, the main server CPLD's power-on signal sending module first receives the power-on signal and sends it to the pooled server CPLD. Upon receiving the power-on signal, the pooled server CPLD, through its power-on module, controls the pooled server to power on and uses a power-on status detection module to detect the power-on status and update it after successful power-on for monitoring by the main server CPLD. The main server CPLD, after detecting the pooled server's power-on through its power-on module, controls the main server to power on, thus completing the entire collaborative power-on process. The collaborative power-off process is similar, using a hardware-based communication connection between the two CPLDs, which offers higher stability compared to software implementations. Furthermore, this process does not require BMC involvement, thus preventing the collaborative power-on / off from becoming unavailable due to frequent BMC maintenance operations, ensuring normal server operation and further improving the reliability of the collaborative power-on / off solution.

[0133] Figure 8 A structural diagram of a server collaborative power-on / off system provided in another embodiment of this application is shown below. Figure 8 As shown, a server collaborative power-on / off system includes: a memory 80 for storing computer programs;

[0134] The processor 81 is used to execute a computer program to implement the steps of a server coordinated power-on / off method as described in the above embodiment.

[0135] The server collaborative power-on / off system provided in this embodiment may include, but is not limited to, a main server CPLD and a pooled server CPLD.

[0136] The processor 81 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 81 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 81 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 81 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 81 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.

[0137] The memory 80 may include one or more computer-readable storage media, which may be non-transitory. The memory 80 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 80 is used to store at least the following computer program 801, which, after being loaded and executed by the processor 81, is capable of implementing the relevant steps of a server collaborative power-on / off method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 80 may also include an operating system 802 and data 803, and the storage method may be temporary or permanent storage. The operating system 802 may include Windows, Unix, Linux, etc. The data 803 may include, but is not limited to, a server collaborative power-on / off method.

[0138] In some embodiments, a server-coordinated power-on / off system may further include a display screen 82, an input / output interface 83, a communication interface 84, a power supply 85, and a communication bus 86.

[0139] Those skilled in the art will understand that Figure 8 The structure shown does not constitute a limitation on a server collaborative power-on / off system and may include more or fewer components than shown.

[0140] This application provides a server collaborative power-on / off system, including a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a server collaborative power-on / off method.

[0141] This embodiment provides a server collaborative power-on / off system. The processor executes a computer program stored in memory. When the servers are collaboratively powered on, the master server CPLD first receives a power-on signal and sends it to the pooled server CPLD. Upon receiving the power-on signal, the pooled server CPLD controls the pooled server to power on and detects the power-on status. After successful power-on, it updates the power-on status so that the master server CPLD can detect it. Once the master server CPLD detects the pooled server's power-on, it controls the master server to power on, thus completing the entire collaborative power-on process. The collaborative power-off process works similarly, using a hardware-based communication connection between the two CPLDs, which offers higher stability compared to software implementations. Furthermore, this scheme does not require the involvement of the BMC (Browser Control Center), thus preventing unavailability of collaborative power-on / off due to frequent BMC maintenance operations, ensuring normal server operation, and further improving the reliability of the collaborative power-on / off solution.

[0142] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiments (which may be a method corresponding to the main server CPLD side, a method corresponding to the pooled server CPLD side, or a method corresponding to both the main server CPLD side and the pooled server CPLD side).

[0143] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part 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 executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0144] This embodiment provides a computer-readable storage medium. When the computer program stored therein is executed, it enables collaborative power-on of servers. First, the master server CPLD receives a power-on signal and sends it to the pooled server CPLD. Upon receiving the power-on signal, the pooled server CPLD controls the pooled server to power on and detects the power-on status. After successful power-on, it updates the power-on status so that the master server CPLD can detect it. Once the master server CPLD detects the pooled server's power-on, it controls the master server to power on, thus completing the entire collaborative power-on process. Collaborative power-off of servers follows the same principle, achieved through a communication connection between the two CPLDs in hardware, offering higher stability compared to software implementations. Furthermore, this scheme eliminates the need for a BMC (Browser Control Center), preventing unavailability during collaborative power-on due to frequent BMC maintenance operations, ensuring normal server operation, and further improving the reliability of the collaborative power-on scheme.

[0145] The foregoing has provided a detailed description of a server collaborative power-on / off device, method, system, and medium provided in this application. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0146] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A server collaborative power-on / off method, characterized in that, The main server CPLD located on the main server communicates with the pooling server CPLD located on the pooling server. The PWRGD terminals of the power management chips of the other components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the other components of the pooling server are connected to the pooling server CPLD. Applied to the CPLD side of the main server, including: When a power-on signal is detected, the power-on signal is sent to the pooled server CPLD so that the pooled server CPLD can perform a power-on operation; The power-on status of the pooled server returned by the pooled server CPLD is detected. If it is in a powered-on state, the power-on operation is performed. Specifically, when the pooled server CPLD detects that the power management chip PWRGD terminals of the pooled server and all other components of the pooled server are in a powered-on state, the power-on status of the pooled server is set to powered-on state. When a shutdown signal is detected, a shutdown operation is performed; The power-on status of the power management chip PWRGD of the main server and other components of the main server is detected. If all are in the power-off state, the shutdown signal is sent to the pooled server CPLD, and the power-on status of the main server is set to the power-off state so that the pooled server CPLD can perform the shutdown operation.

2. The server collaborative power-on / off method according to claim 1, characterized in that, Also includes: After the power-on signal is sent to the pooling server CPLD, if it is detected that the power-on status of the pooling server returned by the pooling server CPLD is not in the powered-on state, the abnormal power-on status of the pooling server is latched into the register. After the shutdown operation is performed, if it is detected that the power-on state of the power management chip PWRGD terminal of the main server and the other components of the main server is not the power-off state, the abnormal shutdown state of the main server is latched into the register.

3. The server collaborative power-on / off method according to claim 1, characterized in that, The power-on signal or power-off signal is transmitted between the main server CPLD and the pooled server CPLD in a transparent manner.

4. A server collaborative power-on / off method, characterized in that, The main server CPLD located on the main server communicates with the pooling server CPLD located on the pooling server. The PWRGD terminals of the power management chips of the other components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the other components of the pooling server are connected to the pooling server CPLD. Applied to the CPLD side of the pooled server, including: When a power-on signal is received from the main server CPLD, a power-on operation is performed; The power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server is detected. If they are all in the powered-on state, the power-on status of the pooled server is set to the powered-on state so that the main server CPLD can perform the power-on operation. When a shutdown signal sent by the master server CPLD is detected, the power-on status of the master server returned by the master server CPLD is detected; If the power is off, a shutdown operation is performed; wherein, when the main server CPLD detects that the power management chip PWRGD terminals of the main server and all other components of the main server are in a power-off state, the power-on state of the main server is set to the power-off state.

5. A server collaborative power-on / off device, characterized in that, The main server CPLD located on the main server communicates with the pooling server CPLD located on the pooling server. The PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooling server are connected to the pooling server CPLD. This includes: A power-on signal sending module is used to send a power-on signal to the pooled server CPLD when a power-on signal is detected, so that the pooled server CPLD can perform a power-on operation; The main server power-on module is used to detect the power-on status of the pooled server returned by the pooled server CPLD. If it is in a power-on state, the power-on operation is performed. Specifically, when the pooled server CPLD detects that the power management chip PWRGD terminals of the pooled server and all other components of the pooled server are in a power-on state, the power-on status of the pooled server is set to the power-on state. The main server shutdown module is used to perform a shutdown operation when a shutdown signal is detected. The power-off signal sending module is used to detect the power-on status of the power management chip PWRGD terminal of the main server and other components of the main server. If all are in the power-off state, the power-off signal is sent to the pooled server CPLD, and the power-on status of the main server is set to the power-off state so that the pooled server CPLD can perform the power-off operation.

6. A server collaborative power-on / off device, characterized in that, The main server CPLD located on the main server communicates with the pooling server CPLD located on the pooling server. The PWRGD terminals of the power management chips of the remaining components of the main server are connected to the main server CPLD, and the PWRGD terminals of the power management chips of the remaining components of the pooling server are connected to the pooling server CPLD. This includes: The pooled server power-on module is used to perform a power-on operation when it receives a power-on signal sent by the main server CPLD; The power-on status setting module is used to detect the power-on status of the pooled server and the power management chip PWRGD of the other components of the pooled server. If they are all in the power-on state, the power-on status of the pooled server is set to the power-on state so that the main server CPLD can perform the power-on operation. The power-on status detection module is used to detect the power-on status of the main server returned by the main server CPLD when a power-off signal sent by the main server CPLD is detected. A pooled server shutdown module is used to perform a shutdown operation if the server is in a powered-off state; wherein, when the main server CPLD detects that the power management chip PWRGD terminals of the main server and all other components of the main server are in a powered-off state, the main server power-on state is set to a powered-off state.

7. A server collaborative power-on / off system, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the server coordinated power-on / off method as described in any one of claims 1 to 4 when executing the computer program.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the server coordinated power-on / off method as described in any one of claims 1 to 4.