Server power supply method and device, server, electronic equipment and storage medium
By filtering and combining power supplies with different power supply capabilities in the server, and verifying public and private keys, the power supply interruption problem caused by out-of-stock power supply is solved, and the power supply reliability and flexibility of the server is improved.
Patent Information
- Application Number
- CN202411463353.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-10-18
AI Technical Summary
In existing server configurations, when the power supply is out of stock, you need to find alternatives to the same manufacturer and model, which will cause time-consuming verification process and may lead to the risk of server power interruption.
By obtaining the power supply requirements of the server, filtering and combining power supply supplies with different power supply capabilities in the target power supply group to ensure that the power supply needs are met, and ensuring the reliability and characteristics of the combined power supply are consistent through public and private key verification.
It avoids server power supply interruptions caused by out-of-stock power supply, improves the reliability and flexibility of server power supply, reduces maintenance time, and ensures the stability and safety of power supply.
Smart Images

Figure CN119322557A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of server configuration, and in particular to a server power supply method, device, server, electronic device and storage medium. Background Art
[0002] Currently, servers are powered by power supplies (PC Power Supply Unit, PSU for short). In order to prevent a single power supply unit failure from affecting the normal power supply of the server, multiple power supplies are often installed in the server to set up a backup power supply.
[0003] In the related art, multiple power supplies of the same manufacturer, model and power supply capacity are usually used as power sources. When any power supply fails, the backup power supply is used to provide continuous power supply and the failed power supply is replaced by a new power supply.
[0004] However, when a certain type of power supply is out of stock, it is necessary to find a power supply with the same power supply capacity and characteristics produced by other power supply manufacturers. During the search process, the power supply capacity and characteristics of the power supply need to be verified, and the verification process will consume a lot of time and effort. The server power supply may not be properly configured for a long time, resulting in the risk of power outages to the server. Summary of the invention
[0005] The present application provides a server power supply method, device, server, electronic device and storage medium to solve the defects of related technologies that may cause the power supply of the server to fail to be normally configured for a long time, resulting in the risk of power outage of the server.
[0006] The first aspect of the present application provides a server power supply method, comprising:
[0007] Obtain the power supply requirements of the server;
[0008] According to the power supply demand of the server, the power supply to be combined is screened in the target power supply group; wherein the target power supply group includes power supplies with multiple power supply capabilities;
[0009] Combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server;
[0010] Power is supplied to the server based on the target power supply.
[0011] In an optional implementation, the screening of the power supply to be combined in the target power supply group according to the power supply requirement of the server includes:
[0012] Obtaining a power supply value of each power supply in the target power supply group;
[0013] Determine, according to the power supply value of each power supply, a plurality of power supply combinations to be verified that meet the power supply demand of the server;
[0014] For any of the power supply combinations to be verified, obtaining register information of each power supply to be verified in the power supply combination to be verified;
[0015] Determine the public key and the private key of each power supply to be combined and verified according to the register information of each power supply to be combined and verified;
[0016] According to the public key of each of the power supplies to be combined and verified, determining whether each of the power supplies to be combined and verified is a power supply of the same manufacturer and model;
[0017] According to the private key of each of the power supplies to be combined and verified, determining 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] When it is determined that each of the power supplies to be verified is a power supply of the same manufacturer and model or a power supply that has passed verification of the same power supply characteristics, a status detection is performed on the power supply combination to be verified to obtain a status detection result of the power supply combination to be verified;
[0019] When it is determined that 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 used as the power supply to be combined.
[0020] In an optional embodiment, the method further includes:
[0021] Obtaining a power source of each power supply in the server;
[0022] Grouping the power supplies according to the power supply sources of the power supplies to obtain a plurality of power supply groups to be selected;
[0023] According to the application scenario of the server, selecting a target power supply group from the plurality of candidate power supply groups;
[0024] The power supplies in the same candidate power supply group have the same power supply source.
[0025] In an optional implementation, the combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server includes:
[0026] Sending a connection instruction to the power communication pairing device;
[0027] The power communication pairing device establishes a combined connection between the power communication units of the power supplies to be combined in response to the connection instruction, and obtains a target power supply that meets the power supply demand of the server.
[0028] In an optional embodiment, the method further includes:
[0029] Sending a combination instruction to the host communication unit of each of the power supplies to be combined in turn, so as to inform each of the power supplies to be combined of the combination information;
[0030] Wherein, the power supply to be assembled includes the power supply communication unit and the host communication unit.
[0031] In an optional embodiment, the method further includes:
[0032] In the event that any power supply in the target power supply fails, disabling the power supply communication units of all power supplies in the target power supply to prohibit all power supplies in the target power supply from supplying power to the server;
[0033] Rescreening the power supplies to be combined in the target power supply group to obtain a new target power supply;
[0034] The server is supplied with power based on the new target power supply.
[0035] A second aspect of the present application provides a server power supply device, comprising:
[0036] An acquisition module is used to obtain the power supply requirements of the server;
[0037] A screening module, used for screening the power supply to be combined in the target power supply group according to the power supply demand of the server; wherein the target power supply group includes power supplies with multiple power supply capabilities;
[0038] A combination module, used for combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server;
[0039] A power supply module is used to supply power to the server based on the target power supply.
[0040] The third aspect of the present application provides a server, comprising: a host end, a target power supply group and a power communication pairing device; the target power supply group comprises power supplies with multiple power supply capabilities;
[0041] The host terminal selects the power supply to be combined in the target power supply group based on the method described in the first aspect and various possible designs of the first aspect, 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 demand of the server.
[0043] A fourth aspect of the present application provides an electronic device, comprising: at least one processor and a memory;
[0044] The memory stores computer-executable instructions;
[0045] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method described in the first aspect and various possible designs of the first aspect.
[0046] A fifth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the method described in the first aspect and various possible designs of the first aspect are implemented.
[0047] The sixth aspect of the present application provides a computer program product, including computer instructions, which are used to enable a computer to execute the method described in the first aspect and various possible designs of the first aspect.
[0048] The technical solution of this application has the following advantages:
[0049] The present application provides a server power supply method, device, server, electronic device and storage medium, the method comprising: obtaining the power supply demand of the server; screening the power supply to be combined in the target power supply group according to the power supply demand of the server; wherein the target power supply group includes power supplies with multiple power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server; and supplying power to the server based on the target power supply. The method provided by the above scheme combines and supplies power to the server by flexibly matching power supplies with different power supply capabilities, so as to avoid affecting the power supply of the server due to the shortage of any type of power supply, thereby avoiding the situation where the server power supply cannot be normally configured for a long time, thereby improving the reliability of the server power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technical descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.
[0051] Figure 1 This is a schematic diagram of the structure of the server power supply system based on the embodiment of the present application;
[0052] Figure 2 A schematic diagram of a process flow of a server power supply method provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the structure of an exemplary server power supply system provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of the structure of another exemplary server power supply system provided in an embodiment of the present application;
[0055] Figure 5 A schematic diagram of the structure of a server power supply device provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0058] The above drawings have shown clear embodiments of the present application, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0060] In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following embodiments, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0061] In the related art, the power supply unit (PSU) that provides the operation of the server usually has several power supplies that supply power at the same time. This is to avoid that when a certain power supply unit fails, there is no backup power supply to continue to supply power to the server to continue to operate. Generally speaking, the power supply configuration of the server will use the same model and power supply (output wattage) of the same power supply manufacturer (PSU). However, in the client's computer room, there may be different models of servers configured with power supplies with different power supply capacities. When a certain power supply model is out of stock (it may be that the power supply supplier is out of material and cannot produce, or it is discontinued), it is necessary to find other power supply manufacturers to produce power supplies with the same power supply capacity and characteristics, and it is necessary to spend a lot of time to verify the new power supply, resulting in the risk of outage in power supply. That is, the current server uses multiple power supplies with the same power supply capacity as the power source. It is not allowed to place power supply configurations with different power supply capacities on the same server. When the same power supply model is out of stock, it is necessary to replace another model (which may be the same brand or a different brand) of the power supply for configuration. When the power supply is out of stock, the server may lack the support of redundant power supply (backup power supply mechanism), resulting in the risk of power outage in the operation of the server system. Or because of insufficient power supply capacity, it is necessary to reduce the performance of the server to maintain basic operation of the system.
[0062] In response to the above problems, the embodiments of the present application provide a server power supply method, device, server, electronic device and storage medium, the method comprising: obtaining the power supply demand of the server; screening the power supply to be combined in the target power supply group according to the power supply demand of the server; wherein the target power supply group includes power supplies with multiple power supply capabilities; combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server; and supplying power to the server based on the target power supply. The method provided by the above scheme combines and supplies power to the server by flexibly matching power supplies with different power supply capabilities, so as to avoid affecting the power supply of the server due to the shortage of any type of power supply, thereby avoiding the situation where the server power supply cannot be normally configured for a long time, thereby improving the reliability of the server power supply.
[0063] The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0064] First, the structure of the server power supply system on which this application is based is described:
[0065] The server power supply method, device, server, electronic device and storage medium provided in the embodiments of the present application are suitable for combining power supplies with different power supply capabilities to realize flexible combination power supply for the server. Figure 1 As shown, it is a schematic diagram of the structure of the server power supply system based on the embodiment of the present application, which mainly includes power supplies with different power supply capabilities, servers and server power supply devices. Among them, the server power supply device is used to obtain the power supply requirements of the server, and flexibly match the power supplies according to the power supply requirements of the server, so as to obtain the target power supply that meets the power supply requirements of the server through combined connection.
[0066] The embodiment of the present application provides a server power supply method for combining power supplies with different power supply capabilities to achieve flexible combination power supply for the server. The execution subject of the embodiment of the present application is an electronic device, such as a server, a desktop computer, a laptop computer, a tablet computer, and other electronic devices that can be used for server power supply.
[0067] like Figure 2 FIG. 1 is a flow chart of a server power supply method provided in an embodiment of the present application, and the method includes:
[0068] Step 201, obtaining the power supply requirement of the server.
[0069] The power demand of the server is the power consumption demand of the server, for example, the power demand is 2800W.
[0070] Step 202 , screening the power supply to be combined in the target power supply group according to the power supply requirement of the server.
[0071] The target power supply group includes power supplies with various power supply capabilities.
[0072] For example, taking the power demand of the server as 2800W, and the power supply capacities of the power supplies in the target power supply group are 600W, 2200W, 800, 2000W, 1000W and 1800W respectively, the 600W and 2200W power supplies can be combined as the power supply to be combined, the 800W and 2000W power supplies can be combined as the power supply to be combined, and 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 is equal to the power demand of the server.
[0073] Step 203 , combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server.
[0074] Specifically, by combining and connecting the power supplies to be combined, the power supply capacities of the power supplies to be combined are combined to obtain a target power supply that meets the power supply demand of the server, that is, the actual power supply capacity of the target power supply obtained after combining the power supply capacities is equal to the power supply demand of the server.
[0075] Step 204 , supplying power to the server based on the target power supply.
[0076] Specifically, based on the target power supply, electric energy with corresponding power consumption can be output to the server to realize power supply to the server.
[0077] On the basis of the above embodiments, in order to further ensure the reliability of the selected power supply to be combined, as an implementable manner, in one embodiment, according to the power supply demand of the server, the power supply to be combined is screened in the target power supply group, including:
[0078] Step 2021, obtaining the power supply value of each power supply in the target power supply group;
[0079] Step 2022, determining a plurality of power supply combinations to be verified that meet the power supply requirements of the server according to the power supply values of each power supply;
[0080] Step 2023, for any power supply combination to be verified, obtaining register information of each power supply to be verified in the power supply combination to be verified;
[0081] Step 2024, determining the public key and private key of each power supply to be combined and verified according to the register information of each power supply to be combined and verified;
[0082] Step 2025, judging whether the power supplies to be combined and verified are power supplies of the same manufacturer and model according to the public keys of the power supplies to be combined and verified;
[0083] Step 2026, judging whether each power supply to be combined and verified is a power supply that has passed the verification of the same power supply characteristics according to the private key of each power supply to be combined and verified;
[0084] Step 2027, when it is determined that each power supply combination to be verified is a power supply of the same manufacturer and model or a power supply that has passed verification of the same power supply characteristics, a status detection is performed on the power supply combination to be verified to obtain a status detection result of the power supply combination to be verified;
[0085] Step 2028, when it is determined that 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 used as the power supply to be combined.
[0086] Among them, the power supply value of the power supply is its power supply capacity value, such as 600W, 2200W, 800, 2000W, 1000W and 1800W.
[0087] Specifically, if the power supply requirement of the server is 2800W, the following three groups of 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 (when one of the first / second power supplies has a problem, replace it with the third power supply).
[0091] Specifically, for any group of power supply combinations to be verified, it is possible to determine whether each power supply to be verified is from the same manufacturer and model based on the register information of each power supply to be verified in the combination, and to determine whether each power supply to be verified is a power supply that has passed the verification of the same power supply characteristics, and further verify the status of the power supply combination to be verified to ensure the reliability of the power supply to be finally combined.
[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 characterize the manufacturer and model of the power supply. If the public keys of two power supplies are the same, it indicates that the two are power supplies of the same manufacturer and model. The private key is used to characterize 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] Among them, by performing public key verification, it is possible to avoid unexpected problems caused by the combination of power supplies from different series from the same company. By verifying the power supply characteristics of the power supply in advance, if the server finds that the public key does not match, it can confirm whether the private key matches, which greatly increases the flexibility of operation and 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 in the combination can provide stable and safe power supply. Specifically, the power supply indication (Power_Good) signal can be detected to confirm whether the power supplies of the same power source are all operating normally, so as to ensure the safety and reliability of the power supply to be combined that is finally selected.
[0095] Specifically, for the specific verification process of whether the power supply can provide stable and safe power supply, it can be verified based on the detection of the power supply indication (Power_Good) signal. The power supply indication signal is a signal output by the power supply to indicate whether the power supply is working properly. Appropriate hardware or software tools can be used to detect this signal. After confirming that the power supplies of the same group of power sources are working properly according to the Power_Good signal, a load test can be further performed to verify whether the power supply combination can provide stable and safe power supply under load conditions. Appropriate load equipment can be used to simulate actual load conditions and monitor the output voltage, current and other parameters of the power supply combination. During the load test, appropriate test instruments (such as voltmeters, ammeters, etc.) can be used to monitor the output voltage, current and other parameters of the power supply combination. Record the changes in these parameters. Observe the output stability of the power supply combination when the load changes. Check whether there is voltage fluctuation, current instability or other abnormal conditions to obtain its load test results, and finally determine the status detection results of the power supply combination based on the Power_Good signal verification results and load test results.
[0096] On the basis of the above embodiments, in order to further ensure the reliability of the selected power supply to be combined, as an implementable manner, in one embodiment, the method further includes:
[0097] Step 301, obtaining the power source of each power supply in the server;
[0098] Step 302, grouping the power supply devices according to the power supply source of each power supply device to obtain a plurality of power supply groups to be selected;
[0099] Step 303 , screening a target power supply group from among a number of candidate power supply groups according to the application scenario of the server.
[0100] The power supplies in the same candidate power supply group have the same power supply source.
[0101] For example, Figure 3As shown, it is a structural schematic diagram of an exemplary server power supply system provided in an embodiment of the present application. Generally, two different power sources are configured in the server room, HVAC (high voltage alternating current, 230Vac) and HVDC (high voltage direct current, 240Vdc). These two power sources are respectively connected to PDUs in different ways inside the cabinet to provide power distribution and management functions. The server can distinguish the power source (HVAC or HVDC) of the power supply through the command of the I2C communication signal. For example, the HVAC power source is connected to the PDU_A line, and the output AC voltage is redistributed to power supply-1 and power supply-2. The HVDC power source is connected to the PDU_B line, and the output DC voltage is redistributed to power supply-3 and power supply-4. Then determine whether the power supply to be executed for the power supply combination belongs to the same power supply source. If it is not the same power supply source, the relevant command to execute the power supply combination is rejected.
[0102] Specifically, the present application can group the power supplies in advance according to the power supply sources of the power supplies, such as obtaining a high-voltage AC selected power supply group and a high-voltage DC selected power supply group, and then use the high-voltage AC selected power supply group or the high-voltage DC selected power supply group as the target power supply group according to the application scenario of the server. By grouping according to the power supply source, it can be prevented that when a PDU power distribution device of a different power supply source fails and loses power, the PDU power distribution device of another power supply source can still distribute power normally, ensuring that the server can continue to operate normally.
[0103] Based on the above embodiment, as an implementable manner, in one embodiment, the power supply to be combined is combined and connected to obtain a target power supply that meets the power supply demand of the server, including:
[0104] Step 2031, sending a connection instruction to the power communication pairing device;
[0105] Step 2032 , the power communication pairing device establishes a combined connection between the power communication units of the power supplies to be combined in response to the connection instruction, and obtains a target power supply that meets the power supply demand of the server.
[0106] Accordingly, in one embodiment, a combination instruction may be sent to the host communication unit of each power supply to be combined in sequence to inform each power supply to be combined of the combination information.
[0107] The power supply to be assembled includes a power supply communication unit and a host communication unit.
[0108] For example, Figure 4 FIG. 1 is a schematic diagram of the structure of another exemplary server power supply system provided in an embodiment of the present application. Figure 4The power supply in the embodiment is the power supply, the communication signal pairing device between the 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 the embodiment of the present application is applied to the server host (CPU) host computer.
[0109] For example, taking power supply-1 and power supply-2 as the power supplies to be combined and connected, 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 to be combined with power supply-2. Through the information of instruction A, it is judged that power supply-1 and power supply-2 meet the conditions for power supply combination. The display unit of power supply-1 shows that it is ready to be combined with power supply-2. At this time, the communication between the two power supplies (through communication unit-2) has not 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 to be combined with power supply-1. Through the information of instruction A, it is judged that power supply-2 and power supply-1 meet the conditions for power supply combination. The display unit of power supply-2 shows that it is ready to be combined with power supply-1. At this time, the communication between the two power supplies (through communication unit-2) has not been established. The communication signal pairing device communicates between the server host and the power supply. The server host executes instruction-7 to pair the communication unit-2 of power supply-1 with the 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 tell the communication unit-2 of power supply-1 to enable. At this time, the communication unit-2 of power supply-1 attempts to establish communication with the communication unit-2 of power supply-2. However, because the communication unit-2 of power supply-2 has not been enabled, the display unit of power supply-1 still shows that it is ready to be combined with power supply-2. At this time, the communication between the two power supplies has not been established.
[0110] The server host communicates with power supply 2 via communication unit 1. The server host executes command 9 (I2C address: 0xB2) to inform the communication unit 2 of power supply 2 to enable. At this time, the communication unit 2 of power supply 2 attempts to establish communication with the communication unit 2 of power supply 1. Because the communication unit 2 of power supply 1 has been enabled, the display units of power supply 1 and power supply 1 will both show that power supply 1 and power supply 2 are combined, and the communication between the two power supplies is established normally. The server host communicates with power supply 1 via communication unit 1. The server host executes command 1 (I2C address: 0xB0) to inquire about the maximum power supply capacity of power supply 1. After the server host communicates with power supply 1, the maximum power supply capacity of power supply 1 is 2800W. This means that power supply 1 and power supply 2 are already combined. The server host communicates with power supply 2 via communication unit 1. The server host executes command 2 (I2C address: 0xB2) to inquire about the maximum power supply capacity of power supply 2. After the server host communicates with power supply-2, it is found that the maximum power supply capacity of power supply-2 is 2800W, which means that power supply-2 and power supply-1 are now combined.
[0111] Similarly, taking power supply-3 and power supply-4 as the power supplies to be combined and connected, 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 to be combined with power supply-4. Through the information of instruction B, it is judged 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, the communication between the two power supplies (through communication unit-2) has not 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 to be combined with power supply-3. Through the information of instruction B, it is judged 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, the communication between the two power supplies (through communication unit-2) has not been established.
[0112] Among them, the communication signal pairing device communicates between the server host and the power supply. The server host executes instruction-12 to pair the communication unit-2 of power supply-3 with the 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 inform the communication unit-2 of power supply-3 to enable. At this time, the communication unit-2 of power supply-3 attempts to establish communication with the communication unit-2 of power supply-4. However, because the communication unit-2 of power supply-4 has not been enabled, the display unit of power supply-3 still shows that it is ready to be combined with power supply-4. At this time, the communication between the two power supplies has not been established. The server host communicates with power supply-4 through communication unit-1. The server host executes instruction-14 (I2C address: 0xB2) to inform the communication unit-2 of power supply-4 to enable. At this time, the communication unit-2 of power supply-4 attempts to establish communication with the communication unit-2 of power supply-3. Because the communication unit-2 of power supply-3 has been enabled. Therefore, the display units of power supply 3 and power supply 4 will both show that power supply 3 and power supply 4 are combined together, and the communication between the two power supplies is established normally. 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 the server host communicates with power supply 3, the maximum power supply capacity of power supply 3 is 2800W. It means that power supply 3 and power supply 4 are now combined together. 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 the server host communicates with power supply 4, the maximum power supply capacity of power supply 4 is 2800W. It means that power supply 4 and power supply 3 are now combined together.
[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 the power supplies cannot be combined (for example: the power supply numbers for the combined power supplies are not the same power source, the power supply indicator (Power_Good) signal is abnormal, the power supply combination does not meet the server requirements, and the two power supplies cannot communicate with each other through the communication unit-2).
[0116] (3) Reasons for power supply disassembly (for example: the power supply indication (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 may be cleared before preparing a new round of power combination instructions.
[0118] The specific process for determining whether the power supply meets the conditions of the power supply combination is as follows:
[0119] Step 1: Connect the 600W power supply to the server power supply-1 position and turn on the power supply. The control unit sends the power supply indication (Power-Good) signal-1 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-1 in real time. Confirm that the power supply-1 is stable.
[0120] Step 2: The server host communicates with power supply 1 through communication unit 1.
[0121] The server host executes command-1 (I2C address: 0xB0) to inquire about the maximum power supply capacity of power supply-1. Execute command-1-1 (I2C address: 0xB0) to inquire about the information of the AC / DC input signal of power supply-1. Execute command-1-2 (I2C address: 0xB0) to inquire about the public key / private key information of power supply-1. After the server host communicates with power supply-1, it is obtained that the maximum power supply capacity of power supply-1 is 600W. After the server host communicates with power supply-1, it is obtained that power supply-1 is a HVAC (high voltage AC, 230Vac) power source. After the server host communicates with power supply-1, it is obtained that the public key of power supply-1: 0x01 private key: 0xFF (indicates that the power supply characteristics have not been verified in the system with power supplies from other manufacturers); after the 2200W power supply is connected to the server power supply-2 position and turned on, the control unit sends the power supply indication (Power-Good) signal-2 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-2 in real time. Confirm that Power-2 is supplying power stably.
[0122] Step 4: The server host communicates with the power supply 2 via the communication unit 1.
[0123] The server host executes instruction-2 (I2C address: 0xB2) to inquire about the maximum power supply capacity of power supply-2. Execute instruction-2-1 (I2C address: 0xB2) to inquire about the information of the AC / DC input signal of power supply-2. Execute instruction-2-2 (I2C address: 0xB2) to inquire about the public key / private key information of power supply-2. After the server host communicates with power supply-2, it is found that the maximum power supply capacity of power supply-2 is 2200W. After the server host communicates with power supply-2, it is found that power supply-2 is a HVAC (high voltage AC, 230Vac) power source. After the server host communicates with power supply-2, it is found that the public key of power supply-2 is 0x01, and the private key is 0xFF (which means that it has not been verified in the system with power supplies from other manufacturers).
[0124] Step 5: After the 800W power supply is connected to the server power supply-3 position and turned on, the control unit sends the power supply indication (Power-Good) signal-3 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-3 in real time. Confirm that the power supply-3 is stable.
[0125] Step 6: The server host communicates with the power supply 3 via the communication unit 1.
[0126] The server host executes instruction-3 (I2C address: 0xB4) to inquire about the maximum power supply capacity of power supply-3. Execute instruction-3-1 (I2C address: 0xB4) to inquire about the information of the AC / DC input signal of power supply-3. Execute instruction-3-2 (I2C address: 0xB2) to inquire about the public key / private key information of power supply-3. After the server host communicates with power supply-3, it is found that the maximum power supply capacity of power supply-3 is 800W. After the server host communicates with power supply-3, it is found that power supply-3 is a HVDC (high voltage direct current, 240Vdc) power source. After the server host communicates with power supply-3, it is found that the public key of power supply-3: 0x02, the private key: 0xFF (indicates that it has not been verified in the system with other power supplies from different manufacturers).
[0127] Step 7: After connecting the 2000W power supply to the server power supply-4 and turning on the power supply, the control unit sends the power supply indication (Power-Good) signal-4 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-4 in real time. Confirm that the power supply-4 is stable.
[0128] Step 8: The server host communicates with the power supply 4 via the communication unit 1.
[0129] The server host executes instruction-4 (I2C address: 0xB6) to inquire about the maximum power supply capacity of power supply-4. Execute instruction-4-1 (I2C address: 0xB6) to inquire about the information of the AC / DC input signal of power supply-4. Execute instruction-4-2 (I2C address: 0xB2) to inquire about the public key / private key information of power supply-4. After the server host communicates with power supply-4, it is found that the maximum power supply capacity of power supply-4 is 2000W. After the server host communicates with power supply-4, it is found that power supply-4 is a HVDC (high voltage direct current, 240Vdc) power source. After the server host communicates with power supply-4, it is found that the public key of power supply-4 is 0x02, and the private key is 0xFF (which means that it has not been verified in the system with power supplies from other manufacturers).
[0130] On the basis of the above embodiment, in order to further ensure the reliability of power supply to the server, as an implementable manner, in one embodiment, the method further includes:
[0131] Step 401, when any power supply in the target power supply fails, disabling the power supply communication units of all the power supplies in the target power supply, so as to prohibit all the power supplies in the target power supply from supplying power to the server;
[0132] Step 402, rescreening the power supplies to be combined in the target power supply group to obtain a new target power supply;
[0133] Step 403 , supplying power to the server based on the new target power supply.
[0134] Specifically, when the power supply indication (Power_Good) signal of one of the power supplies in the power supply combination of the same power supply source is abnormal, it is determined that the power supply has failed. For example, when a certain failure occurs in the power supply or the power line is loosened due to human touch, which is the most common problem in the computer room, the power supply combination status of the same power supply source will be automatically released. First, notify the other power supply with a normal power supply indication (Power_Good) signal to release the power supply combination status. The power supply with an abnormal power supply indication (Power_Good) signal will also automatically release the power supply combination status. That is, the power supply communication units of all power supplies in the target power supply are disabled to prohibit all power supplies in the target power supply from supplying power to the server.
[0135] Among them, the method provided in the embodiment of the present application allows the system to obtain the characteristics of the power supply on the server through the I2C communication signal and the Power_Good signal. Effectively utilize the combined operation of the power supply to improve the utilization rate of the power supply. Allow the system to provide better performance operation on sufficient power supply capacity and improve the stability of system operation.
[0136] If the two power supplies in the combination cannot communicate with each other through the communication unit-2, they will both automatically cancel the power combination status. When the power supply indication (Power_Good) signals of the two power supplies in the power combination of the same power source are abnormal (when a PDU power distribution device fails and loses power), the power combination status of the same power source will be automatically canceled.
[0137] For example, suppose that power supply-2 is abnormal at this time, causing abnormal output. Power supply-2 communicates with power supply-1 through communication unit-2. Let power supply-1 know that power supply-2 output is abnormal. Through the information of instruction A, it is known that power supply-2 does not meet the conditions of power supply combination. After receiving the information that power supply-2 outputs abnormally, power supply-1 automatically exits the combination state of power supply-1 and power supply-2. And disable the communication unit-2 of power supply-1. Power supply-2 itself will automatically exit the combination state of power supply-2 and power supply-1 because of the abnormal output. And disable the communication unit-2 of power supply-2. Replace the power supply originally in the position of power supply-1 and power supply-2 with the third group of 2800W power supply combination: 1000W+1800W. At this time, because power supply-1 and power supply-2 are replaced with newly configured power supplies. The information of instruction A can be cleared before preparing a new round of power supply combination instructions.
[0138] The steps for obtaining the power supply status and power supply capability of power supply 1 and power supply 2 are as follows:
[0139] Step 1: Connect the 1000W power supply to the server power supply-1 and turn on the power supply. The control unit sends the power supply indication (Power-Good) signal-1 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-1 in real time to confirm that the power supply-1 is stable.
[0140] Step 2: The server host communicates with power supply 1 through communication unit 1. The server host executes command 1 (I2C address: 0xB0) to inquire about the maximum power supply capacity of power supply 1. Execute command 1-1 (I2C address: 0xB0) to inquire about the information of the AC / DC input signal of power supply 1. After the server host communicates with power supply 1, it is obtained that the maximum power supply capacity of power supply 1 is 1000W. After the server host communicates with power supply 1, it is obtained that power supply 1 is a HVAC (high voltage AC, 230Vac) power source.
[0141] Step 3: After the 1800W power supply is connected to the server power supply-2 and turned on, the control unit sends the power supply indication (Power-Good) signal-2 to notify the server host. The server host detection will detect the status of the power supply indication (Power-Good) signal-2 in real time to confirm that the power supply-2 is stable.
[0142] Step 4: The server host communicates with power supply 2 through communication unit 1. The server host executes command 2 (I2C address: 0xB2) to inquire about the maximum power supply capacity of power supply 2. Execute command 2-1 (I2C address: 0xB2) to inquire about the information of the AC / DC input signal of power supply 1. After the server host communicates with power supply 2, it is found that the maximum power supply capacity of power supply 2 is 1800W. After the server host communicates with power supply 1, it is found that power supply 1 is a HVAC (high voltage AC, 230Vac) power source.
[0143] Furthermore, the target power supply is replaced with a third 2800W power supply combination: 1000W+1800W is recombined. The combination process of the third power supply is the same as the above combination process, which will not be repeated here.
[0144] The server power supply method provided in the embodiment of the present application obtains the power supply demand of the server; according to the power supply demand of the server, screens the power supply to be combined in the target power supply group; wherein the target power supply group includes power supplies with multiple power supply capabilities; combines and connects the power supply to be combined to obtain the target power supply that meets the power supply demand of the server; and supplies power to the server based on the target power supply. The method provided by the above scheme combines and supplies power to the server by flexibly matching power supplies with different power supply capabilities, so as to avoid affecting the power supply of the server due to the shortage of any type of power supply, thereby avoiding the situation where the server power supply cannot be normally configured for a long time, thereby improving the reliability of the power supply of the server. In addition, by flexibly matching power supplies (PSU) with different power supply capabilities according to the actual power consumption requirements of the system, the utilization rate of the power supply (PSU) is maximized, the convenience of computer room maintenance is improved, and the adaptability of the power supply to different environments is expanded.
[0145] An embodiment of the present application provides a server power supply device, which is used to execute the server power supply method provided in the above embodiment.
[0146] like Figure 5 , which is a schematic diagram of the structure of a server power supply device provided in an embodiment of the present application. The server power supply device 50 comprises: an acquisition module 501 , a screening module 502 , a combination module 503 and a power supply module 504 .
[0147] Among them, the acquisition module is used to obtain the power supply demand of the server; the screening module is used to screen the power supply to be combined in the target power supply group according to the power supply demand of the server; wherein the target power supply group includes power supplies with various power supply capabilities; the combination module is used to combine and connect the power supply to be combined to obtain the target power supply that meets the power supply demand of the server; the power supply module is used to supply power to the server based on the target power supply.
[0148] Regarding the server power supply device in this embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0149] The server power supply device provided in the embodiment of the present application 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 repeated here.
[0150] An embodiment of the present application provides a server for executing the server power supply method provided in the above embodiment.
[0151] like Figure 6 , which is a schematic diagram of the structure of a server provided by an embodiment of the present application. The server comprises: a host end, a target power supply group and a power communication pairing device; the target power supply group comprises power supplies with multiple power supply capabilities.
[0152] Among them, the host side selects the power supply to be combined in the target power supply group based on the server power supply method provided in the above embodiment, and controls the power communication pairing device; the power communication pairing device is used to combine and connect the power supply to be combined 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 embodiment of the method, and will not be elaborated here.
[0154] The server provided in the embodiment of the present application 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 repeated here.
[0155] An embodiment of the present application provides an electronic device for executing the server power supply method provided in the above embodiment.
[0156] like Figure 7 FIG. 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present 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, so that the at least one processor executes the server power supply method provided in the above embodiment.
[0158] The electronic device provided in the embodiment of the present application 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 repeated here.
[0159] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the server power supply method provided in any of the above embodiments is implemented.
[0160] The storage medium containing computer executable instructions provided in the embodiment of the present application can be used to store computer executable instructions of the server power supply method provided in the aforementioned embodiment. The implementation method and principle are the same and will not be repeated here.
[0161] An embodiment of the present application provides a computer program product, including computer instructions, which are used to enable a computer to execute the server power supply method provided in the above-mentioned embodiment.
[0162] The embodiment of the present application provides a computer program product that can be used to execute computer instructions of the server power supply method provided in the aforementioned embodiment. The implementation method and principle are the same and will not be repeated here.
[0163] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0164] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0165] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0166] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0167] A part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0168] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is 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 refer to the corresponding process in the aforementioned method embodiment, 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 the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A server power supply method, characterized in that: include: Obtain the power supply requirements of the server; According to the power supply demand of the server, the power supply to be combined is screened in the target power supply group; wherein the target power supply group includes power supplies with multiple power supply capabilities; Combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server; Power is supplied to the server based on the target power supply.
2. The method according to claim 1, characterized in that The step of selecting a power supply to be combined in a target power supply group according to the power supply requirement of the server includes: Obtaining a power supply value of each power supply in the target power supply group; Determine, according to the power supply value of each power supply, a plurality of power supply combinations to be verified that meet the power supply demand of the server; For any of the power supply combinations to be verified, obtaining register information of each power supply to be verified in the power supply combination to be verified; Determine the public key and the private key of each power supply to be combined and verified according to the register information of each power supply to be combined and verified; According to the public key of each of the power supplies to be combined and verified, determining whether each of the power supplies to be combined and verified is a power supply of the same manufacturer and model; According to the private key of each of the power supplies to be combined and verified, determining 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; When it is determined that each of the power supplies to be verified is a power supply of the same manufacturer and model or a power supply that has passed verification of the same power supply characteristics, a status detection is performed on the power supply combination to be verified to obtain a status detection result of the power supply combination to be verified; When it is determined that 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 used as the power supply to be combined.
3. The method according to claim 1, characterized in that The method further comprises: Obtaining a power source of each power supply in the server; Grouping the power supplies according to the power supply sources of the power supplies to obtain a plurality of power supply groups to be selected; According to the application scenario of the server, selecting a target power supply group from the plurality of candidate power supply groups; The power supplies in the same candidate power supply group have the same power supply source.
4. The method according to claim 1, characterized in that: The combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server includes: Sending a connection instruction to the power communication pairing device; The power communication pairing device establishes a combined connection between the power communication units of the power supplies to be combined in response to the connection instruction, and obtains a target power supply that meets the power supply demand of the server.
5. The method according to claim 4, characterized in that The method further comprises: Sending a combination instruction to the host communication unit of each of the power supplies to be combined in turn, so as to inform each of the power supplies to be combined of the combination information; Wherein, the power supply to be assembled includes the power supply communication unit and the host communication unit.
6. The method according to claim 1, characterized in that The method further comprises: In the event that any power supply in the target power supply fails, disabling the power supply communication units of all power supplies in the target power supply to prohibit all power supplies in the target power supply from supplying power to the server; Rescreening the power supplies to be combined in the target power supply group to obtain a new target power supply; The server is supplied with power based on the new target power supply.
7. A server power supply device, characterized in that: include: An acquisition module is used to obtain the power supply requirements of the server; A screening module, used for screening the power supply to be combined in the target power supply group according to the power supply demand of the server; wherein the target power supply group includes power supplies with multiple power supply capabilities; A combination module, used for combining and connecting the power supplies to be combined to obtain a target power supply that meets the power supply demand of the server; A power supply module is used to supply power to the server based on the target power supply.
8. A server, characterized in that: include: A host, a target power supply group and a power communication pairing device; The target power supply group includes power supplies with various power supply capabilities; The host side selects the power supply to be combined in the target power supply group based on the method according to any one of claims 1 to 6, 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 demand of the server.
9. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
A multi-power module system and its power management method
CN101267118A
Power supply equalization method for a server system a power supply equalization method thereof and a power supply
CN109917894A
Fusion power supply system for server
CN114546091A
Power supply method and device for central processing unit, storage medium and program product
CN118655967A
Operation control method and device for server power supply
CN118778790A