Air conditioner control method and device, electronic equipment and medium
By acquiring server fan data to calculate adjustment coefficients and dynamically adjusting air conditioning parameters, the problems of untimely and lagging adjustments in existing air conditioning control methods are solved, achieving refined adjustment of air conditioning parameters and energy saving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2022-08-25
- Publication Date
- 2026-06-12
AI Technical Summary
Existing air conditioning control methods rely on the parameter settings of the dedicated air conditioners in the computer room or temperature and humidity sensors, resulting in untimely adjustments and lag, which cannot effectively cope with the energy waste caused by changes in server load.
By acquiring server fan data, calculating adjustment coefficients, determining whether to adjust air conditioning parameters based on the region and adjustment coefficients, and controlling the air conditioner by inputting adjustment parameters via serial port, dynamic adjustment of air conditioning parameters is achieved.
It improves the precision of air conditioning adjustments, reduces energy waste, enables rapid, direct, and precise adjustment of air conditioning parameters, and lowers energy consumption in the computer room.
Smart Images

Figure CN115682392B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of intelligent operation and maintenance, and can also be used in the financial field or other fields. Specifically, it relates to an air conditioning control method, device, equipment, medium and program product. Background Technology
[0002] With the rapid development of information technology, the massive number of server devices in data center computer rooms has become an important foundation for technologies such as big data and cloud computing. The rapid increase in the number of devices has also led to a continuous increase in energy consumption in computer rooms. At the same time, maintaining the normal and stable operation of server equipment in computer rooms often requires dedicated computer room air conditioning for constant temperature and humidity control.
[0003] In realizing the present invention, the inventors discovered that current air conditioning control methods often rely on the parameter settings of the dedicated air conditioner in the computer room, or use temperature and humidity sensors to sense the ambient temperature and humidity, and control the air conditioning parameters based on the acquired data, which leads to problems such as untimely adjustments and lag in adjustments. Summary of the Invention
[0004] In view of the above problems, this disclosure provides an air conditioning control method, apparatus, equipment, medium and program product.
[0005] According to a first aspect of this disclosure, an air conditioning control method is provided, the method comprising: determining an area where an air conditioner is located, wherein at least one air conditioner and N servers are installed in the area; obtaining a sampling interval corresponding to the area; obtaining fan data of the N servers in the area according to the sampling interval, wherein N is an integer greater than or equal to 1; calculating an adjustment coefficient based on the fan data; determining whether the air conditioning parameters need to be adjusted based on the area and the adjustment coefficient; when the air conditioning parameters need to be adjusted, calculating an air conditioning adjustment parameter based on the adjustment coefficient; and controlling the air conditioner using the air conditioning adjustment parameter.
[0006] According to an embodiment of this disclosure, the step of calculating the adjustment coefficient based on the fan data includes: calculating the change value of the fan rate ratio of each of the N servers based on the fan data; obtaining the fan speed weight of each of the N servers; and calculating the adjustment coefficient based on the change value of the fan rate ratio and the fan speed weight.
[0007] According to an embodiment of this disclosure, in the step of acquiring fan data of N servers in the region according to the sampling interval, the fan data includes the current fan speed and the maximum fan speed; before the step of calculating the change value of the fan speed ratio of each of the N servers, the method further includes: calculating the fan speed ratio of each of the N servers, wherein the fan speed ratio is the ratio of the current fan speed to the maximum fan speed.
[0008] According to an embodiment of this disclosure, in the step of determining the area where the air conditioner is located, the area includes a first area, a second area, and a third area, wherein the sampling interval corresponding to the first area is greater than the sampling interval corresponding to the second area, and the sampling interval corresponding to the second area is greater than the sampling interval corresponding to the third area.
[0009] According to embodiments of this disclosure, the step of determining whether the air conditioning parameters need to be adjusted based on the region and the adjustment coefficient includes: when the region where the air conditioner is located is a first region, a preset adjustment coefficient threshold is established; when the adjustment coefficient is greater than the adjustment coefficient threshold, the air conditioning parameters are adjusted; when the region where the air conditioner is located is a second region, the air conditioning parameters are directly adjusted; or when the region where the air conditioner is located is a third region, a preset average adjustment coefficient threshold is established; when the average value of the adjustment coefficients obtained after M sampling intervals is greater than the average adjustment coefficient threshold, the air conditioning parameters are adjusted, where M is an integer greater than or equal to 1.
[0010] According to an embodiment of this disclosure, the step of calculating the air conditioner adjustment parameters based on the adjustment coefficient includes: calculating the air volume adjustment parameters and the air outlet temperature adjustment parameters of the air conditioner based on the adjustment coefficient.
[0011] According to an embodiment of this disclosure, the step of controlling the air conditioner using the air conditioner adjustment parameters includes: inputting the air conditioner adjustment parameters to the air conditioner controller via a serial port to control the air conditioner.
[0012] According to an embodiment of this disclosure, the step of obtaining fan data of N servers in the area includes: using the baseboard controller of the server to obtain fan data of N servers in the area.
[0013] A second aspect of this disclosure provides an air conditioning control device, comprising: a first determining module for determining the area where the air conditioner is located; a first acquiring module for acquiring a sampling interval corresponding to the area; a second acquiring module for acquiring fan data of N servers in the area according to the sampling interval, where N is an integer greater than or equal to 1; a first calculating module for calculating an adjustment coefficient based on the fan data; a judging module for judging whether the air conditioning parameters need to be adjusted based on the area and the adjustment coefficient; a second calculating module for calculating air conditioning adjustment parameters based on the adjustment coefficient when the air conditioning parameters need to be adjusted; and an adjusting module for adjusting the air conditioner using the air conditioning adjustment parameters.
[0014] According to an embodiment of this disclosure, the first calculation module includes a first calculation subunit, configured to calculate the change value of the fan speed ratio of each of the N servers based on the fan data; a first acquisition subunit, configured to acquire the fan speed weight of each of the N servers; and a second calculation subunit, configured to calculate an adjustment coefficient based on the change value of the fan speed ratio and the fan speed weight.
[0015] According to an embodiment of this disclosure, the fan data acquired by the second acquisition module includes the current fan speed and the maximum fan speed; the device further includes a third calculation module, configured to calculate the fan speed ratio of each of the N servers before the step of calculating the change value of the fan speed ratio of each of the N servers, wherein the fan speed ratio is the ratio of the current fan speed to the maximum fan speed.
[0016] According to an embodiment of this disclosure, the first determining module determines that the area where the air conditioner is located includes a first area, a second area, and a third area, wherein the sampling interval corresponding to the first area is greater than the sampling interval corresponding to the second area, and the sampling interval corresponding to the second area is greater than the sampling interval corresponding to the third area.
[0017] According to an embodiment of this disclosure, the judgment module includes a first judgment subunit, configured to preset an adjustment coefficient threshold when the area where the air conditioner is located is a first area, and adjust the air conditioner parameters when the adjustment coefficient is greater than the adjustment coefficient threshold; a second judgment subunit, configured to directly adjust the air conditioner parameters when the area where the air conditioner is located is a second area; and a third judgment subunit, configured to preset an average adjustment coefficient threshold when the area where the air conditioner is located is a third area, and adjust the air conditioner parameters when the average value of the adjustment coefficients obtained after M sampling intervals is greater than the average adjustment coefficient threshold, wherein M is an integer greater than or equal to 1.
[0018] According to an embodiment of this disclosure, the second calculation module includes a third calculation subunit, used to calculate the air volume adjustment parameters and the air outlet temperature adjustment parameters of the air conditioner based on the adjustment coefficient.
[0019] According to an embodiment of this disclosure, the adjustment module includes an adjustment subunit for inputting the air conditioner adjustment parameters to the air conditioner controller via a serial port to control the air conditioner.
[0020] According to an embodiment of this disclosure, the second acquisition module includes a second acquisition subunit, used to acquire fan data of N servers in the area using the baseboard controller of the server.
[0021] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the methods described above.
[0022] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described above.
[0023] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method. Attached Figure Description
[0024] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0025] Figure 1 The illustration schematically depicts application scenarios of air conditioning control methods, apparatus, devices, media, and program products according to embodiments of the present disclosure;
[0026] Figure 2 A flowchart illustrating an air conditioning control method according to an embodiment of the present disclosure is shown schematically.
[0027] Figure 3 A flowchart illustrating the calculation of the adjustment coefficient according to an embodiment of the present disclosure is shown schematically.
[0028] Figure 4 A schematic diagram of a server IPMI fan data generation subsystem according to an embodiment of the present disclosure is shown.
[0029] Figure 5 A schematic diagram of the ipmitool server fan data acquisition script subsystem according to an embodiment of the present disclosure is shown.
[0030] Figure 6 A schematic diagram of a fan data analysis subsystem according to an embodiment of the present disclosure is shown.
[0031] Figure 7 A schematic diagram of a computer room dedicated air conditioning feedback regulation subsystem according to an embodiment of the present disclosure is shown.
[0032] Figure 8 A schematic block diagram of an air conditioning control device according to an embodiment of the present disclosure is shown; and
[0033] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing an air conditioning control method according to an embodiment of the present disclosure. Detailed Implementation
[0034] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0035] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0036] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0037] When using expressions such as "at least one of A, B, and C," it should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, systems having A alone, having B alone, having C alone, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.). The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features.
[0038] The server's Baseboard Management Controller (BMC) is responsible for the interface between the system management software and the platform hardware. It is a key component for monitoring and managing the server, enjoys greater privileges than the host server, is hardware independent of the operating system, and does not depend on other hardware on the system, nor on the BIOS and OS.
[0039] The Intelligent Platform Management Interface (IPMI) is an industry standard for managing peripheral devices used in enterprise systems based on Intel architecture. Users can use the IPMI to monitor the physical health characteristics of servers, such as temperature, voltage, fan operating status, and power supply status.
[0040] ipmitool is a command-line IPMI platform management tool available for Windows and Linux systems. By writing ipmitool scripts, you can quickly and in batches retrieve server fan data from the server's IPMI interface, including fan speed and speed ratio.
[0041] With the rapid development of information technology, the massive number of servers in data center computer rooms has become a crucial foundation for technologies such as big data and cloud computing. The rapid increase in the number of devices has also led to a continuous rise in data center energy consumption. Furthermore, maintaining the normal and stable operation of server equipment often requires dedicated data center air conditioning for constant temperature and humidity control. To build energy-efficient, low-carbon, and green data centers, enterprises control and optimize data center energy efficiency indicators (PUE, where PUE = total data center energy consumption / IT equipment energy consumption, including IT equipment energy consumption and energy consumption of air conditioning, power distribution, and other systems) during the data center construction process. The most important energy-saving solution includes reducing the energy consumption of the air conditioning system. However, the main drawbacks of existing dedicated air conditioning systems for data center computer rooms are as follows:
[0042] 1. Air conditioning systems maintain constant supply and return air temperatures, failing to effectively adjust dynamically when load changes. Currently, data centers often rely on the parameter settings of dedicated air conditioners to control air conditioning systems, allowing for constant temperature and humidity for both supply and return air. However, in a data center, server energy consumption is not constant but dynamically changes with business and system resource usage. When business is idle, servers generate less heat, resulting in excessive cooling demand from the air conditioning system, requiring the heating system to compensate, which is energy-consuming. When business is busy, servers generate more heat, leading to higher return air temperatures and requiring continuous cooling.
[0043] 2. The parameter adjustment of dedicated air conditioners in intelligent data centers depends on ambient temperature and has a certain lag. Some dedicated air conditioners in data centers are equipped with temperature and humidity sensors to sense the ambient temperature and humidity, and use PID control to adjust the air conditioning parameters based on the acquired data. However, since temperature changes are not discrete values, when the ambient temperature changes rapidly or continuously, the PID control uses the collected discrete data for feedback control. By the time the air conditioner responds, the ambient temperature has already changed, resulting in a certain lag and affecting cooling efficiency.
[0044] In view of the above problems, embodiments of this disclosure provide an air conditioning control method, the method comprising: determining an area where an air conditioner is located, wherein at least one air conditioner and N servers are installed in the area; obtaining a sampling interval corresponding to the area; obtaining fan data of the N servers in the area according to the sampling interval, where N is an integer greater than or equal to 1; calculating an adjustment coefficient based on the fan data; determining whether the air conditioning parameters need to be adjusted based on the area and the adjustment coefficient; when the air conditioning parameters need to be adjusted, calculating an air conditioning adjustment parameter based on the adjustment coefficient; and controlling the air conditioner using the air conditioning adjustment parameter.
[0045] It should be noted that the air conditioning control method and device specified in this disclosure can be used for air conditioning control in computer rooms in the financial sector, as well as for air conditioning control in any sector other than the financial sector. The application areas of the air conditioning control method and device disclosed in this disclosure are not limited.
[0046] Figure 1 The illustration schematically depicts an application scenario of an air conditioning control method, apparatus, device, medium, and program product according to embodiments of the present disclosure.
[0047] like Figure 1 As shown, application scenario 100 according to this embodiment may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as a medium for providing a communication link between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0048] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).
[0049] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0050] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using terminal devices 101, 102, and 103 (for example only). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0051] It should be noted that the air conditioning control method provided in this embodiment can generally be executed by server 105. Correspondingly, the air conditioning control device provided in this embodiment can generally be located in server 105. The air conditioning control method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105. Correspondingly, the air conditioning control device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105.
[0052] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0053] The following will be based on Figure 1 The described scene, through Figures 2-7 The air conditioning control method of the disclosed embodiments will be described in detail.
[0054] Figure 2 A flowchart illustrating an air conditioning control method according to an embodiment of the present disclosure is shown schematically.
[0055] like Figure 2 As shown, the air conditioning control method of this embodiment includes operations S210 to S270.
[0056] In operation S210, the area where the air conditioner is located is determined, and at least one air conditioner and N servers are installed in the area.
[0057] In operation S220, the sampling interval corresponding to the region is obtained.
[0058] According to embodiments of this disclosure, in the step of determining the region where the air conditioner is located, the region includes a first region, a second region, and a third region. The sampling interval corresponding to the first region is greater than the sampling interval corresponding to the second region, and the sampling interval corresponding to the second region is greater than the sampling interval corresponding to the third region. By setting different sampling intervals for different regions, oversampling can be avoided, and the utilization rate of system resources can be improved. The specific division principle can be determined according to the actual situation, and embodiments of this disclosure do not limit this. For example, the division of different regions can be based on the service type of the servers. For regions where server clusters with stable business are located, since the server fan speed is relatively stable and fluctuates little, the corresponding sampling interval can be larger, such as setting one day as a sampling interval. For regions where server clusters with large day-night differences in business are located, since the server fan speed varies greatly between day and night, the corresponding sampling interval can be set according to the business characteristics, such as setting half a day as a sampling interval to maintain consistency with the peak and trough changes. For regions where server clusters with large business fluctuations are located, since the server fan speed is constantly changing, the corresponding sampling interval can be smaller, such as setting ten minutes as a sampling interval, to increase the sampling frequency and facilitate the air conditioner's rapid response when the server fan speed changes.
[0059] In operation S230, fan data of N servers in the area are obtained according to the sampling interval, where N is an integer greater than or equal to 1.
[0060] According to embodiments of this disclosure, the step of obtaining fan data for N servers within the area includes: using the server's baseboard controller to obtain fan data for the N servers within the area. Using the server's baseboard controller allows for independent monitoring of the server's fan operating status, providing the most direct fan data unaffected by other factors.
[0061] In operation S240, the adjustment coefficient is calculated based on the fan data.
[0062] Figure 3 A flowchart illustrating the calculation of the adjustment coefficient according to an embodiment of the present disclosure is shown.
[0063] like Figure 3 As shown, the step of calculating the adjustment coefficient based on the fan data in this embodiment of the present disclosure includes operations S310 to S330.
[0064] In operation S310, based on the fan data, the change in the fan speed ratio of each of the N servers is calculated.
[0065] In operation S320, the fan speed weight of each of the N servers is obtained. Since there are multiple servers in a cluster area, and the maximum speed of the fan of each server is different, that is, the rated speed is different, the fan speed weight of a specific server can be obtained by dividing its rated speed by the maximum rated speed of all fans in the cluster area.
[0066] In operation S330, the adjustment coefficient is calculated based on the change in the fan speed ratio and the fan speed weight.
[0067] For example, the formula for calculating the adjustment coefficient η is:
[0068]
[0069] In the formula, n is the total number of fans of all servers in the cluster area, and R maxi R is the rated speed of the i-th fan. maxn Q is the maximum rated speed of the fans among all servers in this cluster region. it Qi0 represents the fan speed ratio of the i-th fan collected in the current sampling period, while Qi0 represents the fan speed ratio of the i-th fan collected in the previous sampling period.
[0070] According to embodiments of this disclosure, in the step of acquiring fan data of N servers in the region according to the sampling interval, the fan data includes the current fan speed and the maximum fan speed; before the step of calculating the change value of the fan speed ratio of each of the N servers, the method further includes: calculating the fan speed ratio of each of the N servers, wherein the fan speed ratio is the ratio of the current fan speed to the maximum fan speed. For example, for a server's fan, the formula for calculating its fan speed ratio Q is:
[0071]
[0072] In the formula, Q is the fan speed ratio, and R... t It is the current fan speed, R max This is the fan's rated speed.
[0073] In operation S250, based on the region and the adjustment coefficient, it is determined whether the air conditioning parameters need to be adjusted.
[0074] According to embodiments of this disclosure, the step of determining whether the air conditioning parameters need to be adjusted based on the region and the adjustment coefficient includes: when the region where the air conditioner is located is a first region, a preset adjustment coefficient threshold is established; when the adjustment coefficient is greater than the adjustment coefficient threshold, the air conditioning parameters are adjusted; when the region where the air conditioner is located is a second region, the air conditioning parameters are directly adjusted; or when the region where the air conditioner is located is a third region, a preset average adjustment coefficient threshold is established; when the average value of the adjustment coefficients obtained after M sampling intervals is greater than the average adjustment coefficient threshold, the air conditioning parameters are adjusted, where M is an integer greater than or equal to 1. Different adjustment coefficient thresholds can be set for different adjustment regions to rationalize the number of adjustments, reducing energy waste caused by frequent adjustments of air conditioning parameters while ensuring the required temperature for server operation.
[0075] For example, taking the first region, where a server cluster with stable business operations is located, as an example, the server fan speed is relatively stable, only experiencing slight increases under unexpected circumstances, but quickly returning to normal. Therefore, when a slight increase in business volume occurs, it is necessary to obtain the increase in server fan speed caused by this slight increase in business volume, and then calculate the relationship between the obtained adjustment coefficient and the preset adjustment coefficient threshold. Only when the adjustment coefficient is greater than the adjustment coefficient threshold is the air conditioning parameter adjusted. This is because this slight increase will quickly recover, and adjusting the air conditioning parameter immediately when the increase is small would result in energy waste. Taking the second region, where a server cluster with significant day-night business differences is located, as an example, since there are obvious peaks and troughs in business volume, the corresponding sampling interval is consistent with the changes in peaks and troughs. The corresponding adjustment coefficient can be calculated when the peak and trough transition occurs. At this time, since the peak-to-trough transition time has been reached, the air conditioning parameter can be adjusted directly without needing to judge based on the threshold. Taking the third region, where server clusters experience significant business fluctuations, as an example, the server fan speeds are constantly changing, and the sampling intervals are short, resulting in continuously fluctuating adjustment coefficients. To ensure stable air conditioning adjustments and reduce energy waste, a preset average adjustment coefficient threshold is needed. When the average of the adjustment coefficients obtained after M sampling intervals exceeds this threshold, the air conditioning parameters are adjusted. For example, with M equal to 10, 10 adjustment coefficients are obtained after 10 sampling intervals. The average of these 10 coefficients is calculated, and when this average exceeds the average adjustment coefficient threshold, the air conditioning parameters are adjusted. This avoids the need to adjust the air conditioning parameters after every short sampling period, preventing energy waste caused by frequent adjustments.
[0076] In operation S260, when it is necessary to adjust the air conditioning parameters, the air conditioning adjustment parameters are calculated based on the adjustment coefficient.
[0077] According to embodiments of this disclosure, the step of calculating the air conditioner adjustment parameters based on the adjustment coefficient includes: calculating the airflow adjustment parameters and the air outlet temperature adjustment parameters of the air conditioner based on the adjustment coefficient. Exemplarily, the air conditioner adjustment parameters may also include the air outlet angle, but this disclosure does not limit this aspect.
[0078] In operation S270, the air conditioner is controlled using the air conditioner adjustment parameters.
[0079] According to embodiments of this disclosure, the step of controlling the air conditioner using the air conditioner adjustment parameters includes: inputting the air conditioner adjustment parameters to the air conditioner controller via a serial port to control the air conditioner. Since the specifications and models of dedicated air conditioners for computer rooms are not standardized on the market, and the methods for adjusting parameters are not unique, inputting the air conditioner adjustment parameters to the air conditioner controller via a serial port can achieve unified control of different models of air conditioners, improving control efficiency.
[0080] The air conditioning control method provided in the embodiments of this disclosure obtains the adjustment parameters of the air conditioner based on the air conditioner's region and server fan data. When the adjustment conditions are met, the air conditioner is adjusted, thereby greatly improving the precision of the air conditioning adjustment. It can achieve fine-grained adjustment of the air conditioner according to the actual situation and save energy.
[0081] For example, the air conditioning control method of this disclosure is mainly implemented by four subsystems: server IPMI fan data generation 110, ipmitool server fan data acquisition script 120, fan data analysis 130, and computer room dedicated air conditioning feedback adjustment 140.
[0082] Figure 4 A schematic diagram of a server IPMI fan data generation subsystem according to an embodiment of the present disclosure is shown.
[0083] like Figure 4 As shown, the server IPMI fan data generation subsystem 110 consists of two sub-modules: the server BMC fan speed sensor sub-module and the IPMI interface communication sub-module. The server BMC fan speed sensor sub-module collects server fan speed sensor data, including fan speed and speed ratio, and records the sensor data in the system. The IPMI interface communicates with the BMC to obtain physical information such as server temperature, voltage, and fan status. The IPMI interface communication sub-module communicates with the BMC via the IPMB (Intelligent Platform Management Bus) to obtain the server fan data recorded in the BMC.
[0084] Figure 5 A schematic diagram of the ipmitool server fan data acquisition script subsystem according to an embodiment of the present disclosure is shown.
[0085] like Figure 5 As shown, the ipmitool server fan data acquisition script subsystem 120 consists of four sub-modules: a server and data center air conditioning association information storage module, an ipmitool automated script execution module, an IPMI message communication module, and a fan data storage module. It is primarily responsible for collecting and summarizing server fan sensor data through the ipmitool automated script and transmitting the corresponding values to the fan data analysis subsystem 130. The server and data center air conditioning association information storage module stores the correspondence between the server BMC IP and the air conditioning in its assigned area, including but not limited to room-level, row-level, and rack-level air conditioning. The ipmitool script analyzes and calculates the collected server fan data to obtain the cooling capacity adjustment coefficient for the server's area or cold aisle, thereby controlling the dedicated air conditioning in the data center for efficient energy utilization. The ipmitool automated script execution module executes the automated script installed on the Windows or Linux system, reads the server BMC IP stored in the server and data center air conditioning association information storage module, sends commands to the server BMC through the IPMI message communication module, obtains the BMC's fan data, returns the message to the computer system, and stores the fan data in the fan data storage module. Based on the stored server fan data, the servers are divided into three clusters: Cluster 1 consists of clusters with stable business operations and constant server fan speeds; the corresponding server BMC IP and air conditioning zone is Zone 1; Cluster 2 consists of clusters with large day-night business fluctuations and large day-night server fan speed fluctuations; the corresponding server BMC IP and air conditioning zone is Zone 2; Cluster 3 consists of clusters with large business fluctuations and large fluctuations in server fan speeds; the corresponding server BMC IP and air conditioning zone is Zone 3.
[0086] Figure 6 A schematic diagram of a fan data analysis subsystem according to an embodiment of the present disclosure is shown.
[0087] like Figure 6As shown, the fan data analysis subsystem 130 is the core system, responsible for processing the data collected by the ipmitool server fan data acquisition script 120 subsystem. It consists of four sub-modules: an air conditioner and server information collection module, a data preprocessing module, a regulation coefficient calculation module, and a data storage and output module. First, the air conditioner and server information collection module needs to collect the server fan data corresponding to a single air conditioner. The ipmitool automation script can output the correspondence between fans and server BMC IPs. In subsystem 120, the server and data center air conditioner association information storage module stores the correspondence between server BMC IPs and the air conditioners in their respective areas, thus obtaining the correspondence between server fans and corresponding air conditioners—that is, several server fans correspond to a specific air conditioner in the data center. This data is stored in the data storage and output module. Second, the data collected by the ipmitool automation script is divided into two forms: fan speed and fan rate ratio. The data preprocessing module needs to preprocess the data, converting it into a uniform fan rate ratio. Then, the regulation coefficient calculation module calculates the regulation coefficient η. Finally, the data storage and output module outputs the calculated regulation coefficient η.
[0088] Figure 7 A schematic diagram of a computer room dedicated air conditioning feedback regulation subsystem according to an embodiment of the present disclosure is shown.
[0089] like Figure 7As shown, the dedicated air conditioning feedback regulation subsystem 140 for the computer room is the key system of this system, consisting of four sub-modules: a serial port tool polling regulation coefficient module, a command-line script sending control information module, an air conditioning controller parameter adjustment module, and an air conditioning outlet parameter adjustment module. This system is based on the regulation coefficient η obtained from the fan data analysis subsystem 130. The instantaneous fan speed Rt is a continuous value, so the sampling interval t can be arbitrarily adjusted according to the feedback regulation needs. For area 1, where a type I cluster is located, the sampling interval is set to a threshold M based on the regulation coefficient η. When the threshold is exceeded, the system adjusts the air conditioning in the cluster area. For area 2, where a type II cluster is located, the sampling interval is set according to the peak and valley times of the business. When the peak-valley transition time is reached, the system adjusts the air conditioning in the cluster area. For area 3, where a type III cluster is located, the sampling interval is set to a threshold N based on the average value of the regulation coefficient η over a fixed period. When the threshold is exceeded, the system adjusts the air conditioning in the cluster area. The specifications and models of dedicated air conditioning systems for computer rooms are not standardized in the market, and the parameter adjustment methods are not unique. Meanwhile, 0 < η < 1. Overall, the airflow adjustment for the dedicated air conditioner in the computer room can be set as P = P0(1 + η), and the outlet temperature can be set as T = T0(1 - η). Taking a dedicated air conditioner in the computer room managed via a serial port as an example, the working method of the feedback regulation subsystem of the dedicated air conditioner in the computer room is explained. After the fan analysis 130 subsystem obtains the regulation coefficient η, the remote management terminal of the dedicated air conditioner feedback regulation 140 subsystem uses a serial port tool to continuously poll the regulation coefficient module for this coefficient value. It also uses a command-line script to send control information to the air conditioner controller via an RS-232 serial port. The air conditioner controller parameter adjustment module adjusts the airflow P and outlet temperature T values through the air conditioner outlet parameter adjustment module, dynamically adjusting the air conditioner parameters in real time, thereby achieving precise control of cooling capacity and saving energy.
[0090] The embodiments disclosed herein establish a strong correlation between the dedicated air conditioner in the data center and the server on its load side through specific technical means, abandoning the traditional method of indirectly adjusting the system by measuring ambient temperature and humidity. The effects and advantages are as follows:
[0091] 1. The parameters of the computer room air conditioning can be dynamically adjusted, saving energy and reducing emissions. In traditional computer rooms, the air supply and return air temperatures of the air conditioner remain constant, and dynamic adjustment cannot be effectively performed when the load changes. The method described in the embodiments of this disclosure can continuously and dynamically adjust the computer room air conditioning, effectively reducing the running time of the computer room air conditioning heating system, and promptly eliminating local hot spots in the computer room when the workload increases and the load generates more heat.
[0092] 2. Faster and more direct adjustment of data center air conditioning parameters. This embodiment of the present disclosure achieves coordinated control of server fans and dedicated data center air conditioning, eliminating reliance on indirect ambient temperature feedback control for intelligent data center air conditioning. In traditional methods, when server temperature rises, the server's BMC (Body Control Controller) first senses the temperature change and adjusts the fan speed. After the fan adjustment, the expelled heat causes a slow change in the surrounding ambient temperature. The intelligent data center air conditioning then measures the ambient temperature before further parameter adjustments, resulting in a certain lag, untimely adjustments, and poor performance. This embodiment of the present disclosure directly converts changes in server fan speed into adjustment coefficients to adjust data center air conditioning parameters. This allows for continuous, direct, and rapid dynamic adjustment of dedicated data center air conditioning parameters, which helps save air conditioning energy and reduce carbon emissions.
[0093] 3. The air conditioning parameters in the computer room can be adjusted by zone for greater precision. Adjustments are made based on the area where the air conditioner is located, greatly improving the precision of the adjustments. This allows for refined control of the air conditioning according to actual conditions, saving energy.
[0094] Based on the above-described air conditioning control method, this disclosure also provides an air conditioning control device. The following will be combined with... Figure 8 The device is described in detail.
[0095] Figure 8 A schematic block diagram of an air conditioning control device according to an embodiment of the present disclosure is shown.
[0096] like Figure 8 As shown, the air conditioning control device 800 in this embodiment includes a first determining module 810, a first acquiring module 820, a second acquiring module 830, a first calculating module 840, a judging module 850, a second calculating module 860, and an adjusting module 870.
[0097] The first determining module 810 is used to determine the area where the air conditioner is located. In one embodiment, the first determining module 810 can be used to perform the operation S210 described above, which will not be repeated here.
[0098] The first acquisition module 820 is used to acquire the sampling interval corresponding to the region. In one embodiment, the first acquisition module 820 can be used to perform the operation S220 described above, which will not be repeated here.
[0099] The second acquisition module 830 is used to acquire fan data of N servers in the area according to the sampling interval, where N is an integer greater than or equal to 1. In one embodiment, the second acquisition module 830 can be used to perform the operation S230 described above, which will not be repeated here.
[0100] The first calculation module 840 is used to calculate the adjustment coefficient based on the fan data. In one embodiment, the first calculation module 840 can be used to perform the operation S240 described above, which will not be repeated here.
[0101] The determination module 850 is used to determine whether the air conditioning parameters need to be adjusted based on the region and the adjustment coefficient. In one embodiment, the determination module 850 can be used to perform the operation S250 described above, which will not be repeated here.
[0102] The second calculation module 860 is used to calculate the air conditioning adjustment parameters based on the adjustment coefficient when the air conditioning parameters need to be adjusted. In one embodiment, the second calculation module 860 can be used to perform the operation S260 described above, which will not be repeated here.
[0103] The adjustment module 870 is used to adjust the air conditioner using the air conditioner adjustment parameters. In one embodiment, the adjustment module 870 can be used to perform the operation S270 described above, which will not be repeated here.
[0104] According to an embodiment of this disclosure, the first calculation module includes a first calculation subunit, configured to calculate the change value of the fan speed ratio of each of the N servers based on the fan data; a first acquisition subunit, configured to acquire the fan speed weight of each of the N servers; and a second calculation subunit, configured to calculate an adjustment coefficient based on the change value of the fan speed ratio and the fan speed weight.
[0105] According to an embodiment of this disclosure, the fan data acquired by the second acquisition module includes the current fan speed and the maximum fan speed; the device further includes a third calculation module, configured to calculate the fan speed ratio of each of the N servers before the step of calculating the change value of the fan speed ratio of each of the N servers, wherein the fan speed ratio is the ratio of the current fan speed to the maximum fan speed.
[0106] According to an embodiment of this disclosure, the first determining module determines that the area where the air conditioner is located includes a first area, a second area, and a third area, wherein the sampling interval corresponding to the first area is greater than the sampling interval corresponding to the second area, and the sampling interval corresponding to the second area is greater than the sampling interval corresponding to the third area.
[0107] According to an embodiment of this disclosure, the judgment module includes a first judgment subunit, configured to preset an adjustment coefficient threshold when the area where the air conditioner is located is a first area, and adjust the air conditioner parameters when the adjustment coefficient is greater than the adjustment coefficient threshold; a second judgment subunit, configured to directly adjust the air conditioner parameters when the area where the air conditioner is located is a second area; and a third judgment subunit, configured to preset an average adjustment coefficient threshold when the area where the air conditioner is located is a third area, and adjust the air conditioner parameters when the average value of the adjustment coefficients obtained after M sampling intervals is greater than the average adjustment coefficient threshold, wherein M is an integer greater than or equal to 1.
[0108] According to an embodiment of this disclosure, the second calculation module includes a third calculation subunit, used to calculate the air volume adjustment parameters and the air outlet temperature adjustment parameters of the air conditioner based on the adjustment coefficient.
[0109] According to an embodiment of this disclosure, the adjustment module includes an adjustment subunit for inputting the air conditioner adjustment parameters to the air conditioner controller via a serial port to control the air conditioner.
[0110] According to an embodiment of this disclosure, the second acquisition module includes a second acquisition subunit, used to acquire fan data of N servers in the area using the baseboard controller of the server.
[0111] According to embodiments of this disclosure, any multiple modules among the first determining module 810, the first acquiring module 820, the second acquiring module 830, the first calculating module 840, the judging module 850, the second calculating module 860, and the adjusting module 870 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the first determining module 810, the first acquiring module 820, the second acquiring module 830, the first calculating module 840, the judging module 850, the second calculating module 860, and the adjusting module 870 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in a suitable combination of any of these. Alternatively, at least one of the first determining module 810, the first acquiring module 820, the second acquiring module 830, the first calculating module 840, the judging module 850, the second calculating module 860, and the adjusting module 870 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0112] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing an air conditioning control method according to an embodiment of the present disclosure.
[0113] like Figure 9 As shown, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage portion 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0114] RAM 903 stores various programs and data required for the operation of electronic device 900. Processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Processor 901 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 902 and / or RAM 903. It should be noted that the programs may also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0115] According to embodiments of this disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to a bus 904. The electronic device 900 may also include one or more of the following components connected to the I / O interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.
[0116] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0117] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 902 and / or RAM 903 and / or one or more memories other than ROM 902 and RAM 903 described above.
[0118] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods of the embodiments of this disclosure.
[0119] When the computer program is executed by the processor 901, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0120] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 909, and / or installed from a removable medium 911. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0121] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0122] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0123] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0124] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0125] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. An air conditioner control method characterized by comprising: The method includes: Determine the area where the air conditioner is located, where at least one air conditioner and N servers are installed; Obtain the sampling interval corresponding to the region; According to the sampling interval, obtain the fan data of N servers in the area, where N is an integer greater than or equal to 1; The adjustment coefficient is calculated based on the fan data. Based on the region and the adjustment coefficient, determine whether the air conditioning parameters need to be adjusted; When the air conditioning parameters need to be adjusted, the air conditioning adjustment parameters are calculated based on the adjustment coefficient; and The air conditioner is controlled using the air conditioner adjustment parameters; The step of calculating the adjustment coefficient based on the fan data includes: Based on the fan data, calculate the change in the fan speed ratio of each of the N servers; Obtain the fan speed weight for each of the N servers; and The adjustment coefficient is calculated based on the change in the fan speed ratio and the fan speed weight.
2. The method according to claim 1, characterized in that, In the step of obtaining fan data of N servers in the area according to the sampling interval, the fan data includes the current fan speed and the maximum fan speed; Prior to the step of calculating the change in the fan speed ratio of each of the N servers, the method further includes: Calculate the fan speed ratio for each of the N servers, where the fan speed ratio is the ratio of the current fan speed to the maximum fan speed.
3. The method according to claim 1, characterized in that, In the step of determining the area where the air conditioner is located, the area includes a first area, a second area, and a third area, wherein the sampling interval corresponding to the first area is greater than the sampling interval corresponding to the second area, and the sampling interval corresponding to the second area is greater than the sampling interval corresponding to the third area.
4. The method according to claim 3, characterized in that, The step of determining whether the air conditioning parameters need to be adjusted based on the region and the adjustment coefficient includes: When the area where the air conditioner is located is the first area, a preset adjustment coefficient threshold is set. When the adjustment coefficient is greater than the adjustment coefficient threshold, the air conditioner parameters are adjusted. When the air conditioner is located in the second zone, the air conditioner parameters are adjusted directly; or When the air conditioner is located in the third region, a preset average adjustment coefficient threshold is set. When the average value of the adjustment coefficients obtained after M sampling intervals is greater than the average adjustment coefficient threshold, the air conditioner parameters are adjusted, where M is an integer greater than or equal to 1.
5. The method according to claim 1, characterized in that, The step of calculating the air conditioner adjustment parameters based on the adjustment coefficient includes: Based on the adjustment coefficient, the air volume adjustment parameters and the air outlet temperature adjustment parameters of the air conditioner are calculated.
6. The method according to claim 5, characterized in that, The step of controlling the air conditioner using the air conditioner adjustment parameters includes: The air conditioner adjustment parameters are input to the air conditioner controller via a serial port to control the air conditioner.
7. The method according to claim 1, characterized in that, The step of obtaining fan data for N servers in the area includes: The fan data of N servers in the area is obtained using the baseboard controller of the server.
8. An air conditioning control device, comprising: The first determining module is used to determine the area where the air conditioner is located; The first acquisition module is used to acquire the sampling interval corresponding to the region; The second acquisition module is used to acquire fan data of N servers in the area according to the sampling interval, where N is an integer greater than or equal to 1; The first calculation module is used to calculate the adjustment coefficient based on the fan data; The judgment module is used to determine, based on the region and the adjustment coefficient, whether the air conditioning parameters need to be adjusted; The second calculation module is used to calculate the air conditioning adjustment parameters based on the adjustment coefficient when the air conditioning parameters need to be adjusted. as well as An adjustment module is used to adjust the air conditioner using the air conditioner adjustment parameters; The first calculation module includes a first calculation subunit, used to calculate the change value of the fan speed ratio of each of the N servers based on the fan data; and a first acquisition subunit, used to acquire the fan speed weight of each of the N servers. And a second calculation subunit, used to calculate the adjustment coefficient based on the change value of the fan speed ratio and the fan speed weight.
9. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 7.