CN114069600A - Power supply method, device and system - Google Patents

Power supply method, device and system Download PDF

Info

Publication number
CN114069600A
CN114069600A CN202010758430.5A CN202010758430A CN114069600A CN 114069600 A CN114069600 A CN 114069600A CN 202010758430 A CN202010758430 A CN 202010758430A CN 114069600 A CN114069600 A CN 114069600A
Authority
CN
China
Prior art keywords
power supply
power
module
standby
main
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010758430.5A
Other languages
Chinese (zh)
Inventor
宋远明
马国强
李坪
谢峰
周祥超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010758430.5A priority Critical patent/CN114069600A/en
Publication of CN114069600A publication Critical patent/CN114069600A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/007Arrangements for selectively connecting the load or loads to one or several among a plurality of power lines or power sources
    • H02J3/0073Arrangements for selectively connecting the load or loads to one or several among a plurality of power lines or power sources for providing alternative feeding paths between load and source when the main path fails, e.g. transformers, busbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/08Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems requiring starting of a prime-mover
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Abstract

The method is applied to a power supply control device which is arranged on a server, wherein the server comprises a first power supply module and a second power supply module, the first power supply module is electrically connected with a main power supply link, the second power supply module is electrically connected with a standby power supply link, the main power supply link is used for supplying power to the first power supply module, and the standby power supply link is used for supplying power to the second power supply module. The method comprises the following steps: the power supply control device determines that the first power supply module is a main power supply module and determines that the second power supply module is a standby power supply module; the power supply control device selects the main power supply module to supply power for the server independently, and selects the standby power supply module to supply power for the server independently under the condition that the main power supply link fails. By the method, the construction cost of the data center can be reduced, and the reliability of link switching can be improved.

Description

