Control method, apparatus and electronic device for data center

CN115408144BActive Publication Date: 2026-09-18BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110586371.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-27
Publication Date
2026-09-18
Estimated Expiration
2041-05-27

AI Technical Summary

Technical Problem

[0004]本公开提供一种用于数据中心的控制方法、装置及电子设备,以至少解决相关技术中机柜资源利用率有待提高的问题

Benefits of technology

[0058]By collecting power information from each rack in the data center, including power usage data that characterizes the corresponding rack, the system can determine whether the data center meets the online control conditions based on the power usage data of each rack. If the data center meets the online control conditions, the system can identify the server information that meets the online control conditions and perform server online operations based on the server information, thereby improving the utilization rate of rack resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115408144B_ABST
    Figure CN115408144B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a control method and device for a data center and an electronic device, and belongs to the technical field of Internet. The method comprises: collecting power information of each cabinet in the data center, wherein the power information comprises power usage data of the corresponding cabinet; determining whether the data center meets the online control condition based on the power usage data of each cabinet; if it is detected that the data center meets the online control condition, determining server information that meets the online control condition, and performing server online operation based on the server information. According to the scheme of the present disclosure, the cabinet resource utilization rate can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet technology, and in particular to a control method, apparatus and electronic device for data centers. Background Technology

[0002] With the development of computer and internet technology, servers are used in various businesses. In practical applications, servers are put into server racks for unified management.

[0003] Currently, after servers are deployed to server racks, server power consumption is often difficult to reach its peak under normal circumstances, resulting in a waste of rack resources and a need to improve rack resource utilization. Summary of the Invention

[0004] This disclosure provides a control method, apparatus, and electronic device for data centers, aiming to at least address the problem of insufficient rack resource utilization in related technologies. The technical solution of this disclosure is as follows:

[0005] According to a first aspect of the present disclosure, a control method for a data center is provided, comprising:

[0006] Collect power information of each rack in the data center, wherein the power information includes power usage data that characterizes the corresponding rack;

[0007] Based on the power usage data of each rack, determine whether the data center meets the online control conditions;

[0008] If the data center is detected to meet the online control conditions, the server information that meets the online control conditions is determined, and the server is put online based on the server information.

[0009] In one possible implementation of this disclosure, determining whether the data center meets the online control conditions based on the power usage data of each rack includes:

[0010] Based on the power usage data of each rack, determine whether there are racks with remaining power consumption in the data center;

[0011] If the data center has racks with remaining power consumption, then determine whether the racks with remaining power consumption meet the power consumption requirements of the servers to be deployed.

[0012] If it is determined that the remaining power consumption of the racks meets the power consumption requirements of the servers to be put online, then the data center is deemed to meet the online control conditions.

[0013] In one possible implementation of this disclosure, determining whether the remaining power consumption of the rack meets the power consumption requirements of the server to be deployed includes:

[0014] Determine the number of racks with remaining power consumption;

[0015] Based on the number of racks with remaining power consumption, determine the remaining power consumption corresponding to the data center;

[0016] If the remaining power consumption meets the power consumption requirements of the server to be launched, then it is determined that the rack with the remaining power consumption meets the power consumption requirements of the server to be launched.

[0017] If the remaining power consumption does not meet the power consumption requirements of the server to be launched, then it is determined that the remaining power consumption of the rack does not meet the power consumption requirements of the server to be launched.

[0018] In one possible implementation of this disclosure, determining whether there are any racks with remaining power consumption in the data center based on the power usage data of each rack includes:

[0019] Determine the rated power consumption of each rack in the data center;

[0020] In the data center, the racks whose power usage data is less than the rated power consumption are identified as racks with remaining power consumption.

[0021] In one possible implementation of this disclosure, the collection of power information from each rack in the data center includes power usage data characterizing the corresponding rack, wherein the power information includes:

[0022] Determine multiple peak current values ​​for each rack in the data center within a set time range;

