Patent Description:
A construction scale of data centers increases year by year. In large and medium-sized cities, energy consumption of data centers is increasingly high. To ensure normal service running of each device in a data center, power supply of each device needs to be ensured, and a redundancy needs to be disposed in a power supply system of the data center, to prevent a power failure problem of a device in the data center and ensure normal service running in the data center. However, disposing the redundancy in the power supply system leads to low utilization of electrical energy supplied by the power supply system to the data center. <CIT> discloses that an order of charging of UPSes can be altered based on a changing SOC of each of the UPSes and/or a changing power loaded on each of the UPSes. <CIT> discloses a power-down control method and a device. <CIT> discloses a method and a device for power allocation. <CIT> disclose an uninterruptible power system which includes a plurality of uninterruptible power units connected in parallel to input power.

Embodiments of the present invention are defined by the appended claims.

<FIG> is a schematic diagram of a power supply circuit in a data center.

An uninterruptible power supply (uninterruptible power system/uninterruptible power supply, UPS) keeps a load working normally and protects software and hardware of the load from damage. When an input is normal, after an input voltage of the UPS is stabilized, the input is supplied to the load for use and charges a battery. The input of the UPS may be a direct current (for example, high-voltage direct current (high voltage direct current, HVDC) transmission or a <NUM>-volt (volt, V) power supply product) or an alternating current. If the input of the UPS is a mains supply, the UPS is an alternating current voltage regulator in this case. When the input is interrupted (for example, a power failure due to an accident), the UPS immediately uses direct current electrical energy of the battery to supply power to the load. For example, the UPS may continue supplying a <NUM> V alternating current to the load by using an inverter switching method.

A data center (data center) is a specific device network collaborated globally, and is configured to transfer, accelerate, display, compute, and store data information on an information technology (information technology, IT) device in an Internet (Internet) network. The IT device is a device that processes information by using an information technology. The IT device may be, for example, a server.

To ensure reliability, a large and medium-sized data center generally uses a 2N design. As shown in <FIG>, two identical power supply modules may be provided for one server. In a power supply module <NUM>, a battery <NUM> is connected to a UPS <NUM>, and a mains supply is connected to the UPS <NUM> through a transformer <NUM>. In a power supply module <NUM>, a battery <NUM> is connected to a UPS <NUM>, and the mains supply is connected to the UPS <NUM> through a transformer <NUM>. An IT device <NUM> is a load of the UPS <NUM> and the UPS <NUM>.

In the foregoing manner, utilization of a power supply system is low. Theoretically, relative to maximum power that can be supplied by the power supply system, maximum actual power utilization is only <NUM>%.

In the data center, average power of each IT device is not high. However, when services surge, power of the IT device increases, and peak power may occur, which may be several times the average power. To ensure normal running of the server, that the power supply system of the server is supplied with sufficient power needs to be ensured. Therefore, a specific margin needs to be designed for the power supply system of the data center. Rated power of the transformer <NUM> may be higher than average power of the IT device <NUM>, for example, may be <NUM> to <NUM> times the average power of the IT device <NUM>. However, setting the power margin leads to lower utilization of the power supply system.

In recent years, a construction scale of data centers increases year by year, and an energy consumption rate of the data centers is increasing rapidly. Especially in large and medium-sized cities, utilization of power supply systems of data centers needs to be improved. The utilization of the power supply systems of the data centers can be improved in a distributed redundancy (distribution redundancy, DR) or N+redundancy (N+redundancy, N+R) manner.

<FIG> is a schematic diagram of a distribution redundancy power supply architecture.

A power supply module <NUM>, a power supply module <NUM>, and a power supply module <NUM> supply power to an IT device <NUM>, an IT device <NUM>, and an IT device <NUM>. The power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>. The power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>. The power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>.

A capacity of each IT device is A. A capacity may also be referred to as rated power. Power supply modules have an equal capacity being <NUM> A. In other words, output power of a transformer in each power supply module is <NUM> A. Input power of a transformer is equal to output power of the transformer, which may be understood as power supplied by a power source. Generally, the output power of the transformer is a fixed value.

Each IT device is supplied by each of two power supply modules roughly with half of power, which is approximately <NUM> A. Therefore, without considering a power margin, maximum power utilization of the DR architecture including three buses (that is, the three power supply modules) is <NUM>%. When any one of the three power supply modules is faulty or is being maintained and no longer supplies power to IT devices, the other two power supply modules supply power to the IT devices. Therefore, the IT devices are not powered off.

The DR architecture may alternatively include four or more power supply modules. M power supply modules supply power to (M-<NUM>) IT devices. Power utilization of the power supply system is as follows: <MAT> where M is a positive integer.

A larger quantity of power supply modules indicates higher power utilization of the power supply system.

<FIG> is a schematic diagram of an N+redundancy (redundancy, R) power supply architecture. In the architecture shown in <FIG>, N is equal to <NUM>.

A power supply module <NUM> is a main power supply module of an IT device <NUM>, and a power supply module <NUM> is a main power supply module of an IT device <NUM>. The power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>, and the power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>.

A power supply module <NUM> is a standby power supply module of the IT device <NUM> and the IT device <NUM>. The power supply module <NUM> includes a UPS <NUM>, a transformer <NUM>, and a battery <NUM>.

A capacity of each IT device is A. Power supply modules have an equal capacity being A. In other words, output power of a transformer in each power supply module is A. The output power of the transformer can also be understood as power of a power source. Generally, the output power of the transformer is a fixed value.

When one of the power supply module <NUM> and the power supply module <NUM> is faulty or is being maintained and cannot supply power to a corresponding IT device, the power supply module <NUM> supplies power to the IT device.

Therefore, if any one of the three power supply modules is faulty or is being maintained, the IT devices are not powered off.

Utilization of a <NUM>+R architecture infrastructure is <NUM>%.

The N+R power supply architecture may be a <NUM>+R system including three power supply modules, or may include four or more power supply modules. N power supply modules supply power to (N-<NUM>) IT devices. Power utilization of the power supply system is as follows: <MAT> where N is a positive integer.

According to the descriptions in <FIG>, without considering impact of a power margin, compared with the 2N power supply architecture, the DR power supply architecture and the N+R power supply architecture can effectively improve the power utilization of the power supply system, and can improve the power utilization of the power supply system from <NUM>% to <NUM>% or higher.

The power utilization of the DR power supply architecture and the power utilization of the N+R power supply architecture are related to a quantity of power supply modules. A larger quantity of power supply modules indicates higher power utilization of the power supply architecture.

However, reliability of the DR power supply architecture and the N+R power supply architecture is low. The 2N system is equivalent to a <NUM>+<NUM> standby system. If reliability of a power supply module is <NUM>, reliability of the 2N power supply architecture is as follows: <MAT>.

Reliability of the DR power supply architecture or the N+R power supply architecture in which the three power supply modules supply power is as follows: <MAT>.

More power supply modules in the power supply architecture indicate lower costs, but have lower reliability. It can be learned that both the DR power supply architecture and the N+R power supply architecture improve a redundancy of the power supply modules at the cost of system reliability, to improve the power utilization of the power supply system.

To reduce impact on services in a data center and improve user experience while improving power utilization of a power source, an embodiment of this application provides a power supply method.

