Machine room temperature regulation and control method and device, electronic equipment and medium
By predicting server power consumption and calculating the recommended power of the refrigeration system with temperature data, dynamically adjusting the power of the refrigeration system to control the temperature of the computer room, solving the problem of accurate and low efficiency of energy consumption regulation in the existing technology, and achieving more efficient computer room temperature regulation.
Patent Information
- Application Number
- CN202510293253.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-20
AI Technical Summary
When regulating the temperature of the data center computer room, the accuracy and efficiency of energy consumption regulation are low, and it is unable to respond to dynamic changes in the computer room business load in a timely manner.
By collecting historical power consumption data of the server, predicting future power consumption, and combining outdoor and indoor temperatures, calculate the recommended power of the refrigeration system, and dynamically adjust the power of the refrigeration system to control the temperature of the machine room.
It improves the accuracy and efficiency of energy consumption regulation, can respond to changes in the business load of the computer room in a timely manner, and optimizes the temperature regulation of the computer room.
Smart Images

Figure CN120186954A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy conservation, and particularly to a method, device, electronic device, and medium for regulating the temperature of a computer room. Background Art
[0002] A data center computer room is mainly composed of servers and a refrigeration system. Among them, the energy consumption of the refrigeration system accounts for a relatively high proportion in the total energy consumption of the computer room. By optimizing the power of the refrigeration system and reducing the energy consumption of the refrigeration system, the energy consumption cost of the data center computer room can be reduced, and emissions can be reduced.
[0003] In the current related technologies, by setting a static detection threshold for the temperature sensor in the computer room, comparing the temperature collected by the sensor with the set static detection threshold, and adjusting the power of the refrigeration system to further adjust the energy consumption of the refrigeration system. However, in the related technologies, the actual business load in the computer room is dynamic and uncertain. In the face of periodic fluctuations, the related technologies cannot respond in time to regulate the power of the refrigeration system, and the setting of the threshold depends on manual experience and historical data. There are problems of low accuracy and efficiency in the energy consumption regulation method of the related technologies. Summary of the Invention
[0004] This application provides a method, device, electronic device, and medium for regulating the temperature of a computer room to at least solve the problems of low accuracy and efficiency in energy consumption regulation in the related technologies.
[0005] This application provides a method for regulating the temperature of a computer room, including:
[0006] Obtaining historical power consumption data of the server according to a preset collection period;
[0007] Determining the predicted power consumption of the server according to the historical power consumption data of the server;
[0008] Determining the total predicted power consumption of multiple servers in the computer room according to the predicted power consumption of the server;
[0009] Obtaining the outdoor temperature and indoor temperature of the computer room;
[0010] Determining the recommended power of the refrigeration system according to the total predicted power consumption of multiple servers in the computer room, the outdoor temperature, and the indoor temperature;
[0011] Adjusting the power of the refrigeration system according to the recommended power of the refrigeration system to control the temperature of the computer room.
[0012] This application also provides a device for regulating the temperature of a computer room, including:
[0013] A power consumption data acquisition module, configured to obtain historical power consumption data of the server according to a preset collection period;
[0014] An information collection and processing module, configured to determine the predicted power consumption of a server according to the historical power consumption data of the server;
[0015] A power consumption prediction module, configured to determine the total predicted power consumption of multiple servers in a computer room according to the predicted power consumption of the server;
[0016] An indoor and outdoor temperature collection module, configured to obtain the outdoor temperature and indoor temperature of the computer room;
[0017] A refrigeration power calculation module, configured to determine the recommended power of the refrigeration system according to the total predicted power consumption of multiple servers in the computer room, the outdoor temperature, and the indoor temperature;
[0018] A refrigeration equipment adjustment module, configured to adjust the power of the refrigeration system according to the recommended power of the refrigeration system to control the temperature of the computer room.
[0019] This application also provides an electronic device, including: a memory, configured to store a computer program; a processor, configured to implement the steps of any one of the above computer room temperature control methods when executing the computer program.
[0020] This application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above computer room temperature control methods are implemented.
[0021] This application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of any one of the above computer room temperature control methods are implemented.
[0022] Through this application, the historical power consumption data of the server is collected according to a preset collection period, the historical power consumption data is calculated to generate a predicted power consumption, the total predicted power consumption of multiple servers is obtained according to the predicted power consumption, and at the same time, the indoor temperature and outdoor temperature of the computer room are obtained. The recommended power of the refrigeration system is determined according to the total predicted power consumption, indoor temperature, and outdoor temperature, and the power of the refrigeration system is adjusted according to the recommended power to control the temperature of the computer room, dynamically controlling and adjusting the power of the computer room refrigeration system to regulate the temperature of the computer room, improving the accuracy and efficiency of energy consumption regulation. Description of the Drawings
[0023] To more clearly illustrate the embodiments of this application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0024] Figure 1 It is a schematic system structure diagram of the server provided by the embodiment of this application;
[0025] Figure 2 It is a schematic flowchart of the computer room temperature control method provided by the embodiment of the present application;
[0026] Figure 3 It is a schematic structural diagram of the computer room temperature control processing device provided by the embodiment of the present application;
[0027] Figure 4 It is a schematic structural diagram of the electronic device provided by the present application. Specific embodiments
[0028] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present application.
[0029] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0030] First, the nouns involved in the present application are explained:
[0031] Collection period: The real-time power consumption of each server is collected according to the interval time, and the time from the end of the current collection time to the moment before the next collection starts is recorded as a collection period.
[0032] Adjustment period: The power of the refrigeration system for future time is calculated according to the interval time, and the power of the refrigeration system is adjusted according to the calculation result. The time from the end of the adjustment time to the moment before the next adjustment starts is recorded as an adjustment period.
[0033] BMC: Baseboard Management Controller, a baseboard management controller, an embedded microcontroller used to monitor the operating status of server hardware.
[0034] To solve the problem of low accuracy and efficiency in energy consumption regulation in related technologies, the embodiments of this application propose the following technical concept: The inventor considered obtaining the historical power consumption data of the server according to a preset acquisition period, determining the total predicted power consumption of multiple servers in the computer room based on the historical power consumption data, considering obtaining the indoor and outdoor temperatures of the computer room, and calculating the recommended power of the refrigeration system by combining the indoor and outdoor temperatures and the total predicted power consumption of multiple servers to adjust the computer room temperature.
[0035] To enable those skilled in the art of this technology to better understand the solution of this application, the following further details this application in conjunction with the accompanying drawings and specific implementation manners.
[0036] Combined with the specific application environment architecture or specific hardware architecture on which the execution of the computer room temperature regulation method depends, the specific application environment architecture or specific hardware architecture is described herein.
[0037] Refer to Figure 1 , Figure 1 which is the schematic system structure diagram of the server provided by the embodiments of this application. As Figure 1 shown, the server includes: a receiving device 101, a processor 102, and a display device 103.
[0038] It can be understood that the structure schematically shown in the embodiments of this application does not constitute a specific limitation on the article recognition method. In other feasible embodiments of this application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements, which can be specifically determined according to the actual application scenario and are not limited herein. Figure 1 The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0039] In the specific implementation process, the receiving device 101 can be an input / output interface or a communication interface, and can obtain the historical power consumption data of the server.
[0040] The processor 102 can determine the recommended power of the refrigeration system.
[0041] The display device 103 can be used to display the recommended power of the above refrigeration system, etc.
[0042] The display device can also be a touch display screen, which is used to receive user instructions while displaying the above content to achieve operation interaction with the user.
[0043] It should be understood that the above processor can be implemented by the processor reading instructions in the memory and executing the instructions, or can be implemented by a chip circuit.
[0044] In addition, the network architecture and service scenarios described in the embodiments of this application are used to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art will know that with the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems.
[0045] Figure 2 It is a schematic flow chart of the computer room temperature control method provided by the embodiments of this application. As Figure 2 shown, the method includes:
[0046] S201: Obtain the historical power consumption data of the server according to a preset collection period.
[0047] Specifically, the power consumption data acquisition module calls the BMC interface of the server to collect the historical power consumption data of the server according to a preset collection period.
[0048] In this embodiment, the duration of the collection period is less than the duration of the adjustment period.
[0049] S202: Determine the predicted power consumption of the server according to the historical power consumption data of the server.
[0050] Specifically, the acquisition information recording module records the power consumption and acquisition time of each server, the acquisition information processing module processes the historical power consumption data, calculates the average value of the historical power consumption data within the adjustment period as the time series of the historical power consumption of a single server, inputs it into the power consumption prediction module, and the power consumption prediction module calculates the first exponential smoothing value, the second exponential smoothing value and the third exponential smoothing value respectively to determine the predicted power consumption of a single server.
[0051] S203: Determine the total predicted power consumption of multiple servers in the computer room according to the predicted power consumption of the server.
[0052] Specifically, the power consumption prediction module calculates the total predicted power consumption of multiple servers in the computer room according to the predicted power consumption of a single server.
[0053] S204: Obtain the outdoor temperature and indoor temperature of the computer room.
[0054] Specifically, the indoor and outdoor temperature acquisition module acquires the outdoor temperature of the computer room and the indoor temperature of the computer room .
[0055] In this embodiment, the indoor temperature of the computer room obtains real-time temperature data through multiple temperature acquisition points, and calculates the average value of multiple real-time temperature data.
[0056] In this embodiment, if the adjustment period is a short-term adjustment period, the outdoor temperature is obtained through an outdoor temperature sensor. If the adjustment period is a long-term adjustment period, the average value of multiple outdoor air temperatures within the to-be-predicted adjustment period is obtained through an API interface as the outdoor temperature.
[0057] S205: Determine the recommended power of the refrigeration system according to the total predicted power consumption of multiple servers in the computer room, the outdoor temperature, and the indoor temperature.
[0058] Specifically, the total predicted power consumption of multiple servers, the outdoor temperature, and the indoor temperature are calculated through a refrigeration power calculation module, and the recommended power of the refrigeration system is determined according to the total predicted power consumption of multiple servers, the outdoor temperature, and the indoor temperature.
[0059] S206: Adjust the power of the refrigeration system according to the recommended power of the refrigeration system to control the temperature of the computer room.
[0060] Specifically, the recommended power of the refrigeration system and the power limit value of the refrigeration system are compared through a refrigeration system adjustment module. If the recommended power of the refrigeration system is less than 0, the interface of the refrigeration system is called to adjust the power of the refrigeration system to 0; if the recommended power of the refrigeration system is greater than 0 and less than the power limit value of the refrigeration system, the interface of the refrigeration system is called to adjust the power of the refrigeration system to the recommended power of the refrigeration system; if the recommended power of the refrigeration system is greater than the power limit value of the refrigeration system, the power of the refrigeration system is set to the power limit value of the refrigeration system, and a warning message is generated to prompt the staff through the warning message that there is an overheating risk in the computer room.
[0061] As can be seen from the above embodiments, the historical power consumption data of the server is collected through a preset collection period, the historical power consumption data is calculated to generate a predicted power consumption, the total predicted power consumption of multiple servers is obtained according to the predicted power consumption, and at the same time, the indoor temperature and outdoor temperature of the computer room are obtained. The recommended power of the refrigeration system is determined according to the total predicted power consumption, the indoor temperature, and the outdoor temperature, and the power of the refrigeration system is adjusted according to the recommended power to control the temperature of the computer room, dynamically control and adjust the power of the refrigeration system in the computer room to regulate the temperature of the computer room, improving the accuracy and efficiency of energy consumption regulation.
[0062] In an embodiment of the present application, after step S201, it further includes:
[0063] S301: Store the historical power consumption data of the server according to a preset data structure.
[0064] Specifically, the historical power consumption data of each server is recorded through a collection information recording module.
[0065] In this embodiment, the content recorded in the preset data structure includes but is not limited to the server ID, server serial number, power consumption, and collection time.
[0066] S302: Process the historical power consumption data of the server according to a preset adjustment period to obtain the processed power consumption data.
[0067] In this embodiment, the time period from the completion of the nth power consumption prediction, cooling power calculation, and cooling system adjustment to the start of the (n + 1)th power consumption prediction is denoted as the adjustment period s.
[0068] Specifically, the information collection and processing module performs times of server power consumption collection according to the collection period during the adjustment period s, and calculates the average power consumption as the power consumption value of the adjustment period s.
[0069] Among them, the power consumption calculation formula for a single server in the adjustment period s is:
[0070]
[0071] In the formula, represents the power consumption of a single server in the adjustment period s; represents the power consumption of a single server collected for the jth time; represents the number of power consumption collections.
[0072] As can be seen from the above embodiments, by using the average power consumption calculated from multiple power consumption values collected during the adjustment period as the power consumption value of the adjustment period, the error of historical power consumption data caused by instantaneous high power consumption in a single collection is avoided. By storing and recording the obtained historical power consumption data according to a preset data structure, it is convenient to trace the historical power consumption data.
[0073] In an embodiment of the present application, step S206 includes:
[0074] S2061: Obtain the power limit of the cooling system.
[0075] In this embodiment, the power limit of the cooling system is denoted as .
[0076] S2062: Compare the recommended power of the cooling system with the power limit of the cooling system to generate a comparison result.
[0077] Specifically, if the recommended power of the cooling system is less than 0, call the interface of the cooling system to adjust the power of the cooling system to 0.
[0078] S2063: If the recommended power of the cooling system is less than the power limit of the cooling system, set the power of the cooling system to the recommended power of the cooling system.
[0079] Specifically, if the recommended power of the refrigeration system is greater than 0 and less than the power limit of the refrigeration system, the interface of the refrigeration system is called to adjust the power of the refrigeration system to the recommended power of the refrigeration system.
[0080] S2064: If the recommended power of the refrigeration system is greater than the power limit of the refrigeration system, set the power of the refrigeration system to the power limit of the refrigeration system and generate a warning message.
[0081] Specifically, if the recommended power of the refrigeration system is greater than the power limit of the refrigeration system, set the power of the refrigeration system to the power limit of the refrigeration system and generate a warning message to prompt the staff through the warning message that there is a risk of overheating in the computer room.
[0082] As can be seen from the above embodiments, by comparing the recommended power of the refrigeration system and the power limit of the refrigeration system in the next adjustment cycle, the power of the refrigeration system is adjusted. When the recommended power of the refrigeration system is greater than the power limit of the refrigeration system, a warning message is generated to prompt the staff that there is a risk of overheating in the computer room in the next adjustment cycle, avoiding equipment damage caused by too high temperature in the computer room.
[0083] In an embodiment of the present application, step S202 includes:
[0084] S2021: Determine the first exponential smoothing value within the adjustment cycle according to the historical power consumption data of the server.
[0085] Specifically, take the data of t adjustment cycles as the time series of the power consumption of a single server , and calculate the first exponential smoothing value according to the smoothing coefficient.
[0086] In this embodiment, the formula for calculating the first exponential smoothing value is:
[0087]
[0088] In the formula, represents the first exponential smoothing value of the t-th adjustment cycle; represents the smoothing coefficient; represents the power consumption of a single server in the t-th adjustment cycle; represents the first exponential smoothing value of the (t - 1)-th adjustment cycle.
[0089] Exemplarily, for the first exponential smoothing value of the 0-th adjustment cycle, take the average value of the first 3 cycles, and the calculation formula is:
[0090]
[0091] In the formula, represents the first exponential smoothing value of the 0-th adjustment cycle; It represents the power consumption of a single server in the first adjustment period; It represents the power consumption of a single server in the second adjustment period; It represents the power consumption of a single server in the third adjustment period.
[0092] Among them, the smoothing coefficient , take the data of t adjustment periods, evenly take i values, and calculate the smoothing coefficient :
[0093]
[0094] Substitute the smoothing coefficient into the formula for calculating the first-order exponential smoothing value to calculate the first-order exponential smoothing value , by calculating the root mean square error, take the minimum value of the smoothing coefficient as the smoothing coefficient to predict the power consumption.
[0095] Among them, the formula for calculating the root mean square error is:
[0096]
[0097] In the formula, represents the root mean square error; t represents the adjustment period; represents the power consumption of a single server in the t-th adjustment period; represents the first-order exponential smoothing value calculated by substituting the smoothing coefficient .
[0098] S2022: Determine the second-order exponential smoothing value and the third-order exponential smoothing value according to the first-order exponential smoothing value.
[0099] In this embodiment, the formula for calculating the second-order exponential smoothing value is:
[0100]
[0101] In the formula, represents the second-order exponential smoothing value in the t-th adjustment period; represents the smoothing coefficient; represents the first-order exponential smoothing value in the t-th adjustment period; represents the second-order exponential smoothing value in the (t - 1)-th adjustment period.
[0102] In this embodiment, the formula for calculating the third-order exponential smoothing value is:
[0103]
[0104] In the formula, represents the third-order exponential smoothing value in the t-th adjustment period; represents the smoothing coefficient; represents the second exponential smoothing value of the t-th adjustment period; represents the third exponential smoothing value of the (t - 1)-th adjustment period.
[0105] S2023: Determine the model coefficients of the triple exponential smoothing method prediction model based on the single exponential smoothing value, the second exponential smoothing value, and the third exponential smoothing value, so as to determine the triple exponential smoothing method prediction model.
[0106] In this embodiment, the formula for determining the model coefficients of the triple exponential smoothing method prediction model is:
[0107]
[0108]
[0109]
[0110] wherein, , and represent the model coefficients of the triple exponential smoothing method prediction model; represents the single exponential smoothing value; represents the second exponential smoothing value; represents the third exponential smoothing value; represents the smoothing coefficient.
[0111] S2024: Predict and generate the predicted power consumption of the server according to the historical power consumption data of the server through the triple exponential smoothing method prediction model.
[0112] In this embodiment, the triple exponential smoothing method prediction model is:
[0113]
[0114] wherein, represents the predicted power consumption; , and represent the model coefficients of the triple exponential smoothing method prediction model; represents the predicted lead period, that is, the th period after the adjustment period.
[0115] As can be seen from the above embodiments, by selecting historical power consumption data, the first exponential smoothing value, the second exponential smoothing value, and the third exponential smoothing value are calculated respectively. Based on the three exponential smoothing values, the model coefficients of the third exponential smoothing method prediction model are calculated. According to the third exponential smoothing method prediction model with determined model coefficients, the power consumption of the server is predicted. By calculating the model coefficients of the third exponential smoothing method prediction model and selecting appropriate smoothing coefficients, the change trend of the load can be predicted and recognized, and the power consumption of the server can be dynamically predicted.
[0116] In an embodiment of the present application, step S205 includes:
[0117] S2051: Determine the heat transfer power of the indoor-outdoor temperature difference according to the outdoor temperature and the indoor temperature.
[0118] In this embodiment, the formula for calculating the heat transfer power of the indoor-outdoor temperature difference is:
[0119]
[0120] In the formula, represents the heat transfer power of the indoor-outdoor temperature difference; represents the heat transfer coefficient of the computer room enclosure structure; represents the total area of the computer room enclosure structure; represents the outdoor temperature; represents the indoor temperature.
[0121] Among them, the heat transfer coefficient of the computer room enclosure structure is less than 1.79W / ( K).
[0122] In this embodiment, when the outdoor temperature is greater than the indoor temperature, the heat transfer power of the indoor-outdoor temperature difference is positive, and heat needs to be removed by the refrigeration system; when the outdoor temperature is less than the indoor temperature, the heat transfer power of the indoor-outdoor temperature difference is negative, and when calculating the recommended power of the refrigeration system, the heat transfer power of the indoor-outdoor temperature difference is recorded as 0; when the outdoor temperature is the same as the indoor temperature, when calculating the recommended power of the refrigeration system, the heat transfer power of the indoor-outdoor temperature difference is recorded as 0.
[0123] S2052: Determine the additional refrigeration load power according to the indoor temperature.
[0124] In this embodiment, the formula for calculating the additional refrigeration load power is:
[0125]
[0126] In the formula, represents the additional refrigeration load power; represents the mass of the air in the computer room, with the unit of kilogram; represents the specific heat capacity of the air; represents the indoor target temperature; represents the indoor temperature; represents the time of an adjustment cycle.
[0127] In this embodiment, the specific heat capacity of air is taken as 1005 J / (kg·°C).
[0128] In this embodiment, when the indoor temperature is greater than the indoor target temperature, the additional refrigeration load power is positive, and heat needs to be removed by refrigeration through the refrigeration system; when the indoor temperature is less than the indoor target temperature, the additional refrigeration load power is negative, and when calculating the recommended power of the refrigeration system, the additional refrigeration load power is recorded as 0; when the indoor temperature is the same as the indoor target temperature, when calculating the recommended power of the refrigeration system, the additional refrigeration load power is recorded as 0.
[0129] S2053: Determine the recommended power of the refrigeration system according to the total predicted power consumption of multiple servers in the computer room, the heat transfer power of the indoor and outdoor temperature difference, and the additional refrigeration load power.
[0130] In this embodiment, the formula for determining the recommended power of the refrigeration system is:
[0131]
[0132] In the formula, represents the recommended power of the refrigeration system; represents the total predicted power consumption of the servers; represents the heat transfer power of the indoor and outdoor temperature difference; represents the additional refrigeration load power; represents the redundancy parameter; represents the energy efficiency ratio of the refrigeration system.
[0133] In this embodiment, the energy efficiency ratio of the refrigeration system is the ratio of the refrigeration power to the power consumption, and the value is usually 3 to 5.
[0134] In this embodiment, the setting range of the redundancy parameter is 10% to 20%.
[0135] As can be seen from the above embodiments, by introducing the indoor temperature and the outdoor temperature, calculating the heat transfer power of the indoor and outdoor temperature difference and the additional refrigeration load power, and combining the total predicted power consumption of multiple servers, the recommended power of the refrigeration system for the next adjustment cycle is determined, improving the accuracy of predicting and calculating the power of the refrigeration system for the next cycle.
[0136] In an embodiment of the present application, in step S2053, the formula for determining the recommended power of the refrigeration system is:
[0137]
[0138] In the formula, represents the recommended power of the refrigeration system; represents the total predicted power consumption of the server; represents the heat transfer power of the indoor-outdoor temperature difference; represents the additional refrigeration load power; represents the redundancy parameter; represents the energy efficiency ratio of the refrigeration system;
[0139] Among them, the formula for determining the total predicted power consumption of the server is:
[0140]
[0141] In the formula, represents the total predicted power consumption of the server; represents the number of servers, a total of units; represents the th server's predicted power consumption;
[0142] Among them, the formula for determining the heat transfer power of the indoor-outdoor temperature difference is:
[0143]
[0144] In the formula, represents the heat transfer power of the indoor-outdoor temperature difference; represents the heat transfer coefficient of the computer room enclosure structure; represents the total area of the computer room enclosure structure; represents the outdoor temperature; represents the indoor temperature;
[0145] Among them, the formula for determining the additional refrigeration load power is:
[0146]
[0147] In the formula, represents the additional refrigeration load power; represents the mass of the air in the computer room; represents the specific heat capacity of the air; represents the indoor target temperature; represents the indoor temperature; represents the time of an adjustment cycle.
[0148] As can be seen from the above embodiments, by introducing the indoor temperature and the outdoor temperature, the heat transfer power and the additional cooling load power of the indoor-outdoor temperature difference are determined. Combining with the total predicted power consumption of multiple servers, the recommended power of the cooling system for the next adjustment cycle is determined. By calculating the heat transfer power and the additional cooling load power of the indoor-outdoor temperature difference, the comprehensiveness of calculating the power of the cooling system can be improved.
[0149] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method.
[0150] Figure 3 The following is a schematic structural diagram of the computer room temperature control processing device provided by the embodiment of the present application. As Figure 3 shown, the computer room temperature control device 30 provided in this embodiment includes: a power consumption data acquisition module 301, an acquisition information processing module 302, a power consumption prediction module 303, an indoor and outdoor temperature acquisition module 304, a cooling power calculation module 305, and a refrigeration equipment adjustment module 306.
[0151] The power consumption data acquisition module 301 is used to obtain the historical power consumption data of the server according to a preset acquisition period.
[0152] The acquisition information processing module 302 is used to determine the predicted power consumption of the server according to the historical power consumption data of the server.
[0153] The power consumption prediction module 303 is used to determine the total predicted power consumption of multiple servers in the computer room according to the predicted power consumption of the server.
[0154] The indoor and outdoor temperature acquisition module 304 is used to obtain the outdoor temperature and the indoor temperature of the computer room.
[0155] The cooling power calculation module 305 is used to determine the recommended power of the cooling system according to the total predicted power consumption of multiple servers in the computer room, the outdoor temperature and the indoor temperature.
[0156] The refrigeration equipment adjustment module 306 is used to adjust the power of the refrigeration system according to the recommended power of the refrigeration system to control the temperature of the computer room.
[0157] In a possible implementation manner, the refrigeration equipment adjustment module 306 includes:
[0158] An acquisition unit, which is used to acquire the power limit value of the refrigeration system.
[0159] A comparison unit, which is used to compare the recommended power of the refrigeration system with the power limit value of the refrigeration system, and generate a comparison result.
[0160] The first setting unit is configured to set the power of the refrigeration system to the recommended power of the refrigeration system if the recommended power of the refrigeration system is less than the power limit of the refrigeration system.
[0161] The second setting unit is configured to set the power of the refrigeration system to the power limit of the refrigeration system and generate a warning message if the recommended power of the refrigeration system is greater than the power limit of the refrigeration system.
[0162] In a possible implementation, the information acquisition and processing module 302 includes:
[0163] The first calculation unit is configured to determine the first exponential smoothing value within the adjustment period according to the historical power consumption data of the server.
[0164] The second calculation unit is configured to determine the second exponential smoothing value and the third exponential smoothing value according to the first exponential smoothing value.
[0165] The third calculation unit is configured to determine the model coefficients of the triple exponential smoothing method prediction model according to the first exponential smoothing value, the second exponential smoothing value, and the third exponential smoothing value, so as to determine the triple exponential smoothing method prediction model.
[0166] The prediction unit is configured to predict and generate the predicted power consumption of the server according to the historical power consumption data of the server through the triple exponential smoothing method prediction model.
[0167] In a possible implementation, the triple exponential smoothing method prediction model in the prediction unit is:
[0168]
[0169] In the formula, represents the predicted power consumption; , and represent the model coefficients of the triple exponential smoothing method prediction model; represents the prediction lead period, that is, the th period after the adjustment period.
[0170] In a possible implementation, the formula for determining the model coefficients of the triple exponential smoothing method prediction model in the third calculation unit is:
[0171]
[0172]
[0173]
[0174] In the formula, , and Represents the model coefficient of the triple exponential smoothing method prediction model; Represents the single exponential smoothing value; Represents the double exponential smoothing value; Represents the triple exponential smoothing value; Represents the smoothing coefficient.
[0175] In a possible implementation, the refrigeration power calculation module 305 includes:
[0176] The fourth calculation unit is used to determine the heat transfer power of the indoor-outdoor temperature difference according to the outdoor temperature and the indoor temperature.
[0177] The fifth calculation unit is used to determine the additional refrigeration load power according to the indoor temperature.
[0178] The sixth calculation unit is used to determine the recommended power of the refrigeration system according to the total predicted power consumption of multiple servers in the computer room, the heat transfer power of the indoor-outdoor temperature difference, and the additional refrigeration load power.
[0179] In a possible implementation, the formula for determining the recommended power of the refrigeration system in the sixth calculation unit is:
[0180]
[0181] In the formula, Represents the recommended power of the refrigeration system; Represents the total predicted power consumption of the servers; Represents the heat transfer power of the indoor-outdoor temperature difference; Represents the additional refrigeration load power; Represents the redundancy parameter; Represents the energy efficiency ratio of the refrigeration system;
[0182] In a possible implementation, the formula for determining the total predicted power consumption of the servers is:
[0183]
[0184] In the formula, Represents the total predicted power consumption of the servers; Represents the number of servers, a total of units; Represents the th server's predicted power consumption;
[0185] Among them, the formula for determining the heat transfer power of the indoor-outdoor temperature difference is:
[0186]
[0187] In the formula, The heat transfer power representing the temperature difference between indoors and outdoors; The heat transfer coefficient of the enclosure structure of the computer room; The total area of the enclosure structure of the computer room; The outdoor temperature; The indoor temperature;
[0188] Among them, the formula for determining the additional refrigeration load power is:
[0189]
[0190] In the formula, Represents the additional refrigeration load power; Represents the mass of the air in the computer room; Represents the specific heat capacity of the air; Represents the indoor target temperature; Represents the indoor temperature; Represents the time of an adjustment period.
[0191] Figure 4 This is a schematic structural diagram of the electronic device provided by this application. As Figure 4 Shown, the electronic device 40 provided in this embodiment includes: at least one processor 401 and a memory 402. Optionally, the electronic device 40 further includes a communication component 403. Among them, the processor 401, the memory 402, and the communication component 403 are connected through a bus.
[0192] In the specific implementation process, at least one processor 401 executes the computer execution instructions stored in the memory 402, so that at least one processor 401 executes the above-mentioned embodiment of the computer room temperature control method.
[0193] For the specific implementation process of the processor 401, reference can be made to the above method embodiment, and its implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.
[0194] In the above embodiment, it should be understood that the processor may be a central processing unit (Central Processing Unit, abbreviated as: CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, abbreviated as: DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the application can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
[0195] The memory may include a random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk memory.
[0196] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.
[0197] An embodiment of this application also provides a computer-readable storage medium storing a computer program, where the computer program is configured to execute the steps in any of the above embodiments of the computer room temperature control method when running.
[0198] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disc that can store a computer program.
[0199] An embodiment of this application also provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above embodiments of the computer room temperature control method.
[0200] An embodiment of this application also provides another computer program product, including a non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above embodiments of the computer room temperature control method.
[0201] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0202] The above has introduced in detail a method, apparatus, server, and medium for generating a prediction model of a gene regulatory network provided by this application. Specific examples are used herein to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A method for controlling temperature in a computer room, characterized in that: include: Obtain historical power consumption data of the server according to a preset collection period; Determining predicted power consumption of the server based on historical power consumption data of the server; Determining the total predicted power consumption of multiple servers in the computer room according to the predicted power consumption of the server; Get the outdoor temperature and indoor temperature of the computer room; Determining a recommended power of a refrigeration system according to the total predicted power consumption of the multiple servers in the computer room, the outdoor temperature, and the indoor temperature; The power of the refrigeration system is adjusted according to the recommended power of the refrigeration system to control the temperature of the computer room.
2. The method for controlling the temperature of a computer room according to claim 1, characterized in that: The step of adjusting the power of the refrigeration system according to the recommended power of the refrigeration system to control the temperature of the computer room includes: Get the power limit of the refrigeration system; comparing the recommended power of the refrigeration system with the power limit of the refrigeration system to generate a comparison result; If the recommended power of the refrigeration system is less than the power limit of the refrigeration system, setting the power of the refrigeration system to the recommended power of the refrigeration system; If the recommended power of the refrigeration system is greater than the power limit of the refrigeration system, the power of the refrigeration system is set to the power limit of the refrigeration system, and a warning message is generated.
3. The method for controlling the temperature of a computer room according to claim 1, characterized in that: The determining the predicted power consumption of the server according to the historical power consumption data of the server includes: Determine an exponential smoothing value within an adjustment period according to the historical power consumption data of the server; Determine a secondary exponential smoothing value and a tertiary exponential smoothing value according to the primary exponential smoothing value; Determine the model coefficient of the triple exponential smoothing prediction model according to the first exponential smoothing value, the second exponential smoothing value and the third exponential smoothing value to determine the triple exponential smoothing prediction model; The predicted power consumption of the server is predicted and generated based on the historical power consumption data of the server using the cubic exponential smoothing prediction model.
4. The method for controlling the temperature of a computer room according to claim 3, characterized in that: The triple exponential smoothing prediction model is: In the formula, represents the predicted power consumption; , and Represents the model coefficients of the triple exponential smoothing forecasting model; Indicates the forecast lead period, that is, the first period after the adjustment period. cycle.
5. The method for controlling the temperature of a computer room according to claim 4, characterized in that: The formula for determining the model coefficients of the triple exponential smoothing prediction model is: In the formula, , and Represents the model coefficients of the triple exponential smoothing forecasting model; Represents an exponential smoothing value; represents the quadratic exponential smoothing value; represents the triple exponential smoothing value; Represents the smoothing coefficient.
6. The method for controlling the temperature of a computer room according to any one of claims 1 to 5, characterized in that: The determining the recommended power of the refrigeration system according to the total predicted power consumption of the plurality of servers in the computer room, the outdoor temperature, and the indoor temperature includes: Determine the heat transfer power of the indoor and outdoor temperature difference according to the outdoor temperature and the indoor temperature; determining an additional cooling load power according to the indoor temperature; The recommended power of the refrigeration system is determined according to the total predicted power consumption of the multiple servers in the computer room, the heat transfer power of the indoor and outdoor temperature difference, and the additional refrigeration load power.
7. The method for controlling the temperature of a computer room according to claim 6, characterized in that: The formula for determining the recommended power of the refrigeration system is: In the formula, Indicates the recommended power of the refrigeration system; represents the total predicted power consumption of the server; The heat transfer power representing the temperature difference between indoor and outdoor; Indicates the additional cooling load power; Indicates redundant parameters; Indicates the energy efficiency ratio of the refrigeration system.
8. The method for controlling the temperature of a computer room according to claim 7, characterized in that: The formula for determining the total predicted power consumption of the server is: In the formula, represents the total predicted power consumption of the server; Indicates the number of servers, total tower; Indicates The predicted power consumption of the server; Among them, the formula for determining the heat transfer power of the indoor and outdoor temperature difference is: In the formula, The heat transfer power representing the temperature difference between indoor and outdoor; It represents the heat transfer coefficient of the enclosure structure of the machine room; Indicates the total area of the enclosure structure of the machine room; Indicates the outdoor temperature; Indicates the indoor temperature; The formula for determining the additional cooling load power is: In the formula, Indicates the additional cooling load power; Indicates the quality of the air in the computer room; represents the specific heat capacity of air; Indicates the indoor target temperature; Indicates the indoor temperature; Indicates the time of an adjustment cycle.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the computer room temperature control method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for controlling the temperature of a computer room as claimed in any one of claims 1 to 7.