[0023] The average peak current value of each cabinet within the set time range is determined based on the multiple peak current values.

[0024] The average peak current of each cabinet is used as the power usage data of each cabinet.

[0025] In one possible implementation of this disclosure, determining the server information that meets the online control conditions and performing the server online operation based on the server information includes:

[0026] Determine the server to be launched that belongs to the server information that meets the online control conditions;

[0027] The servers to be launched will be moved to the racks with remaining power consumption.

[0028] According to a second aspect of the present disclosure, a control device for a data center is provided, comprising:

[0029] The acquisition module is configured to collect power information of each rack in the data center, wherein the power information includes power usage data that characterizes the corresponding rack.

[0030] The determination module is configured to execute power usage data based on each rack to determine whether the data center meets the online control conditions;

[0031] The control module is configured to, if the data center is detected to meet the online control conditions, determine the server information that meets the online control conditions, and perform server online operation based on the server information.

[0032] In one possible implementation of this disclosure, the determining module includes:

[0033] The first determining unit is configured to execute power usage data for each rack to determine whether there are racks with remaining power consumption in the data center;

[0034] The second determining unit is configured to determine whether the racks with remaining power consumption in the data center meet the power consumption requirements of the servers to be put online.

[0035] The third determining unit is configured to determine that the data center meets the online control conditions if it is determined that the remaining power consumption of the racks meets the power consumption requirements of the servers to be brought online.

[0036] In one possible implementation of this disclosure, the second determining unit is specifically configured as follows:

[0037] Determine the number of racks with remaining power consumption;

[0038] Based on the number of racks with remaining power consumption, determine the remaining power consumption corresponding to the data center;

[0039] If the remaining power consumption meets the power consumption requirements of the server to be launched, then it is determined that the rack with the remaining power consumption meets the power consumption requirements of the server to be launched.

[0040] If the remaining power consumption does not meet the power consumption requirements of the server to be launched, then it is determined that the remaining power consumption of the rack does not meet the power consumption requirements of the server to be launched.

[0041] In one possible implementation of this disclosure, the first determining unit is specifically configured as follows:

[0042] Determine the rated power consumption of each rack in the data center;

[0043] In the data center, the racks whose power usage data is less than the rated power consumption are identified as racks with remaining power consumption.

[0044] In one possible implementation of this disclosure, the acquisition module is specifically configured as follows:

[0045] Determine multiple peak current values ​​for each rack in the data center within a set time range;

[0046] The average peak current value of each cabinet within the set time range is determined based on the multiple peak current values.

[0047] The average peak current of each cabinet is used as the power usage data of each cabinet.

[0048] In one possible implementation of this disclosure, the control module is specifically configured as follows:

[0049] Determine the server to be launched that belongs to the server information that meets the online control conditions;

[0050] The servers to be launched will be moved to the racks with remaining power consumption.

[0051] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0052] processor;

[0053] Memory used to store the processor's executable instructions;

[0054] The processor is configured to execute the instructions to implement the control method for a data center as described above.

[0055] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that, when instructions in the computer-readable storage medium are executed by a processor, enables the execution of the control method for a data center as described above.

[0056] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, is capable of performing the control method for a data center as described above.

[0057] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0058] By collecting power information from each rack in the data center, including power usage data that characterizes the corresponding rack, the system can determine whether the data center meets the online control conditions based on the power usage data of each rack. If the data center meets the online control conditions, the system can identify the server information that meets the online control conditions and perform server online operations based on the server information, thereby improving the utilization rate of rack resources.

[0059] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0060] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0061] Figure 1 This is a flowchart illustrating a control method for a data center according to an exemplary embodiment.

[0062] Figure 2 This is a flowchart illustrating another control method for a data center according to an exemplary embodiment.

[0063] Figure 3 This is a block diagram of a control device for a data center according to an exemplary embodiment.