<FIG> is a schematic flowchart of a power supply method for a data center according to an embodiment of this application.

The data center includes a first device and at least one second device, and the data center may further include another device. The first device and the at least one second device may be devices of a same type or different types.

Step S401 and step S402 may be performed by a processor such as a controller. The controller may be, for example, a controller in a UPS unit, or may be located in another unit or device. The UPS unit may supply power to the first device and the at least one second device.

Importance of a service in the first device is higher than importance of a service in each second device. The service in the first device may be different from the service in the at least one second device. The service in the first device may be a cloud rental service and/or a private cloud service, and the service in the second device may be a public cloud service. In other words, the service in the second device is transferable. The first device may be understood as an important device, and the second device may be understood as a less important device.

The second device may include a communications interface. The service in the second device is transferable in a wired or wireless manner. The service in the second device may be implemented by using various communications systems, for example, a global system for mobile communications (global system for mobile communications, GSM) system, a code division multiple access (code division multiple access, CDMA) system, a wideband code division multiple access (wideband code division multiple access, WCDMA) system, a general packet radio service (general packet radio service, GPRS), a long term evolution (long term evolution, LTE) system, an LTE frequency division duplex (frequency division duplex, FDD) system, an LTE time division duplex (time division duplex, TDD) system, a universal mobile telecommunications system (universal mobile telecommunication system, UMTS), a worldwide interoperability for microwave access (worldwide interoperability for microwave access, WiMAX) communications system, a future 5th generation (5th generation, <NUM>) system, or a new radio (new radio, NR) system.

A power supply apparatus is configured to supply power to the devices in the data center. The power supply apparatus may include a first uninterruptible power supply UPS and a second UPS. The first UPS may be configured to control a first power source and a first energy storage apparatus to supply power to the first device. The second UPS may be configured to control the first power source and a second energy storage apparatus to supply power to the at least one second device. The first energy storage apparatus may supply supplementary power to the first device. To be specific, when power supplied by the first power source cannot meet a power requirement of the first device, an insufficient power part is supplied by the first energy storage apparatus to the first device. The second energy storage apparatus may supply supplementary power to the at least one second device. That the power supplied by the first power source cannot meet the power requirement of the first device means that instantaneous power of the first device is higher than instantaneous power that is input by the first power source to the first UPS.

Generally, a sum of input power that is input by the first power source to the first UPS and the input power that is input by the first power source to the first UPS may be equal to a value of the power supplied by the first power source. It should be understood that "equal to" may be alternatively "approximately equal to". Generally, the value of the power supplied by the power source is fixedly rated power of the power source. In some cases, the value of the power supplied by the power source may be less than the rated power of the power source.

Step S401: Obtain a quantity of electricity of the first energy storage apparatus.

Whether first power-source power supplied by the first power source to the first device within a period of time is sufficient may be determined based on the quantity of electricity of the first energy storage apparatus.

The first power-source power may be a power part that is in power supplied by the power source and that is supplied to the first device.

The UPS unit may include the first UPS and the second UPS. The first UPS may implement joint power supply performed by the first energy storage apparatus and the first power source on the first device. When the first power-source power is higher than an instantaneous electric power requirement of the first device, a part that is left after the first power-source power is used to supply power to the first device may charge the first energy storage apparatus.

Step S401 and step S402 may be performed by the first UPS and/or the second UPS.

The energy storage apparatus may be a battery, a flywheel, or another device having an electrical energy storage function.

When the power that is input by the first power source to the first UPS is a rated value, and the power that is input by the first power source to the first UPS is lower than a real-time power requirement of the first device, the first energy storage apparatus supplies supplementary power, to meet the real-time power requirement of the first device. When the power that is input by the first power source to the first UPS is higher than a real-time power requirement of the first device, the power that is input by the first power source to the first UPS is supplied to the first device to maintain running of the first device, and may be further supplied to the first energy storage apparatus, so that the first energy storage apparatus is charged.

The second UPS may implement joint power supply performed by the second energy storage apparatus and the first power source on the first device.

That the first power-source power is insufficient may be determined by the first UPS or the second UPS. Power consumption of the first device within a period of time may be detected to determine electrical energy consumed by the first device. Step S402 may be performed when electrical energy consumed by the first device within a preset period of time is greater than a preset consumption amount.

Alternatively, that the first power-source power is insufficient may be determined by detecting the quantity of electricity of the first energy storage apparatus.

The first UPS may detect the quantity of electricity of the first energy storage apparatus. When determining that the quantity of electricity of the first energy storage apparatus is less than or equal to a first preset quantity of electricity, the first UPS may determine that the power that is input by the first power source to the first UPS is insufficient.

Within a period of time, if the real-time power requirement of the first device is high, a time in which the first energy storage apparatus supplies supplementary power is long, and the quantity of electricity of the first energy storage apparatus decreases. When the quantity of electricity of the first energy storage apparatus is less than or equal to the first preset quantity of electricity, step S402 may be performed.

Before step S401 is performed, the power that is input by the first power source to the first UPS may be the rated value. That the power that is input by the first power source to the first UPS is insufficient means that the rated value of the power that is input by the first power source to the first UPS cannot meet the power requirement of the first device. The rated value of the power that is input by the first power source to the first UPS may be greater than or equal to average power of the first device. The rated value of the power that is input by the first power source to the first UPS may be alternatively rated power of the first device.

The first preset quantity of electricity may also be referred to as a quantity of backup electricity, and may be a preset quantity value of electricity. The first preset quantity of electricity is used to indicate a quantity of electricity needed when duration of service running of the first device is greater than or equal to preset duration. The preset duration may also be referred to as a backup electricity time. The preset duration of the service running of the first device can also be understood as preset duration of running of the first device.

The first preset quantity of electricity may be determined based on the backup electricity time t in which the first energy storage apparatus can support running of the first device. Generally, the first preset quantity Q of electricity of the first energy storage apparatus can support running of the first device for <NUM> to <NUM> minutes. If the rated power of the first device is Pa, the first preset quantity of electricity of the first energy storage apparatus is <MAT>.

Step S402: When the quantity of electricity of the first energy storage apparatus is less than or equal to the first preset quantity of electricity, reduce input power that is input by the first power source to the second UPS.

A target second device is a second device. At least one target second device may be all or some of the at least one second device.

Optionally, the power that is input by the first power source to the first UPS may be a fixed value, and the power that is input by the first power source to the second UPS may be a fixed value. When the first UPS determines that the power that is input by the first power source to the first UPS is insufficient, the first UPS may send quantity-of-electricity indication information to the second UPS. After receiving the quantity-of-electricity indication information, the second UPS may start to supply power to the first device. In other words, before step S402 is performed, the first UPS supplies power to the first device, and the second UPS supplies power to the at least one second device; and after step S402 is performed, both the first UPS and the second UPS supply power to the first device. It should be understood that, when supplying power to the first device, the second UPS may supply power to the at least one second device, or may stop supplying power to the at least one second device.

The power source with constant power may supply power to the first UPS and the second UPS. In this case, a sum of the power that is input by the first power source to the first UPS and the power that is input by the first power source to the second UPS may be a fixed value. The sum of the power that is input by the first power source to the first UPS and the power that is input by the first power source to the second UPS may be an output of a transformer connected to the power source. The output of the transformer is less than or equal to rated power of the transformer. Generally, the output power of the transformer is the rated power.

