Data center energy consumption optimization control method and system based on deep neural network
Optimizing data center energy consumption through deep neural networks solves the problem of insufficient energy consumption optimization efficiency and accuracy in the existing technology, and achieves optimization of efficiency and degree while reducing energy consumption without generating hot spots.
Patent Information
- Application Number
- CN202410950914.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology cannot guarantee optimization efficiency, optimization degree, and optimization accuracy at the same time in data center energy consumption optimization. Especially when server energy consumption, cooling energy consumption, and hot spot management are comprehensively considered, it is easy to cause hot spots and increase the total energy consumption. Consumption.
A data center energy consumption optimization method based on deep neural network is adopted. By obtaining server, cooling system and environmental status information, the energy consumption optimization objective function and constraint conditions are established. The DeepG-Q-GNetwork network is used for energy consumption optimization, and the optimization strategy is output. Conduct training iterations to achieve intelligent optimization of energy consumption.
On the premise of not generating hot spots, the optimization efficiency, optimization degree and optimization accuracy can be guaranteed at the same time, and the intelligence and accuracy of data center energy consumption management can be improved.
Smart Images

Figure CN118759969A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy consumption optimization control, and specifically to a data center energy consumption optimization control method and system based on a deep neural network. Background Art
[0002] Energy consumption optimization control is a systematic method that aims to achieve the optimal efficiency of equipment and system operation through real-time monitoring, analysis and management of energy consumption, thereby reducing energy waste, lowering energy costs, improving energy utilization, and supporting the realization of sustainable development goals. As the core infrastructure of the information age, the huge energy consumption problem of data centers has become the focus of industry attention. In order to effectively deal with this problem, it is necessary to deeply analyze the energy consumption composition and influencing factors of data centers and adopt a series of energy efficiency optimization methods.
[0003] In the existing process of improving the energy consumption optimization of data centers, more and more reliance is placed on digital analysis to get rid of the original manual optimization method. However, in the existing process of optimizing data centers by using computers for digital analysis, the optimization method used is too simple. Usually, the existing optimization parameters are entered to train and set the analysis method. The optimization is not intelligent and accurate enough. For example, in a patent application with publication number CN117113235A, a method and system for optimizing energy consumption of a cloud computing data center are disclosed. This solution is to collect relevant data of the data center and then perform simple data processing to form a simple detection algorithm. It lacks feature learning ability, adaptability and memory ability, resulting in the optimization control of energy consumption not being accurate and intelligent enough, and the degree of optimization is limited. At the same time, the existing Some energy consumption control methods for data centers usually control the energy consumption of data centers manually. The energy consumption of data centers mainly comes from servers and cooling systems. Most of the existing energy consumption optimization control methods rely on manual optimization to focus on server power consumption. Usually, in order to reduce computing energy consumption, many energy consumption optimization control methods will concentrate the workload on a few servers, and shut down or put unused servers in a low-energy state. This may lead to excessive concentration of loads and cause hot spots in the data center. In order to avoid the occurrence of hot spots, the operating power of the cooling system has to be increased to reduce the probability of hot spots, thereby increasing the total energy consumption. When optimizing the energy consumption of the data center by comprehensively considering server energy consumption, cooling energy consumption and hot spot management, it is impossible to simultaneously guarantee the optimization efficiency, optimization degree and optimization accuracy. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent, and proposes a data center energy consumption optimization control method and system based on deep neural networks to solve the problem that the energy consumption optimization of data centers in the prior art relies on manual optimization to focus on server power consumption, and optimizes the energy consumption of the data center while comprehensively considering server energy consumption, cooling energy consumption and hotspot management. Under the premise of not generating hotspots, it is impossible to simultaneously guarantee the optimization efficiency, optimization degree and optimization accuracy.
[0005] To achieve the above objectives, in the first aspect, a data center energy consumption optimization control method based on a deep neural network includes:
[0006] Acquire first status information of the data center, the first status information including: server status information, cooling system status information and environment status information;
[0007] Performing information processing based on the first state information, and establishing an energy consumption optimization objective function and constraint conditions;
[0008] Establish a neural optimization network based on the DeepG-Q-GNetwork network, and determine the state space, action space and reward function of the neural optimization network;
[0009] Optimize the energy consumption of the data center based on the neural optimization network, output the energy consumption optimization strategy, and perform training iterations on the neural optimization network;
[0010] Generate optimization instructions based on the energy consumption optimization strategy, and complete energy consumption optimization control based on the optimization instructions.
[0011] Further, obtaining the first status information of the data center includes:
[0012] Get the server status information: sort and number all servers, numbering them as 1, 2, 3, ... i, get the processor utilization of each server, and mark the processor utilization of the i-th server as μ i ; Get the input power of each server in idle state, and mark the input power of the i-th server in idle state as P i idle ; Get the input power of each server under full load, and mark the input power of the i-th server under full load as P i max ; Get the device parameters of all servers;
[0013] The cooling system includes several cooling units, and the cooling system status information is obtained: the set cooling temperature T is obtained sup ; Sort and number all cooling units, numbering them as 1, 2, 3, ... j, obtain the cooling power consumption of all cooling units, and mark the cooling power consumption as Pj cool , P j cool represents the cooling power consumption of the jth cooling unit; obtains the equipment parameters of all cooling units;
[0014] Obtain environmental information: Obtain the temperature of the server inlet air and mark the temperature of the server inlet air as T i in , T i in Represents the temperature of the inlet air of the i-th server.
[0015] Further, performing information processing based on the first state information includes:
[0016] Calculate the processing power consumption based on the server status information: The power consumption of the i-th server at time t is expressed as:
[0017] Where P i (t) is the power consumption of the i-th server at time t; P i idle is the input power of the i-th server in idle state; P i max is the input power of the i-th server under full load; μ i (t) represents the processor utilization of the i-th server at time t; the power consumption of all servers at time t is summed to obtain the processing power consumption P at time t comp (t);
[0018] Calculate the cooling power consumption based on the cooling system status information: sum the cooling power consumption of all cooling units at time t to obtain the cooling power consumption P of the cooling system at time t. cool (t);
[0019] The first critical temperature T is set based on the environmental information red , set H i Indicates whether the inlet air temperature of the i-th server exceeds T red , H i Specifically expressed as:
[0020] Where T i in (t) is the inlet air temperature of the i-th server at time t; T red is the set first critical temperature; H i (t) represents the inlet air temperature T of the i-th server at time t i in (t) Whether it exceeds T red When Hi When (t) = 1, it represents the inlet air temperature T of the i-th server at time t. i in (t) exceeds T red , mark the server as overheated. i When (t) = 0, it represents the inlet air temperature T of the i-th server at time t. i in (t) does not exceed T red .
[0021] Furthermore, the energy consumption optimization objective function and the total constraints are established including:
[0022] Based on the processing power consumption P comp (t) and cooling power consumption P cool (t) Calculate the total power consumption of the data center. The total power consumption is expressed as: P total (t) = P comp (t)+P cool (t), where P total (t) represents the total power consumption at time t, P comp (t) represents the processing power consumption at time t, P cool (t) represents the cooling power consumption at time t;
[0023] Integrate and sum the total power consumption over the time range to get the total energy consumption of the data center, which is marked as E total , set E total Optimize the objective function for energy consumption;
[0024] The overall constraints include: setting operating constraints based on server parameters and cooling system parameters;
[0025] The number of overheating bits in the data center is set to 0 as the overheating constraint condition. The overheating constraint condition is expressed as: Where H i (t) represents the inlet air temperature T of the server No. i at time t i in (t) Whether it exceeds T red , N represents the total number of servers;
[0026] Under the total constraint condition, the total energy consumption E total Minimum is the energy consumption optimization target.
[0027] Furthermore, a neural optimization network is established based on the DeepG-Q-GNetwork network, and the state space of the neural optimization network is determined to include:
[0028] Select DeepG-Q-GNetwork as the neural optimization network, which includes the main network and the target network;
[0029] Define the state space as S, which includes: the processing power consumption P of all servers comp , the inlet air temperature T of all servers, expressed as S = {P comp , T}, where P comp represents the processing power consumption of all servers in the data center, and T represents the inlet air temperature of all servers in the data center.
[0030] Furthermore, determining the action space of the neural optimization network includes:
[0031] Based on the equipment parameters of the cooling unit, obtain the maximum cooling temperature t of the cooling unit max , minimum cooling temperature t min and the refrigeration temperature adjustment accuracy c, and obtain all the adjustable refrigeration temperature gears of the cooling unit; repeatedly obtain all the adjustable refrigeration temperature gears of all cooling units, select some refrigeration temperature gears and mark them as Y i , define the action space as A, which includes: the partial cooling temperature gears of all cooling units, expressed as A = {Y i}.
[0032] Furthermore, determining the reward function r of the neural optimization network includes:
[0033] Based on the energy consumption optimization objective function and the total constraint conditions, a reward function r is set. Through the reward function r, the neural optimization network learns the action of minimizing the power consumption of the data center while satisfying the overheating constraint conditions.
[0034] Furthermore, the energy consumption of the data center is optimized based on the neural optimization network, and the energy consumption optimization strategy is output. At the same time, the neural optimization network is trained and iterated, including:
[0035] Initialize the parameters of the main network and the target network, set the experience replay pool and related hyperparameters, establish the energy consumption optimization goal and the total constraint conditions, obtain the state S of the current data center, use the ε-greedy strategy to randomly select an action a with probability ε, execute the selected action a, obtain the next state S' and reward r' of the data center, and put the state S, the selected action a, the next state S' and the reward r' into the experience replay pool; while interacting with the data center, the neural optimization network uses the data in the experience replay pool for training iterations.
[0036] Further, generating an optimization instruction based on the energy consumption optimization strategy, and completing energy consumption optimization control based on the optimization instruction includes:
[0037] An optimization instruction is generated based on the energy consumption optimization strategy, and the optimization instruction is transmitted to the cooling system. The cooling system makes corresponding adjustments to each cooling unit based on the optimization instruction to complete the optimization instruction, and the cooling system status information after completion is input to the neural optimization network to complete the energy consumption optimization strategy.
[0038] In a second aspect, the present invention provides a data center energy consumption optimization control system based on a deep neural network, comprising a state acquisition module, an information processing module, a neural network module and an execution module;
[0039] The state acquisition module includes a collection unit and a storage unit, the collection unit is used to obtain the first state information of the data center, the first state information includes: server state information, cooling system state information and environmental state information; the storage unit is used to store the basic information and state information obtained by the collection unit and the data generated by the system operation;
[0040] The information processing module includes a processing unit and a construction unit, the processing unit is used to process the first state information; the construction unit is used to establish the energy consumption optimization objective function and constraint conditions;
[0041] The neural network module includes a preparation unit and an optimization unit. The preparation unit establishes a state space, an action space and a reward function based on energy consumption optimization objectives and constraints. The optimization unit includes a neural optimization network. The neural optimization network optimizes the energy consumption of the data center, outputs an energy consumption optimization strategy, and completes training iterations at the same time.
[0042] The execution module generates optimization instructions based on the energy consumption optimization strategy, and transmits the optimization instructions to the cooling system to complete energy consumption optimization control.
[0043] In a third aspect, the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the above method are performed.
[0044] Beneficial effects of the present invention: the present invention first obtains the first state information of the data center; performs information processing based on the first state information, and establishes an energy consumption optimization objective function and constraint conditions; establishes a neural optimization network based on the DeepG-Q-GNetwork network, and determines the state space, action space and reward function of the neural optimization network; optimizes the energy consumption of the data center based on the neural optimization network, outputs an energy consumption optimization strategy, and performs training iterations on the neural optimization network at the same time; generates optimization instructions based on the energy consumption optimization strategy, and completes energy consumption optimization control based on the optimization instructions; the present invention adopts a neural optimization network based on deep learning, optimizes the energy consumption of the data center while comprehensively considering the server energy consumption, cooling energy consumption and hot spot management, and can simultaneously ensure the optimization efficiency, optimization degree and optimization accuracy without generating hot spots;
[0045] The present invention establishes a neural optimization network based on the DeepG-Q-GNetwork network. The DeepG-Q-GNetwork network combines deep learning and reinforcement learning technologies, has the ability to process high-dimensional states, can make effective decisions in complex environments, and can simultaneously ensure the optimization efficiency, optimization degree and optimization accuracy in the process of optimizing the energy consumption of the data center; the energy consumption of the data center is optimized while considering the server energy consumption, cooling energy consumption and hot spot management, and the energy consumption of the data center can be optimized without generating hot spots, thereby ensuring the optimization efficiency and optimization degree, and at the same time, ensuring the stability of the server and the security of the data center to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a functional block diagram of the system of the present invention;
[0047] Figure 2 is a flow chart of the steps of the method of the present invention;
[0048] Figure 3 It is a schematic diagram of the energy consumption optimization process of the present invention;
[0049] Figure 4 Schematic diagram of the neural optimization network structure of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] Example 1, please refer to Figure 1 As shown, a data center energy consumption optimization control system based on deep neural network includes a state acquisition module, an information processing module, a neural network module and an execution module;
[0052] The state acquisition module includes a collection unit and a storage unit. The collection unit is used to obtain the first state information of the data center. The first state information includes: server state information, cooling system state information and environmental state information; the storage unit is used to store the basic information and state information obtained by the collection unit and the data generated by the system operation;
[0053] The collection unit is configured with a collection strategy, and the collection strategy includes: obtaining the first state information of the data center includes:
[0054] Get the server status information: sort and number all servers, numbering them as 1, 2, 3, ... i, get the processor utilization of each server, and mark the processor utilization of the i-th server as μ i ; Get the input power of each server in idle state, and mark the input power of the i-th server in idle state as P i idle ; Get the input power of each server under full load, and mark the input power of the i-th server under full load as P i max ; Obtain device parameters of all servers, which include processor parameters, memory parameters, storage parameters, network parameters, and power supply parameters; in this embodiment, processor parameters, memory parameters, storage parameters, and power supply parameters are mainly obtained;
[0055] The cooling system includes several cooling units, and the cooling system status information is obtained: the set cooling temperature T is obtained sup ; Sort and number all cooling units, numbering them as 1, 2, 3, ... j, obtain the cooling power consumption of all cooling units, and mark the cooling power consumption as P j cool , P j cool represents the cooling power consumption of the jth cooling unit; obtain the equipment parameters of all cooling units, the equipment parameters of the cooling units include: cooling capacity, energy efficiency ratio, cooling temperature range, cooling temperature accuracy, compressor type, rated power, cooling capacity range, energy efficiency level and temperature sensor accuracy; in this embodiment, the cooling temperature range and cooling temperature accuracy are mainly obtained;
[0056] Obtain environmental information: Obtain the temperature of the server inlet air and mark the temperature of the server inlet air as T i in , T i in represents the temperature of the air inlet to the i-th server; due to the different physical locations of the servers and the heat recirculation effect in the data center, the inlet temperatures of different servers may be different even if the cooling temperature of each server is the same;
[0057] During the specific implementation process, the equipment parameters of the server and the equipment parameters of the cooling unit can be selectively obtained according to the optimization requirements. For example, in this embodiment, the cooling temperature of the cooling unit needs to be controlled to optimize the energy consumption of the data center, so the cooling temperature range and cooling temperature accuracy of the cooling unit need to be obtained.
[0058] The information processing module includes a processing unit and a construction unit, the processing unit is used to perform information processing on the first state information, and the construction unit is used to establish an energy consumption optimization objective function and constraint conditions;
[0059] The processing unit is configured with a processing strategy, and the processing strategy includes: information processing on the first state information includes:
[0060] Calculate the processing power consumption based on the server status information: The power consumption of the i-th server at time t is expressed as:
[0061] Where P i (t) is the power consumption of the i-th server at time t; P i idle is the input power of the i-th server in idle state; P i max is the input power of the i-th server under full load; μ i (t) represents the processor utilization of the i-th server at time t; the power consumption of all servers at time t is summed to obtain the processing power consumption P at time t comp (t); The power consumption of a server is mainly determined by the utilization of the server processor and is linearly related to the utilization of the processor; for example, the input power of a server in idle state is 150w, the input power in full load state is 600w, and the processor utilization at 10:00 is 82%. The power consumption of this server at 10:00 is 150+0.82*(600-150)=519w;
[0062] Calculate the cooling power consumption based on the cooling system status information: sum the cooling power consumption of all cooling units at time t to obtain the cooling power consumption P of the cooling system at time t. cool (t), the summation formula is: Where P cool (t) represents the cooling power consumption of the cooling system at time t; P j cool (t) represents the cooling power consumption of the jth cooling unit at time t; K represents the number of cooling units;
[0063] The first critical temperature T is set based on the environmental information red In this embodiment, T red =25.0℃; set H i Indicates whether the inlet air temperature of the i-th server exceeds T red , H i Specifically expressed as:
[0064] Where T i in(t) is the inlet air temperature of the i-th server at time t; T red is the set first critical temperature; H i (t) represents the inlet air temperature T of the i-th server at time t i in (t) Whether it exceeds T red When H i When (t) = 1, it represents the inlet air temperature T of the i-th server at time t. i in (t) exceeds T red , mark the server as overheated. i When (t) = 0, it represents the inlet air temperature T of the i-th server at time t. i in (t) does not exceed T red ; For example, setting the first critical temperature T red =25.0℃, at 9:25, the inlet air temperature of the first server is T1 in (9:25) = 22.6°C, the second server inlet air temperature T2 in (9:25) = 13.2°C, the third server inlet air temperature T3 in (9:25) = 26.1°C, because T1 in (9:25) <T red , T2 in (9:25) <T red , so H1(9:25)=0, H2(9:25)=0, so the first and second servers are not overheated, and T3 in (9:25)>T red , so the third server is overheated;
[0065] In the specific implementation process, the first critical temperature T red Can be set based on environmental information, but the first critical temperature T red It should not be set too high, because excessive server temperature may cause the server system to crash, restart or automatically shut down, resulting in unstable operation. In addition, excessive temperature will cause core components such as the CPU and GPU in the server to overheat, thereby triggering the internal thermal protection mechanism, causing these components to automatically reduce the frequency to avoid overheating, which will cause the server's computing power to decrease. Long-term high-temperature operation will also accelerate hardware aging and shorten its service life. The overheating position is defined as the server whose server inlet air temperature exceeds the first critical temperature. A binary variable H is used. i (t) is used to indicate whether a server is overheated, so that energy consumption can be optimized in the future while ensuring that the data center does not overheat.
[0066] The construction unit is configured with a construction strategy, which includes: establishing an energy consumption optimization objective function and constraint conditions including:
[0067] Based on the processing power consumption P comp (t) and cooling power consumption P cool (t) Calculate the total power consumption of the data center. The total power consumption is expressed as: P total (t) = P comp (t)+P cool (t), where P total (t) represents the total power consumption at time t, P comp (t) represents the processing power consumption at time t, P cool (t) represents the cooling power consumption at time t;
[0068] Integrate and sum the total power consumption over the time range, the formula is: Where E total is the total energy consumption mark, P total represents the total power consumption, t1-t2 is the time range; the total energy consumption of the data center is obtained, and the total energy consumption is marked as E total , set E total Optimize the objective function for energy consumption;
[0069] The total constraint conditions include: setting operation constraint conditions based on server parameters and cooling system parameters; in this embodiment, the operation constraint conditions include: setting the cooling temperature range of the cooling system to [18-20], limiting the maximum power consumption of each server to 1200w, ensuring that the maximum power consumption of the server is within the carrying range of the power system to ensure stable operation;
[0070] The number of overheating bits in the data center is set to 0 as the overheating constraint condition. The overheating constraint condition is expressed as: Where H i (t) represents the inlet air temperature T of the server No. i at time t i in (t) Whether it exceeds T red , N represents the total number of servers;
[0071] Under the total constraint condition, the total energy consumption E total Minimum is the energy consumption optimization target;
[0072] During the specific implementation process, the operating constraints can be set based on the server parameters and cooling system parameters; the overheating constraint requires that the temperature of all servers cannot exceed the first critical temperature to avoid overheating. Under the premise of not causing overheating, the total energy consumption of the data center is minimized through optimization control; these constraints can ensure that the server and cooling system operate in the best state, and optimize the energy consumption of the data center when comprehensively considering the server energy consumption, cooling energy consumption and overheating management.
[0073] The neural network module includes a preparation unit and an optimization unit. The preparation unit establishes a state space, an action space, and a reward function based on the energy consumption optimization target and constraints. The preparation unit is configured with a preparation strategy, which includes:
[0074] Define the state space as S, which includes: the processing power consumption P of all servers comp , the inlet air temperature T of all servers, expressed as S = {P comp , T}, where P comp represents the processing power consumption of all servers in the data center, and T represents the inlet air temperature of all servers in the data center; the state space S represents all possible state information that can be perceived by the neural optimization network, that is, the current state information of the data center. In this embodiment, the definition of the state space includes two parts: the power information of all servers and the inlet temperature information of all servers;
[0075] Based on the equipment parameters of the cooling unit, obtain the maximum cooling temperature t of the cooling unit max , minimum cooling temperature t min and the refrigeration temperature adjustment accuracy c, and obtain all the adjustable refrigeration temperature gears of the cooling unit; repeatedly obtain all the adjustable refrigeration temperature gears of all cooling units, select some refrigeration temperature gears and mark them as Y i , define the action space as A, which includes: the partial cooling temperature gears of all cooling units, expressed as A = {Y i}; In this embodiment, the maximum cooling temperature of the cooling unit is t max =35℃, minimum cooling temperature t min =18℃, the refrigeration temperature adjustment accuracy c=0.5℃, the refrigeration temperature gear has 35 gears, according to the set first critical temperature T red =25.0℃, select 18-25℃, the adjustment accuracy c=0.5℃, a total of 15 cooling temperatures, as the action space A;
[0076] Based on the energy consumption optimization objective function and the total constraint condition, a reward function r is set. Through the reward function r, the neural optimization network learns the action of minimizing the power consumption of the data center under the premise of satisfying the overheating constraint condition. In this embodiment, the reward function r is:
[0077] Where P total (t) represents the total power consumption at time t, H i (t) represents the inlet air temperature T of the server No. i at time t i in (t) Whether it exceeds T red , N represents the total number of servers, r t represents reward; ω is weight, ω=0.8;
[0078] See also Figure 3 ,In order to achieve the goal of minimizing the total energy consumption of the data center without generating hot spots, the reward function should include two parts, one related to the power consumption of the data center and the other related to the hot spots of the data center. In this way, the neural optimization network can gradually learn actions that can minimize the power consumption of the data center without generating hot spots;
[0079] In the specific implementation process, the state space S can be modified according to the energy consumption optimization requirements and constraints of the data center, and the reward function r can be modified according to the energy consumption optimization requirements of the data center. The ω in the reward function r is used to balance the two objectives. In order to avoid overheating of the data center, H should be given in the reward function. i The larger the weight value of the (t) part, that is, the larger the value of ω should be.
[0080] The optimization unit includes a neural optimization network, which optimizes the energy consumption of the data center, outputs energy consumption optimization strategies, and completes training iterations, including:
[0081] The DeepG-Q-GNetwork network is selected as the neural optimization network, which includes the main network and the target network. The DeepG-Q-GNetwork network combines deep learning and reinforcement learning techniques and can make effective decisions in complex environments.
[0082] Initialize the parameters of the main network and the target network, set the experience replay pool and related hyperparameters, establish the energy consumption optimization goal and the total constraint conditions, obtain the state S of the current data center, use the ε-greedy strategy to randomly select an action a with probability ε, execute the selected action a, obtain the next state S' and reward r' of the data center, and put the state S, the selected action a, the next state S' and the reward r' into the experience replay pool; in this embodiment, the learning rate in the hyperparameters is set to 0.001, and the discount factor is set to 0.85; set the probability parameter ε in the ε-greedy strategy to 0.1;
[0083] While interacting with the data center, the neural optimization network uses the data in the experience replay pool for training iterations; in this embodiment, see Figure 4 , the main network inputs the current state S and action a, and outputs an estimated Q value. The Q value represents the expected total reward that the neural optimization network can obtain from the current state to the future state after taking a specific action in a given state; the target network inputs the state S' at the next moment, and outputs the maximum Q value as the target Q value. The main network and the target network are fed back through the DQN error function to train the main network, and the network parameters of the main network are copied to the target network at regular intervals;
[0084] In the specific implementation process, DeepG-Q-GNetwork is selected as the neural optimization network, which can ensure the optimization efficiency, optimization degree and optimization accuracy in the process of optimizing the energy consumption of the data center; the probability of randomly selecting an action ε can be set according to the situation, the probability of randomly selecting an action is ε, and the probability of selecting the action with the highest reward is 1-ε; in this way, the neural optimization network can randomly explore unknown states and actions to a certain extent, avoid falling into the situation of local optimal solutions, and thus obtain a more comprehensive control effect; and the neural optimization network can optimize its own strategy and improve the accuracy of the neural optimization network through continuous interaction and iterative training with the environment, find the optimal energy consumption optimization control strategy, and realize energy consumption optimization control of the data center.
[0085] The execution module generates optimization instructions based on the energy consumption optimization strategy, and completes energy consumption optimization control based on the optimization instructions. The execution module is configured with an execution strategy, which includes:
[0086] Generate optimization instructions based on the energy consumption optimization strategy, transmit the optimization instructions to the cooling system, and the cooling system makes corresponding adjustments to each cooling unit based on the optimization instructions to complete the optimization instructions, and transmit the cooling system status information after completion to the neural optimization network to complete the energy consumption optimization strategy;
[0087] During the specific implementation process, the energy consumption optimization strategy can be identified by computer equipment to generate optimization instructions, and the optimization instructions can be transmitted to the cooling system to complete the energy consumption optimization strategy.
[0088] Example 2, please refer to Figure 2 As shown, the present invention provides a data center energy consumption optimization control method based on a deep neural network, comprising the following steps:
[0089] Step S1, obtaining first status information of a data center, the first status information including: server status information, cooling system status information and environment status information; Step S1 includes the following sub-steps:
[0090] Step S101, sort and number all servers, numbering them as 1, 2, 3, ..., i, obtain the processor utilization of each server, and mark the processor utilization of the i-th server as μ i ; Get the input power of each server in idle state, and mark the input power of the i-th server in idle state as P i idle ; Get the input power of each server under full load, and mark the input power of the i-th server under full load as P i max ;
[0091] Step S102, obtaining device parameters of all servers;
[0092] Step S103, obtaining the set cooling temperature T sup ; Sort and number all cooling units, numbering them as 1, 2, 3, ... j, obtain the cooling power consumption of all cooling units, and mark the cooling power consumption as P j cool , P j cool represents the cooling power consumption of the jth cooling unit;
[0093] Step S104, obtaining equipment parameters of all cooling units;
[0094] Step S105, obtaining environmental information: obtaining the temperature of the air at the server inlet, marking the temperature of the air at the server inlet as T i in , T i in Represents the temperature of the inlet air of the i-th server.
[0095] Step S2, performing information processing based on the first state information, and establishing an energy consumption optimization objective function and constraint conditions; Step S2 also includes the following sub-steps:
[0096] Step S201, calculate and process power consumption based on server status information: the power consumption of the i-th server at time t is expressed as:
[0097] Where P i (t) is the power consumption of the i-th server at time t; P i idle is the input power of the i-th server in idle state; P i max is the input power of the i-th server under full load; μ i (t) represents the processor utilization of the i-th server at time t; the power consumption of all servers at time t is summed to obtain the processing power consumption P at time tcomp (t);
[0098] Step S202, calculating the cooling power consumption based on the cooling system status information: summing up the cooling power consumption of all cooling units at time t to obtain the cooling power consumption P of the cooling system at time t. cool (t);
[0099] Step S203, setting a first critical temperature T based on environmental information red , set H i Indicates whether the inlet air temperature of the i-th server exceeds T red , H i Specifically expressed as:
[0100] Where T i in (t) is the inlet air temperature of the i-th server at time t; T red is the set first critical temperature; H i (t) represents the inlet air temperature T of the i-th server at time t i in (t) Whether it exceeds T red When H i When (t) = 1, it represents the inlet air temperature T of the i-th server at time t. i in (t) exceeds T red , mark the server as overheated. i When (t) = 0, it represents the inlet air temperature T of the i-th server at time t. i in (t) does not exceed T red ;
[0101] Step S204: based on the processing power consumption P comp (t) and cooling power consumption P cool (t) Calculate the total power consumption of the data center. The total power consumption is expressed as: P total (t) = P comp (t)+P cool (t), where P total (t) represents the total power consumption at time t, P comp (t) represents the processing power consumption at time t, P cool (t) represents the cooling power consumption at time t; the total power consumption is integrated and summed over the time range to obtain the total energy consumption of the data center, which is marked as E total , set E total Optimize the objective function for energy consumption;
[0102] Step S205, establishing the total constraint condition includes: setting the operation constraint condition based on the server parameters and the cooling system parameters; setting the number of overheating bits in the data center to 0 as the overheating constraint condition, and the overheating constraint condition is expressed as: Where H i (t) represents the inlet air temperature T of the server No. i at time t i in (t) Whether it exceeds T red , N represents the total number of servers;
[0103] Step S206, setting the total energy consumption E under the total constraint condition total Minimum is the energy consumption optimization target.
[0104] Step S3, establishing a neural optimization network based on the DeepG-Q-GNetwork network, and determining the state space, action space and reward function of the neural optimization network; Step S3 also includes the following sub-steps:
[0105] Step S301, define the state space as S, the state space S includes: the processing power consumption P of all servers comp , the inlet air temperature T of all servers, expressed as S = {P comp , T}, where P comp represents the processing power consumption of all servers in the data center, T represents the inlet air temperature of all servers in the data center;
[0106] Step S302: based on the equipment parameters of the cooling unit, obtain the maximum cooling temperature t of the cooling unit max , minimum cooling temperature t min and the refrigeration temperature adjustment accuracy c, and obtain all the adjustable refrigeration temperature gears of the cooling unit; repeatedly obtain all the adjustable refrigeration temperature gears of all cooling units, select some refrigeration temperature gears and mark them as Y i , define the action space as A, which includes: the partial cooling temperature gears of all cooling units, expressed as A = {Y i};
[0107] Step S303, based on the energy consumption optimization objective function and the total constraint condition, a reward function r is set, and through the reward function r, the neural optimization network learns the action of minimizing the power consumption of the data center under the premise of satisfying the overheating constraint condition;
[0108] Step S304, based on the energy consumption optimization objective function and the total constraint condition, a reward function r is set, and through the reward function r, the neural optimization network learns the action of minimizing the power consumption of the data center under the premise of satisfying the overheating constraint condition.
[0109] Step S4, optimizing the energy consumption of the data center based on the neural optimization network, outputting the energy consumption optimization strategy, and performing training iteration on the neural optimization network; Step S4 also includes the following sub-steps:
[0110] Step S401, initializing the parameters of the main network and the target network, setting the experience replay pool and related hyperparameters, and establishing the energy consumption optimization target and the overall constraint conditions;
[0111] Step S402, obtaining the state S of the current data center, using the ε-greedy strategy to randomly select an action a with probability ε, and executing the selected action a;
[0112] Step S403, obtaining the next state S' and reward r' of the data center, and putting the state S, the selected action a, the next state S' and the reward r' into the experience replay pool;
[0113] Step S404: While interacting with the data center, the neural optimization network uses the data in the experience replay pool to perform training iterations.
[0114] Step S5, generating an optimization instruction based on the energy consumption optimization strategy, and completing energy consumption optimization control based on the optimization instruction; Step S5 also includes the following sub-steps:
[0115] Step S501, generating an optimization instruction based on an energy consumption optimization strategy, and transmitting the optimization instruction to a cooling system;
[0116] In step S502, the cooling system makes corresponding adjustments to each cooling unit based on the optimization instruction, completes the optimization instruction, and inputs the completed cooling system state information to the neural optimization network to complete the energy consumption optimization strategy.
[0117] Embodiment 3, third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are executed. Through the above technical scheme, when the computer program is executed by the processor, the method in any optional implementation method of the above embodiment is executed to achieve the following functions: obtaining the first state information of the data center; performing information processing based on the first state information, and establishing an energy consumption optimization objective function and constraints; establishing a neural optimization network based on the DeepG-Q-GNetwork network, and determining the state space, action space and reward function of the neural optimization network; optimizing the energy consumption of the data center based on the neural optimization network, outputting an energy consumption optimization strategy, and performing training iterations on the neural optimization network at the same time; generating optimization instructions based on the energy consumption optimization strategy, and completing energy consumption optimization control based on the optimization instructions.
[0118] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0119] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0120] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
Claims
1. A data center energy consumption optimization control method based on deep neural network, characterized in that: The steps include: Acquire first status information of the data center, the first status information including: server status information, cooling system status information and environment status information; Performing information processing based on the first state information, and establishing an energy consumption optimization objective function and constraint conditions; Establish a neural optimization network based on the DeepG-Q-GNetwork network, and determine the state space, action space and reward function of the neural optimization network; Optimize the energy consumption of the data center based on the neural optimization network, output the energy consumption optimization strategy, and perform training iterations on the neural optimization network; Generate optimization instructions based on the energy consumption optimization strategy, and complete energy consumption optimization control based on the optimization instructions.
2. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 1 is characterized in that: Acquiring the first status information of the data center includes: Get the server status information: sort and number all servers, numbering them as 1, 2, 3, ... i, get the processor utilization of each server, and mark the processor utilization of the i-th server as μ i ; Get the input power of each server in idle state, and mark the input power of the i-th server in idle state as P i idle ; Get the input power of each server under full load, and mark the input power of the i-th server under full load as P i max ; Get the device parameters of all servers; The cooling system includes several cooling units, and the cooling system status information is obtained: the set cooling temperature T is obtained sup ; Sort and number all cooling units, numbering them as 1, 2, 3, ... j, obtain the cooling power consumption of all cooling units, and mark the cooling power consumption as P j cool , P j cool represents the cooling power consumption of the jth cooling unit; obtains the equipment parameters of all cooling units; Obtain environmental information: Obtain the temperature of the server inlet air and mark the temperature of the server inlet air as T i in , T i in Represents the temperature of the inlet air of the i-th server.
3. The data center energy consumption optimization control method based on deep neural network according to claim 2 is characterized in that: The information processing based on the first state information includes: Calculate the processing power consumption based on the server status information: The power consumption of the i-th server at time t is expressed as: Where P i (t) is the power consumption of the i-th server at time t; P i idle is the input power of the i-th server in idle state; P i max is the input power of the i-th server under full load; μ i (t) represents the processor utilization of the i-th server at time t; the power consumption of all servers at time t is summed to obtain the processing power consumption P at time t comp (t); Calculate the cooling power consumption based on the cooling system status information: sum the cooling power consumption of all cooling units at time t to obtain the cooling power consumption P of the cooling system at time t. cool (t); The first critical temperature T is set based on the environmental information red , set H i Indicates whether the inlet air temperature of the i-th server exceeds T red , H i Specifically expressed as: Where T i in (t) is the inlet air temperature of the i-th server at time t; T red is the set first critical temperature; H i (t) represents the inlet air temperature T of the i-th server at time t i in (t) Whether it exceeds T red When H i When (t) = 1, it represents the inlet air temperature T of the i-th server at time t. i in (t) exceeds T red , mark the server as overheated. i When (t) = 0, it represents the inlet air temperature T of the i-th server at time t. i in (t) does not exceed T red .
4. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 3 is characterized in that: Establishing the energy consumption optimization objective function and total constraints includes: Based on the processing power consumption P comp (t) and cooling power consumption P cool (t) Calculate the total power consumption of the data center. The total power consumption is expressed as: P total (t) = P comp (t)+P cool (t), where P total (t) represents the total power consumption at time t, P comp (t) represents the processing power consumption at time t, P cool (t) represents the cooling power consumption at time t; Integrate and sum the total power consumption over the time range to get the total energy consumption of the data center, which is marked as E total , set E total Optimize the objective function for energy consumption; The overall constraints include: setting operating constraints based on server parameters and cooling system parameters; The number of overheating bits in the data center is set to 0 as the overheating constraint condition. The overheating constraint condition is expressed as: Where H i (t) represents the inlet air temperature T of server No. i at time t i in (t) Whether it exceeds T red , N represents the total number of servers; Under the total constraint condition, the total energy consumption E total Minimum is the energy consumption optimization target.
5. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 4 is characterized in that: A neural optimization network is established based on the DeepG-Q-GNetwork network, and the state space of the neural optimization network is determined to include: Select DeepG-Q-GNetwork as the neural optimization network, which includes the main network and the target network; Define the state space as S, which includes: the processing power consumption P of all servers comp , the inlet air temperature T of all servers, expressed as S = {P comp , T}, where P comp represents the processing power consumption of all servers in the data center, and T represents the inlet air temperature of all servers in the data center.
6. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 7 is characterized in that: Determining the action space of the neural optimization network includes: Based on the equipment parameters of the cooling unit, obtain the maximum cooling temperature t of the cooling unit max , minimum cooling temperature t min and the refrigeration temperature adjustment accuracy c, and obtain all the adjustable refrigeration temperature gears of the cooling unit; repeatedly obtain all the adjustable refrigeration temperature gears of all cooling units, select some refrigeration temperature gears and mark them as Y i , define the action space as A, which includes: the partial cooling temperature gears of all cooling units, expressed as A = {Y i }.
7. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 6 is characterized in that: Determining the reward function r of the neural optimization network includes: Based on the energy consumption optimization objective function and the total constraint conditions, a reward function r is set. Through the reward function r, the neural optimization network learns the action of minimizing the power consumption of the data center while satisfying the overheating constraint conditions.
8. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 7 is characterized in that: Based on the neural optimization network, the energy consumption of the data center is optimized and the energy consumption optimization strategy is output. At the same time, the neural optimization network is trained and iterated, including: Initialize the parameters of the main network and the target network, set the experience replay pool and related hyperparameters, establish the energy consumption optimization goal and the total constraint conditions, obtain the state S of the current data center, use the ε-greedy strategy to randomly select an action a with probability ε, execute the selected action a, obtain the next state S' and reward r' of the data center, and put the state S, the selected action a, the next state S' and the reward r' into the experience replay pool; while interacting with the data center, the neural optimization network uses the data in the experience replay pool for training iterations.
9. The method for optimizing energy consumption of a data center based on a deep neural network according to claim 8, characterized in that: Generate optimization instructions based on energy consumption optimization strategy, and complete energy consumption optimization control based on optimization instructions, including: An optimization instruction is generated based on the energy consumption optimization strategy, and the optimization instruction is transmitted to the cooling system. The cooling system makes corresponding adjustments to each cooling unit based on the optimization instruction to complete the optimization instruction, and the cooling system status information after completion is input to the neural optimization network to complete the energy consumption optimization strategy.
10. A data center energy consumption optimization control system based on a deep neural network, used to implement the data center energy consumption optimization control method based on a deep neural network according to any one of claims 1 to 9, characterized in that: It includes a state acquisition module, an information processing module, a neural network module and an execution module; The state acquisition module includes a collection unit and a storage unit, the collection unit is used to obtain first state information of the data center, the first state information includes: server state information, cooling system state information and environment state information; The storage unit is used to store the basic information and status information acquired by the acquisition unit and the data generated by the system operation; The information processing module includes a processing unit and a construction unit, the processing unit is used to process the first state information; the construction unit is used to establish the energy consumption optimization objective function and constraint conditions; The neural network module includes a preparation unit and an optimization unit. The preparation unit establishes a state space, an action space and a reward function based on energy consumption optimization objectives and constraints. The optimization unit includes a neural optimization network. The neural optimization network optimizes the energy consumption of the data center, outputs an energy consumption optimization strategy, and completes training iterations at the same time. The execution module generates optimization instructions based on the energy consumption optimization strategy, and transmits the optimization instructions to the cooling system to complete energy consumption optimization control.
Citation Information
Patent Citations
Data center energy consumption optimization control method based on deep reinforcement learning
CN114511208A
Distributed intelligent control method for air conditioners in data center
CN115103562A
Data center energy consumption optimization method and device and storage medium
CN116795198A
Intelligent data center cold source regulation and control method and system
CN116880163A
Method and apparatus for detecting heat sink faults
US20080040067A1
Cited By
Energy consumption optimization-oriented intermittent wake-up control method for hospital guide platform
CN122592944A
