Computer room temperature control method and device, temperature control equipment, readable storage medium and program product
By identifying the causes of the heating of hot spots in the computer room, and combining the distribution situation, and finely controlling the temperature, the problem of poor temperature control in the existing technology is solved, and more efficient and flexible temperature management is achieved.
Patent Information
- Application Number
- CN202411704213.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-01-10
AI Technical Summary
The existing computer room temperature control methods are not accurate, mainly due to the limited distribution of temperature monitoring devices and the inability to effectively distinguish the temperature increase of computers, resulting in poor temperature control.
By determining that the computer in the computer room exceeds the temperature threshold as a hotspot device, it analyzes the calculation load information of its temperature information at the same time, combines the position information, identifies the cause of temperature rise, and determines the temperature control measures based on the distribution and reasons, so as to achieve the temperature of the computer room Fine control.
It improves the accuracy of temperature control in the computer room, reduces costs, avoids the distribution of special equipment, and achieves more flexible temperature management.
Smart Images

Figure CN119289487A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a computer room temperature control method, device, temperature control equipment, computer-readable storage medium, and computer program product. Background Art
[0002] As the demand continues to expand, the computing scale and applications in computer rooms are increasing, and the corresponding heat generated is also increasing. Therefore, the temperature of the computer room is controlled to allow the computers to operate in a relatively suitable ambient temperature. At present, the temperature control of the computer room usually installs a dedicated temperature monitoring device to collect and monitor indicators. Due to the limited distribution of temperature monitoring devices, the accuracy of the temperature control of the computer room is poor. Summary of the invention
[0003] Based on this, it is necessary to provide a computer room temperature control method, device, temperature control equipment, computer readable storage medium and computer program product to improve the accuracy of computer room temperature control in response to the above technical problems.
[0004] In a first aspect, the present application provides a computer room temperature control method, comprising:
[0005] Based on the temperature information of each computer in the computer room, the computer exceeding the temperature threshold is determined as a hot spot device;
[0006] Based on the computing load information of the hotspot device corresponding to the temperature information at the same time, determining the temperature rise reason of the hotspot device; the temperature rise reason includes a first temperature rise reason caused by the increase of computing load and a second temperature rise reason caused by environmental factors;
[0007] Based on the location information of the hotspot devices, determine the distribution of the hotspot devices in the computer room;
[0008] Determine temperature control measures based on the distribution and reasons for temperature rise, and control the temperature of the computer room based on the temperature control measures.
[0009] In one embodiment, temperature control measures are determined based on the distribution and the cause of the temperature increase, including:
[0010] According to the distribution situation, determine the number of hot spot devices distributed in each cabinet in the computer room;
[0011] When the distribution number of a certain cabinet is greater than the preset distribution number, a certain cabinet is determined as a hot spot area cabinet; based on the heating reasons corresponding to each hot spot device in the hot spot area cabinet, the regional heating reasons corresponding to the hot spot area cabinet are determined; according to the regional heating reasons, temperature control measures are determined.
[0012] In one embodiment, based on the temperature rise reasons corresponding to the hot spot devices in the hot spot area cabinets, determining the regional temperature rise reasons corresponding to the hot spot area cabinets includes:
[0013] Determine the number of first hot spot devices corresponding to the first temperature rise reason in the cabinets in the hot spot area, and the number of second hot spot devices corresponding to the second temperature rise reason in the cabinets in the hot spot area;
[0014] When the number of first hotspot devices is greater than half of the number of hotspot devices in the hotspot area cabinet, the first heating reason is determined as the regional heating reason corresponding to the hotspot area cabinet; when the number of second hotspot devices is greater than half of the number of hotspot devices in the hotspot area cabinet, the second heating reason is determined as the regional heating reason corresponding to the hotspot area cabinet.
[0015] In one embodiment, temperature control measures are determined based on the cause of regional temperature rise, including:
[0016] When the cause of regional temperature rise is characterized by increased computing load, lowering the air outlet temperature of the air conditioner is determined as a temperature control measure; when the cause of regional temperature rise is characterized by environmental factors, checking the air conditioner is determined as a temperature control measure.
[0017] In one embodiment, based on the temperature information of each computer in the computer room, determining a computer exceeding a temperature threshold as a hotspot device includes:
[0018] Obtaining multiple historical temperatures corresponding to each computer within a preset time range;
[0019] Determine the number of historical overtemperatures of historical temperatures greater than a temperature threshold;
[0020] When the historical over-temperature times are greater than the preset over-temperature times, the corresponding computer is determined as a hotspot device.
[0021] In one embodiment, determining the temperature rise reason of the hotspot device based on the calculated load information corresponding to the hotspot device and the temperature information at the same time includes:
[0022] Obtain the processor utilization rate of the hotspot device at the same time as the temperature information, and the historical processor utilization rate of the hotspot device;
[0023] determining a difference between the processor utilization and a historical processor utilization;
[0024] When the difference value is greater than the preset difference value, the first temperature rise reason is determined as the temperature rise reason of the hotspot device; when the difference value is less than or equal to the preset difference value, the second temperature rise reason is determined as the temperature rise reason of the hotspot device.
[0025] In a second aspect, the present application also provides a computer room temperature control device, the device comprising:
[0026] A first determination module is used to determine a computer exceeding a temperature threshold as a hotspot device based on temperature information of each computer in the computer room;
[0027] A second determination module is used to determine the temperature rise reason of the hotspot device based on the computing load information corresponding to the hotspot device and the temperature information at the same time; the temperature rise reason includes a first temperature rise reason caused by the increase of computing load and a second temperature rise reason caused by environmental factors;
[0028] A third determination module is used to determine the distribution of hotspot devices in the computer room based on the location information of the hotspot devices;
[0029] The control module is used to determine temperature control measures according to the distribution situation and the cause of temperature rise, and control the temperature of the computer room based on the temperature control measures.
[0030] In a third aspect, the present application further provides a temperature control device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of a computer room temperature control method in the first aspect are implemented.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of a computer room temperature control method in the first aspect are implemented.
[0032] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of a computer room temperature control method in the first aspect above.
[0033] The above-mentioned computer room temperature control method, device, computer equipment, computer-readable storage medium and computer program product, by determining the overheated computer in the room as a hot spot device, and using the computer's calculation to determine the cause of the device's heating, can clarify whether the computer's heating is caused by its own excessive load or by excessively high ambient temperature, providing an accurate and reliable basis for subsequent steps. Then, based on the heating cause and distribution of the equipment, the temperature control measures are comprehensively determined, which can rise from the specific hot spot device to the regional part or the whole of the room, so that more accurate measures for the room temperature control can be determined. At the same time, there is no need to add dedicated room temperature control acquisition equipment, etc., so the cost is lower and more flexible, and there is no situation such as limited distribution of dedicated equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of a flow chart of a computer room temperature control method in one embodiment;
[0036] Figure 2 Another schematic diagram of a flow chart of a computer room temperature control method in one embodiment;
[0037] Figure 3 It is a diagram of the equipment organization structure corresponding to the computer room temperature control method in one embodiment;
[0038] Figure 4 A schematic diagram of the principle of temperature rise alarm judgment for a single device in one embodiment;
[0039] Figure 5 A schematic diagram of the principle of temperature rise cause identification in one embodiment;
[0040] Figure 6 A schematic diagram of the impact of a computer room air conditioner failure in an embodiment;
[0041] Figure 7 is a structural block diagram of a temperature control device for a computer room in one embodiment;
[0042] Figure 8 FIG. 1 is a diagram showing the internal structure of a temperature control device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. The multiple references herein may be two and / or more than two unless otherwise specified.
[0044] In one embodiment, Figure 1 As shown, a computer room temperature control method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes steps S101 to S104:
[0045] Step S101: Based on the temperature information of each computer in the computer room, determine the computer that exceeds the temperature threshold as a hot spot device.
[0046] The number of computer rooms may be one or more.
[0047] The connotation of computer can be understood in a broad sense, which can be an electronic device that can automatically process and handle various data and information according to instructions. For example, it can be but not limited to various desktop computers, laptops, all-in-one computers, etc. It can also be supercomputers, mainframe computers, servers, workstations, personal computers (PC), edge computing devices, etc.
[0048] For example, in a computer room (hereinafter referred to as the computer room), there are computers placed, and the temperature information of the computers can be obtained. Based on the temperature information, it can be determined which computers have higher temperatures, that is, they exceed the temperature threshold. The computers that exceed the temperature threshold are determined as hot spot devices, which facilitates the subsequent steps of determining the cause of the temperature increase.
[0049] For example, the computer may have a function of monitoring its own hardware temperature, that is, the computer can identify its own temperature condition and thus generate corresponding temperature information.
[0050] Step S102: Determine the temperature rise reason of the hotspot device based on the calculation load information corresponding to the hotspot device and the temperature information of the same period; the temperature rise reason includes a first temperature rise reason caused by an increase in calculation load and a second temperature rise reason caused by environmental factors.
[0051] The computing load information may be information characterizing the working condition of the computer, such as the utilization rate of the CPU.
[0052] For example, the hotspot device determined by the above steps has a high temperature, but the reason for the temperature increase may be environmental factors, such as the air conditioner in the computer room is not turned on, etc., or it may be a reason of the computer device itself, such as the computer's computing task is too large and causes severe heating. In view of this, the temperature increase reason of the hotspot device can be analyzed according to the computing load information of the hotspot device. Specifically, the temperature increase reason can include a first temperature increase reason caused by an increase in computing load and a second temperature increase reason caused by environmental factors.
[0053] Exemplarily, the period corresponding to the calculated load information may be the same as the period corresponding to the temperature information, thereby avoiding the accuracy of determining the cause of the temperature rise being affected by the different periods.
[0054] Exemplarily, the temperature increase reason may be the first temperature increase reason, the second temperature increase reason, or the combined effect of the first temperature increase reason and the second temperature increase reason.
[0055] Step S103: Based on the location information of the hotspot devices, determine the distribution of the hotspot devices in the computer room.
[0056] The location information may be location information indicating the location of the hotspot device, wherein the location may include an absolute location, a relative location, and a combination of the two. For example, the relative location may be the first computer on the left side of the main entrance of the computer room, and the absolute location may be the computer numbered 1 on the cabinet numbered 1 in the computer room. Exemplarily, the location may also include a physical location and a virtual location. For example, the physical location may be that the hotspot device is in cabinet No. 1 of computer room No. 1, and the virtual location may be the virtual location code assigned to the hotspot device in the entire computer room. Exemplarily, a physical location may correspond to a virtual location, and the two have a mapping relationship. The virtual location may be used to verify whether the physical location is correct.
[0057] For example, the distribution of hotspot devices in the computer room can be determined by the location information of the hotspot devices. For example, the distribution can be that multiple hotspot devices appear in the same cabinet, or that computer room 1 and computer room 2 share the same air conditioner host, and multiple hotspot devices appear in both computer room 1 and computer room 2.
[0058] Step S104: Determine temperature control measures according to the distribution and the cause of temperature rise, and control the temperature of the computer room based on the temperature control measures.
[0059] Among them, temperature control measures can be understood in a broad sense. They can be direct and specific temperature adjustment measures, such as lowering the cooling temperature of the computer room air conditioner, or they can be indirect measures that help ensure the appropriate temperature of the computer room. For example, if the computer room air conditioner fails, the corresponding temperature control measure can be to repair the air conditioner.
[0060] For example, since the temperature rise reasons and distribution of hot spot devices are obtained through the above steps, temperature control measures can be taken in a targeted manner according to the temperature rise reasons and distribution to adjust the temperature of the computer room. For example, computer room 1 and computer room 2 share the same air conditioner host, and multiple hot spot devices appear in both computer rooms 1 and 2. The corresponding temperature rise reasons are characterized as environmental factors causing the temperature rise. Therefore, it can be determined that there is a problem with the air conditioner host and the air conditioner needs to be repaired.
[0061] In this embodiment, by determining the overheated computer in the computer room as a hot spot device, and using the computer's calculation to determine the cause of the device's heating, it can be clear whether the computer's heating is caused by its own excessive load or by excessively high ambient temperature, providing an accurate and reliable basis for subsequent steps. Then, based on the heating cause and distribution of the equipment, the temperature control measures are comprehensively determined, which can be moved from the specific hot spot device to the area of the computer room, part or the whole, so that more accurate measures for the temperature control of the computer room can be determined. At the same time, the above technical solution does not require the addition of dedicated computer room temperature control acquisition equipment, etc., and therefore, the cost is lower and more flexible, and there is no situation such as limited distribution of dedicated equipment.
[0062] In one of the embodiments, "determining temperature control measures based on distribution conditions and temperature rise reasons" in the aforementioned embodiments may include: determining the distribution quantity of hot spot devices in each cabinet in the computer room based on the distribution conditions; determining a cabinet as a hot spot area cabinet when the distribution quantity of a cabinet is greater than a preset distribution quantity; determining the regional temperature rise reasons corresponding to the hot spot area cabinets based on the temperature rise reasons corresponding to each hot spot device in the hot spot area cabinets; and determining temperature control measures based on the regional temperature rise reasons.
[0063] For example, since there may be a large number of computers in a computer room, and the temperature control of the computer room is not targeted at one or two specific computers in the computer room, it is necessary to use the concept of "area" to manage the temperature control of the computer room. For example, there may be multiple cabinets in a computer room, each of which can hold multiple computers. For this, the cabinet can be used as a regional unit for zone temperature control.
[0064] For example, the number of hot spot devices in the cabinet can be determined. If the number of hot spot devices exceeds the preset number, the cabinet can be determined to be a hot spot cabinet. For example, half of the total number of computers placed in the cabinet can be used as the preset number of computers. For another example, the total number of computers placed in the cabinet here can correspond to computers in normal working state, rather than standby, sleep, fault, etc.
[0065] For example, the causes of temperature rise in the corresponding area can be determined for the cabinets in the hot spot area, such as temperature rise caused by environmental factors, temperature rise caused by excessive computer load, etc., and then corresponding temperature control measures can be taken according to the causes of temperature rise in the area.
[0066] In this embodiment, the temperature of the computer room is controlled by using the cabinets as zones. Specifically, the cabinets in the hot spot area are determined according to the number of hot spot devices in the cabinets, so as to determine the temperature rise reasons of the corresponding area for the cabinets in the hot spot area, and then determine the corresponding temperature control measures. This makes the temperature control of the computer room more refined and directly hits the area with abnormal temperature, and avoids affecting other areas with normal temperature due to the same temperature control measures for the entire computer room, which helps to improve the accuracy of the temperature control of the computer room.
[0067] In one of the embodiments, the "determining the regional heating cause corresponding to the hot spot area cabinet based on the heating cause corresponding to each hot spot device in the hot spot area cabinet" in the aforementioned embodiment may include: determining the number of first hot spot devices corresponding to the first heating cause in the hot spot area cabinet, and the number of second hot spot devices corresponding to the second heating cause in the hot spot area cabinet; when the number of first hot spot devices is greater than half of the number of hot spot devices in the hot spot area cabinet, determining the first heating cause as the regional heating cause corresponding to the hot spot area cabinet; when the number of second hot spot devices is greater than half of the number of hot spot devices in the hot spot area cabinet, determining the second heating cause as the regional heating cause corresponding to the hot spot area cabinet.
[0068] For example, since there may be multiple hot spot devices in the same hot spot area cabinet, and the temperature rise reasons corresponding to different hot spot devices may be different, the temperature rise reason corresponding to the hot spot area cabinet can be determined accordingly.
[0069] The regional temperature rise reason may reflect the temperature rise reason that causes the cabinet to become a cabinet in the hot spot area. For example, the regional temperature rise reason may be a reason that plays a major role in the multiple temperature rise reasons that cause the cabinet to become a cabinet in the hot spot area.
[0070] Exemplarily, "more than half" can be used as the basis for determining the regional temperature rise reason. For example, the number of hot spot devices in the hot spot area cabinet is 100, of which 66 hot spot devices have the first temperature rise reason. Since 66 is greater than half of 100 (ie, 50), the first temperature rise reason can be determined as the regional temperature rise reason corresponding to the hot spot area cabinet.
[0071] Exemplarily, the basis for determining the cause of regional heating may also include the following method: compare the number of hotspot devices corresponding to the first heating cause and the number of hotspot devices corresponding to the second heating cause in the hotspot area cabinet, and use the heating cause corresponding to the larger number as the regional heating cause. For example, the number of hotspot devices corresponding to the first heating cause in the hotspot area cabinet is 66, and the number of hotspot devices corresponding to the second heating cause in the hotspot area cabinet is 55. Since 66 is greater than 55, the first heating cause is used as the regional heating cause. This can deal with situations where the number of hotspot devices is small and may not exceed half.
[0072] Exemplarily, the difference between the number of hotspot devices corresponding to the first temperature rise reason and the number of hotspot devices corresponding to the second temperature rise reason in the hotspot area cabinet is also determined. If the difference does not reach the preset threshold, the regional temperature rise reason is re-determined. When the difference is too small, it means that the current temperature in the hotspot area cabinet may be affected by the first temperature rise reason and the second temperature rise reason at the same time, or there may be an error, so the regional temperature rise reason can be re-determined. Exemplarily, if the re-determined difference still does not reach the preset threshold when re-determining the regional temperature rise reason, and the number of repetitions reaches the preset number of repetitions, it can be reported to the management system and the staff can be notified to handle it.
[0073] In this embodiment, for the hot spot area cabinets, the temperature rise reasons corresponding to the hot spot devices in the hot spot area cabinets are used to determine the regional temperature rise reasons corresponding to the hot spot area cabinets. This enables the regional temperature rise reasons to accurately reflect the real reasons that cause the temperature rise of the hot spot area cabinets, thereby providing an accurate basis for subsequent steps such as determining temperature control measures.
[0074] In one of the embodiments, "determining temperature control measures according to the cause of regional temperature rise" in the aforementioned embodiment may include: when the cause of regional temperature rise is characterized by the temperature rise being caused by an increase in computing load, determining to lower the air outlet temperature of the air conditioner as a temperature control measure; when the cause of regional temperature rise is characterized by the temperature rise being caused by environmental factors, determining to check the air conditioner as a temperature control measure.
[0075] For example, in the case where the temperature rises due to high computer load, the air conditioning cooling can be increased to control the temperature of the computer room; in the case where the temperature rises due to environmental factors, it may be caused by the air conditioning not working properly, so the air conditioning can be checked.
[0076] In this embodiment, corresponding temperature control measures are determined by distinguishing between computing load factors and environmental factors, which makes the temperature control measures targeted and helps to ensure that the temperature control measures can accurately solve the problem of abnormal temperature in the computer room.
[0077] In one of the embodiments, the aforementioned embodiment of “determining, based on the temperature information of each computer in the computer room, that a computer exceeding a temperature threshold is used as a hotspot device” may include: obtaining a plurality of historical temperatures corresponding to each computer within a preset time range; determining the number of historical over-temperature times of historical temperatures greater than the temperature threshold; and determining the corresponding computer as a hotspot device when the number of historical over-temperature times is greater than a preset number of over-temperature times.
[0078] The preset time range may be a preset time range starting from the current time point and tracing back to the past. For example, if the current time point is 10 o'clock, the preset time range may be the time range from 9:50 to 10 o'clock.
[0079] In this embodiment, the computer is comprehensively determined to be overheated, that is, whether it is a hotspot device, by using multiple historical temperatures of the computer within a preset time range. This helps to ensure that the temperature rise of the hotspot device is relatively stable rather than instantaneous, thereby ensuring that the determined hotspot device is more accurate, providing an accurate basis for subsequent steps such as determining the cause of the temperature rise and temperature control measures.
[0080] In one of the embodiments, the “determining the temperature rise reason of the hotspot device based on the computing load information corresponding to the hotspot device and the temperature information in the same period” in the aforementioned embodiment may include: obtaining the processor utilization corresponding to the hotspot device and the temperature information in the same period, and the historical processor utilization corresponding to the hotspot device; determining the difference between the processor utilization and the historical processor utilization; when the difference is greater than a preset difference, determining the first temperature rise reason as the temperature rise reason of the hotspot device; when the difference is less than or equal to the preset difference, determining the second temperature rise reason as the temperature rise reason of the hotspot device.
[0081] For example, the load condition of the hotspot device may be reflected by the processor utilization of the hotspot device. If the processor utilization is high, the corresponding load may be large.
[0082] For example, in addition to using the processor utilization, the memory usage, hard disk read and write status, graphics card usage, etc. during the same period can also be used to make a comprehensive judgment or perform verification.
[0083] In this embodiment, by obtaining the processor utilization rate of the hotspot device at the same time as the temperature information, and using the difference between the processor utilization rate and the historical processor utilization rate, it is determined whether the hotspot device is overloaded, and then the temperature rise reason of the hotspot device is determined. This makes the determined temperature rise reason better match the actual situation of the corresponding hotspot device, thereby providing an accurate basis for subsequent steps such as determining temperature control measures.
[0084] In one of the embodiments, the reasons for the temperature rise in the area corresponding to the cabinets in the hot spot area may include both the first temperature rise reason and the second temperature rise reason. Accordingly, the temperature control measures may include giving a prompt that the computer equipment in the cabinets in the hot spot area is under heavy load, and checking the air conditioner in the computer room.
[0085] In this example, for the abnormal temperature in the computer room caused by both heavy load and environmental factors, on the one hand, it is necessary to check the air conditioner in the computer room and restore the normal operation of the air conditioner in time. On the other hand, a heavy load prompt is given to inform the staff of the corresponding computer equipment status to facilitate the staff to make decisions.
[0086] In an exemplary embodiment, the computer room can be a data center room, which usually installs dedicated temperature monitoring hardware devices for indicator collection and monitoring. They require additional costs to install and have limited locations. If a user rents a room to install his own equipment, he may not have the authority to access the temperature monitoring data of the room, and the operation and maintenance are relatively passive. In addition, there is also analysis based on cabinet and equipment air inlet temperature monitoring, but it does not consider the root cause of the temperature increase caused by the equipment's own load operation, so it is impossible to distinguish whether the temperature increase is caused by a dynamic air conditioning failure or a temperature change caused by the server load. In view of this, a computer room temperature control method is provided below, which can be applied to data center rooms. As Figure 2 As shown, the method may include steps 1 to 6:
[0087] Step 1: Obtain information about the cabinets, racks, switches, and servers in the computer room.
[0088] Step 2: Continuously obtain temperature and CPU utilization indicator data of switches and servers.
[0089] Step 3: Identify the hotspot devices where the temperature indicator rises above the threshold.
[0090] Step 4: Check whether the CPU utilization of hotspot devices increases during the same period to determine the cause of the temperature increase.
[0091] Step 5: Determine whether the hotspot devices are concentrated in the cabinet or room based on their location. This corresponds to the "distribution of hotspot devices."
[0092] Step 6: Based on the hot spot distribution and predicted temperature rise reasons, output temperature control measures prompts.
[0093] like Figure 3 As shown, a possible device organization architecture corresponding to the temperature control method of the computer room is provided. In the framework, network devices and servers are the objects to be monitored in the data center, and temperature and CPU utilization information are collected from them. The functions of other main components are as follows:
[0094] Resource database: stores basic information of data center network devices and servers (device type, management port IP or BMC IP, device name, asset number, etc.), and location information (computer room, cabinet rack position, etc.).
[0095] Data collector: mainly collects device temperature and CPU utilization indicators. It collects data by accessing the management port of network devices through the SNMP protocol and by accessing the BMC port of servers through the IPMI protocol. It polls and collects data regularly to obtain time series indicator data, such as collecting indicators of each device every 1 minute.
[0096] Time series database: It stores the equipment temperature and utilization time series indicator data sent by the data collector for subsequent analysis and presentation.
[0097] Data Analyzer: It regularly queries device indicator data from the time series database to identify devices with sudden temperature increases and high-load devices with sudden CPU utilization increases. It combines the device location information obtained from the resource database to determine whether there are concentrated hot spots. It conducts comprehensive analysis to derive the cause of the temperature increase and provide treatment suggestions.
[0098] The following is a detailed description of the workflow sequence of the data analyzer:
[0099] Step 1: Device temperature rise alarm. The preset device temperature index is collected every 1 minute, and the over-temperature threshold is 60 degrees Celsius. For a single device, determine whether its temperature change forms a temperature rise alarm. Figure 4 As shown, a possible single device temperature rise alarm judgment logic strategy is provided.
[0100] Step 2: Equipment load correlation analysis. The CPU utilization index of the preset equipment is collected every 1 minute, and the year-on-year growth threshold of yesterday is X (experience value). For a single device, determine whether the CPU utilization load change has increased. Figure 5 As shown, a possible strategy for identifying the causes of warming is provided.
[0101] Step 3: Identify hotspot areas and analyze the causes of temperature rise. Combining the processing results of steps 1 and 2, we can find out the hotspot devices in a computer room that have increased temperature, and identify the causes of their temperature rise. Combined with the "resource database", query the distribution of hotspot devices and determine the cabinets where they are located. Identify the cabinets in the hotspot area according to the following process rules:
[0102] Rule 1: The number of devices on a cabinet is N. If N is greater than 3 and 50% of the devices are identified as hotspot devices, the cabinet is identified as a hotspot cabinet.
[0103] Rule 2: If the number of cabinets in the equipment room identified as hotspots is more than one, further count the main root causes of the hotspot devices in the cabinets, and use the root causes that exceed half as the conclusion;
[0104] Rule 3: If the conclusion is that the temperature rise is caused by increased load, it is recommended to lower the air outlet temperature of the air conditioner; if the conclusion is that the temperature rise is caused by environmental factors, it is recommended to check on-site whether the temperature and cooling are faulty.
[0105] like Figure 6 As shown, a possible schematic diagram of the impact of a computer room air conditioner failure is provided, in which when the computer room air conditioner fails, multiple cabinet devices are heated up. The temperature rise caused by the high load operation of user business applications and the increased load of equipment is relatively scattered or concentrated in individual cabinets.
[0106] In this embodiment, by combining the two indicators of equipment temperature and CPU utilization for comprehensive analysis, it is possible to identify the temperature increase caused by the increase in business application load, and then output whether it is a failure of the air conditioner in the computer room or whether the air conditioner temperature needs to be lowered. The temperature indicators provided by the device's own sensors are used for monitoring, and there is no reliance on dedicated hardware devices to obtain the ambient temperature, which is lower in cost, more flexible and independent of distribution; at the same time, for rented computer rooms or simple computer room environments, network equipment and server maintenance users can obtain temperature data and actively operate and maintain.
[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides a computer room temperature control device for implementing the computer room temperature control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more computer room temperature control device embodiments provided below can refer to the limitations of the computer room temperature control method above, and will not be repeated here.
[0109] In an exemplary embodiment, Figure 7 As shown, a computer room temperature control device 700 is provided, comprising:
[0110] The first determination module 701 is used to determine the computer exceeding the temperature threshold as a hotspot device based on the temperature information of each computer in the computer room;
[0111] The second determination module 702 is used to determine the temperature rise reason of the hotspot device based on the computing load information corresponding to the hotspot device and the temperature information at the same time; the temperature rise reason includes a first temperature rise reason caused by the increase of computing load and a second temperature rise reason caused by environmental factors;
[0112] The third determination module 703 is used to determine the distribution of hotspot devices in the computer room based on the location information of the hotspot devices;
[0113] The control module 704 is used to determine the temperature control measures according to the distribution situation and the temperature rise reason, and control the temperature of the computer room based on the temperature control measures.
[0114] In one embodiment, the control module 704 is further configured to determine temperature control measures according to the distribution and the temperature rise reasons, including:
[0115] According to the distribution situation, determine the number of hot spot devices distributed in each cabinet in the computer room;
[0116] When the distribution number of a certain cabinet is greater than the preset distribution number, a certain cabinet is determined as a hot spot area cabinet; based on the heating reasons corresponding to each hot spot device in the hot spot area cabinet, the regional heating reasons corresponding to the hot spot area cabinet are determined; according to the regional heating reasons, temperature control measures are determined.
[0117] In one embodiment, the control module 704 is further configured to determine the regional temperature rise reason corresponding to the hot spot area cabinet based on the temperature rise reason corresponding to each hot spot device in the hot spot area cabinet, including:
[0118] Determine the number of first hot spot devices corresponding to the first temperature rise reason in the cabinets in the hot spot area, and the number of second hot spot devices corresponding to the second temperature rise reason in the cabinets in the hot spot area;
[0119] When the number of first hotspot devices is greater than half of the number of hotspot devices in the hotspot area cabinet, the first heating reason is determined as the regional heating reason corresponding to the hotspot area cabinet; when the number of second hotspot devices is greater than half of the number of hotspot devices in the hotspot area cabinet, the second heating reason is determined as the regional heating reason corresponding to the hotspot area cabinet.
[0120] In one of the embodiments, the control module 704 is also used to determine temperature control measures based on the cause of regional temperature rise, including: when the cause of regional temperature rise is characterized by the temperature rise caused by increased computing load, determining to lower the air outlet temperature of the air conditioner as a temperature control measure; when the cause of regional temperature rise is characterized by the temperature rise caused by environmental factors, determining to check the air conditioner as a temperature control measure.
[0121] In one of the embodiments, the first determination module 701 is also used to determine a computer that exceeds a temperature threshold as a hotspot device based on the temperature information of each computer in the computer room, including: obtaining multiple historical temperatures corresponding to each computer within a preset time range; determining the number of historical over-temperature times of historical temperatures greater than the temperature threshold; when the number of historical over-temperature times is greater than the preset number of over-temperature times, determining the corresponding computer as a hotspot device.
[0122] In one embodiment, the second determination module 702 is further configured to determine the temperature rise reason of the hotspot device based on the calculated load information corresponding to the hotspot device and concurrent with the temperature information, including:
[0123] Obtain the processor utilization rate of the hotspot device at the same time as the temperature information, and the historical processor utilization rate of the hotspot device;
[0124] determining a difference between the processor utilization and a historical processor utilization;
[0125] When the difference value is greater than the preset difference value, the first temperature rise reason is determined as the temperature rise reason of the hotspot device; when the difference value is less than or equal to the preset difference value, the second temperature rise reason is determined as the temperature rise reason of the hotspot device.
[0126] Each module in the computer room temperature control device 700 can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0127] In an exemplary embodiment, a temperature control device is provided. The temperature control device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The temperature control device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the temperature control device is used to provide computing and control capabilities. The memory of the temperature control device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the temperature control device is used to store data required to implement computer room temperature control, such as the temperature and location information of the computer. The input / output interface of the temperature control device is used to exchange information between the processor and external devices. The communication interface of the temperature control device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a computer room temperature control method is implemented.
[0128] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the temperature control device to which the scheme of the present application is applied. The specific temperature control device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0129] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0130] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0131] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0132] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0134] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A computer room temperature control method, characterized in that: The method comprises: Based on the temperature information of each computer in the computer room, determining the computer exceeding the temperature threshold as a hot spot device; Based on the computing load information corresponding to the hotspot device and in the same period as the temperature information, determining the temperature rise reason of the hotspot device; the temperature rise reason includes a first temperature rise reason caused by the increase of computing load and a second temperature rise reason caused by environmental factors; Based on the location information of the hotspot device, determining the distribution of the hotspot device in the computer room; According to the distribution and the temperature rise reason, a temperature control measure is determined, and based on the temperature control measure, the temperature of the computer room is controlled.
2. The method according to claim 1, characterized in that Determining temperature control measures according to the distribution and the temperature rise reasons includes: According to the distribution situation, determining the distribution quantity of the hot spot devices in each cabinet in the computer room; When the distribution quantity of a certain cabinet is greater than a preset distribution quantity, determining the certain cabinet as a hot spot area cabinet; Based on the temperature rise reasons corresponding to the hot spot devices in the hot spot area cabinets, determining the regional temperature rise reasons corresponding to the hot spot area cabinets; The temperature control measures are determined according to the reasons for the temperature rise in the area.
3. The method according to claim 2, characterized in that The determining the regional temperature rise reason corresponding to the cabinet in the hot spot area based on the temperature rise reason corresponding to each of the hot spot devices in the cabinet in the hot spot area includes: Determine the number of first hot spot devices corresponding to the first temperature rise reason in the cabinets in the hot spot area, and the number of second hot spot devices corresponding to the second temperature rise reason in the cabinets in the hot spot area; When the number of the first hot spot devices is greater than half of the number of the hot spot devices in the hot spot area cabinet, determining the first temperature increase reason as the regional temperature increase reason corresponding to the hot spot area cabinet; When the number of the second hot spot devices is greater than half of the number of the hot spot devices in the hot spot area cabinet, the second temperature increase reason is determined as the regional temperature increase reason corresponding to the hot spot area cabinet.
4. The method according to claim 2, characterized in that: Determining the temperature control measures according to the cause of the temperature rise in the area includes: In the case where the temperature rise in the area is caused by an increase in the computing load, determining to lower the air outlet temperature of the air conditioner as the temperature control measure; In the case where the cause of the temperature rise in the area is characterized by environmental factors causing the temperature rise, it is determined to check the air conditioner as the temperature control measure.
5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the computer exceeding a temperature threshold as a hotspot device based on the temperature information of each computer in the computer room includes: Acquire a plurality of historical temperatures corresponding to each of the computers within a preset time range; Determine the number of historical over-temperatures of the historical temperature greater than the temperature threshold; When the historical over-temperature times are greater than the preset over-temperature times, the corresponding computer is determined as the hotspot device.
6. The method according to any one of claims 1 to 4, characterized in that: The determining the temperature rise reason of the hotspot device based on the calculated load information corresponding to the hotspot device and concurrent with the temperature information includes: Obtaining a processor utilization rate corresponding to the hotspot device in the same period as the temperature information, and a historical processor utilization rate corresponding to the hotspot device; Determine a difference between the processor utilization and the historical processor utilization; When the difference value is greater than a preset difference value, determining the first temperature increase reason as the temperature increase reason of the hot spot device; When the difference value is less than or equal to a preset difference value, the second temperature increase reason is determined as the temperature increase reason of the hotspot device.
7. A computer room temperature control device, characterized in that: The device comprises: A first determination module, configured to determine, based on temperature information of each computer in the computer room, the computer exceeding a temperature threshold as a hotspot device; A second determination module is used to determine the temperature rise reason of the hotspot device based on the computing load information corresponding to the hotspot device and the temperature information at the same time; the temperature rise reason includes a first temperature rise reason caused by the increase of computing load and a second temperature rise reason caused by environmental factors; A third determination module, configured to determine the distribution of the hotspot devices in the computer room based on the location information of the hotspot devices; The control module is used to determine temperature control measures according to the distribution and the temperature rise reasons, and control the temperature of the computer room based on the temperature control measures.
8. A temperature control device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.