In some embodiments, before step S401 is performed, the power that is input by the first power source to the first UPS may be limited to the rated power of the first device. Therefore, the power that is input by the first power source to the second UPS is power of the power source minus the limit value of the power that is input by the first power source to the first UPS.

When the first UPS determines that the power that is input by the first power source to the first UPS is insufficient, the limitation on the power that is input by the first power source to the first UPS may be canceled, or the limit value of the input power may be increased, so that the power that is input by the first power source to the first UPS, that is, power supplied by the first power source to the at least one second device is reduced. It should be understood that the second UPS may reduce the power supplied by the first power source to the at least one target second device. The at least one target second device may be all or some of the at least one second device.

It should be understood that the second UPS may include one or more second UPS parts, the second energy storage apparatus may include one or more second energy storage parts, and the second UPS parts may be in a one-to-one correspondence with the second energy storage parts. A second UPS part may be configured to control the first power source and a second energy storage part corresponding to the second UPS part to supply power to one or more second devices. The power supplied by the first power source to the at least one target second device, that is, power that is input by the first power source to at least one second UPS part corresponding to the at least one target second device is reduced. A second device other than the target second device may be supplied with power in the foregoing manner.

After the limitation on the power that is input by the first power source to the first UPS is canceled, the power that is input by the first power source to the first UPS is determined based on the power requirement of the first device. Certainly, after the limitation on the power that is input by the first power source to the first UPS is canceled, the power that is input by the first power source to the first UPS may be alternatively determined based on a charging requirement of the energy storage apparatus corresponding to the first device.

In some other embodiments, the power that is input by the first power source to the second UPS may be limited, and the power that is input by the first power source to the first UPS is determined based on the power that is input by the first power source to the second UPS. In other words, the power that is input by the first power source to the first UPS is equal to the power of the power source minus a limit value of the input power of the second UPS. The limit value of the input power of the second UPS may be determined based on the power of the power source and the rated power of the first device.

When the first UPS determines that the power that is input by the first power source to the first UPS is insufficient, the first UPS may send quantity-of-electricity indication information to the second UPS. After receiving the quantity-of-electricity indication information, the second UPS reduces the limit value of the input power, to reduce the power that is input by the first power source to the second UPS. Alternatively, after receiving the quantity-of-electricity indication information, the second UPS limits the input power of the second UPS to the power of the power source minus the power that is input by the first power source to the first UPS. The power that is input by the first power source to the first UPS is determined based on the power requirement of the first device. After the limitation on the power that is input by the first power source to the second UPS is canceled, the power that is input by the first power source to the first UPS may be alternatively determined based on a charging requirement of the energy storage apparatus corresponding to the first device.

Alternatively, both the power of the first UPS and the power that is input by the first power source to the second UPS may be limited. When the first UPS determines that the power that is input by the first power source to the first UPS is insufficient, the first UPS cancels the limitation on the power that is input by the first power source to the first UPS, and sends quantity-of-electricity indication information to the second UPS. The second UPS receives the quantity-of-electricity indication information, and reduces the power that is input by the first power source to the second UPS.

The quantity-of-electricity indication information may be used to indicate that the quantity of electricity of the first energy storage apparatus is less than the first preset quantity of electricity, or indicate that the power that is input by the first power source to the first UPS is insufficient. Alternatively, the quantity-of-electricity indication information may be used to indicate to reduce the power that is input by the first power source to the second UPS. The quantity-of-electricity indication information may be further used to indicate the at least one target second device. The quantity-of-electricity indication information may be further used to indicate a manner of reducing the power that is input by the first power source to the second UPS.

A manner in which the sum of the power that is input by the first power source to the first UPS and the power that is input by the first power source to the second UPS is the fixed value can make the power supply method for the data center provided in this embodiment of this application compatible with an existing power supply architecture, thereby reducing costs of applying the power supply method provided in this embodiment of this application to the existing data center.

When the sum of the power that is input by the first power source to the first UPS and the power that is input by the first power source to the second UPS is the fixed value, there are a plurality of manners of reducing the power that is input by the first power source to the second UPS. The manner may be reducing the limit value of the power that is input by the first power source to the second UPS, or increasing the limit value of the power that is input by the first power source to the first UPS, or canceling the limitation on the power that is input by the first power source to the first UPS and adjusting, based on the power requirement of the first device, the power of the first UPS and the power that is input by the first power source to the second UPS.

In other words, the input power that is input by the first power source to the second UPS may be determined based on the power requirement of the first device for the first power source.

The input power that is input by the first power source to the second UPS is adjusted based on the power requirement of the first device for the power source, to meet the power requirement of the first device.

The power requirement of the first device for the first power source may be understood as the instantaneous power requirement of the first device, or may be understood as average power of the first device within a short period of time, for example, several seconds. The first energy storage apparatus supplies supplementary power to the first device. The power requirement of the first device for the first power source can also be understood as a total power requirement for the first power source when the first energy storage apparatus is charged and the service in the first device runs.

After the limitation on the power that is input by the first power source to the first UPS is canceled, the first UPS needs to charge the first energy storage apparatus when supplying power to the first device. Therefore, the power that is input by the first power source to the first UPS is increased. The sum of the power that is input by the first power source to the first UPS and the power that is input by the first power source to the second UPS may be the fixed value. The power that is input by the first power source to the second UPS is adjusted based on the power that is input by the first power source to the first UPS, to reduce the power that is input by the first power source to the second UPS.

Because the service in the second device is transferable, that the service in the second device cannot run due to a power failure can be prevented.

When a quantity of electricity of the second energy storage apparatus is less than a third preset quantity of electricity, transfer indication information is sent to the at least one target second device in the at least one second device, where the transfer indication information is used to indicate the at least one target second device to transfer a service.

The UPS unit may detect the quantity of electricity of the second energy storage apparatus, and the second energy storage apparatus is configured to supply power to the at least one second device. When the quantity of electricity of the second energy storage apparatus is less than the third preset quantity of electricity, the UPS unit sends the transfer indication information to the at least one target second device in the at least one second device, where the transfer indication information is used to indicate the at least one target second device to transfer the service.

A time in which the third preset quantity of electricity supports running of the at least one target second device may be greater than or equal to a transfer time of the service in the at least one target second device. Therefore, all services in the at least one target second device are transferable, and that the service in the at least one target second device cannot run due to a power failure is prevented.

When there are a plurality of second devices, a quantity of target second devices may be determined based on a consumption rate of the quantity of electricity of the first energy storage apparatus. A higher consumption rate of the quantity of electricity of the first energy storage apparatus indicates a larger quantity of target second devices. A one-to-one correspondence between a consumption rate of the quantity of electricity of the first energy storage apparatus and a quantity of target second devices may be determined empirically, and the one-to-one correspondence relationship may be stored. When there are a plurality of second devices, the quantity of target second devices is determined from the plurality of second devices based on the consumption rate of the quantity of electricity of the first energy storage apparatus and the one-to-one correspondence between a consumption rate of the quantity of electricity of the first energy storage apparatus and a quantity of target second devices.