[0064] Figure 4 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0065] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0066] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0067] Based on this, the present disclosure provides a control method for a data center, which can be applied to electronic devices. The following is in conjunction with... Figure 1 To explain, Figure 1 This is a flowchart illustrating a control method for a data center according to an exemplary embodiment, such as... Figure 1 As shown, the control method for the data center includes steps 101-103.

[0068] Step 101: Collect power information for each rack in the data center.

[0069] The data center is used to transmit, accelerate, display, compute, and store data information. The data center may include one or more racks, which are used to host servers. A rack may include multiple rack positions. By hosting servers in the rack positions, for example, if the rack has 10 rack positions, 10 servers can be hosted in each of the 10 rack positions, or 9 servers can be hosted in each of the 9 rack positions, the servers can be hosted in the rack.

[0070] In this embodiment, after the server is brought online to the rack, the power information of the rack can be collected by a data acquisition device. This power information includes power usage data characterizing the power consumption of the corresponding rack. This power usage data, such as current data, is used to characterize the rack's power usage. By acquiring the power usage data of each rack, it is possible to further determine whether the data center meets the online control conditions.

[0071] In one possible implementation of this disclosure, collecting power information of each rack in a data center includes: determining multiple peak current values ​​of each rack in the data center within a set time range; determining the average peak current value of each rack within the set time range based on the multiple peak current values; and using the average peak current value of each rack as the power usage data of each rack.

[0072] In this implementation, for each rack in the data center, current data can be collected once at a preset time interval. Then, a peak current value of the rack can be determined based on the current data collected multiple times. Thus, multiple peak current values ​​can be determined within a set time range, and the multiple peak current values ​​determined within the set time range are used as multiple peak current values ​​of the rack.

[0073] The time range can be determined based on experimental data or set according to actual needs. For example, the time range could be one month, three months, etc., without specific limitations. For instance, for rack A in a data center, if one current value is captured every minute, 1440 current values ​​can be obtained per day. The maximum value among these 1440 current values ​​is taken as a peak current value and stored in the database. Then, the average of multiple peak current values ​​over a month is taken as the peak current average, and this peak current average is used as the power usage data for rack A.

[0074] As another possible implementation, determining the average peak current of each rack within a set time range based on multiple peak current values ​​also includes: performing a weighted average of multiple peak current values ​​and using the result as the average peak current value. Each peak current value corresponds to a weight.

[0075] As another possible implementation, determining multiple peak current values ​​of each rack in the data center within a set time range may also include: for each rack in the data center, a current value can be collected at preset time intervals, and then the maximum value among the multiple current values ​​collected within the set time range can be used as the power usage data of the rack.

[0076] Step 102: Based on the power usage data of each rack, determine whether the data center meets the online control conditions.

[0077] In this embodiment of the disclosure, the online control conditions are used to characterize whether the data center can bring the server online. If the data center meets the online control conditions, it means that the data center can bring the server online; otherwise, it means that the data center cannot bring the server online.

[0078] In one possible implementation of this disclosure, based on the power usage data of each rack, it is determined whether each rack in each rack has remaining power consumption. If there are racks with remaining power consumption in the data center, it is determined whether the data center meets the online control conditions.

[0079] The following section explains how to determine whether the cabinet has remaining power consumption, based on the average peak current value.

[0080] As an example, if the power usage data includes the peak-to-average current, the target power consumption is determined based on the peak-to-average current and the voltage value. The implementation of the peak-to-average current is the same as described above and will not be repeated here. The voltage value can be a pre-set fixed value, such as 220V. The target power consumption is obtained by multiplying the peak-to-average current by the voltage value.

[0081] As another example, power usage data includes the peak-to-average current. The target power consumption is then determined based on the peak-to-average current, voltage value, and power factor. In server deployment scenarios, data centers can be deployed, with each data center corresponding to one or more racks. Data centers are used to centrally house computer systems, servers, switches, and other equipment. In practical applications, different data centers may correspond to different power factors. The voltage value can be a pre-set fixed value, such as 220V. The power factor is determined based on the data center where the rack is located, and its value is between 0 and 1, for example, 0.95. The target power consumption is obtained by multiplying the peak-to-average current, voltage value, and power factor.