Power supply method, device and system
Technical Field
The present application relates to the field of power supply technologies, and in particular, to a power supply method, device, and system.
Background
In recent years, rapid development of new technologies such as artificial intelligence, cloud computing, big data and fifth generation mobile communication technology (5th generation mobile networks, 5G) brings prosperity and growth of data centers. As an important component of a data center, the construction cost, reliability, and the like of the power supply architecture are issues that need attention.
At present, a data center mainly selects a main power supply link and a standby power supply link through a transfer switch (STS) cabinet to supply power to a server, and normally, an STS switch in an STS cabinet controls the main power supply link to supply power to the server, for example, for a server provided with two power supplies, two STS switches are provided, such as an STS switch 1 and an STS switch 2, the STS switch 1 and the STS switch 2 respectively obtain electric power from the main power supply link and equally distribute the electric power to the power supply 1 and the power supply 2, and when the STS switch detects that a fault occurs in the main power supply link, the STS switch 1 and the STS switch 2 switch and respectively obtain electric power from the standby power supply link and equally distribute the electric power to the power supply 1 and the power supply 2. That is to say, in the existing scheme, an STS switch is required to realize the switching between the main power supply link and the standby power supply link, and under the condition that there are many servers in the data center, a large number of STS cabinets need to be configured, and the STS cabinets occupy a large amount of space in the data center and are expensive, and the use of a large number of STS cabinets increases the construction cost of the data center.
Disclosure of Invention
The application provides a power supply method, a power supply device and a power supply system, which are used for reducing the construction cost of a data center and improving the reliability of link switching.
In a first aspect, the present application provides a power supply method, which is applied to a power supply control device, where the power supply control device is disposed in a server, and the server includes a first power module and a second power module, where the first power module is electrically connected to a main power supply link, the second power module is electrically connected to a standby power supply link, the main power supply link is used to supply power to the first power module, and the standby power supply link is used to supply power to the second power module.
The method comprises the following steps: the power supply control device determines that the first power supply module is the main power supply module and determines that the second power supply module is the standby power supply module, the power supply control device selects the main power supply module to supply power for the server independently, and selects the standby power supply module to supply power for the server independently under the condition that a main power supply link fails.
In the technical scheme, an STS switch is not required to be arranged, the switching between the main power supply link and the standby power supply link is directly controlled through the power supply control device in the server, and before and after the switching, the main power supply module or the standby power supply module independently supplies power to the server, so that the construction cost of the data center can be reduced, the switching risk caused by the fault or abnormality of the STS switch can be reduced, and the reliability of the switching of the power supply links can be improved.
In one possible implementation, the power supply control device determines that the first power module is a main power module and the second power module is a standby power module, and includes: the power supply control device compares a first voltage acquired by the first power supply module from the main power supply link with a second voltage acquired by the second power supply module from the standby power supply link; the power supply control device determines that the first voltage is higher than the second voltage, determines a first power module which acquires the first voltage from the main power supply link as a main power module, and determines a second power module which acquires the second voltage as a standby power module.
In another possible implementation, the determining, by the power supply control device, that the first power module is a main power module and the second power module is a standby power module includes: the power supply control device compares a first voltage acquired by the first power supply module from the main power supply link with a second voltage acquired by the second power supply module from the standby power supply link; the power supply control device determines that the second voltage is higher than the first voltage, determines a first power module which acquires the first voltage from the main power supply link as a main power module, and determines a second power module which acquires the second voltage as a standby power module.
In the technical scheme, the main power supply module and the standby power supply module are determined by the voltage difference provided by the main power supply link and the standby power supply link, the judgment of the voltage difference can be realized by the power supply control device in the server, and the STS switch is replaced by the power supply control device, so that the cost can be saved.
Alternatively, the first voltage may be set to be 0.1-0.5V higher than the second voltage, and the power supply control device determines the main power supply module and the standby power supply module by a weak voltage difference of 0.1-0.5V.
In one possible implementation, before the power supply control device determines that the first power module is the main power module and the second power module is the standby power module, the method further includes: the power supply control device determines that the power supply versions in the first power supply module and the second power supply module support setting of the main and standby working modes.
In the above technical solution, the power supply version of the power supply module supports the active/standby operating mode. In addition, in the embodiment of the application, if the power supply version does not support the main/standby working mode, firmware upgrade can be performed on the power supply version, so that the power supply version supports the main/standby working mode and is identified through the power supply version. In the data center, if a part of STS cabinets need to be reserved, whether a power supply version supports a main/standby working mode or not can be detected to confirm which servers adopt STS switches and which servers do not adopt STS switches, different servers adopt different power supply modes, the compatibility can be improved, and the gradual transition from STS existence to STS nonexistence of the data center is facilitated.
In the embodiment of the present application, the power sources included in the main power source module and the standby power source module may be the following two cases:
the first method comprises the following steps: the main power supply module comprises a first power supply, and the standby power supply module comprises a second power supply.
And the second method comprises the following steps: the main power supply module comprises at least two first power supplies, and the standby power supply module comprises at least two second power supplies.
In one possible implementation, in the case where the main power supply module includes at least two first power supplies, the at least two first power supplies provide electric power to the server in a parallel manner, and in the case where the standby power supply module includes at least two second power supplies, the at least two second power supplies provide electric power to the server in a parallel manner. That is to say, for example, the main power module has two power supplies, and then the two power supplies can supply power to the server at the same time under normal conditions, and the loads of the two power supplies respectively account for 50%, so that it can be ensured that both the two power supplies of the main power module can work at the same time, and one power supply does not work, and the other power supply is idle, and the power supply of the server can be effectively used.
In one possible implementation, the method further comprises: and the power supply control device selects the standby power supply module to supply supplementary power for the server under the condition that the electric power required by the server exceeds the rated power of the main power supply module, wherein the power exceeding the rated power is borne by the standby power supply module.
Through the technical scheme, the standby power supply module is started under the condition of overload, so that the server can be ensured to obtain required electric power, and the server can normally run.
In one possible implementation, the main power supply link includes a main transformer, a first uninterruptible power supply, a cable between the main transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power module, and the backup power supply link includes a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power module.
In the above technical solution, the main power supply link and the standby power supply link may include: hardware, cabling between hardware, that is, the primary power link failure may be a device (e.g., power) failure, a cabling between a power source and a server, etc.
In a second aspect, the present application provides a power supply control device, and for beneficial effects, reference may be made to the description of the first aspect, which is not described herein again. The power supply control device has a function of realizing the behavior in the method example of the first aspect described above. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions. In one possible design, the power supply control device is disposed in a server, and the server includes a first power module and a second power module, where the first power module is electrically connected to a main power link, the second power module is electrically connected to a standby power link, the main power link is configured to supply power to the first power module, and the standby power link is configured to supply power to the second power module. The device includes: the determining unit is used for determining that the first power supply module is a main power supply module and determining that the second power supply module is a standby power supply module; and the processing unit is used for selecting the main power supply module to independently supply power to the server, and selecting the standby power supply module to independently supply power to the server under the condition that the main power supply link fails. The units may perform corresponding functions in the method example of the first aspect, for specific reference, detailed description of the method example is given, and details are not repeated here.
In a third aspect, the present application provides a power supply system comprising: the server power supply system comprises at least one main power supply link, at least one standby power supply link and a plurality of servers, wherein a power supply control device, a first power supply module and a second power supply module are arranged in each server, the first power supply module is electrically connected with the main power supply link, the second power supply module is electrically connected with the standby power supply link, the main power supply link is used for supplying power to the first power supply module, the standby power supply link is used for supplying power to the second power supply module, the power supply control device determines that the first power supply module is the main power supply module and determines that the second power supply module is the standby power supply module, the power supply control device selects the main power supply module to supply power to the servers independently, and selects the standby power supply module to supply power to the servers independently under the condition that the main power supply link breaks down.
In a possible implementation, the power supply control device is further configured to compare a first voltage obtained by the first power supply module from the main power supply link with a second voltage obtained by the second power supply module from the standby power supply link; and determining that the first voltage is higher than the second voltage, determining a first power module which acquires the first voltage from the main power supply link as a main power module, and determining a second power module which acquires the second voltage as a standby power module.
In a possible implementation, the power supply control device is further configured to determine that the power versions in the first power module and the second power module support setting of the active/standby operating mode.
In one possible implementation, the main power module includes a first power source and the backup power module includes a second power source.
In one possible implementation, the main power supply module comprises at least two first power supplies and the standby power supply module comprises at least two second power supplies.
In one possible implementation, in the case where the main power supply module includes at least two first power supplies, the at least two first power supplies provide electric power to the server in a parallel manner, and in the case where the standby power supply module includes at least two second power supplies, the at least two second power supplies provide electric power to the server in a parallel manner.
In a possible implementation, the power supply control device is further configured to select a standby power supply module on the standby power supply link to supply power to the server in a supplementary manner in the case that it is determined that the electric power required by the server exceeds the rated power of the main power supply module, wherein the power exceeding the rated power is borne by the standby power supply module.
In one possible implementation, the main power supply link includes a main transformer, a first uninterruptible power supply, a cable between the main transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power module. The backup power link includes a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power module.
In one possible implementation, the system further comprises a delivery device; and the delivery device is used for informing the power supply control device to configure the first power supply module and the second power supply module into a main/standby working mode.
In practical applications, a transition is required from a data center with an STS switch to a data center without the STS switch, and in some cases, there are cases where some servers use the STS switch and some other servers do not use the STS switch. After changing the wiring manner of the power module of a server (e.g., server a) in the data center (e.g., directly connecting the power module to an uninterruptible power supply), which does not need an STS switch, an administrator of the data center may select the server a through an interface provided by the delivery device, and at this time, the delivery device notifies the power supply control device of the server a to set the power module to the active/standby operating mode. The power supply control device can enable the power supply module to support the main and standby working modes by updating the firmware version number of the power supply module.
The updated firmware version number is used for indicating that the power supply module supports the main/standby working mode, and the server which does not use the STS switch in the data center can be recorded through the updated firmware version number.
In one possible implementation, the system further comprises: and the operation and maintenance device is used for inquiring whether the first power supply module and the second power supply module are configured to be in the main and standby working modes or not to the power supply control device.
When the power supply control device confirms that the first power supply module and the second power supply module are configured to be in the main/standby working mode, the operation and maintenance device can confirm that the wiring mode of the power supply module of the server is changed, and at the moment, the operation and maintenance device can provide a display interface to enable an administrator to know that the server supports the working mode without the STS switch in the operation and maintenance process, so that the administrator can know the power supply mode of the server.
In a possible implementation, when the working mode of the first power module and the second power module is not the active/standby working mode, the operation and maintenance device is further configured to notify the power supply control device to configure the first power module and the second power module in the active/standby working mode.
When the working mode of the first power supply module and the second power supply module is not the main/standby working mode, the operation and maintenance device can provide an interface to allow an administrator to select whether the server supports the STS-free switch or not. If the administrator selects "yes," the operation and maintenance device may notify the power supply control device to configure the first power module and the second power module in the active/standby operating mode. Specifically, the power supply control device may update firmware version numbers of the first power module and the second power module, where the updated firmware version number is used to indicate that the power module supports the active/standby operating mode, and the operation and maintenance device prompts an administrator to change a wiring manner of the power module of the server according to the updated firmware version number (for example, directly connecting the power module to the uninterruptible power supply).
In a fourth aspect, the present application provides a power supply control apparatus having a function of implementing the power supply method of the first aspect or any one of the possible implementations of the first aspect. The functions may be implemented by hardware, or by hardware executing corresponding software.
The apparatus comprises a communication interface for receiving and transmitting data, a processor configured to enable the apparatus to perform corresponding functions in any of the possible implementations of the first aspect or the first aspect as described above, and a memory. The memory is coupled to the processor, which holds the necessary program instructions for the device.
In a fifth aspect, a computer-readable storage medium is provided, in which instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method in the first aspect and the embodiments.
A sixth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect and embodiments described above.
In a seventh aspect, a chip is provided, and logic in the chip is used to execute the method in the first aspect and each implementation manner.
It should be understood that, for the technical effects achieved by the technical solutions of the second aspect to the seventh aspect and the corresponding possible implementation manners of the embodiments of the present application, reference may be made to the technical effects of the first aspect and the corresponding possible implementation manners, and details are not described here again.
Drawings
FIG. 1 is a schematic diagram of a power supply system;
fig. 2 is a schematic diagram of a power supply system of a data center according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a power supply method according to an embodiment of the present application;
fig. 4A is a schematic diagram of a power module according to an embodiment of the present disclosure;
fig. 4B is a schematic diagram of another power module according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a power supply system according to an embodiment of the present application;
fig. 6 is a flowchart of an implementation of a power supply method provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a power supply control device according to an embodiment of the present application;
fig. 8 is a schematic diagram of another power supply control device according to an embodiment of the present application.
Detailed Description
Fig. 1 is a schematic diagram of a power supply system. As shown in fig. 1, the power supply system may include: automatic Transfer Switch (ATS), main transformer (transformers N1-N4), redundant transformer (transformer-R), Uninterruptible Power System (UPS), Static Transfer Switch (STS), power supply, server, etc. The ATS is used for switching a main power supply and a standby power supply, the input of the ATS is generally two inputs, one of the two inputs is the input of a 10KV power distribution A circuit serving as a high-voltage main power supply, the other input of a 10KV power distribution B circuit serving as a high-voltage standby power supply, and when the high-voltage main power supply fails, the ATS is switched to the high-voltage standby power supply to supply power to a rear-end load. The UPS is used for providing uninterrupted current, when the UPS front-end equipment or cable is in normal power supply, the UPS supplies the current output by the transformer to the back-end load after stabilizing the voltage and stores part of the current properly, when the UPS front-end equipment or cable is in failure, the UPS can continue to supply power to the load by using the stored part of the current within a certain time period, and the load can be ensured to temporarily maintain normal operation.
The power distribution A circuit obtains current from the commercial power A circuit, the power distribution B circuit obtains current from the commercial power B circuit, and the commercial power A circuit and the commercial power B circuit are power supply circuits provided by a power supply office.
Further, under the condition that the utility line A and the utility line B both have faults (for example, power failure of a power supply office), current can be provided to the distribution line A and the distribution line B in a diesel power generation mode for temporary power supply.
For STS1, STS1 includes a first interface connected to UPS-N1, a second interface connected to UPS-R, and a third interface connected to power supply 1, and STS1 preferentially provides the current of UPS-N1 obtained by the first interface to the third interface when the first interface obtains the current provided by UPS-N1. The STS1 provides the current of the UPS-R sourced by the second interface to the third interface when the current provided by the UPS-N1 is unavailable at the first interface.
For the STS2, the STS2 includes a fourth interface, a fifth interface, and a sixth interface, the fourth interface is connected to the UPS-N1, the fifth interface is connected to the UPS-R, the sixth interface is connected to the power supply 2, and the STS2 preferentially provides the current of the UPS-N1 obtained by the fourth interface to the sixth interface when the fourth interface obtains the current provided by the UPS-N2. The STS2 provides the current of the UPS-R obtained by the fifth interface to the sixth interface when the current provided by the UPS-N1 is not available at the fourth interface.
Specifically, the power is the multiplication of the current and the voltage, the current provided by the UPS corresponds to the voltage of the power supply provided to the server (which may be converted by the transformer), the UPS provides the same current to the STS, if the power required by the server is P, the UPS-N1 provides P/2 power to the first interface of the STS1, P/2 power to the fourth interface of the STS2, the UPS-R provides P/2 power to the second interface of the STS1, and P/2 power to the fifth interface of the STS 2.
It is to be understood that 1, 2, 3, 4, 5, 6, etc. in fig. 1 identify the identity of an interface, e.g. 1 denotes a first interface, 2 denotes a second interface, etc.
Therefore, under normal conditions, the server is powered by the link where the main transformer is located, and the link where the redundancy transformer R is located serves as a hot backup and does not bear load. When the main power supply link fails (specifically, for example, when the UPS-N output on the main power supply link fails), the STS switch switches the interface to switch the main power supply link to the standby power supply link, that is, the STS switch switches the load to the link where the redundant transformer R is located to continue supplying power to the server.
And, the server includes power 1 and power 2 inside, these two power are load balancing mode when supplying power, that is to say, normally, supply power for the server by power 1 and power 2 on the main power supply link simultaneously, these two power each undertake 50% load. After the STS switch switches the main power supply link to the standby power supply link, the server is also powered by both power supply 1 and power supply 2. It should be noted that fig. 1 is only a schematic illustration, and in practical applications, the number of the main transformers may also be 5, 6, etc., the number of the servers may also be more, and the number of the power supplies may also be more.
It should be noted that, in fig. 1, the commercial power a and the commercial power B are normally supplied at the same time, and when the commercial power a and the commercial power B fail, a standby power supply, such as a diesel engine, may be used to supply power. The connection relationship between the transformer N1, the transformer N2, the transformer N3, the transformer N4, and the transformer R and the commercial power is not limited. As an example, the transformer N1, the transformer N3, and the transformer R may be connected to the commercial power a line, and the transformer N2, the transformer N4 may be connected to the commercial power B line. When one of the commercial power circuit a and the commercial power circuit B has a fault, for example, when the commercial power circuit B has a fault, the transformer N2 and the transformer N4 can be switched to the commercial power circuit a through an Automatic Transfer Switch (ATS). Of course, it is to be understood that the connection relationship is not limited to the above examples.
In the power supply system, if equipment or cables between the STS1 and the transformer-N1 are in failure, the STS1 needs to be switched to UPS-R power supply, and according to the power supply system, a large number of STS cabinets need to be configured, so that the construction cost of a data center is high. Moreover, the STS occupies the space of the cabinet, and the defects are obvious for the area with deficient land resources. In addition, the STS switching involves the switch actuation and disconnection under the loaded state, and high temperature is likely to occur at the electric shock position, which leads to resistance increase and poor reliability.
In view of this, embodiments of the present application provide a new power supply system, in which a power supply control device in a server controls switching of power modules, so as to implement power supply switching, and an STS switch is not required, so that construction cost of a data center can be reduced, and reliability can be improved.
Further, based on a new power supply system, the embodiment of the application provides a new solution, and a complete solution for planning, delivering, operating and maintaining the full life cycle stages of the server is formed through a delivering device and an operating and maintaining device.
At least one of the embodiments of the present application includes one or more, where a plurality means greater than or equal to two. In the description of the present application, the terms "first", "second", and the like are used for the purpose of distinguishing between objects to be described, and are not intended to indicate or imply relative importance nor order to be construed.
Fig. 2 is a schematic diagram of a power supply system of a data center according to an embodiment of the present disclosure. Fig. 2 is compared to fig. 1 with a reduced STS switch and a different load pattern of the power supply supplying the server. Specifically, in fig. 2, when the server is powered by the power supply 1 and the power supply 2, the power supply 1 serves as a main power supply to supply power to the server, and the power supply 2 serves as a backup power supply without a load. When the UPS-N breaks down, the standby power supply 2 is started immediately, and the server load is supplied with power by the standby power supply 2 independently, so that continuous power supply of the server is ensured.
For convenience of description, in the embodiments of the present application, the power supply modules may be respectively referred to as a "first power supply module" and a "second power supply module".
It should be noted that, in the power supply system, at least one main power supply link, at least one backup power supply link, and a plurality of servers may be included. Each server may include a power supply control device (for example, implemented by a Baseboard Management Controller (BMC)), a first power module (e.g., power supply 1), and a second power module (e.g., power supply 2). The power supply 1 is electrically connected with a main power supply link, the power supply 2 is electrically connected with a standby power supply link, the main power supply link is used for supplying power to the power supply 1, and the standby power supply link is used for supplying power to the power supply 2. The power supply control device, the power supply 1, and the power supply 2 are provided on the main board of the server.
As an example, in FIG. 2, the primary power supply link may include transformer-N1, UPS-N1, cables between transformer-N1 and UPS-N1, and cables between UPS-N1 and power supply 1. The backup power link may include transformer-R, UPS-R, a cable between transformer-R and UPS-R, and a cable between UPS-R and power source 2.
Of course, it will be appreciated that the main power link may also include transformer-N2, UPS-N2, cables between transformer-N2 and UPS-N2, and cables between UPS-N2 and power supply 1; transformer-N3, UPS-N3, cables between transformer-N3 and UPS-N3, and cables between UPS-N3 and power supply 1.
Fig. 3 is a flowchart of a power supply method according to an embodiment of the present application, and referring to fig. 3, the method may include the following steps:
step 301: the power supply control device acquires a first voltage and a second voltage.
For convenience of description, the input voltage of the first power supply module may be referred to as a "first voltage" and the input voltage of the second power supply module may be referred to as a "second voltage" hereinafter. The first voltage is obtained by the first power supply module from the main power supply link, and the second voltage is obtained by the second power supply module from the standby power supply link.
In one possible implementation, the first power module may include a first power source therein, and the second power module may include a second power source therein. That is, the first power module and the second power module respectively include a power source, for example, referring to fig. 4A, it is assumed that the power source 1 is the first power source and the power source 2 is the second power source.
In yet another possible implementation, the first power module may include at least two first power sources, and the second power module may include at least two second power sources. That is, the first power module and the second power module may include at least two power supplies, respectively. Illustratively, as shown in fig. 4B, a first power module included in the server may include a power supply 1 and a power supply 2, and a second power module may include a power supply 3 and a power supply 4.
Of course, it is understood that fig. 4B is only a schematic illustration, and the first power module and the second power module may also include three or more power supplies, or the first power module includes two power supplies, the second power module includes three power supplies, or the first power module includes three power supplies, the second power module includes two power supplies, and the like, which is not limited in this application.
Step 302: the power supply control device determines the first power supply module as a main power supply module and determines the second power supply module as a standby power supply module according to the voltage difference between the first voltage and the second voltage.
In this embodiment of the application, after the power supply control device obtains the first voltage and the second voltage, the first voltage obtained by the first power module from the main power supply link and the second voltage obtained by the second power module from the standby power supply link may be compared, and then the operating mode of the power module is set according to the obtained voltage of the power module. Specifically, assuming that the first voltage is higher than the second voltage, the first power module may be set as a main power module, and the second power module may be set as a standby power module; if the first voltage is lower than the second voltage, the first power supply module can be set as a standby power supply module, and the second power supply module can be set as a main power supply module. That is, the power supply control device determines the power module with high voltage as the main power module and determines the power module with low voltage as the standby power module.
For example, taking the case that the first voltage is higher than the second voltage, the power supply control device may determine a first power module that acquires the first voltage from the main power link as the main power module, and determine a second power module that acquires the second voltage from the backup power link as the backup power module.
In an alternative embodiment, the power module with the lower acquired voltage may also be set as a main power module, and the power module with the higher acquired voltage may also be set as a backup power module.
It should be noted that, before setting the working mode of the power supply module, the power supply control device may determine that its version supports setting the active/standby working mode, and may further set the working mode of the power supply module. For example, in the present application, a version of the power supply control device that supports setting of the active/standby operating mode may be preconfigured, for example, a version above V5.0 is configured to support setting of the active/standby operating mode, so before the operating mode of the power module is set, a version number of the power supply control device may be obtained first, and whether the version number of the power supply control device meets a configuration condition may be determined. If the condition is satisfied, the operating mode of the power module may be set.
Next, taking the first power module as a main power module and the second power module as a standby power module as an example, the description of fig. 4A and 4B is continued.
As an example, for example, as shown in fig. 4A, when the power supply 1 is a main power supply module and the power supply 2 is a standby power supply module, normally, the power supply controller selects the power supply 1 to supply power alone to the motherboard of the server, the power supply 2 is idle as the standby power supply module of the server, and the power supply 1 supplies 100% of the current (or electric power) required by the server when supplying power to the motherboard of the server, and the power supply 2 has no load.
In the case where the main power supply module includes at least two first power supplies, the at least two first power supplies may supply electric power to the server in a parallel manner; in the case where the standby power module includes at least two second power sources, the at least two second power sources may supply electric power to the server in a parallel manner.
As another example, for example, as shown in fig. 4B, when the power supply 1 and the power supply 2 are arranged in parallel as a main power supply module and the power supply 3 and the power supply 4 are arranged in parallel as a standby power supply module, the server is normally simultaneously supplied with power by the power supply 1 and the power supply 2 in parallel, and the power supply 3 and the power supply 4 have no load. That is, when the main power supply module includes at least two power supplies, the power supplies 1 and 2 are in a load balancing mode, and the power supplies 1 and 2 each supply 50% of current (or electric power) to the server.
It should be noted that fig. 4A and 4B are only for schematically illustrating a load situation when the power supply supplies power to the server, and in practical applications, the power supply may be installed inside the server as one device of the server.
Further, before the power supply control device sets the operating mode of the power supply module, that is, before the power supply control device determines that the first power supply module is the main power supply module and the second power supply module is the standby power supply module, it may be determined that the power supply versions in the first power supply module and the second power supply module support setting of the active/standby operating mode.
As a possible implementation manner, in the present application, a power version supporting setting of the active/standby operating mode may be configured in advance, for example, a version above V7.0 is configured to support setting of the active/standby operating mode, so before the operating mode of the power module is set, a version number of the power may be obtained first, and whether the power version number meets a configuration condition is determined. If both the main power supply and the standby power supply meet the conditions, the main/standby operating mode may be set. If one of the main power supply and the standby power supply does not meet the condition, firmware upgrading can be carried out on the power supply which does not meet the condition, so that the upgraded power supply version is the version supporting setting of the main/standby working mode.
Step 303: the power supply control device selects the main power supply module to independently supply power to the server, and selects the standby power supply module to independently supply power to the server under the condition that the main power supply link fails.
In the embodiment of the application, after the power supply control device determines that the first power supply module is the main power supply module, the main power supply module can be selected to supply power to the server independently, and the standby power supply module has no load. If the main power supply link fails, the main power supply link is switched to the standby power supply link, and the standby power supply module independently supplies power to the server continuously.
It should be noted that, the failure of the main power supply link may be a cable failure, or may be a failure of a device on the main power supply link, which is not limited in this application.
For example, in fig. 4A, if a device (e.g., transformer-N1) on the primary power supply link fails or a cable fails, the power supply control device may switch the primary power supply link to the backup power supply link, and the power supply 2 may supply power to the server to ensure normal power supply to the server. After the main power supply link returns to normal, the main power module on the main power supply link can continue to supply power for the server.
As yet another example, taking FIG. 4B as an example, the servers are normally powered by power supplies 1 and 2, and if the primary power link fails, the primary power link may be switched to the backup power link, and the servers are powered by power supplies 3 and 4.
In the application, the power supply link switching is realized by the power supply control device inside the server, and compared with a scheme of switching through the STS, the reliability can be improved, and the construction cost of the data center can be reduced.
Further, in the embodiment of the application, under the condition that the electric power required by the server is judged to exceed the rated power of the main power supply module, the standby power supply module is selected to supply supplementary power for the server, wherein the power exceeding the rated power is borne by the standby power supply module. That is, if the power of the server exceeds the rated power of the power supply module, the excess may be taken over by the backup power supply module.
For example, assuming that the power of the server is 1000w and the rated power of the power module is 800w, the excess 200w can be borne by the standby power module. That is to say, in the embodiment of the present application, no matter when the main power supply link fails or the server power is overloaded, the control mode of the power module maintains the main/standby operating mode, and is not switched to the load balancing mode.
Further, in the same server, the power supply control device can send different control signals to the power supply, wherein the control signal 1 can control the power supply to output current to the mainboard of the server so as to supply power to the server, the control signal 2 can control the power supply to be idle, the power supply can not output current to the mainboard of the server, and the power supply control device can select different power supplies to supply power to the server by sending the control signals.
And, the power supply can send status information to the power supply control device, the status information is used for indicating whether the power supply receives the current sent by the power supply link.
In addition, when the power module is in the main/standby operating mode, if the power of the server exceeds 75% of the rated power of the power module, the operating mode of the power module still maintains the main/standby operating mode, and the power module does not enter the load balancing mode. In other words, in the present application, when the server power exceeds a preset multiple of the rated power of the power module, the operating mode of the power module maintains the active/standby operating mode.
The following description will proceed with the power supply method referred to in the present application, taking a power supply system as an example. In the power supply system of the present application, at least one primary power supply link, at least one backup power supply link, and a plurality of servers may be included. The server comprises a server body, a plurality of servers and a power supply control device, wherein the server body is provided with the server body, the server body is provided with the server body, the server is provided with the server body, the server is provided with the server body power supply unit, the server is provided with the server, the server body power supply unit, the server is provided with the server, the server is provided with the server, the server body power supply unit, the server is provided with the server, the server.
Referring to fig. 5, a schematic diagram of a power supply system according to an embodiment of the present disclosure is provided, the schematic diagram is divided by modules, and the system may include: the power supply control device 501, the first power module 5021, the second power module 5022, the delivery device 503 and the operation and maintenance device 504.
It is understood that the system shown in fig. 5 is partitioned in modules, and does not conflict with the above-described system partitioned by structure, and the two are different only in the angle of partitioning the system.
It should be noted that, for the functions corresponding to the power supply control device, reference may be specifically made to the description in the embodiment shown in fig. 3, and details are not repeated here.
Further, a delivery device in the system may be configured to notify the power supply control device to configure the first power module and the second power module in the active/standby operating mode.
And the operation and maintenance device can be used for inquiring whether the first power supply module and the second power supply module are configured to be in the main and standby working modes or not to the power supply control device.
Furthermore, when the working modes of the first power module and the second power module are not the main standby working mode, the operation and maintenance device is further configured to notify the power supply control device to configure the first power module and the second power module into the main standby working mode.
The power supply method of the embodiment of the present application is described below with reference to practical engineering implementation. Referring to fig. 6, an implementation flowchart according to an embodiment of the present application is shown. As shown in fig. 6, the process may include a planning phase, a delivery phase, an operation and maintenance phase, and the like. These processes are described separately below.
The first stage is as follows: planning phase
At this stage, the engineer may enter the machine room power supply information of the data center on the planning platform, for example, the power supply modes of the servers of the machine room include a power supply mode without an STS switch and a power supply mode with an STS switch.
And a second stage: delivery phase
In the embodiment of the present application, the delivery device may have a function of setting the active/standby operating modes in batches, and may limit the maximum batch upgrading number in order to prevent the standby power supply link from being overloaded.
Specifically, the method can comprise the following steps:
1) the delivery device can read the power supply information of the machine room from the planning platform.
2) And issuing a setting function for starting the main/standby working modes.
And if the delivery device reads that the power supply mode of the cabinet in the machine room is the power supply mode without the STS switch, issuing a command for starting the main/standby working mode setting function to the power supply control device.
3) And judging that the main/standby working mode is set.
In practical applications, an administrator of the data center needs to select which servers use the scheme without the STS switch and which servers use the scheme with the STS switch. It will be appreciated that servers using the STS switch and servers not using the STS switch may be tagged with different identifications for the administrator to look up.
And after the administrator selects the server without the STS switch, changing the wiring mode of the server, removing the STS cabinet, and informing the power supply control device to set the power supply module to be in the main/standby working mode by using the delivery device. In this process, the power supply control device needs to determine that its version supports the active/standby operating mode, and needs to determine that the version of the power supply module supports the active/standby operating mode. If the version of the power supply control device and/or the version of the power module do not support the active/standby working mode, the power supply control device and/or the power module can support the active/standby working mode by updating the firmware version number of the power supply control device and/or the firmware version number of the power module. Thus, a server that does not use the STS switch can be recorded with the updated firmware version number.
4) And entering a main/standby configuration state.
5) And detecting whether the version of the power supply control device supports setting of the main/standby working modes.
6) And detecting whether the power supply version supports setting of the main/standby working mode.
7) The feedback power supply version supports setting of a main and standby working mode.
8) And setting the main and standby working modes of the power supply module.
In this embodiment of the present application, it may be first detected whether the current version of the power supply control device supports setting of the active/standby operating mode, and if the current version of the power supply control device supports setting of the active/standby operating mode, the power supply control device sends an inquiry message to the power supply module, where the inquiry message is used to inquire whether the version of the power supply supports the active/standby operating mode, and then the power supply module may feed back to the power supply control device whether the setting condition of the active/standby operating mode is satisfied. If the power supply version meets the setting condition of the main/standby working mode, the power supply control device issues a setting instruction to the power supply module, and the power supply module is set to the main/standby working mode.
If the current version of the power supply control device does not support the setting of the main/standby working mode, the firmware of the current version of the power supply control device can be upgraded, so that the upgraded version of the power supply control device is the version supporting the setting of the main/standby working mode. It should be noted that, in this embodiment of the application, whether the version of the power supply control device supports the active/standby operating mode may be preconfigured, for example, a power supply control device higher than the V5.0 version may be preconfigured to support setting the active/standby operating mode.
Further, after the power module is in the active/standby operating mode, the power supply control device may feed back a message that the active/standby operating mode is successfully set to the delivery device, and may record an active/standby operating mode log of the power module, so that the relevant information may be queried when needed for subsequent operation and maintenance.
And a third stage: operation and maintenance phase
In this embodiment, the operation and maintenance device may have a function of querying the power supply control device in batches and setting the main/standby operating modes.
At this stage, two modes may be included, one being autonomous query and the other being automatic feedback.
(1) Autonomous query
The operation and maintenance device can issue a command for inquiring the main and standby working modes to the power supply control device, then the power supply control device can inquire the working mode of the power module, and feed back the inquiry result to the operation and maintenance device. And if the working mode of the power supply module is the main/standby working mode, finishing the query. If the working mode of the power module is not the main/standby working mode, the operation and maintenance device can issue a command for starting the setting function of the main/standby working mode to the power supply control device, and the power supply control device can set the working mode of the power module after receiving the command. The process of the setting can refer to the description in the delivery phase, and the description is not repeated here.
In practical application, after the power supply control device sets the power supply module to the active/standby working mode, the operation and maintenance device can confirm that the wiring mode of the power supply module of the server selected by the administrator has changed, at this moment, the operation and maintenance device can provide a display interface, and the display interface can enable the administrator to timely know that the server supports the working mode without the STS switch in the operation and maintenance process, so that the administrator can conveniently know the power supply mode of the server.
And when the power module is not in the main/standby working mode, the operation and maintenance device can provide an interface so that an administrator can select whether to enable the server to support the STS-free switch. If the administrator selects "yes," the operation and maintenance device may notify the power supply control device to configure the power supply module in the active/standby operating mode.
For example, the power supply control device may update the firmware version number of the power module so that the updated power version supports the active/standby operating mode. And the operation and maintenance device can prompt an administrator that the wiring mode of the power module of the server needs to be changed according to the updated firmware version number. And the updated firmware version number is used for indicating that the power supply module supports the main/standby working mode.
(2) Autonomous feedback
After the power supply control device sets the working mode of the power supply module to the active/standby mode in the delivery stage, the power supply control device can detect the working mode of the power supply module in real time, and then the power supply module can feed back the working mode of the power supply control device in real time. Therefore, if the working mode of the power supply module changes, the power supply control device can timely give an alarm to the operation and maintenance device so as to timely adjust the working mode of the power supply module. It can be understood that the operating mode of the power module changes, for example, the main power source 1 may be switched to the standby power source 2, or the main power source 1 may be switched to the load balancing power mode.
That is to say, in the embodiment of the present application, the power supply control device may provide an inquiry interface to the operation and maintenance device, and may also actively inquire and automatically feed back an alarm. And after the power supply control device sets the power supply module to be in the main/standby working mode, if the scene of power failure of the single-path power supply module or restarting of the server occurs, the main/standby working mode of the power supply module cannot be changed.
In addition, in the embodiment of the present application, since the backup power supply link is used as a hot backup, there is no load under normal conditions, and the current is very small, in a Data Center Infrastructure Management (DCIM) system, a circuit early warning value may be set for the backup power supply link. And if the current value of the standby power supply link is larger, pushing the alarm to the DCIM.
Further, in practical applications, a problem of an equipment failure or a link failure may occur, and then, when a failure or maintenance occurs, the influence on the working mode of the power module may be different, for example, in some scenarios, the active/standby working mode of the power may need to be reset. In different scenarios, the measures taken for the operating mode of the power supply module can be seen in table 1 below.
Table 1 working mode of power module under different scenes
Scene Detailed description of the invention
Main power supply link maintenance After the output of the main power supply 1 of the server is cut off, the power supply is automatically switched to the standby power supply 2 for power supply
Standby power supply link maintenance Has no influence on
Main UPS-N maintenance The main UPS-N is transferred to the maintenance bypass for supplying power without influencing
Master UPS-N output fault The server automatically switches to the standby power supply 2 for supplying power
Server integrity failure Replacing server and resetting main and standby power supply working modes
Server motherboard failure Replacing server mainboard and resetting main power supply and standby power supply working modes
BMC software upgrades No influence, and keeping the working mode of the main power supply and the standby power supply
Single power module failure Replacing power supply module and resetting main and standby power supply working modes
Power module software upgrade Two power supply modules are upgraded in turn, and after the upgrade is completed, the working modes of the main power supply and the standby power supply are set
According to the embodiment of the application, the working mode of the power supply module is set by combining software and hardware, the control strategy of the power supply module is controlled, STS is not needed, and therefore switching of the main link and the standby link is completed. According to the method, the construction cost of the data center is reduced, and meanwhile the reliability of link switching is improved. Compared with the scheme in the prior art, the STS cabinet is removed, the space in the machine room can be increased, and the cabinet discharging rate is improved. Meanwhile, an STS cabinet is removed, and the management strategies of linked planning, delivery, operation and maintenance are realized through an infrastructure L1 layer and a server soft and hard L2 layer, so that the delivery, operation and maintenance flow is simplified, and the labor cost can be reduced.
Fig. 7 shows a schematic diagram of a power supply control device. The device is arranged in a server, wherein the server comprises a first power supply module and a second power supply module, the first power supply module is electrically connected with a main power supply link, the second power supply module is electrically connected with a standby power supply link, the main power supply link is used for supplying power to the first power supply module, and the standby power supply link is used for supplying power to the second power supply module. The apparatus 700 may include: a determining unit 701 and a processing unit 702.
The determining unit 701 is configured to determine that the first power module is a main power module, and determine that the second power module is a standby power module; a processing unit 702, configured to select the main power module to solely supply power to the server, and select the backup power module to solely supply power to the server in a case that the main power supply link fails.
In a possible implementation, the determining unit 702 is specifically configured to determine that the first power module is a main power module, and the second power module is a standby power module as follows: comparing a first voltage obtained by the first power supply module from the main power supply link with a second voltage obtained by the second power supply module from the standby power supply link; determining that the first voltage is higher than the second voltage, determining the first power module that acquires the first voltage from the main power supply link as the main power module, and determining the second power module that acquires the second voltage from the backup power supply link as the backup power module.
In one possible implementation, the determining unit 701 is further configured to: before determining that a first power module is a main power module and a second power module is a standby power module, determining that power versions in the first power module and the second power module support setting of a main/standby working mode.
In one possible implementation, the main power supply module includes a first power supply and the standby power supply module includes a second power supply.
In one possible implementation, the main power supply module includes at least two first power supplies, and the standby power supply module includes at least two second power supplies.
In one possible implementation, in the case where the main power supply module includes the at least two first power supplies, the at least two first power supplies provide the electric power to the server in parallel, and in the case where the backup power supply module includes at least two second power supplies, the at least two second power supplies provide the electric power to the server in parallel.
In one possible implementation, the processing unit 702 is further configured to: and under the condition that the electric power required by the server exceeds the rated power of the main power supply module, selecting the standby power supply module to supply supplementary power for the server, wherein the power exceeding the rated power is borne by the standby power supply module.
In one possible implementation, the main power supply link includes a main transformer, a first uninterruptible power supply, a cable between the main transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power supply module, and the backup power supply link includes a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power supply module.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Fig. 8 shows a power supply control apparatus 800 according to an embodiment of the present application, where the apparatus 800 includes at least one processor 802 for implementing or supporting the apparatus 800 to implement the functions of the power supply control apparatus shown in fig. 3 according to an embodiment of the present application. For example, the processor 802 may select the main power module to independently supply power to the server, and select the standby power module to independently supply power to the server when the main power supply link fails, which is specifically described in detail in the method example and is not described herein again.
The apparatus 800 may also include at least one memory 801 for storing program instructions. The memory 801 is coupled to the processor 802. The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, and may be an electrical, mechanical or other form for information interaction between the devices, units or modules. The processor 802 may operate in conjunction with the memory 801. Processor 802 may execute program instructions and/or data stored in memory 801. At least one of the at least one memory may be included in the processor.
Apparatus 800 may also include a communication interface 803 for communicating with other devices over a transmission medium. The processor 802 may transceive data using the communication interface 803.
The present application is not limited to the specific connection medium between the communication interface 803, the processor 802, and the memory 801 described above. In fig. 8, the memory 801, the processor 802, and the communication interface 803 are connected by a bus 804, which is indicated by a thick line in fig. 8. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
In the embodiments of the present application, the processor 802 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be implemented directly by a hardware processor, or by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory 801 may be a non-volatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing the storage function to store the program instructions.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
Also provided in embodiments herein is a computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of the embodiment shown in fig. 3.
Also provided in an embodiment of the present application is a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the embodiment shown in fig. 3.
The embodiment of the present application further provides a chip, and logic in the chip is used for executing the method of the embodiment shown in fig. 3.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (30)