In the conventional technology, to avoid a problem of consuming the quantity of electricity of the energy storage apparatus when the first device runs above the average power for a period of time, a specific margin is usually set when the rated value of the power that is input by the first power source to the first UPS is set, so that the rated value of the power that is input by the first power source to the first UPS is greater than the average power of the first device.

In this embodiment of this application, the rated value of the power that is input by the first power source to the first UPS may be equal to the average power of the first device. "Equal to" can also be understood as "approximately equal to". No margin is set for the rated value of the power that is input by the first power source to the first UPS, but the rated value is equal to the average power of the first device. This can further improve power utilization.

In the method provided in this embodiment of this application, when the first device runs above the average power for a period of time, power supplied by the power source to the first device may be increased by reducing power-source power supplied by the power source to the at least one target second device. Therefore, the rated value of the power that is input by the first power source to the first UPS may be equal to the average power of the first device, so that power utilization of a power supply system is further improved.

After step S402 is performed, the UPS unit may detect the quantity of electricity of the first energy storage apparatus.

When the quantity of electricity of the first energy storage apparatus is greater than a second preset quantity of electricity, reducing the input power that is input by the first power source to the second UPS is stopped, where the second preset quantity of electricity is greater than or equal to the first preset quantity of electricity.

In other words, when the quantity of electricity of the first energy storage apparatus exceeds the second preset quantity of electricity of the first energy storage apparatus, the UPS unit may stop reducing the power that is input by the first power source to the second UPS. The second preset quantity of electricity of the first energy storage apparatus may be greater than or equal to the first preset quantity of electricity of the first energy storage apparatus.

In other words, when the quantity of electricity of the first energy storage apparatus exceeds the second preset quantity of electricity of the first energy storage apparatus, the power that is input by the first power source to the first UPS may be limited to the rated value, or an increase in the rated value of the power that is input by the first power source to the first UPS may be canceled.

Therefore, after the quantity of electricity of the first energy storage apparatus reaches the second preset quantity of electricity of the first energy storage apparatus, the power that is input by the first power source to the second UPS may be restored.

After the quantity of electricity of the first energy storage apparatus reaches the second preset quantity of electricity of the first energy storage apparatus, the input power corresponding to the at least one target second device may be restored. Alternatively, after the quantity of electricity of the second energy storage apparatus reaches a preset quantity value of electricity of the second energy storage apparatus, the input power corresponding to the at least one target second device may be restored. The preset quantity value of electricity of the second energy storage apparatus may be greater than the third preset quantity of electricity of the second energy storage apparatus.

It should be understood that the second UPS may supply power to a plurality of second devices. The plurality of second devices are all devices in the data center.

When the quantity of electricity of the second energy storage apparatus is less than the third preset quantity of electricity, the UPS unit may send quantity-of-electricity indication information to all or some of the plurality of second devices. The all or some second devices are the at least one target second device. The second device that receives the quantity-of-electricity indication information may perform service transfer. A second device set that receives the quantity-of-electricity indication information may be referred to as a set <NUM>, and a second device set that does not receive the quantity-of-electricity indication information may be referred to as a set <NUM>.

The third preset quantity of electricity may be greater than or equal to a quantity of electricity needed to perform service transfer by a second device in the set <NUM>, and a quantity of electricity needed by a second device in the set <NUM> during service transfer performed by the second device in the set <NUM> and the second device in the set <NUM>.

In other words, the third preset quantity of electricity may be determined based on a manner of stopping supplying power to the plurality of second devices. The second UPS may stop supplying power to a plurality of target second devices sequentially or simultaneously. The second UPS may stop supplying power to all or some of the plurality of target second devices.

If quantities of electricity of the second devices reach the preset quantity value of electricity of the second energy storage apparatus, the plurality of second devices may start to be supplied with power sequentially or simultaneously.

A switch between the second UPS and each second device may be controlled to control the second UPS to start or stop supplying power to the second device. The switch between the second UPS and each second device may be disposed in a power distribution cabinet.

It should be understood that the UPS unit may detect whether the power that is input by the first power source to the first UPS is sufficient, that is, determine a status of the power that is input by the first power source to the first UPS. The UPS unit may adjust, based on the status of the power that is input by the first power source to the first UPS, the power-source power supplied by the power source to the all or some second devices.

The status of the power that is input by the first power source to the first UPS may include three states: power supply surplus, power supply sufficient, and power supply insufficient. For the insufficient power supply, step S401 and step S402 may be performed.

For the surplus power supply, the power that is input by the first power source to the second UPS may also be increased. The quantity of electricity of the first energy storage apparatus may be detected. When the quantity of electricity of the first energy storage apparatus is greater than a quantity of electricity in the surplus state, it is determined that an input power state corresponding to the first energy storage apparatus is power supply surplus.

Power utilization of the data center is improved by using the method provided in this embodiment of this application.

This embodiment of this application can be applied to a 2N power supply architecture, a DR power supply architecture, and an N+R power supply architecture. For the first device, reliability of the power supply system is not reduced. For details, refer to descriptions in <FIG>.

Optionally, the data center further includes at least one third device, where the importance of the service in the first device is higher than importance of a service in each third device, and the service in each third device is transferable.

The power supply apparatus further includes a third UPS and a fourth UPS, where the third UPS is configured to control a second power source and a third energy storage apparatus to supply backup electrical energy to the first device, and the fourth UPS is configured to control the second power source and a fourth energy storage apparatus to supply power to the at least one third device.

The method provided in this embodiment of this application can be applied to an N+R power supply architecture. A power supply module corresponding to a redundancy (redundancy, R) includes a third UPS and a fourth UPS. In a normal case, power that is input by the second power source to the fourth UPS is rated power of the second power source. When the third UPS supplies power to the first device, the third UPS may supply power to the first device by referencing the power supply manner of the first UPS, and the fourth UPS may supply power to the at least one third device by referencing the power supply manner of the second UPS.

The power supply apparatus further includes a third UPS and a fourth UPS. The third UPS is configured to control a second power source and a third energy storage apparatus to supply power to the first device, and the fourth UPS is configured to control the second power source and a fourth energy storage apparatus to supply power to the at least one third device.

The method provided in this embodiment of this application can be applied to a distribution redundancy (distribution redundancy, DR) power supply architecture.

A sum of rated power that is input by the first power source to the first UPS and rated power that is input by the second power source to the third UPS is equal to the rated power of the first device. The rated power of the first device may be greater than or equal to the average power of the first device.

<FIG> is a schematic diagram of a structure of a power supply system according to an embodiment of this application.

Both output power of a transformer <NUM> and output power of a transformer <NUM> are <NUM>. Power may also be referred to as a capacity. Sources of electricity of the transformer <NUM> and the transformer <NUM> may be a mains supply.

The mains supply is input to a UPS 511a and a UPS 511b after passing through the transformer <NUM>. Both maximum power of the UPS 511a and maximum power of the UPS 511b are <NUM>. The UPS 511a supplies power to a first device <NUM>. Rated power of the first device <NUM> is <NUM>, and peak power of the first device <NUM> may be greater than <NUM>. The UPS 511b supplies power to a second device <NUM>.

When input power of the UPS 511a is insufficient, the input power of the UPS 511a and electrical energy stored in a battery 513a jointly supply power to the first device <NUM>. This can implement joint power supply performed by the UPS 511a and the battery 513a, that is, joint power supply performed by the battery and the mains supply. Likewise, when input power of the UPS 511b is insufficient, a battery 513b and the UPS 511b perform joint power supply.