[0082] In the example above, the system determines whether the cabinet has remaining power consumption based on the calculated target power consumption and the cabinet's rated power consumption. Specifically, if the cabinet's rated power consumption is greater than the target power consumption, then the cabinet is determined to have remaining power consumption.

[0083] The rated power consumption of the server rack can be the rated power consumption stipulated in the contract with the operator. The actual power consumption of the server rack after the server is put online is usually not allowed to exceed the rated power consumption of the server rack.

[0084] Step 103: If the data center is found to meet the online control conditions, the server information that meets the online control conditions is determined, and the server is put online based on the server information.

[0085] In this embodiment of the disclosure, if the data center is detected to meet the online control conditions, the server to be online to which the server information that meets the online control conditions belongs is determined, and the server to be online to which it belongs is put online to a rack with remaining power consumption.

[0086] This server information includes, for example, the server's rated power consumption. The server's rated power consumption can be predetermined, for instance, calculated during testing; it could be 400W. The server's peak power consumption is the maximum power consumption the server can achieve during actual use, and it is typically greater than the rated power consumption.

[0087] For example, for rack A with remaining power consumption, the remaining power consumption of rack A can be determined based on the power usage data of rack A. If the remaining power consumption of rack A is greater than or equal to the rated power consumption of the server, then the server with the rated power consumption is determined to meet the online control conditions, and the server with the rated power consumption is brought online to rack A to manage the rack space resources of the rack.

[0088] According to the control method for data centers in this disclosure, the power usage data of each rack is used to determine whether the data center meets the online control conditions. If the data center is found to meet the online control conditions, the server information that meets the online control conditions is determined, and the server online operation is performed based on the server information. This solves the problem in the related technology that the server power consumption is difficult to reach the peak under normal circumstances, resulting in the waste of rack resources and the need to improve the utilization rate of rack resources, thereby improving the utilization rate of rack resources.

[0089] Based on the above embodiments, the following describes an implementation method for determining whether a data center meets the online control conditions based on the power usage data of each cabinet. Figure 2 This is a flowchart illustrating another control method for a data center according to an exemplary embodiment, such as... Figure 2 As shown, step 102 of the control method for the data center further includes steps 201-204.

[0090] Step 201: Based on the power usage data of each rack, determine whether there are racks in the data center with remaining power consumption.

[0091] In this embodiment of the disclosure, the rated power consumption of each rack in the data center is determined, and racks in the data center whose power usage data is less than the rated power consumption are identified as racks with remaining power consumption.

[0092] For example, power usage data is used to characterize the power usage of a server rack, such as its actual power consumption. Power consumption can be obtained by multiplying the average peak current by the voltage value, where the voltage value can be a pre-set fixed value. Alternatively, power consumption can be obtained by multiplying the average peak current by the voltage value and a power factor, where the voltage value can be a pre-set fixed value, and the power factor can be determined based on the data center where the rack is located.

[0093] Step 202: If there are racks with remaining power consumption in the data center, determine whether the racks with remaining power consumption meet the power consumption requirements of the servers to be deployed.

[0094] In one embodiment of this disclosure, the number of racks with remaining power consumption is determined, and the remaining power consumption corresponding to the data center is determined based on the number of racks with remaining power consumption. If the remaining power consumption meets the power consumption requirements of the servers to be launched, then it is determined that the racks with remaining power consumption meet the power consumption requirements of the servers to be launched; if the remaining power consumption does not meet the power consumption requirements of the servers to be launched, then it is determined that the racks with remaining power consumption do not meet the power consumption requirements of the servers to be launched.

[0095] Optionally, determining the remaining power consumption corresponding to the data center based on the number of racks with remaining power consumption includes: summing the remaining power consumption of the number of racks with remaining power consumption as the remaining power consumption corresponding to the data center.

[0096] Optionally, determining the remaining power consumption corresponding to the data center based on the number of racks with remaining power consumption includes: determining the weight corresponding to each rack with remaining power consumption, multiplying the remaining power consumption of each rack with remaining power consumption by the weight to obtain a weighted value, and summing the weighted values ​​of each rack with remaining power consumption to generate the remaining power consumption corresponding to the data center.

[0097] In one embodiment of this disclosure, the remaining power consumption of the rack is equal to the rated power consumption of the rack minus the target power consumption. Optionally, the number of servers to be added and their rated power consumption can also be obtained. Based on the rack's rated power consumption, the number of servers to be added, and their rated power consumption, the remaining power consumption of the rack is determined. For example, remaining power consumption = rack rated power consumption - (server rated power consumption × number of servers). Then, the remaining power consumption obtained from the two methods is compared, and the smaller value is taken as the remaining power consumption of the rack. For example, if the rack's rated power consumption is 4800W, the number of rack slots is 12, the server's rated power consumption is 400W, 10 servers are already online, the remaining power consumption calculated based on the server's rated power consumption is 800W, and the remaining power consumption of the rack determined based on power information is 600W, then the remaining power consumption of the rack is determined to be 600W.

[0098] As an example, if the remaining power consumption is 600W and the server's rated power consumption (i.e., power consumption requirement) is 400W, then the rack can accommodate one more server; if the remaining power consumption is 800W and the server's rated power consumption is 400W, then the rack can accommodate two more servers.

[0099] When deploying servers, the number of servers to be deployed can be determined based on the rack's rated power consumption, the number of rack slots, and the server's rated power consumption, ensuring that the actual power consumption of the rack after deployment does not exceed its rated power consumption. However, under normal circumstances, the actual power consumption of servers rarely reaches their peak power consumption. Therefore, when the actual power consumption of servers does not reach their peak power consumption, there may be situations where the sum of the power consumption of all servers in the rack is less than the rack's rated power consumption, resulting in wasted rack slot resources and a need to improve rack resource utilization.

[0100] Step 203: If it is determined that the remaining power consumption of the racks meets the power consumption requirements of the servers to be put online, then the data center is deemed to meet the online control conditions.

[0101] In this embodiment of the disclosure, if it is determined that the data center meets the online control conditions, then the server information that meets the online control conditions is determined, and the server is put online based on the server information.

[0102] In one embodiment of this disclosure, when performing a server online operation, the number and location information of available rack slots in the server rack can be determined, and a first number of servers corresponding to the number of available rack slots can be online to the rack slots corresponding to the location information.

[0103] In this embodiment, the rack may include multiple rack slots. The rated power consumption of each rack slot can be determined based on the rated power consumption of the rack and the number of rack slots. As an example, if the rated power consumption of the rack is 4800W and the number of rack slots is 12, the rated power consumption of each rack slot is 400W. The location information is used to indicate the position of each rack slot to distinguish them.

[0104] It should be noted that the rated power consumption of the rack slots mentioned above is only an example. The rated power consumption of multiple rack slots can be the same or different, and no specific restrictions are made here.

[0105] One possible implementation is to determine the number of available rack slots based on the remaining power consumption of the server rack and the rated power consumption corresponding to each rack slot. After determining the remaining power consumption, the rack slots of servers not currently online are retrieved, along with their corresponding rated power consumption. The rated power consumption of the rack slots is compared to the remaining power consumption of the server rack. If the remaining power consumption is greater than the rated power consumption of the rack slot, then the rack slot is determined to be available. For example, if the available rack slots in the rack are retrieved via interface data, with a remaining power consumption of 1000W and a rated power consumption of 400W, then the number of available rack slots in the rack is determined to be 2. This allows for the deployment of a specified number of servers and the deployment of servers to specified rack slots, providing greater flexibility.

[0106] The first quantity refers to the actual number of servers to be deployed online, and this first quantity is less than or equal to the number of available rack slots. For example, if there are two available rack slots, the electronic device may receive a first quantity of one, allowing it to deploy servers to either of the two available rack slots.

[0107] Optionally, rack positions corresponding to different location information can have different priorities. After determining the first number, the first number of available rack positions can be determined from multiple available rack positions according to the priority, and the location information of the first number of available rack positions can be obtained. The first number of servers can then be brought online to the rack positions corresponding to the location information.

[0108] Step 204: If there are no racks with remaining power consumption in the data center, or if it is determined that the racks with remaining power consumption do not meet the power consumption requirements of the servers to be put online, then the data center is determined to be non-compliant with the online control conditions.

[0109] In this embodiment of the disclosure, if it is determined that the data center does not meet the online control conditions, the server online operation will not be performed.

[0110] According to the control method for data centers in this disclosure, based on the power usage data of each rack, it is determined whether there are racks with remaining power consumption in the data center. If there are racks with remaining power consumption, it is determined whether the racks with remaining power consumption meet the power consumption requirements of the servers to be launched. If it is determined that the racks with remaining power consumption meet the power consumption requirements of the servers to be launched, it is determined that the data center meets the launch control conditions. Thus, when it is determined that the racks with remaining power consumption meet the power consumption requirements of the servers to be launched, the server launch operation can be performed, thereby solving the problem of wasted rack resources in related technologies because the power consumption of servers is usually difficult to reach its peak, and improving the utilization rate of rack resources.

[0111] Figure 3 This is a block diagram of a control device for a data center according to an exemplary embodiment, such as... Figure 3 As shown, the control device for the data center includes: an acquisition module 310, a determination module 320, and a control module 330.

[0112] The acquisition module 310 is configured to collect power information of each rack in the data center, including power usage data that characterizes the corresponding rack.

[0113] The determination module 320 is configured to execute power usage data based on each rack to determine whether the data center meets the online control conditions.

[0114] The control module 330 is configured to determine the server information that meets the online control conditions if the data center is detected to meet the online control conditions, and to perform server online operation based on the server information.

[0115] In one possible implementation of this disclosure, the determining module 320 includes:

[0116] The first determining unit is configured to execute power usage data for each rack to determine whether there are racks in the data center with remaining power consumption.

[0117] The second determining unit is configured to determine whether the racks with remaining power consumption in the data center meet the power consumption requirements of the servers to be put online if such racks exist.

[0118] The third determining unit is configured to determine that if the remaining power consumption of the racks meets the power consumption requirements of the servers to be put online, then the data center meets the online control conditions.

[0119] In one possible implementation of this disclosure, the second determining unit is specifically configured to: determine the number of racks with remaining power consumption; determine the remaining power consumption corresponding to the data center based on the number of racks with remaining power consumption; if the remaining power consumption meets the power consumption requirements of the server to be launched, then determine that the racks with remaining power consumption meet the power consumption requirements of the server to be launched; if the remaining power consumption does not meet the power consumption requirements of the server to be launched, then determine that the racks with remaining power consumption do not meet the power consumption requirements of the server to be launched.

[0120] In one possible implementation of this disclosure, the first determining unit is specifically configured to: determine the rated power consumption of each rack in the data center; and determine the racks in the data center whose power usage data is less than the rated power consumption as racks with remaining power consumption.

[0121] In one possible implementation of this disclosure, the acquisition module 310 is specifically configured to: determine multiple peak current values ​​of each rack in the data center within a set time range; determine the average peak current value of each rack within the set time range based on the multiple peak current values; and use the average peak current value of each rack as the power usage data of each rack.

[0122] In one possible implementation of this disclosure, the control module 330 is specifically configured to: determine the server to be put online that meets the online control conditions; and put the server to be put online into the rack with remaining power consumption.

