Server power supply method and device, server, electronic equipment and storage medium
Patent Information
- Application Number
- CN202411463353.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2044-10-18
AI Technical Summary
[0005]本申请提供一种服务器供电方法、装置、服务器、电子设备及存储介质,以解决相关技术可能使服务器出现电源供应器长时间得不到正常配置的情况,导致服务器存在断电风险等缺陷
[0049] This application provides a server power supply method, apparatus, server, electronic device, and storage medium. The method includes: acquiring the server's power supply requirements; selecting power supplies to be combined from a target power supply group based on the server's power supply requirements; wherein the target power supply group includes power supplies with various power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the server's power supply requirements; and supplying power to the server based on the target power supply. The method provided above flexibly combines power supplies with different power supply capabilities to supply power to the server, avoiding power supply disruptions due to a shortage of any type of power supply, and thus preventing situations where the server power supply cannot be properly configured for extended periods, thereby improving the reliability of server power supply.
Smart Images

Figure CN119322557B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server configuration technology, and in particular to a server power supply method, device, server, electronic device and storage medium. Background Technology
[0002] Currently, servers are powered by PC power supply units (PSUs). To prevent a single power supply failure from affecting the server's normal power supply, multiple power supplies are often installed on the server to provide backup power.
[0003] In related technologies, multiple power supplies of the same manufacturer, model and power supply capacity are usually used as the power source. When any power supply fails, the backup power supply provides continuous power supply and the failed power supply is replaced with a new power supply.
[0004] However, when a certain type of power supply is out of stock, it is necessary to find power supplies from other manufacturers that have the same power supply capabilities and characteristics. During the search, the power supply capabilities and characteristics need to be verified, which will consume a lot of time and effort. This may result in the server power supply not being properly configured for a long time, leading to the risk of server power outage. Summary of the Invention
[0005] This application provides a server power supply method, device, server, electronic device, and storage medium to solve the defects of related technologies, such as the server's power supply not being properly configured for a long time, resulting in the risk of power outage.
[0006] The first aspect of this application provides a server power supply method, including:
[0007] Obtain the server's power requirements;
[0008] Based on the power supply requirements of the server, power supplies to be combined are selected from the target power supply group; wherein, the target power supply group includes power supplies with multiple power supply capabilities;
[0009] The power supplies to be combined are connected in combination to obtain a target power supply that meets the power supply requirements of the server.
[0010] Power is supplied to the server based on the target power supply.
[0011] In one optional implementation, the step of selecting power supplies to be combined from the target power supply group based on the server's power supply requirements includes:
[0012] Obtain the power supply value of each power supply in the target power supply group;
[0013] Based on the power supply values of each power supply, several sets of power supply combinations to be verified that meet the power supply requirements of the server are determined.
[0014] For any of the power supply combinations to be verified, obtain the register information of each power supply unit to be verified in the power supply combination to be verified.
[0015] Based on the register information of each power supply to be combined and verified, determine the public key and private key of each power supply to be combined and verified;
[0016] Based on the public key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply of the same manufacturer and model.
[0017] Based on the private key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply that has passed the verification of the same power supply characteristics;
[0018] If it is determined that each of the power supplies to be combined for verification is a power supply of the same manufacturer and model or a power supply that has passed the verification of the same power supply characteristics, the state detection of the power supply combination to be verified is performed to obtain the state detection result of the power supply combination to be verified.
[0019] If the status detection result of the power supply combination to be verified is normal, the power supply to be combined and verified in the power supply combination to be verified shall be used as the power supply to be combined.
[0020] In an optional implementation, the method further includes:
[0021] Obtain the power source for each power supply in the server;
[0022] Based on the power source of each power supply, the power supplies are grouped to obtain several candidate power supply groups;
[0023] Based on the application scenario of the server, a target power supply group is selected from the several candidate power supply groups;
[0024] Among them, the power supplies in the same candidate power supply group have the same power source.
[0025] In one optional implementation, the step of combining the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server includes:
[0026] Send connection command to the power communication pairing device;
[0027] In response to the connection command, the power communication pairing device establishes a combined connection between the power communication units of the power supplies to be combined, thereby obtaining a target power supply that meets the power supply requirements of the server.
[0028] In an optional implementation, the method further includes:
[0029] Combination instructions are sent sequentially to the host communication units of each of the power supplies to be combined, so as to inform each of the combination information of the power supplies to be combined;
[0030] The power supply unit to be combined includes the power supply communication unit and the host communication unit.
[0031] In an optional implementation, the method further includes:
[0032] In the event of a failure of any power supply in the target power supply, the power supply communication units of all power supplies in the target power supply shall be disabled to prevent all power supplies in the target power supply from supplying power to the server.
[0033] The power supplies to be combined are re-screened in the target power supply group to obtain new target power supplies;
[0034] The server is powered based on the new target power supply.
[0035] A second aspect of this application provides a server power supply device, comprising:
[0036] The acquisition module is used to acquire the server's power requirements;
[0037] A filtering module is used to filter power supplies to be combined in a target power supply group according to the power supply requirements of the server; wherein, the target power supply group includes power supplies with multiple power supply capabilities.
[0038] A combination module is used to combine and connect the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server.
[0039] A power supply module is used to supply power to the server based on the target power supply.
[0040] A third aspect of this application provides a server, comprising: a host unit, a target power supply group, and a power communication pairing device; the target power supply group includes power supplies with multiple power supply capabilities;
[0041] The host end, based on the method described in the first aspect above and various possible designs of the first aspect, selects power supplies to be combined in the target power supply group and controls the power communication pairing device.
[0042] The power communication pairing device is used to combine and connect the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server.
[0043] A fourth aspect of this application provides an electronic device, comprising: at least one processor and a memory;
[0044] The memory stores computer-executed instructions;
[0045] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method described in the first aspect above and various possible designs of the first aspect.
[0046] The fifth aspect of this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the method described in the first aspect above and various possible designs of the first aspect.
[0047] The sixth aspect of this application provides a computer program product including computer instructions for causing a computer to perform the methods described in the first aspect above and various possible designs of the first aspect.
[0048] The technical solution of this application has the following advantages:
[0049] This application provides a server power supply method, apparatus, server, electronic device, and storage medium. The method includes: acquiring the server's power supply requirements; selecting power supplies to be combined from a target power supply group based on the server's power supply requirements; wherein the target power supply group includes power supplies with various power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the server's power supply requirements; and supplying power to the server based on the target power supply. The method provided above flexibly combines power supplies with different power supply capabilities to supply power to the server, avoiding power supply disruptions due to a shortage of any type of power supply, and thus preventing situations where the server power supply cannot be properly configured for extended periods, thereby improving the reliability of server power supply. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0051] Figure 1 This is a schematic diagram of the server power supply system on which the embodiments of this application are based;
[0052] Figure 2 A schematic flowchart illustrating the server power supply method provided in an embodiment of this application;
[0053] Figure 3 A schematic diagram of an exemplary server power supply system provided in this application embodiment;
[0054] Figure 4 A schematic diagram of another exemplary server power supply system provided in this application embodiment;
[0055] Figure 5 This is a schematic diagram of the server power supply device provided in an embodiment of this application;
[0056] Figure 6 This is a schematic diagram of the server structure provided in an embodiment of this application;
[0057] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0058] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, 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, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0060] Furthermore, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. In the following descriptions of embodiments, "a plurality of" means two or more, unless otherwise explicitly defined.
[0061] In related technologies, power supplies (PSUs) providing power to servers typically operate from multiple PSUs simultaneously. This is to ensure that if one PSU fails, there is no backup power supply to continue powering the server. Generally, server power configurations use PSUs of the same model and power output capacity (wattage) from the same manufacturer. However, client data centers may have different server models configured with PSUs of different power output capacities. When a particular PSU model is out of stock (perhaps due to supplier shortages or production halts), it is necessary to find another manufacturer to produce a PSU with the same power output capacity and characteristics, which requires significant time to verify the new PSU, creating a risk of power supply shortages. Therefore, current servers use multiple PSUs with the same power output capacity as their power source. It is not permissible to place different power supply configurations on the same server. When the same PSU model is out of stock, it is necessary to replace it with another model (which may be from the same brand or a different brand). When power supplies are unavailable, the server may lack redundant power (backup power mechanism) support, posing a risk of power outages to the server system. Or it may be due to insufficient power supply, requiring a reduction in server performance to maintain basic system operation.
[0062] To address the aforementioned issues, this application provides a server power supply method, apparatus, server, electronic device, and storage medium. The method includes: acquiring the server's power supply requirements; selecting power supplies to be combined from a target power supply group based on the server's power supply requirements; wherein the target power supply group includes power supplies with various power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the server's power supply requirements; and supplying power to the server based on the target power supply. The method provided above flexibly combines power supplies with different power supply capabilities to provide power to the server, avoiding power supply disruptions due to a shortage of any type of power supply, and thus preventing situations where the server power supply cannot be properly configured for extended periods, thereby improving the reliability of server power supply.
[0063] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will be described below with reference to the accompanying drawings.
[0064] First, the structure of the server power supply system on which this application is based will be described:
[0065] The server power supply method, apparatus, server, electronic device, and storage medium provided in this application are applicable to combining power supplies with different power supply capabilities to achieve flexible power supply combinations for servers. Figure 1 The diagram shows the structure of the server power supply system based on the embodiments of this application. It mainly includes power supplies with different power supply capabilities, a server, and a server power supply device. The server power supply device is used to acquire the server's power supply requirements and flexibly match the power supplies according to these requirements, so as to obtain a target power supply that meets the server's power supply needs through combination and connection.
[0066] This application provides a server power supply method for combining power supplies with different power supply capabilities to achieve flexible power supply combinations for the server. The execution subject of this application embodiment is an electronic device, such as a server, desktop computer, laptop computer, tablet computer, and other electronic devices that can be used to power a server.
[0067] like Figure 2 The diagram shown is a flowchart illustrating a server power supply method provided in an embodiment of this application. The method includes:
[0068] Step 201: Obtain the server's power requirements.
[0069] The power supply requirement of a server is its power consumption requirement, such as a power supply requirement of 2800W.
[0070] Step 202: Based on the server's power supply requirements, select the power supply to be combined from the target power supply group.
[0071] The target power supply group includes power supplies with various power supply capabilities.
[0072] For example, if the server's power supply requirement is 2800W, and the power supply capacities of the power supplies in the target power supply group are 600W, 2200W, 800W, 2000W, 1000W, and 1800W respectively, the 600W and 2200W power supplies can be combined as the power supply to be combined, or the 800W and 2000W power supplies can be combined as the power supply to be combined, or the 1000W and 1800W power supplies can be combined as the power supply to be combined. That is, the sum of the power supply capacities of the power supplies to be combined equals the server's power supply requirement.
[0073] Step 203: Combine and connect the power supplies to be combined to obtain the target power supply that meets the power supply requirements of the server.
[0074] Specifically, by combining and connecting the power supplies to be combined, the power supply capabilities of the power supplies to be combined are combined to obtain a target power supply that meets the power supply requirements of the server. That is, the actual power supply capability of the target power supply obtained by combining the power supply capabilities is equal to the power supply requirements of the server.
[0075] Step 204: Power the server based on the target power supply.
[0076] Specifically, based on the target power supply, the server can be powered by outputting electrical energy of a corresponding power consumption.
[0077] Based on the above embodiments, in order to further ensure the reliability of the selected power supplies to be combined, as an implementable approach, in one embodiment, the power supplies to be combined are screened from the target power supply group according to the power supply requirements of the server, including:
[0078] Step 2021: Obtain the power supply value of each power supply in the target power supply group;
[0079] Step 2022: Based on the power supply values of each power supply, determine several sets of power supply combinations to be verified that meet the power supply requirements of the server.
[0080] Step 2023: For any power supply combination to be verified, obtain the register information of each power supply to be verified in the power supply combination to be verified.
[0081] Step 2024: Determine the public key and private key of each power supply to be combined and verified based on the register information of each power supply to be combined and verified.
[0082] Step 2025: Based on the public key of each power supply to be combined and verified, determine whether each power supply to be combined and verified is a power supply of the same manufacturer and model.
[0083] Step 2026: Based on the private key of each power supply to be combined and verified, determine whether each power supply to be combined and verified is a power supply that has passed the verification of the same power supply characteristics.
[0084] Step 2027: If it is determined that each power supply to be combined for verification is a power supply of the same manufacturer and model or a power supply that has passed the verification of the same power supply characteristics, the status detection of the power supply combination to be verified is performed to obtain the status detection result of the power supply combination to be verified.
[0085] Step 2028: If the status detection result of the power supply combination to be verified is normal, the power supply to be combined in the power supply combination to be verified is taken as the power supply to be combined.
[0086] The power supply value is its power supply capacity value, such as 600W, 2200W, 800W, 2000W, 1000W and 1800W.
[0087] Specifically, if the server's power requirement is 2800W, then the following three power supply combinations to be verified can be obtained:
[0088] The first 2800W power supply combination: 600W + 2200W;
[0089] The second 2800W power supply combination: 800W + 2000W;
[0090] The third 2800W power supply combination: 1000W + 1800W (replace the third power supply if one of the first or second power supplies has a power supply problem).
[0091] Specifically, for any power supply combination to be verified, the register information of each power supply to be verified in the combination can be used to determine whether each power supply to be verified is from the same manufacturer and model, and whether each power supply to be verified has passed the verification of the same power supply characteristics. The status of the power supply combination to be verified can be further verified to ensure the reliability of the final power supply to be verified.
[0092] It should be noted that the register information of the power supply includes a public key and a private key. The public key is used to identify the manufacturer and model of the power supply. If the public keys of two power supplies are the same, it indicates that they are power supplies of the same manufacturer and model. The private key is used to identify whether the power supply characteristics of the two power supplies have been verified to be the same. If the private keys of the two power supplies are not empty (0xFF) and are the same, it is determined that the two power supplies have passed the verification of the same power supply characteristics.
[0093] By performing public key verification, unpredictable problems can be avoided by using power supplies from different series from the same manufacturer. By verifying the power supply characteristics in advance, if the server detects a public key mismatch, it can then confirm the private key match, greatly increasing the flexibility of maintenance personnel in selecting power supply combinations.
[0094] It should be further explained that the status detection of the power supply combination to be verified is mainly to verify whether the power supplies within the combination can provide stable and safe power. Specifically, this can be done by detecting the power supply indicator (Power_Good) signal to confirm whether all power sources in the same group are operating normally, thus ensuring the safety and reliability of the final selected power supply combination.
[0095] Specifically, the verification process for whether a power supply can provide stable and safe power can be conducted by detecting the Power_Good signal. The Power_Good signal is an output signal from the power supply indicating whether the power supply is working properly. Appropriate hardware or software tools can be used to detect this signal. After confirming that all power sources within the same power supply group are working properly based on the Power_Good signal, a load test can be performed to verify whether the power supply combination can provide stable and safe power under load. Appropriate load devices can be used to simulate actual load conditions, and the output voltage, current, and other parameters of the power supply combination can be monitored. During the load test, appropriate testing instruments (such as voltmeters and ammeters) can be used to monitor the output voltage, current, and other parameters of the power supply combination. Changes in these parameters should be recorded. The output stability of the power supply combination under varying loads should be observed. Check for voltage fluctuations, current instability, or other abnormalities to obtain the load test results. Finally, based on the Power_Good signal verification results and the load test results, the status detection result of the power supply combination can be determined.
[0096] Based on the above embodiments, in order to further ensure the reliability of the selected power supply to be combined, as an implementable approach, in one embodiment, the method further includes:
[0097] Step 301: Obtain the power source for each power supply in the server;
[0098] Step 302: Based on the power source of each power supply, the power supply units are grouped to obtain several candidate power supply groups.
[0099] Step 303: Based on the application scenario of the server, select the target power supply group from several candidate power supply groups.
[0100] Among them, the power supplies in the same candidate power supply group have the same power source.
[0101] For example, such as Figure 3The diagram illustrates an exemplary server power supply system according to an embodiment of this application. Typically, server rooms are equipped with two different power sources: HVAC (high-voltage AC, 230Vac) and HVDC (high-voltage DC, 240Vdc). These two power sources are connected to different PDUs within the server rack, providing power distribution and management functions. The server can identify the power source (HVAC or HVDC) through I2C communication commands. For example, if the HVAC power source is connected to PDU_A, the output AC voltage is further distributed to power supply-1 and power supply-2. If the HVDC power source is connected to PDU_B, the output DC voltage is further distributed to power supply-3 and power supply-4. The system then determines whether the power supplies to be combined belong to the same power source. If they are not from the same power source, the relevant commands for combining the power supplies are rejected.
[0102] Specifically, this application allows for the pre-grouping of power supplies based on their power source, such as obtaining a high-voltage AC alternative power supply group and a high-voltage DC alternative power supply group. Subsequently, based on the server's application scenario, either the high-voltage AC alternative power supply group or the high-voltage DC alternative power supply group can be selected as the target power supply group. By grouping based on power source, it is possible to prevent the PDU power distribution equipment from failing and losing power on one of the different power sources, while the other PDU power distribution equipment can still distribute power normally, ensuring that the server can continue to operate normally.
[0103] Based on the above embodiments, as one implementable approach, in one embodiment, the power supplies to be combined are connected to obtain a target power supply that meets the power supply requirements of the server, including:
[0104] Step 2031: Send a connection command to the power communication pairing device;
[0105] In step 2032, the power communication pairing device responds to the connection command and establishes a combined connection between the power communication units of the power supplies to be combined, thereby obtaining the target power supply that meets the power supply requirements of the server.
[0106] Accordingly, in one embodiment, a combination instruction can also be sent sequentially to the host communication unit of each power supply to be combined, so as to inform each power supply to be combined of the combination information.
[0107] The power supply unit to be combined includes a power supply communication unit and a host communication unit.
[0108] For example, such as Figure 4 The diagram shown is a structural schematic of another exemplary server power supply system provided in an embodiment of this application. Figure 4The power supply in this embodiment is the power supply unit, the communication signal pairing device between power supplies is the power communication pairing device, the communication unit-1 of the power supply is the host communication unit, and the communication unit-2 of the power supply is the power supply communication unit. The method provided in this application embodiment is applied to the host computer of the server host (CPU).
[0109] For example, taking power supplies 1 and 2 as the power supplies to be combined, the server host communicates with power supply 1 through communication unit 1. The server host executes instruction 5 (I2C address: 0xB0) to inform power supply 1 and power supply 2 to combine. Based on the information from instruction A, it is determined that power supply 1 and power supply 2 meet the conditions for power supply combination. The display unit of power supply 1 indicates that it is ready to combine with power supply 2; at this time, communication between the two power supplies (through communication unit 2) has not yet been established. The server host communicates with power supply 2 through communication unit 1. The server host executes instruction 6 (I2C address: 0xB2) to inform power supply 2 and power supply 1 to combine. Based on the information from instruction A, it is determined that power supply 2 and power supply 1 meet the conditions for power supply combination. The display unit of power supply 2 indicates that it is ready to combine with power supply 1; at this time, communication between the two power supplies (through communication unit 2) has not yet been established. Communication signal pairing devices communicate between the server host and the power supplies. The server host executes instruction -7 to pair communication unit -2 of power supply -1 with communication unit -2 of power supply -2. The server host communicates with power supply -1 through communication unit -1. The server host executes instruction -8 (I2C address: 0xB0) to enable communication unit -2 of power supply -1. At this time, communication unit -2 of power supply -1 attempts to establish communication with communication unit -2 of power supply -2. However, because communication unit -2 of power supply -2 is not yet enabled, the display unit of power supply -1 still shows that it is ready to be combined with power supply -2, and communication between the two power supplies has not yet been established.
[0110] The server host communicates with power supply-2 through communication unit-1. The server host executes instruction-9 (I2C address: 0xB2) to enable communication unit-2 of power supply-2. At this time, communication unit-2 of power supply-2 attempts to establish communication with communication unit-2 of power supply-1. Because communication unit-2 of power supply-1 is already enabled, both power supply-1 and power supply-2's display units will show that power supply-1 and power supply-2 are combined, and communication between the two power supplies is successfully established. The server host communicates with power supply-1 through communication unit-1. The server host executes instruction-1 (I2C address: 0xB0) to query the maximum power supply capacity of power supply-1. After communicating with power supply-1, the server host obtains that the maximum power supply capacity of power supply-1 is 2800W. This indicates that power supply-1 and power supply-2 are now combined. The server host communicates with power supply-2 through communication unit-1. The server host executes instruction-2 (I2C address: 0xB2) to query the maximum power supply capacity of power supply-2. After the server host communicates with power supply-2, it learns that power supply-2's maximum power supply capacity is 2800W. This indicates that power supply-2 and power supply-1 are now combined.
[0111] Similarly, taking power supplies 3 and 4 as examples of power supplies to be combined, the server host communicates with power supply 3 through communication unit 1. The server host executes instruction 10 (I2C address: 0xB0) to inform power supply 3 and power supply 4 to be combined. Based on the information in instruction B, it is determined that power supply 3 and power supply 4 meet the conditions for power supply combination. The display unit of power supply 3 shows that it is ready to be combined with power supply 4. At this time, communication between the two power supplies (through communication unit 2) has not yet been established. The server host communicates with power supply 4 through communication unit 1. The server host executes instruction 11 (I2C address: 0xB2) to inform power supply 4 and power supply 3 to be combined. Based on the information in instruction B, it is determined that power supply 4 and power supply 3 meet the conditions for power supply combination. The display unit of power supply 4 shows that it is ready to be combined with power supply 3. At this time, communication between the two power supplies (through communication unit 2) has not yet been established.
[0112] The communication signal pairing device connects the server host and the power supply. The server host executes instruction-12 to pair communication unit-2 of power supply-3 with communication unit-2 of power supply-4. The server host communicates with power supply-3 through communication unit-1. The server host executes instruction-13 (I2C address: 0xB0) to enable communication unit-2 of power supply-3. At this time, communication unit-2 of power supply-3 attempts to establish communication with communication unit-2 of power supply-4. However, because communication unit-2 of power supply-4 is not yet enabled, the display unit of power supply-3 still shows "ready to combine with power supply-4," and communication between the two power supplies has not yet been established. The server host communicates with power supply-4 through communication unit-1. The server host executes instruction-14 (I2C address: 0xB2) to enable communication unit-2 of power supply-4. At this time, communication unit-2 of power supply-4 attempts to establish communication with communication unit-2 of power supply-3. Because communication unit-2 of power supply-3 is already enabled... Therefore, the display units of both Power Supply-3 and Power Supply-4 will show that Power Supply-3 and Power Supply-4 are combined, and communication between the two power supplies is successfully established. The server host communicates with Power Supply-3 through Communication Unit-1. The server host executes Command-1 (I2C address: 0xB0) to inquire about the maximum power supply capacity of Power Supply-3. After communicating with Power Supply-3, the server host obtains that the maximum power supply capacity of Power Supply-3 is 2800W. This indicates that Power Supply-3 and Power Supply-4 are now combined. The server host communicates with Power Supply-4 through Communication Unit-1. The server host executes Command-2 (I2C address: 0xB2) to inquire about the maximum power supply capacity of Power Supply-4. After communicating with Power Supply-4, the server host obtains that the maximum power supply capacity of Power Supply-4 is 2800W. This indicates that Power Supply-4 and Power Supply-3 are now combined.
[0113] Among them, instruction A<Group_A_status regirster> Instruction B<Group_B_status regirster> The information that instruction A / instruction B can provide is as follows:
[0114] (1) The number of the power supply combination.
[0115] (2) Reasons why power supplies cannot be combined (e.g., the power supply numbers used for combining are not from the same power source, the power supply indicator (Power_Good) signal is abnormal, the power supply combination does not meet the server's requirements, and the two power supplies cannot communicate with each other through communication unit-2).
[0116] (3) Reasons for power supply disconnection (e.g., the power supply indicator (Power_Good) signal is abnormal, and the two power supplies cannot communicate with each other through the communication unit-2).
[0117] (4) The information of instruction A / instruction B can be cleared before preparing a new round of power combination instructions.
[0118] The specific process for determining whether the power supply unit meets the conditions for the power supply combination is as follows:
[0119] Step 1: After powering on the server by connecting the 600W power supply to the server power supply-1 port, the control unit will send a Power-Good signal-1 to notify the server host. The server host will monitor the status of the Power-Good signal-1 in real time to confirm that Power-Good is providing stable power.
[0120] Step 2: The server host communicates with the power supply through communication unit-1.
[0121] The server host executes command-1 (I2C address: 0xB0) to query the maximum power supply capacity of power supply-1. It then executes command-1-1 (I2C address: 0xB0) to query the AC / DC input signal information of power supply-1. Finally, it executes command-1-2 (I2C address: 0xB0) to query the public / private key information of power supply-1. After communicating with power supply-1, the server host learns that its maximum power supply capacity is 600W. It also learns that power supply-1 is an HVAC (high-voltage AC, 230Vac) power source. Furthermore, it obtains the public key (0x01) and private key (0xFF) of power supply-1 (indicating that its power supply characteristics have not been verified with power supplies from different manufacturers). After connecting the 2200W power supply to the server power supply-2 and powering on, the control unit sends a Power-Good signal-2 to the server host. The server host monitors the status of the Power-Good signal-2 in real time. Confirm that power supply -2 is providing stable power.
[0122] Step 4: The server host communicates with the power supply through communication unit-1.
[0123] The server host executes instruction -2 (I2C address: 0xB2) to query the maximum power supply capacity of power supply -2. It executes instruction -2-1 (I2C address: 0xB2) to query the AC / DC input signal information of power supply -2. It executes instruction -2-2 (I2C address: 0xB2) to query the public / private key information of power supply -2. After communicating with power supply -2, the server host learns that the maximum power supply capacity of power supply -2 is 2200W. It also learns that power supply -2 is an HVAC (high-voltage AC, 230Vac) power source. Finally, the server host obtains the public key of power supply -2: 0x01, and the private key: 0xFF (indicating that it has not been verified in the system with power supplies from other manufacturers).
[0124] Step 5: After connecting the 800W power supply to the server power supply-3 position and powering on, the control unit sends a Power-Good signal-3 to notify the server host. The server host will monitor the status of the Power-Good signal-3 in real time to confirm that Power-Good is providing stable power.
[0125] Step 6: The server host communicates with the power supply through communication unit-1.
[0126] The server host executes instruction -3 (I2C address: 0xB4) to query the maximum power supply capacity of power supply -3. It then executes instruction -3-1 (I2C address: 0xB4) to query the AC / DC input signal information of power supply -3. Finally, it executes instruction -3-2 (I2C address: 0xB2) to query the public / private key information of power supply -3. After communicating with power supply -3, the server host learns that its maximum power supply capacity is 800W. It also learns that power supply -3 is an HVDC (High Voltage Direct Current, 240Vdc) power source. Finally, the server host obtains the public key of power supply -3: 0x02, and its private key: 0xFF (indicating that it has not been verified with power supplies from other manufacturers).
[0127] Step 7: After powering on the server by connecting the 2000W power supply to the server power supply-4 port, the control unit will send a Power-Good signal-4 to notify the server host. The server host will monitor the status of the Power-Good signal-4 in real time to confirm that the power supply-4 is providing stable power.
[0128] Step 8: The server host communicates with the power supply-4 through communication unit-1.
[0129] The server host executes instruction -4 (I2C address: 0xB6) to query the maximum power supply capacity of power supply -4. It then executes instruction -4-1 (I2C address: 0xB6) to query the AC / DC input signal information of power supply -4. Finally, it executes instruction -4-2 (I2C address: 0xB2) to query the public / private key information of power supply -4. After communicating with power supply -4, the server host learns that the maximum power supply capacity of power supply -4 is 2000W. It also learns that power supply -4 is an HVDC (High Voltage Direct Current, 240Vdc) power source. Finally, the server host obtains the public key of power supply -4: 0x02, and the private key: 0xFF (indicating that it has not been verified in the system with power supplies from other manufacturers).
[0130] Based on the above embodiments, in order to further ensure the reliability of server power supply, as an implementable approach, in one embodiment, the method further includes:
[0131] Step 401: In the event of a failure of any power supply in the target power supply, disable the power supply communication unit of all power supplies in the target power supply to prevent all power supplies in the target power supply from supplying power to the server.
[0132] Step 402: Re-screen the power supplies to be combined in the target power supply group to obtain new target power supplies;
[0133] Step 403: Power the server based on the new target power supply.
[0134] Specifically, when the Power_Good signal of one power supply in a power supply combination from the same power source is abnormal, a power supply failure is determined. This could be due to a power supply malfunction or, as is commonly seen in server rooms, a power cord becoming loose due to accidental contact. In this case, the power supply combination status from the same power source will be automatically terminated. First, the other power supply with a normal Power_Good signal will be notified to terminate its power combination status. Power supplies with abnormal Power_Good signals will also automatically terminate their power combination status. In other words, the power communication units of all power supplies in the target power supply are disabled, preventing all power supplies in the target power supply from supplying power to the server.
[0135] The method provided in this application allows the system to obtain the characteristics of the server's power supply through I2C communication signals and the Power_Good signal. This effectively utilizes the combined operation of the power supply, improving power utilization. It allows the system to provide better performance with sufficient power supply capacity and enhances system stability.
[0136] In this case, if the two power supplies in the combination cannot communicate with each other through communication unit-2, they will automatically decouple from the power supply combination state. When the power supply indicator (Power_Good) signals of both power supplies in the same power supply combination are abnormal (when one of the PDU power distribution equipment fails and loses power), they will automatically decouple from the power supply combination state of the same power supply.
[0137] For example, suppose power supply-2 malfunctions, causing abnormal output. Power supply-2 communicates with power supply-1 through communication unit-2, informing power supply-1 of the output abnormality. Through the information in instruction A, power supply-1 learns that power supply-2 does not meet the conditions for a power supply combination. Upon receiving the information about the power supply-2's output abnormality, power supply-1 automatically exits the combination state of power supply-1 and power supply-2, and disables communication unit-2. Power supply-2 itself, due to its output abnormality, also automatically exits the combination state of power supply-2 and power supply-1, and disables communication unit-2. The power supplies originally in the positions of power supply-1 and power supply-2 are replaced with a third 2800W power supply combination: 1000W + 1800W. Since power supply-1 and power supply-2 have been replaced with newly configured power supplies, the information in instruction A can be cleared before preparing a new round of power supply combination instructions.
[0138] The steps to obtain the power supply-1 / power supply-2 status and power supply capacity are as follows:
[0139] Step 1: After powering on the server by connecting the 1000W power supply to the server power-1 port, the control unit sends a Power-Good signal-1 to notify the server host. The server host will monitor the status of the Power-Good signal-1 in real time to confirm that the power supply-1 is providing stable power.
[0140] Step 2: The server host communicates with power supply-1 through communication unit-1. The server host executes instruction-1 (I2C address: 0xB0) to query the maximum power supply capacity of power supply-1. It then executes instruction-1-1 (I2C address: 0xB0) to query the AC / DC input signal information of power supply-1. After communicating with power supply-1, the server host learns that the maximum power supply capacity of power supply-1 is 1000W. The server host also learns that power supply-1 is an HVAC (high-voltage AC, 230Vac) power source.
[0141] Step 3: After connecting the 1800W power supply to the server power supply-2 position and powering on, the control unit sends a Power-Good signal-2 to notify the server host. The server host will monitor the status of the Power-Good signal-2 in real time to confirm that the power supply-2 is providing stable power.
[0142] Step 4: The server host communicates with power supply-2 through communication unit-1. The server host executes instruction-2 (I2C address: 0xB2) to query the maximum power supply capacity of power supply-2. It executes instruction-2-1 (I2C address: 0xB2) to query the AC / DC input signal information of power supply-1. After communicating with power supply-2, the server host obtains that the maximum power supply capacity of power supply-2 is 1800W. After communicating with power supply-1, the server host obtains that power supply-1 is an HVAC (high-voltage AC, 230Vac) power source.
[0143] Furthermore, the target power supply is replaced with a third 2800W power supply combination: 1000W + 1800W. The combination process for the third power supply is the same as the above combination process, and will not be repeated here.
[0144] The server power supply method provided in this application involves: acquiring the server's power supply requirements; selecting power supplies to be combined from a target power supply group based on the server's power supply requirements; wherein the target power supply group includes power supplies with various power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the server's power supply requirements; and supplying power to the server based on the target power supply. The method provided above flexibly combines power supplies with different power supply capabilities to provide combined power to the server, avoiding power supply disruptions due to a shortage of any type of power supply, thus preventing situations where server power supplies are not properly configured for extended periods and improving the reliability of server power supply. Furthermore, by flexibly combining power supplies (PSUs) with different power supply capabilities according to the actual power consumption requirements of the system, the utilization rate of the power supplies (PSUs) is maximized, improving the convenience of data center maintenance and expanding the adaptability of power supplies to different environments.
[0145] This application provides a server power supply device for executing the server power supply method provided in the above embodiments.
[0146] like Figure 5 The diagram shown is a structural schematic of a server power supply device provided in an embodiment of this application. The server power supply device 50 includes: an acquisition module 501, a filtering module 502, a combination module 503, and a power supply module 504.
[0147] The system includes: an acquisition module for acquiring the server's power requirements; a filtering module for filtering power supplies to be combined from a target power supply group based on the server's power requirements; the target power supply group includes power supplies with various power supply capabilities; a combination module for combining the power supplies to be combined to obtain a target power supply that meets the server's power requirements; and a power supply module for supplying power to the server based on the target power supply.
[0148] Regarding the server power supply device in this embodiment, the specific methods by which each module performs its operations have been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0149] The server power supply device provided in this application embodiment is used to execute the server power supply method provided in the above embodiment. Its implementation method and principle are the same, and will not be described again.
[0150] This application provides a server for executing the server power supply method provided in the above embodiments.
[0151] like Figure 6 The diagram shown is a structural schematic of a server provided in an embodiment of this application. The server includes: a host unit, a target power supply group, and a power communication pairing device; the target power supply group includes power supplies with various power supply capabilities.
[0152] In this embodiment, the host side selects power supplies to be combined from the target power supply group based on the server power supply method provided above, and controls the power communication pairing device; the power communication pairing device is used to combine and connect the power supplies to be combined in order to obtain the target power supply that meets the power supply requirements of the server.
[0153] Regarding the server in this embodiment, the specific implementation of each component has been described in detail in the embodiments related to the method, and will not be elaborated here.
[0154] The server provided in this application embodiment is used to execute the server power supply method provided in the above embodiment. Its implementation method and principle are the same, and will not be described again.
[0155] This application provides an electronic device for executing the server power supply method provided in the above embodiments.
[0156] like Figure 7 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this application. The electronic device 70 includes at least one processor 71 and a memory 72.
[0157] The memory stores computer-executable instructions; at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the server power supply method provided in the above embodiment.
[0158] The electronic device provided in this application embodiment is used to execute the server power supply method provided in the above embodiment. Its implementation method and principle are the same, and will not be described again.
[0159] This application provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the server power supply method provided in any of the above embodiments.
[0160] The storage medium containing computer-executable instructions provided in this application embodiment can be used to store the computer-executable instructions of the server power supply method provided in the foregoing embodiments. Its implementation method and principle are the same, and will not be described again.
[0161] This application provides a computer program product, including computer instructions, which are used to cause a computer to execute the server power supply method provided in the foregoing embodiments.
[0162] The computer program product provided in this application embodiment can be used to execute the computer instructions of the server power supply method provided in the foregoing embodiment. Its implementation method and principle are the same, and will not be described again.
[0163] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0164] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0165] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0166] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some 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.
[0167] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the present invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0168] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is merely an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0169] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A server power supply method, characterized in that, include: Obtain the server's power requirements; Based on the power supply requirements of the server, power supplies to be combined are selected from the target power supply group; wherein, the target power supply group includes power supplies with multiple power supply capabilities; The power supplies to be combined are connected in combination to obtain a target power supply that meets the power supply requirements of the server. Power is supplied to the server based on the target power supply; The step of selecting power supplies to be combined from the target power supply group based on the power supply requirements of the server includes: Obtain the power supply value of each power supply in the target power supply group; Based on the power supply values of each power supply, several sets of power supply combinations to be verified that meet the power supply requirements of the server are determined. For any of the power supply combinations to be verified, obtain the register information of each power supply unit to be verified in the power supply combination to be verified. Based on the register information of each power supply to be combined and verified, determine the public key and private key of each power supply to be combined and verified; Based on the public key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply of the same manufacturer and model. Based on the private key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply that has passed the verification of the same power supply characteristics; If it is determined that each of the power supplies to be combined for verification is a power supply of the same manufacturer and model or a power supply that has passed the verification of the same power supply characteristics, the state detection of the power supply combination to be verified is performed to obtain the state detection result of the power supply combination to be verified. If the status detection result of the power supply combination to be verified is normal, the power supply to be combined and verified in the power supply combination to be verified is taken as the power supply to be combined. If the private keys of the two power supplies are not empty and are the same, then it is determined that the two power supplies have passed the verification of the same power supply characteristics.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the power source for each power supply in the server; Based on the power source of each power supply, the power supplies are grouped to obtain several candidate power supply groups; Based on the application scenario of the server, a target power supply group is selected from the several candidate power supply groups; Among them, the power supplies in the same candidate power supply group have the same power source.
3. The method according to claim 1, characterized in that, The step of combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server includes: Send connection command to the power communication pairing device; In response to the connection command, the power communication pairing device establishes a combined connection between the power communication units of the power supplies to be combined, thereby obtaining a target power supply that meets the power supply requirements of the server.
4. The method according to claim 3, characterized in that, The method further includes: Combination instructions are sent sequentially to the host communication units of each of the power supplies to be combined, so as to inform each of the combination information of the power supplies to be combined; The power supply unit to be combined includes the power supply communication unit and the host communication unit.
5. The method according to claim 1, characterized in that, The method further includes: In the event of a failure of any power supply in the target power supply, the power supply communication units of all power supplies in the target power supply shall be disabled to prevent all power supplies in the target power supply from supplying power to the server. The power supplies to be combined are re-screened in the target power supply group to obtain new target power supplies; The server is powered based on the new target power supply.
6. A server power supply device, characterized in that, include: The acquisition module is used to acquire the server's power requirements; A filtering module is used to filter power supplies to be combined in a target power supply group according to the power supply requirements of the server; wherein, the target power supply group includes power supplies with multiple power supply capabilities. A combination module is used to combine and connect the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server. A power supply module is used to supply power to the server based on the target power supply. The filtering module is specifically used for: Obtain the power supply value of each power supply in the target power supply group; Based on the power supply values of each power supply, several sets of power supply combinations to be verified that meet the power supply requirements of the server are determined. For any of the power supply combinations to be verified, obtain the register information of each power supply unit to be verified in the power supply combination to be verified. Based on the register information of each power supply to be combined and verified, determine the public key and private key of each power supply to be combined and verified; Based on the public key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply of the same manufacturer and model. Based on the private key of each of the power supplies to be combined and verified, determine whether each of the power supplies to be combined and verified is a power supply that has passed the verification of the same power supply characteristics; If it is determined that each of the power supplies to be combined for verification is a power supply of the same manufacturer and model or a power supply that has passed the verification of the same power supply characteristics, the state detection of the power supply combination to be verified is performed to obtain the state detection result of the power supply combination to be verified. If the status detection result of the power supply combination to be verified is normal, the power supply to be combined and verified in the power supply combination to be verified is taken as the power supply to be combined. If the private keys of the two power supplies are not empty and are the same, then it is determined that the two power supplies have passed the verification of the same power supply characteristics.
7. A server, characterized in that, include: Host unit, target power supply group, and power communication pairing device; The target power supply group includes power supplies with multiple power supply capabilities; The host terminal, based on the method described in any one of claims 1 to 5, filters power supplies to be combined in the target power supply group and controls the power communication pairing device. The power communication pairing device is used to combine and connect the power supplies to be combined to obtain a target power supply that meets the power supply requirements of the server.
8. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Power control method and device of CRPS power supply and electronic equipment
CN118778793A