The mains supply is input to a UPS 521a and a UPS 521b after passing through the transformer <NUM>. Both rated power of the UPS 521a and rated power of the UPS 521b are <NUM>. The UPS 521a supplies power to the first device <NUM>, and the UPS 521b supplies power to the second device <NUM>. When input power is insufficient, the UPS 521a and a battery 523a, and input power of the UPS 521b and a battery 523b may separately implement joint power supply performed by the batteries and the mains supply.

Backup electricity times of the battery 513a and the battery 523a are both t, and quantities of backup electricity of the battery 513a and the battery 523a are both Q. The backup electricity time t is generally <NUM> to <NUM> minutes (minutes, min). The rated power of the first device <NUM> is Pa, where Q = Pa × t.

When a capacity of the mains supply is insufficient, the UPS 511a and the UPS 521a may implement joint power supply performed by the mains supply and the batteries. For example, power that can be supplied by the mains supply to both the UPS 511a and the UPS 521a is <NUM>. When load of the UPS 511a exceeds <NUM>, the UPS 511a may enable a mode in which the mains supply and the battery perform joint power supply, so that the mains supply supplies energy with power of <NUM>, and remaining energy is supplemented by the battery 513a.

Instantaneous peak power of the first device <NUM> is Pp, and maximum duration of Pp is ta. For a quantity Q of backup electricity of the battery 513a and the battery 523a, impact of the instantaneous peak power may also be considered, to meet a peak power requirement of an important load. Therefore, the quantity Q of backup electricity may be expressed as Q = Pa × t + Pp × ta.

Considering impact of system efficiency X, the quantity of backup electricity is <MAT>.

Rated power of the second device <NUM> is <NUM>, and peak power of the second device <NUM> may be greater than <NUM>. A service in the second device is quickly transferable to a second device <NUM> or another second device (not shown in <FIG>).

Switches are disposed in a power distribution cabinet <NUM> and a power distribution cabinet <NUM>.

A signal cable may be disposed between devices shown in <FIG>, so that the devices can communicate with each other. For example, a signal cable exists between two second devices that perform service transfer, to implement service transfer.

For a running principle of the power supply system shown in <FIG>, refer to descriptions in <FIG>. The UPS 511a and the UPS 521a each may be considered as a first UPS. The UPS 511b and the UPS 521b each may be considered as a second UPS.

In the power supply method provided in this embodiment of this application, it can be ensured that the first device <NUM> in a downstream of the UPS 511a and the UPS 521a meets a backup electricity time requirement corresponding to a power supply 2N backup and the quantity Q of backup electricity, to ensure that reliability of the first device <NUM> is not lower than that of the 2N architecture.

The UPS 511b and the UPS 521b may further supply power to the second device <NUM>.

In a conventional 2N structure, a specific margin usually needs to be set for a rated capacity of a device, that is, the rated capacity of the device is greater than an average capacity of the device. To improve power utilization, in the power supply architecture shown in <FIG>, an average capacity of a device may be set to a rated capacity of the device. Therefore, the UPS 511b and the UPS 521b may further supply power to the second device <NUM> when capacities of the transformer <NUM> and the transformer <NUM> remain unchanged.

When the UPS 511b supplies power to the second device <NUM> and the second device <NUM>, a time in which a preset quantity Qt of electricity can support running of the second device <NUM> and the second device <NUM> is duration tx. Within the duration tx, the second device <NUM> and the second device <NUM> may transfer services to other second devices simultaneously or sequentially.

The UPS 511b may stop supplying power to the second device <NUM> and/or the second device <NUM>.

Some or all of switches in the power distribution cabinet <NUM> are turned off sequentially, that is, all or some of the switches are powered off, until the input power of the UPS 511b can meet a power requirement of a second device that is not disconnected. For example, the power distribution cabinet <NUM> may be disconnected from the second device <NUM>, so that the UPS 511b stops supplying power to the second device <NUM>, and continues supplying power to the second device <NUM>.

The UPS 521b may also stop supplying power to the second device <NUM> and/or the second device <NUM>.

When stopping supplying power to all second devices, the UPS 511b may disable a power supply function, that is, may turn off a circuit configured to supply power, to reduce power consumption.

In the power supply method provided in this embodiment of this application, on a basis of the conventional 2N power supply architecture, the power supply module supplies power to an added second device, and a service in the added second device is transferable. When power supply of the original first device is insufficient, the service in the second device is transferred, and the power supply module stops supplying power to the second device, to preferentially ensure that the original first device is supplied with power. For the first device, reliability of the power supply module in the power supply method provided in this embodiment of this application is equal to the reliability of the power supply module in the conventional 2N power supply architecture, and power utilization of the system is improved. The power utilization of the system can be increased to <NUM>%.

<FIG> is a schematic flowchart of a power supply method <NUM>.

A first UPS may supply power to a first device by using both a first power source and a first battery. A second UPS may supply power to a second device by using both the first power source and a second battery. The first UPS may limit, based on a quantity of electricity of the first battery, power that is input by the first power source to the second UPS. A service priority of the first device is higher than a service priority of the second device. A service in the second device is transferable.

When power that is input by the first power source to the first UPS is insufficient, a mode in which a mains supply and the battery perform joint power supply is enabled. In other words, when the power that is input by the first power source to the first UPS cannot meet a requirement of the first device, an insufficient power part is supplied by the first battery.

When the power that is input by the first power source to the first UPS is higher than the power requirement of the first device, the first UPS may charge the first battery.

Before step S601 is performed, the power that is input by the first power source to the first UPS is a first rated value, and the power that is input by the first power source to the second UPS is a second rated value. A sum of the first rated value and the second rated value is output power of the power source. In the power supply architecture shown in <FIG>, the first rated value may be half of average power of a first IT device.

Step S601: The first UPS detect the quantity of electricity of the first battery.

Step S602: The first UPS determines a value relationship between the quantity of electricity of the first battery and a quantity Q of backup electricity of the first battery.

If the quantity of electricity of the first battery is greater than the quantity Q of backup electricity of the first battery, step S601 continues to be performed to monitor the quantity of electricity of the first battery.

If the quantity of electricity of the first battery is less than or equal to the quantity Q of backup electricity of the first battery, step S603 to step S607 are performed.

Step S603: The first UPS cancels the limitation on the input power. To be specific, after step S603 is performed, the power that is input by the first power source to the first UPS is no longer limited by the first rated value, but the power that is input by the first power source to the first UPS is determined based on the power requirement of the first device and a charging requirement of the first battery.

After the limitation on the input power is canceled, real-time input power of the first UPS is P.

After step S603 is performed, it can be preferentially ensured that the first device in the downstream of the first UPS meets the backup electricity time requirement corresponding to the quantity Q of backup electricity.

Step S604: The first UPS sends quantity-of-electricity indication information to the second UPS.

The quantity-of-electricity indication information is used to indicate the second UPS to limit the input power to <NUM>-P.

Step S605: The second UPS limits the input power to <NUM>-P based on the quantity-of-electricity indication information.

After step S605 is performed, the second UPS supplies power to the second device with the input power limited to <NUM>-P.