[0123] In practical use, the control device for data centers provided in this disclosure can be configured in any electronic device to execute the aforementioned control method for data centers. Therefore, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0124] The control device for data centers provided in the embodiments of this disclosure determines whether the data center meets the online control conditions by using the power usage data of each rack. If the data center is found to meet the online control conditions, the information of the servers that meet the online control conditions is determined, and the server online operation is performed based on the server information. This solves the problem in the related technology that the power consumption of the server is difficult to reach the peak under normal circumstances, resulting in the waste of rack resources and the need to improve the utilization rate of rack resources, thereby improving the utilization rate of rack resources.

[0125] Figure 4This is a block diagram illustrating an electronic device 400 for controlling a data center according to an exemplary embodiment.

[0126] like Figure 4 As shown, the above-mentioned electronic device 400 includes:

[0127] The memory 410 and processor 420 are connected by a bus 430, which connects the different components (including the memory 410 and the processor 420). The memory 410 stores a computer program, which, when executed by the processor 420, implements the control method for a data center as described in this embodiment of the present disclosure.

[0128] Bus 430 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0129] Electronic device 400 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by electronic device 400, including volatile and non-volatile media, removable and non-removable media.

[0130] Memory 410 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 440 and / or cache memory 450. Electronic device 400 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 460 may be used to read and write non-removable, non-volatile magnetic media (… Figure 4 Not shown; usually referred to as a "hard drive"). Although Figure 4 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 430 via one or more data media interfaces. Memory 410 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this disclosure.

[0131] A program / utility 480 having a set (at least one) of program modules 470 may be stored, for example, in memory 410. Such program modules 470 include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 470 typically perform the functions and / or methods described in the embodiments of this disclosure.

[0132] Electronic device 400 can also communicate with one or more external devices 490 (e.g., keyboard, pointing device, display 491, etc.), and with one or more devices that enable a user to interact with electronic device 400, and / or with any device that enables electronic device 400 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 492. Furthermore, electronic device 400 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 493. As shown, network adapter 493 communicates with other modules of electronic device 400 via bus 430. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0133] The processor 420 performs various functional applications and data processing by running programs stored in the memory 410.

[0134] It should be noted that the implementation process and technical principles of the electronic device in this embodiment are explained in the foregoing description of the control method for a data center according to the present disclosure, and will not be repeated here.

[0135] The electronic device provided in this embodiment can execute the control method for data centers as described above. By using the power usage data of each rack, it determines whether the data center meets the online control conditions. If the data center is found to meet the online control conditions, it determines the server information that meets the online control conditions and performs server online operation based on the server information. This solves the problem in related technologies where server power consumption is usually difficult to reach its peak, resulting in wasted rack resources and the need to improve rack resource utilization.

[0136] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium.

[0137] When the instructions in the computer-readable storage medium are executed by the processor, they can perform the control method for the data center as described above.

[0138] To implement the above embodiments, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, is capable of performing the control method for a data center as described above.

[0139] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0140] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A control method for a data center, characterized in that, include Collect power information of each rack in the data center, wherein the power information includes power usage data that characterizes the corresponding rack; Determine multiple peak current values ​​for each rack in the data center within a set time range; The average peak current value of each cabinet within the set time range is determined based on the multiple peak current values. The average peak current of each cabinet is used as the power usage data of each cabinet. Based on the power usage data of each rack, it is determined whether there are racks with remaining power consumption in the data center. The process of determining the racks with remaining power consumption is as follows: determine the rated power consumption of each rack in the data center, and determine the racks in the data center whose power usage data is less than the rated power consumption as the racks with remaining power consumption. If the data center has racks with remaining power consumption, then determine whether the racks with remaining power consumption meet the power consumption requirements of the servers to be deployed. If it is determined that the remaining power consumption of the racks meets the power consumption requirements of the servers to be put online, then the data center is deemed to meet the online control conditions. If the data center is detected to meet the online control conditions, the server information that meets the online control conditions is determined, and the server is put online based on the server information; The determination of whether the data center meets the online control conditions includes: The target power consumption is determined based on the average peak current, voltage value, and power factor corresponding to the data center where the rack is located. The first remaining power consumption of the cabinet is determined based on the difference between the rated power consumption of the cabinet and the target power consumption; at the same time, the second remaining power consumption is determined based on the rated power consumption of the cabinet, the number of servers already online in the cabinet and the rated power consumption of the servers. The smaller value between the first remaining power consumption and the second remaining power consumption is taken as the remaining power consumption of the cabinet; If the remaining power consumption is greater than the rated power consumption of the server to be put online, then the data center is determined to meet the online control conditions.

2. The control method according to claim 1, characterized in that, Determining whether the remaining power consumption of the rack meets the power consumption requirements of the servers to be deployed includes: Determine the number of racks with remaining power consumption; Based on the number of racks with remaining power consumption, determine the remaining power consumption corresponding to the data center; If the remaining power consumption meets the power consumption requirements of the server to be launched, then it is determined that the rack with the remaining power consumption meets the power consumption requirements of the server to be launched. If the remaining power consumption does not meet the power consumption requirements of the server to be launched, then it is determined that the remaining power consumption of the rack does not meet the power consumption requirements of the server to be launched.

3. The control method according to claim 1, characterized in that, The step of determining the server information that meets the online control conditions and performing server online operations based on the server information includes: Determine the server to be launched that belongs to the server information that meets the online control conditions; The servers to be launched will be moved to the racks with remaining power consumption.

4. A control device for a data center, characterized in that, The apparatus is used to implement a control method for a data center as described in claim 1, the apparatus comprising: The acquisition module is configured to collect power information of each rack in the data center, wherein the power information includes power usage data for the corresponding rack; determine multiple peak current values ​​of each rack in the data center within a set time range; determine the average peak current value of each rack within the set time range based on the multiple peak current values; and use the average peak current value of each rack as the power usage data of each rack. The determination module is configured to execute power usage data based on each rack to determine whether the data center meets the online control conditions; The control module is configured to, if the data center is detected to meet the online control conditions, determine the server information that meets the online control conditions, and perform server online operation based on the server information; The determining module includes: The first determining unit is configured to determine whether there are racks with remaining power consumption in the data center based on the power usage data of each rack. The process of determining the racks with remaining power consumption is as follows: determine the rated power consumption of each rack in the data center, and determine the racks in the data center whose power usage data is less than the rated power consumption as the racks with remaining power consumption. The second determining unit is configured to determine whether the racks with remaining power consumption meet the power consumption requirements of the servers to be put online if there are racks with remaining power consumption in the data center. The third determining unit is configured to determine that the data center meets the online control conditions if it is determined that the remaining power consumption of the racks meets the power consumption requirements of the servers to be put online.

5. The apparatus according to claim 4, characterized in that, The second determining unit is specifically configured as follows: Determine the number of racks with remaining power consumption; Based on the number of racks with remaining power consumption, determine the remaining power consumption corresponding to the data center; If the remaining power consumption meets the power consumption requirements of the server to be launched, then it is determined that the rack with the remaining power consumption meets the power consumption requirements of the server to be launched. If the remaining power consumption does not meet the power consumption requirements of the server to be launched, then it is determined that the remaining power consumption of the rack does not meet the power consumption requirements of the server to be launched.

6. The apparatus according to claim 4, characterized in that, The control module is specifically configured as follows: Determine the server to be launched that belongs to the server information that meets the online control conditions; The servers to be launched will be moved to the racks with remaining power consumption.

7. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the control method for a data center as described in any one of claims 1-3.

8. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a control method for a data center as described in any one of claims 1-3.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the control method for a data center as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Server rack position distribution method and apparatus used for data center

    CN106056237A

  • Cabinet resource management method and device, equipment and computer readable storage medium

    CN112306686A