1. A power supply method is applied to a power supply control device, the power supply control device is arranged on a server, the server comprises a first power supply module and a second power supply module, wherein the first power supply module is electrically connected with a main power supply link, the second power supply module is electrically connected with a standby power supply link, the main power supply link is used for supplying power to the first power supply module, and the standby power supply link is used for supplying power to the second power supply module, and the method comprises the following steps:
the power supply control device determines that the first power supply module is a main power supply module and determines that the second power supply module is a standby power supply module;
the power supply control device selects the main power supply module to solely supply power for the server, and selects the standby power supply module to solely supply power for the server under the condition that the main power supply link fails.
2. The method of claim 1, wherein the power control device determining that the first power module is a primary power module and the second power module is a backup power module, comprising:
the power supply control device compares a first voltage acquired by the first power supply module from the main power supply link with a second voltage acquired by the second power supply module from the standby power supply link;
the power supply control device determines the first power module which acquires the first voltage from the main power supply link as the main power module according to the voltage difference between the first voltage and the second voltage, and determines the second power module which acquires the second voltage from the standby power supply link as the standby power module.
3. The method of claim 1 or 2, wherein before the power control apparatus determines that the first power module is a primary power module and the second power module is a backup power module, the method further comprises:
and the power supply control device determines that the power supply versions in the first power supply module and the second power supply module support setting of a main and standby working mode.
4. A method according to any one of claims 1 to 3, wherein the primary power supply module comprises a first power supply and the backup power supply module comprises a second power supply.
5. A method according to any one of claims 1 to 3, wherein the primary power supply module comprises at least two first power supplies and the backup power supply module comprises at least two second power supplies.
6. The method of claim 5, wherein the at least two first power sources provide electrical power to the server in parallel if the main power module includes the at least two first power sources, and the at least two second power sources provide electrical power to the server in parallel if the backup power module includes at least two second power sources.
7. The method of any of claims 1 to 6, further comprising:
and the power supply control device selects the standby power supply module to supply supplementary power for the server under the condition that the electric power required by the server is judged to exceed the rated power of the main power supply module, wherein the power exceeding the rated power is borne by the standby power supply module.
8. The method of any of claims 1-7, wherein the primary power supply link comprises a primary transformer, a first uninterruptible power supply, a cable between the primary transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power module, and wherein the backup power supply link comprises a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power module.
9. The utility model provides a power supply control device, its characterized in that power supply control device sets up in the server, the server includes first power module and second power module, wherein, first power module is connected with main power supply link electricity, second power module is connected with reserve power supply link electricity, main power supply link is used for doing first power module supplies power, reserve power supply link is used for doing the power supply of second power module, the device includes:
the determining unit is used for determining that the first power supply module is a main power supply module and determining that the second power supply module is a standby power supply module;
and the processing unit is used for selecting the main power supply module to independently supply power to the server, and selecting the standby power supply module to independently supply power to the server under the condition that the main power supply link fails.
10. The apparatus according to claim 9, wherein the determining unit is specifically configured to determine that the first power module is a main power module and the second power module is a standby power module as follows:
comparing a first voltage obtained by the first power supply module from the main power supply link with a second voltage obtained by the second power supply module from the standby power supply link;
according to the voltage difference between the first voltage and the second voltage, determining the first power module which acquires the first voltage from the main power supply link as the main power module, and determining the second power module which acquires the second voltage from the standby power supply link as the standby power module.
11. The apparatus of claim 9 or 10, wherein the determination unit is further configured to: before determining that a first power module is a main power module and a second power module is a standby power module, determining that power versions in the first power module and the second power module support setting of a main/standby working mode.
12. The apparatus of any of claims 9 to 11, wherein the primary power module comprises a first power source and the backup power module comprises a second power source.
13. The apparatus of any one of claims 9 to 11, wherein the primary power supply module comprises at least two first power supplies and the backup power supply module comprises at least two second power supplies.
14. The apparatus of claim 13, wherein in the case where the main power supply module includes the at least two first power supplies, the at least two first power supplies provide electrical power to the server in parallel, and in the case where the backup power supply module includes at least two second power supplies, the at least two second power supplies provide electrical power to the server in parallel.
15. The apparatus of any of claims 9 to 14, wherein the processing unit is further to: and under the condition that the electric power required by the server exceeds the rated power of the main power supply module, selecting the standby power supply module to supply supplementary power for the server, wherein the power exceeding the rated power is borne by the standby power supply module.
16. The apparatus of any of claims 9 to 15, wherein the primary power supply link comprises a primary transformer, a first uninterruptible power supply, a cable between the primary transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power module, and the backup power supply link comprises a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power module.
17. A power supply system comprising at least one primary power supply link, at least one backup power supply link, and a plurality of servers, each server is provided with a power supply control device, a first power supply module and a second power supply module, the first power supply module is electrically connected with a main power supply link, the second power supply module is electrically connected with a standby power supply link, the main power supply link is used for supplying power to the first power supply module, the standby power supply link is used for supplying power to the second power supply module, the power supply control device determines that the first power supply module is a main power supply module, and determines that the second power module is a standby power module, the power supply control device selects the main power module to supply power for the server independently, and selecting the standby power supply module to supply power for the server independently under the condition that the main power supply link fails.
18. The system of claim 17,
the power supply control device is further configured to compare a first voltage obtained by the first power supply module from the main power supply link with a second voltage obtained by the second power supply module from the standby power supply link;
the power supply control device is further configured to determine, according to a voltage difference between the first voltage and the second voltage, the first power module that acquires the first voltage from the main power supply link as the main power module, and determine the second power module that acquires the second voltage from the backup power supply link as the backup power module.
19. The system of claim 17 or 18,
the power supply control device is further configured to determine that the power supply versions in the first power supply module and the second power supply module support setting of a main/standby operating mode.
20. The system of any one of claims 17 to 19, wherein the primary power module comprises a first power source and the backup power module comprises a second power source.
21. A system according to any one of claims 17 to 19, wherein the primary power supply module comprises at least two first power supplies and the backup power supply module comprises at least two second power supplies.
22. The system of claim 21, wherein in the case where the main power supply module includes the at least two first power supplies, the at least two first power supplies provide electrical power to the server in parallel, and in the case where the backup power supply module includes at least two second power supplies, the at least two second power supplies provide electrical power to the server in parallel.
23. The system of any one of claims 17 to 22,
the power supply control device is further used for selecting the standby power supply module on the standby power supply link to supply power for the server in a supplementing mode under the condition that the electric power required by the server exceeds the rated power of the main power supply module, wherein the power exceeding the rated power is borne by the standby power supply module.
24. The system of any one of claims 17 to 23, wherein the primary power supply link comprises a primary transformer, a first uninterruptible power supply, a cable between the primary transformer and the first uninterruptible power supply, and a cable between the first uninterruptible power supply and the first power module, and wherein the backup power supply link comprises a backup transformer, a second uninterruptible power supply, a cable between the backup transformer and the second uninterruptible power supply, and a cable between the second uninterruptible power supply and the second power module.
25. The system of any one of claims 17 to 24, wherein the system further comprises a delivery device;
the delivery device is used for informing the power supply control device to configure the first power supply module and the second power supply module into a main/standby working mode.
26. The system of any one of claims 17 to 25, further comprising an operation and maintenance device;
the operation and maintenance device is configured to query the power supply control device whether the first power module and the second power module are configured to be in the active/standby operating mode.
27. The system of claim 26, wherein when the operating mode of the first power module and the second power module is not the active/standby operating mode, the operation and maintenance device is further configured to notify the power supply control device to configure the first power module and the second power module in the active/standby operating mode.
28. A power supply control device characterized by comprising: a memory, a communication interface, and a processor;
the memory stores computer instructions;
the communication interface is used for receiving and sending data;
the processor is configured to execute computer instructions stored by the memory to cause the apparatus to perform the method of any of claims 1-8.
29. A computer-readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-8.
30. A computer program product, characterized in that the computer program product comprises computer instructions which, when executed by a computer, cause the computer to carry out the method according to any one of claims 1-8.
CN202010758430.5A 2020-07-31 2020-07-31 Power supply method, device and system Pending CN114069600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010758430.5A CN114069600A (en) 2020-07-31 2020-07-31 Power supply method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010758430.5A CN114069600A (en) 2020-07-31 2020-07-31 Power supply method, device and system