Step S606: The first UPS detect a capacity of the first battery.

Step S607: The first UPS determines the value relationship between the quantity of electricity of the first battery and the quantity Q of backup electricity of the first battery.

If the quantity of electricity of the first battery is less than or equal to the quantity Q of backup electricity of the first battery, step S606 continues to be performed to monitor the capacity of the first battery.

If the quantity of electricity of the first battery is greater than the quantity Q of backup electricity of the first battery, steps S608 to S610 are performed.

Step S608: The first UPS limits the input power to the first rated value.

After step S608 is performed, the first UPS supplies power to the first device with the input power limited to the first rated value.

Step S609: The first UPS sends restoration indication information to the second UPS.

The restoration indication information is used to indicate the second UPS to limit the input power to the second rated power.

Step S610: The second UPS limits the input power to the second rated power based on the restoration indication information.

After step S610 is performed, the second UPS supplies power to the second device with the input power limited to the second rated value.

After step S610 is performed, step S601 may be performed to detect the quantity of electricity of the first battery in real time.

After the second UPS receives the quantity-of-electricity indication information in step S604, and before the second UPS receives the restoration indication information in step S609, the second UPS may perform step S701 and step S702.

Step S701: The second UPS receives the real-time input power P of the first UPS and performs power updating.

Step S702: The second UPS limits the input power based on the real-time input power P of the first UPS.

When power that is input by the first power source to the second UPS is insufficient, the mode in which the mains supply and the battery perform joint power supply is enabled. In other words, when the power that is input by the first power source to the second UPS cannot meet a requirement of the second device, an insufficient power part is supplied by the second battery.

When the power that is input by the first power source to the second UPS is higher than the power requirement of the first device, the second UPS may charge the second battery.

The method <NUM> may be performed at any stage of the method <NUM>. The method <NUM> may be performed before step S604, may be performed between step S604 to step S609, or may be performed after step S609.

When the input power is insufficient, the second UPS enables the mode in which the mains supply and the battery perform joint power supply. In other words, when the power that is input by the first power source to the second UPS cannot meet a requirement of the second device, an insufficient power part is supplied by the second battery.

It should be understood that insufficiency of the power that is input by the first power source to the second UPS may be caused by the limitation on the input power, or may be caused by a power failure.

Step S801: The second UPS detects a quantity of electricity of the second battery.

Step S802: The second UPS determines a value relationship between the quantity of electricity of the second battery and a preset quantity Qt of electricity.

The second UPS may monitor the quantity of electricity of the second battery in real time. When the quantity of electricity of the second battery does not meet the preset quantity Qt of electricity, the second UPS sends transfer indication information to the second device. The transfer indication information is used by the second device to start transferring the service.

The preset quantity Qt of electricity may be determined by a time needed to transfer the service in the second device. A time in which the preset quantity Qt of electricity can support running of the second device is duration tx. Within the duration tx, the service in the second device is safely transferable to another device.

After step S803 is completed and the duration tx has elapsed, step S804 is performed.

Step S804: The second UPS stops supplying power to the second device.

The UPS may send disconnection indication information to a power distribution cabinet. The disconnection indication information is used to indicate a switch that is in the power distribution cabinet and that is used to connect the second UPS to the second device to be turned off, so that the second UPS stops supplying power to the second device.

The second device is supplied with power by at least one second UPS. When receiving transfer indication information sent by all or some of the at least one second UPS, the second device may transfer the service.

When a quantity of electricity of a battery corresponding to each of the at least one second UPS is insufficient, the second device starts service transfer and transfers the service to another device, to cope with a power failure event that may occur at any time.

The at least one second device may also communicate with each other. When a sum of quantities of electricity of at least one second battery corresponding to the at least one second device is less than or equal to the preset quantity Qt of electricity, step S803 and step S804 are performed.

Step S805: The second UPS detects the quantity of electricity of the second battery.

Step S806: The second UPS determines a value relationship between the quantity of electricity of the second battery and a quantity Q2 of backup electricity of the second battery.

When the quantity of electricity of the second battery does not exceed the quantity Q2 of backup electricity of the second battery, step S806 is performed to continue detecting the quantity of electricity of the second battery.

When the quantity of electricity of the second battery exceeds the quantity Q2 of backup electricity of the second battery, steps S807 and S808 may be performed.

Optionally, when the power that is input by the first power source to the second UPS reaches a preset power value, steps S807 and S808 may be performed.

The quantity Q2 of backup electricity of the second battery may be a quantity of electricity that supports running of the second IT device <NUM> for a preset period of time. For example, the quantity Q2 of backup electricity can support running of the second device for <NUM> minutes to <NUM> minutes. The quantity Q2 of backup electricity may be greater than or equal to the preset quantity Qt of electricity. In other words, a time in which the quantity Q2 of backup electricity of the second battery supports running of the second device satisfies at least the time needed to transfer the service in the second device.

Step S807: The second UPS supplies power to the second device.

The second UPS may indicate the power distribution cabinet to close the switch used to connect the second UPS to the second device, so that the second UPS can supply power to the second device.

In the period when the second UPS stops supplying power to the second device, the second UPS may charge the second battery.

When the second UPS detects that the quantity of electricity of the second battery reaches the quantity Q2 of backup electricity of the second battery, the second UPS may start to supply power to the second device.

If the second UPS supplies power to the at least one second device, the quantity Q2 of backup electricity of the second battery may be a quantity of electricity that supports running of all or some of the at least one second device for a backup electricity time. If Q2 is a quantity of electricity that supports running of some of the at least one second device for the backup electricity time, the second UPS may supply power to the some second devices in step S807.

After the second UPS detects that the quantity of electricity of the second battery reaches the quantity Q2 of backup electricity of the second battery, the second UPS may monitor the input power in real time. When the power that is input by the first power source to the second UPS is greater than the preset power value, the second UPS may start to supply power to the second device.

Alternatively, in the period when the second UPS stops supplying power to the second device, the second UPS may only detect the input power. After a switch power-off event occurs in the power distribution cabinet due to insufficient input power, when the power that is input by the first power source to the second UPS reaches the preset power value, the second UPS is started and quickly charges the second battery. When the quantity of electricity of the second battery reaches the quantity Q2 of backup electricity of the second battery, the second UPS indicates the power distribution cabinet to close the switch used to connect the second UPS to the second device, so that the second UPS starts to supply power to the second device.

The preset power value is set in the second UPS. Preferably, the preset power value may be greater than or equal to average power of the second device.

Optionally, step S808 may be further performed. Step S808: The second device sends bearer indication information to the second device. The bearer indication information is used to indicate that the second device can bear the service.

Alternatively, the second device may start to bear the service after being supplied with power.

A transformer <NUM> supplies a stable alternating current voltage. A source of electricity of the transformer <NUM> may be a mains supply.

A UPS 911a supplies power to a first device <NUM>, and a UPS 911b supplies power to a second device <NUM> and a second device <NUM>. The first device <NUM> may provide a cloud rental service, a private cloud service, or the like. The second device <NUM> and the second device <NUM> support quick service transfer. For example, the second device <NUM> and the second device <NUM> may provide a public cloud service.

A switch in a power distribution cabinet <NUM> may control connections between the UPS 911b and the second device <NUM> and between the UPS 911b and the second device <NUM>. The UPS 911b may supply power to the second device <NUM> and the second device <NUM>, and power supplied by the UPS 911b may be adjusted in the second device <NUM> and the second device <NUM> based on power requirements of the two devices.

For power supply methods performed by the UPS 911a and the UPS 911b, refer to the descriptions in <FIG>. The UPS 911a may be understood as a first UPS, and the UPS 911b may be understood as a second UPS. The first device <NUM> may also be referred to as a first device. Both the second device <NUM> and the second device <NUM> are second devices.

The second devices receive quantity-of-electricity indication information sent by the UPS 911b, and start to perform service transfer. The quantity-of-electricity indication information is used to indicate that a quantity of electricity of a battery 913b is insufficient.

The DR architecture shown in <FIG> may be improved to improve power utilization of the power supply system. In the DR architecture (<NUM>+<NUM>) shown in <FIG>, power utilization of each power supply module is <NUM>% without considering the margin that is set for the rated power.

A UPS <NUM> and a battery <NUM> are added to the power supply module <NUM>, a UPS <NUM> and a battery <NUM> are added to the power supply module <NUM>, and a UPS <NUM> and a battery <NUM> are added to the power supply module <NUM>. The UPS and the battery added to each power supply module are configured to implement joint power supply performed by a mains supply and the battery. A sum of input power of two UPSs in each power supply module is rated output power of a transformer. It should be understood that, generally, the rated output power of the transformer is a constant value. In the DR architecture shown in <FIG>, remaining power, that is, power of <NUM>%, of each power supply module may be output by the UPS <NUM>, the UPS <NUM>, and the UPS <NUM> to the second device, to support running of the second device.

Each of the UPS <NUM>, the UPS <NUM>, and the UPS <NUM> may supply power to one or more second devices.

For example, as shown in <FIG>, the UPS <NUM> supplies power to a second device <NUM>, and is connected to the second device <NUM> through a power distribution cabinet <NUM>. The UPS <NUM> supplies power to the second device <NUM> and a second device <NUM>, and is connected to the second device <NUM> and the second device <NUM> through a power distribution cabinet <NUM>. The UPS <NUM> supplies power to the second device <NUM>, and is connected to the second device <NUM> through a power distribution cabinet <NUM>.

For a power supply method performed by the added UPS and the original UPS in each power supply module, refer to the descriptions in <FIG>. The UPS <NUM>, the UPS <NUM>, and the UPS <NUM> each may be understood as a second UPS, and the UPS <NUM>, the UPS <NUM>, and the UPS <NUM> each may be understood as a first UPS.

The N+R architecture shown in <FIG> may be improved to improve power utilization of the power supply system. In the DR architecture (<NUM>+<NUM>) shown in <FIG>, power utilization of the power supply module <NUM> is <NUM>.

In the power supply architecture shown in <FIG>, a UPS <NUM> and a battery <NUM> are added to the power supply module <NUM>, and the UPS <NUM> and the battery <NUM> are configured to supply power to a second device <NUM> and a second device <NUM>, to improve the power utilization of the power supply module <NUM>.

In addition, because there are margins for maximum values that are set for input power of the power supply module <NUM>, the power supply module <NUM>, and the power supply module <NUM>, that is, the maximum values of the input power of the power supply module <NUM>, the power supply module <NUM>, and the power supply module <NUM> are greater than average power of the IT device <NUM> and average power of the IT device <NUM>. In other words, power supplied by the transformer <NUM> is greater than the average power of the IT device <NUM>, and power supplied by the transformer <NUM> is greater than the average power of the IT device <NUM>, so that the power utilization of the power supply architecture is low.

A UPS <NUM> and a power source <NUM> are added to the power supply module <NUM>, and a UPS <NUM> and a power source <NUM> are added to the power supply module <NUM>. A rated value of input power of the UPS <NUM> is set to the average power of the IT device <NUM>, and the power supplied by the transformer <NUM> may be further used to supply power to a second device <NUM> through the UPS <NUM>. A rated value of input power of the UPS <NUM> is set to the average power of the IT device <NUM>, and the power supplied by the transformer <NUM> may be further used to supply power to the second device <NUM> through the UPS <NUM>. Therefore, power utilization of the power supply module <NUM>, the power supply module <NUM>, and the power supply module <NUM> can be improved to <NUM>%.

For power supply methods performed by the UPSs, refer to the descriptions in <FIG>. The UPS <NUM>, the UPS <NUM>, and the UPS <NUM> each may be understood as a first UPS, the UPS <NUM>, the UPS <NUM>, and the UPS <NUM> each may be understood as a second UPS, and the IT device <NUM> and the IT device <NUM> each may be understood as a first device.

A switch in a power distribution cabinet <NUM> may control a connection between the UPS <NUM> and the second device <NUM>. A switch in a power distribution cabinet <NUM> may control a connection between the UPS <NUM> and the second device <NUM>. A switch in a power distribution cabinet <NUM> may control connections between the UPS <NUM> and the second device <NUM> and between the UPS <NUM> and the second device <NUM>.

A high-voltage power supply system includes isolation transformers. The isolation transformers may be configured to convert high voltage electricity to obtain low voltage electricity. For example, the isolation transformers in the high-voltage power supply system may convert <NUM> kV high voltage electricity into a <NUM> V mains supply.

A low-voltage power supply system may be configured to supply power to a data center. The low-voltage power supply system includes an input power distribution cabinet, an output power distribution cabinet, UPSs, batteries, and the like.

Technical solutions in embodiments of this application can be applied to the low-voltage power supply system. One UPS and one battery are added to an existing power supply module including one UPS and one battery. A second device is added to the data center. The added UPS and battery may supply power to the second device, and a service in the second device is transferable.

When power supply of an original device in the data center is insufficient, power-source power supplied by a power source to the second device is reduced, to ensure power supply of the original device in the data center. The power supply system provided in this embodiment of this application can improve power utilization.

Devices in the data center may be dual power supply loads, that is, each device is supplied with power by two power supply modules. This reduces a probability of a power failure of a device in the low-voltage system.

The low-voltage power supply system generates heat in a running process. A cooling system can cool the low-voltage power supply system. In the cooling system, a first cooling module may be configured to cool the input power distribution cabinet, and a second cooling module may be configured to cool the output power distribution cabinet.

The first cooling module includes a cooling tower, a water pump, a water chiller, a heat exchanger, and the like. The second cooling module includes a water pump, a cooling tank, an air conditioner terminal, and the like. The input power distribution cabinet may be configured to connect each power supply module to the high-voltage power supply system. The output power distribution cabinet may be configured to connect each power supply module to the data center.

The foregoing describes the method embodiments in embodiments of this application with reference to <FIG>. The following describes apparatus embodiments in embodiments of this application with reference to <FIG>. It should be understood that the descriptions of the method embodiments correspond to descriptions of the apparatus embodiments. Therefore, for a part that is not described in detail, refer to the foregoing method embodiments.

<FIG> is a schematic diagram of a structure of a control apparatus for a power supply apparatus in a data center according to an embodiment of this application. The control apparatus <NUM> may be referred to as a UPS unit or a UPS apparatus.

The control apparatus <NUM> is configured to supply power to the data center. The data center includes a first device and at least one second device, importance of a service in the first device is higher than importance of a service in each second device, and the service in each second device is transferable.

The power supply apparatus includes a first uninterruptible power supply UPS and a second UPS, the first UPS is configured to control a first power source and a first energy storage apparatus to supply power to the first device, and the second UPS is configured to control the first power source and a second energy storage apparatus to supply power to the at least one second device.

The control apparatus <NUM> includes an obtaining module <NUM> and an adjustment module <NUM>.

The obtaining module <NUM> is configured to obtain a quantity of electricity of the first energy storage apparatus.

The adjustment module <NUM> is configured to: when the quantity of electricity of the first energy storage apparatus is less than or equal to a first preset quantity of electricity, reduce input power that is input by the first power source to the second UPS.

Optionally, the quantity of backup electricity is used to indicate a quantity of electricity needed when duration of service running of the first device is greater than or equal to preset duration.

Optionally, the adjustment module <NUM> is further configured to: when the quantity of electricity of the first energy storage apparatus is greater than a second preset quantity of electricity, stop reducing the input power that is input by the first power source to the second UPS, where the second preset quantity of electricity is greater than or equal to the first preset quantity of electricity.

Optionally, the control apparatus <NUM> further includes a transceiver module. The transceiver module is configured to: when a quantity of electricity of the second energy storage apparatus is less than a third preset quantity of electricity, send transfer indication information to at least one target second device in the at least one second device, where the transfer indication information is used to indicate the at least one target second device to transfer a service.

Optionally, the obtaining module <NUM> is further configured to obtain the quantity of electricity of the second energy storage apparatus.

Optionally, a time in which the third preset quantity of electricity supports running of the at least one target second device is greater than or equal to a transfer time of the service in the at least one target second device.

Optionally, the adjustment module <NUM> is configured to determine, based on a power requirement of the first device for the first power source, the input power that is input by the first power source to the second UPS.

Optionally, before the input power that is input by the first power source to the second UPS is reduced, a rated value of power that is input by the first power source to the first UPS is equal to average power of the first device.

Optionally, the power supply apparatus further includes a third UPS and a fourth UPS. The third UPS is configured to control a second power source and a third energy storage apparatus to supply backup electrical energy to the first device, and the fourth UPS is configured to control the second power source and a fourth energy storage apparatus to supply power to at least one third device. The importance of the service in the first device is higher than importance of a service in each third device, and the service in each third device is transferable.

Optionally, the data center further includes at least one third device. The importance of the service in the first device is higher than importance of a service in each third device, and the service in each third device is transferable.

It should be understood that the control module <NUM> may be a controller in the first UPS or the second UPS, or may be a controller in another unit or device. The first UPS may communicate with the second UPS, to implement signal transmission between the first UPS and the second UPS.

<FIG> is a schematic diagram of a structure of an uninterruptible power supply apparatus according to an embodiment of this application.

A control apparatus <NUM> is configured to supply power to a data center. The data center includes a first device and at least one second device, importance of a service in the first device is higher than importance of a service in each second device, and the service in each second device is transferable.

The control apparatus <NUM> includes a memory <NUM> and a processor <NUM>.

The memory <NUM> is configured to store a program.

When executing the program, the processor <NUM> is configured to: when a quantity of electricity of the first energy storage apparatus is less than or equal to a first preset quantity of electricity, reduce input power that is input by the first power source to the second UPS.

Optionally, the processor <NUM> is further configured to: when the quantity of electricity of the first energy storage apparatus is greater than a second preset quantity of electricity, stop reducing the input power that is input by the first power source to the second UPS, where the second preset quantity of electricity is greater than or equal to the first preset quantity of electricity.

Optionally, the processor <NUM> is further configured to: when a quantity of electricity of the second energy storage apparatus is less than a third preset quantity of electricity, send transfer indication information to at least one target second device in the at least one second device, where the transfer indication information is used to indicate the at least one target second device to transfer a service.

It should be understood that the control apparatus <NUM> further includes a communications interface, and the transfer indication information is sent by using the communications interface of the control apparatus <NUM>. The target second device includes a communications interface, and the communications interface of the second device is configured to receive the transfer indication information sent by the control apparatus <NUM>.

Optionally, the processor <NUM> is further configured to determine, based on a power requirement of the first device for the first power source, the input power that is input by the first power source to the second UPS.

An embodiment of this application further provides a control apparatus for a power supply apparatus in a data center, including at least one processor and a memory. The memory is configured to store a program. When the program is executed in the at least one processor, the power supply apparatus is enabled to perform the foregoing methods.

An embodiment of this application further provides a computer program storage medium. The computer program storage medium includes program instructions, and when the program instructions are directly or indirectly executed, the foregoing methods are implemented.

An embodiment of this application further provides a chip system. The chip system includes at least one processor, and when program instructions are executed in the at least one processor, the foregoing methods are implemented.

An embodiment of this application further provides a data center. The data center includes a first device, a second device, a power supply apparatus, and the foregoing control apparatus for the power supply apparatus in the control center.

A person of ordinary skill in the art may be aware that, in combination with the examples described in embodiments disclosed in this specification, the units and algorithm steps may by implemented electronic hardware or a combination of computer software and electronic hardware.

It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for detailed working processes of the foregoing systems, apparatuses, and units, refer to corresponding processes in the foregoing method embodiments.

In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other manners. For example, division into the units is merely logical function division and may be other division during actual implementation. The indirect couplings or communication connections between the apparatuses or the units may be implemented in electrical, mechanical, or other forms.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units. To be specific, the parts may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions of embodiments.

When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the conventional technologies, or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or some of the steps of the methods described in embodiments of this application. The foregoing storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.

Claim 1:
A power supply apparatus configured to supply power to a data center, the data center comprising a first device (<NUM>) and at least one second device (<NUM>, <NUM>);
the power supply apparatus comprises a first uninterruptible power supply UPS(911a) , a second UPS(911b) and a control apparatus, the first UPS(911a) is configured to control a first power source and a first energy storage apparatus(913a) to supply power to the first device(<NUM>), and the second UPS(911b) is configured to control the first power source and a second energy storage apparatus(913b) to supply power to the at least one second device(<NUM>, <NUM>); importance of a service in the first device(<NUM>) is higher than importance of a service in each second device(<NUM>, <NUM>), and the service in each second device(<NUM>, <NUM>) is transferable; wherein the sum of the power that is input by the first power source to the first UPS(911a) and the power that is input by the first power source to the second UPS(911b) is a fixed value;
the control apparatus is configured to:
limit the power input by the first power source to the first UPS to a rated value, the power that is input by the first power source to the second UPS is the power of the first power source minus the rated value of the first UPS; or
when a quantity of electricity of the first energy storage apparatus is less than or equal to the first preset quantity of electricity, limit input power that is input by the first power source to the second UPS to the power of the first power source minus the power that is input by the first power source to the first UPS, wherein the power that is input by the first power source to the first UPS is determined based on the power requirement of the first device;
wherein the processor is further configured to:
when a quantity of electricity of the second energy storage apparatus is less than a third preset quantity of electricity, send transfer indication information to at least one target second device in the at least one second device, wherein the transfer indication information is used to indicate the at least one target second device to transfer a service.