Publications (1)

Publication Number Publication Date
CN114069600A true CN114069600A (en) 2022-02-18

Family

ID=80227546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010758430.5A Pending CN114069600A (en) 2020-07-31 2020-07-31 Power supply method, device and system

Country Status (1)

Country Link
CN (1) CN114069600A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115313636A (en) * 2022-07-27 2022-11-08 深圳市博源电子有限公司 Communication power supply direct current power supply system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115313636A (en) * 2022-07-27 2022-11-08 深圳市博源电子有限公司 Communication power supply direct current power supply system

Similar Documents

Publication Publication Date Title
US10429914B2 (en) Multi-level data center using consolidated power control
US9800087B2 (en) Multi-level data center consolidated power control
US7131012B2 (en) Method and apparatus for correlating an out-of-range condition to a particular power connection
US20060271810A1 (en) Backup control system and method
CN109495312A (en) The method and system of high-availability cluster based on arbitration disk and dual link
US10491033B2 (en) Method for hot-plugging, control device for hot-plugging, method and device for voltage balance
US9910472B1 (en) Power system configuration monitoring
US7275182B2 (en) Method and apparatus for correlating UPS capacity to system power requirements
CN101882097A (en) Main control board, embedded system and backup method for embedded system
CN103856357A (en) Stack system fault processing method and stack system
CN110955317B (en) Power module and complete machine cabinet
CN114069600A (en) Power supply method, device and system
CN112667066A (en) Method, system and medium for expanding hard disk storage capacity
CN115543907B (en) Control method and device based on PCIe chip in storage device
CN113741668B (en) Power supply assembly for delivering power at multiple voltages
CN101697094A (en) Double-power power supply unit and method
CN113064614A (en) Method and system for upgrading firmware of redundant power supply system of server
CN111382014A (en) Redundancy control system and method based on server system disk faults
US9847673B2 (en) Active power transfer switch control to reduce service impacts due to electrical power interruptions
CN110719236A (en) Single board, back board type exchanger and method for connecting power supply
CN100385408C (en) Backup control tube system and method
TWI789627B (en) Storage equipment and control system
CN215729734U (en) Core board and server
JP2005301438A (en) Distributed monitoring control system
CN115291708A (en) Power failure protection method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220214

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Applicant after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination