Method, apparatus, device and medium for determining inlet air temperature of a server
By setting up multiple temperature sensors on the backplate of the front hard disk inside the server and obtaining the inlet air temperature correction parameters in combination with the hardware layout, the misreading of the temperature sensor caused by hot air reflux is solved, and the accurate estimation of the inlet air temperature is achieved, and the energy consumption and maintenance costs of the computer room are reduced.
Patent Information
- Application Number
- CN202210070952.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-01-21
AI Technical Summary
In the prior art, due to the unreasonable design of the air duct in the computer room or the reflux of the cabinet, the air inlet temperature detected by the temperature sensor at the server box ear is too high, affecting the accuracy of the temperature control system in the computer room and increasing the power consumption and maintenance costs of the air conditioner.
By setting multiple temperature sensors on the backplate of the front hard disk inside the server, the real-time measurement temperature is obtained, and the target inlet air temperature correction parameters are obtained according to the hardware layout, and the measured temperature correction value is calculated to estimate the inlet air temperature of the server to avoid the impact of hot air return on the measurement results.
It improves the calculation accuracy of the server air inlet temperature, reduces the energy consumption and maintenance costs of the computer room, and ensures the accuracy and efficient operation of the computer room temperature control system.
Smart Images

Figure CN114401621B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of servers, and in particular, to a method, apparatus, device, and medium for determining the inlet air temperature of a server. Background Art
[0002] Servers are placed in batches in a computer room, and the temperature of the computer room is controlled by the air conditioner in the computer room to enable the servers to operate at an appropriate temperature. In the prior art, the inlet air temperature of the server is mainly monitored by temperature sensors arranged at the box ear positions of the server, and the air conditioner in the computer room is regulated according to the inlet air temperature.
[0003] However, when the air duct design of the computer room is unreasonable or there are gaps between the cabinets, the hot air on the outlet side of the server will flow back to the box ear position of the server, resulting in a backflow phenomenon. When there is a backflow phenomenon, the temperature sensor at the box ear position is baked by the backflow hot air, which will cause the temperature detected by the temperature sensor to be much higher than the current ambient temperature, and further lead to the problem of increased air conditioner power due to the misreduction of the air conditioner temperature; when the temperature detected by the temperature sensor is too high, it will even trigger an alarm in the computer room temperature control system, increasing the maintenance cost of the computer room. Summary of the Invention
[0004] Embodiments of the present invention provide a method, apparatus, device, and medium for determining the inlet air temperature of a server, so as to provide a new way to determine the inlet air temperature of the server and improve the calculation accuracy of the inlet air temperature of the server.
[0005] In a first aspect, an embodiment of the present invention provides a method for determining the inlet air temperature of a server, which includes:
[0006] Obtain the real-time measured temperature of the heat source separation area in the server;
[0007] Obtain a target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area;
[0008] Calculate a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimate the inlet air temperature of the server using the measured temperature correction value.
[0009] Optionally, the obtaining the real-time measured temperature of the heat source separation area in the server includes: obtaining a plurality of temperature measurement values through at least two temperature sensors arranged on the front hard disk backplane in the server; calculating the real-time measured temperature of the heat source separation area according to the plurality of temperature measurement values.
[0010] One embodiment of the above invention has the following advantages or beneficial effects: By setting the temperature sensor on the front hard disk backplane inside the server, it is possible to avoid the influence of the backflow phenomenon on the test results and also block the influence of the heat-generating components in the server on the measurement results to the greatest extent, so that the measurement results can be closest to the actual inlet air temperature of the server. At the same time, by jointly determining the real-time measurement temperature using the temperature measurement values of multiple temperature sensors, the accuracy of the measurement results can be further improved.
[0011] Optionally, the obtaining of the target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area includes:
[0012] Query the BMC (Baseboard Management Controller) in the server to obtain the number of target front hard disk backplanes included in the server;
[0013] Query the mapping relationship between the number of front hard disk backplanes and the inlet air temperature correction parameter preset, and obtain the target inlet air temperature correction parameter matching the number of target front hard disk backplanes.
[0014] One embodiment of the above invention has the following advantages or beneficial effects: By selecting a matching inlet air temperature correction parameter to correct the real-time measurement temperature according to the actual number of front hard disk backplanes included in the server, it is possible to calculate a more accurate inlet air temperature of the server according to the actual hardware configuration environment of the temperature sensor.
[0015] Optionally, before obtaining the real-time measurement temperature of the heat source separation area in the server, it further includes:
[0016] Obtain a test server, where the test server includes a target number of front hard disk backplanes;
[0017] Obtain the environmental temperature curve of the test server in different working environments and the real-time measurement temperature curve of the heat source separation area in the test server, and determine the correction coefficient adjustment range according to each environmental temperature curve and real-time measurement temperature curve;
[0018] According to the difference curve between each environmental temperature change curve and real-time measurement temperature change curve, search within the correction coefficient adjustment range to obtain the inlet air temperature correction parameter that meets the temperature correction condition;
[0019] Establish the mapping relationship between the obtained inlet air temperature correction parameter and the target number.
[0020] One embodiment of the above invention has the following advantages or beneficial effects: By comparing the difference between the measured temperature and the actual temperature of the test server according to the number of front hard disk backplanes, the air inlet temperature correction parameters corresponding to the number of front hard disk backplanes can be accurately and reliably determined, and then the final measured temperature correction value can be ensured to be closest to the actual air inlet temperature of the server to the greatest extent.
[0021] Optionally, obtaining the ambient temperature curve of the test server in different working environments and the real-time measured temperature curve of the heat source separation area in the test server, and determining the adjustment range of the correction coefficient according to each ambient temperature curve and real-time measured temperature curve includes:
[0022] Obtaining the first target ambient temperature curve and the first target real-time measured temperature curve of the test server in the extreme working environment;
[0023] Calculating the first maximum temperature difference matching the extreme working environment according to the first target ambient temperature curve and the first target real-time measured temperature curve;
[0024] Obtaining the second target ambient temperature curve and the second target real-time measured temperature curve of the test server in multiple normal working environments;
[0025] Calculating the second maximum temperature difference matching each normal working environment according to each second target ambient temperature curve and the second target real-time measured temperature curve;
[0026] Determining the adjustment range of the correction coefficient according to the first maximum temperature difference and each second maximum temperature difference.
[0027] One embodiment of the above invention has the following advantages or beneficial effects: By obtaining the corresponding ambient temperature curve and real-time measured temperature curve according to the test server in different working environments to determine the adjustment range of the correction coefficient, the calculated adjustment range of the correction coefficient can be made more accurate, and then the air inlet temperature correction parameters that more reasonably meet the temperature correction conditions can be obtained.
[0028] Optionally, the extreme working environment is that the test server is in the lowest temperature environment and the front hard disk backplane is in a full load state;
[0029] The normal working environment is that the test server is within the normal working temperature range, and the server is in any one of the idle state, the front hard disk backplane is in a full load state, or the server is in a full load state.
[0030] One embodiment of the above invention has the following advantages or beneficial effects: By placing the test server in an extreme working environment and a normal working environment, the ambient temperature curve and the real-time measured temperature curve are further measured, so that the adjustment range of the calculated correction coefficient can be made more accurate. This not only avoids the introduction of ineffective computational workload when the adjustment range of the correction coefficient is set too large, but also prevents the situation where the adjustment range of the correction coefficient is set too small and the most suitable intake air temperature correction parameter cannot be effectively selected.
[0031] Optionally, searching for the intake air temperature correction parameter that meets the temperature correction condition within the correction coefficient adjustment range according to the difference curve between each ambient temperature change curve and the real-time measured temperature change curve includes:
[0032] Within the correction coefficient adjustment range, obtain the intake air temperature correction parameters respectively with a preset increasing step size, and verify whether the corrected result curve is within the preset allowable fluctuation range after using each intake air temperature correction parameter to correct the difference curve;
[0033] For each intake air temperature correction parameter whose correction result is within the allowable fluctuation range, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each intake air temperature correction parameter;
[0034] Determine the intake air temperature correction parameter with the largest area of the lower half-axis curve of the X-axis as the intake air temperature correction parameter that meets the temperature correction condition.
[0035] One embodiment of the above invention has the following advantages or beneficial effects: After determining each intake air temperature correction parameter that meets the allowable fluctuation range, further select an intake air temperature correction parameter that maximizes the probability that the corrected measured temperature correction value is lower than the intake air temperature of the server. The above operation can minimize the probability that the finally estimated intake air temperature of the server is higher than the actual intake air temperature. Furthermore, it can greatly reduce the occurrence of misadjustment or false alarm of the computer room temperature due to the inaccuracy of this estimated value, and can further reduce the energy consumption of the computer room, thereby saving the operation cost.
[0036] Optionally, after calculating the measured temperature correction value according to the real-time measured temperature and the target intake air temperature correction parameter, and estimating the intake air temperature of the server using the measured temperature correction value, it further includes:
[0037] If it is determined that the measured temperature correction value is greater than or equal to a preset first threshold, generate a temperature adjustment prompt message to indicate reducing the temperature of the environment where the server is located, or if it is determined that the measured temperature correction value is greater than or equal to a preset second threshold, generate an abnormal temperature warning message.
[0038] One embodiment of the above invention has the following advantages or beneficial effects: It can control the computer room system to perform accurate temperature control, and efficiently provide accurate alarm information to relevant staff, improving the processing efficiency and reducing the cost of computer room maintenance.
[0039] In a second aspect, an embodiment of the present invention further provides a device for determining the inlet air temperature of a server. The device for determining the inlet air temperature of the server includes:
[0040] A real-time temperature measurement acquisition module, configured to acquire the real-time measured temperature of the heat source separation area in the server;
[0041] A target inlet air temperature correction parameter acquisition module, configured to acquire a target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area;
[0042] An inlet air temperature estimation module, configured to calculate a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimate the inlet air temperature of the server by using the measured temperature correction value.
[0043] In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements the method for determining the inlet air temperature of the server as described in any embodiment of the present invention.
[0044] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for determining the inlet air temperature of the server as described in any embodiment of the present invention.
[0045] The technical solution provided by the embodiment of the present invention solves the problem that the server is affected by the hot air reflux in the computer room, and the temperature sensor of the box ear is baked, resulting in too high an inlet air temperature read, thus affecting the computer room temperature control system. It realizes the technical effect of correcting the real-time measured temperature collected in the server with the most suitable target inlet air temperature correction parameter according to the actual hardware layout situation in the server to obtain an accurate estimated value of the inlet air temperature of the server, thereby improving the calculation accuracy of the inlet air temperature of the server and reducing the energy consumption and maintenance cost of the computer room to a certain extent. Description of the Drawings
[0046] Figure 1 This is a flowchart of a method for determining the inlet air temperature of a server provided in Embodiment 1 of the present invention;
[0047] Figure 2 This is a flowchart of another method for determining the inlet air temperature of a server provided in Embodiment 2 of the present invention;
[0048] Figure 3 This is a flowchart of a specific application scenario of the method provided in Embodiment 3 of the present invention;
[0049] Figure 4 This is a schematic structural diagram of a device for determining the inlet air temperature of a server provided in Embodiment 4 of the present invention;
[0050] Figure 5 This is a schematic structural diagram of a computer device provided in Embodiment 5 of the present invention. Detailed implementation manners
[0051] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of convenience of description, only parts related to the present invention rather than all structures are shown in the accompanying drawings.
[0052] Embodiment 1
[0053] Figure 1 This is a flowchart of a method for determining the inlet air temperature of a server provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of estimating the inlet air temperature of a server based on the internally measured temperature of the server. The method of this embodiment can be executed by a device for determining the inlet air temperature of the server, and this device can be implemented in a software and / or hardware manner, and this device can be configured in the server.
[0054] Correspondingly, the method specifically includes the following steps:
[0055] S110. Obtain the real-time measured temperature of the heat source separated area in the server.
[0056] Among them, the heat source separated area can be an area separated from the heat-generating components in the server. The real-time measured temperature can be the measured temperature obtained by measuring the temperature in the heat source separated area of the server.
[0057] Optionally, the obtaining the real-time measured temperature of the heat source separated area in the server may include: obtaining a plurality of temperature measurement values through at least two temperature sensors arranged on the front hard disk backplane in the server; calculating the real-time measured temperature of the heat source separated area according to the plurality of temperature measurement values.
[0058] Among them, the front hard disk backplane can be a hard disk backplane connected to the built-in array card of the server, which can determine the number of hard disks supported by the server. A temperature sensor can refer to a sensor that can sense temperature and convert it into an available output signal. The temperature sensor is the core part of the temperature measuring instrument and comes in a wide variety. According to the measurement method, it can be divided into two categories: contact type and non-contact type. According to the sensor material and electronic component characteristics, it can be divided into two categories: thermal resistance and thermocouple.
[0059] In the process of implementing the present invention, the inventor found that the installation position of the front hard disk backplane in the server is far from the heat-generating components (typically, the central processing unit) in the server and has a certain heat insulation function. Therefore, the area where the front hard disk backplane is located is selected as the heat source separation area in the server. By uniformly setting multiple temperature measurement values on the front hard disk backplane and collecting multiple temperature measurement values respectively through the multiple temperature measurement values, the incoming air temperature of the server is estimated.
[0060] Specifically, according to multiple temperature measurement values, the method of weighted average can be used to calculate a more accurate temperature measurement value, and further calculate the real-time measured temperature of the heat source separation area.
[0061] The advantage of such a setting is that by setting the temperature sensor on the front hard disk backplane inside the server, it can not only avoid the influence of the backflow phenomenon on the test result, but also block the influence of the heat-generating components in the server on the measurement result to the greatest extent, so that the measurement result can be closest to the actual incoming air temperature of the server. At the same time, by using the temperature measurement values of multiple temperature sensors to jointly determine the real-time measured temperature, the accuracy of the measurement result can be further improved.
[0062] Of course, it can be understood that in addition to obtaining the real-time measured temperature by weighted summation of multiple temperature measurement values measured by multiple temperature sensors, the real-time measured temperature can also be directly measured by only one temperature sensor, and this embodiment does not limit this.
[0063] S120. Obtain a target incoming air temperature correction parameter matching the server according to the hardware layout in the heat source separation area.
[0064] Among them, the hardware layout can be the specific layout of the hardware structure in the heat source separation area of the server. The target incoming air temperature correction parameter can be a value used to correct the previously obtained real-time measured temperature.
[0065] It is understandable that although the temperature sensor is set on the front hard disk backplane in the server, after all, the measured temperature is collected and obtained inside the server. Theoretically, the value of the real-time measured temperature will definitely be higher than the actual incoming air temperature outside the server. Therefore, a preset negative correction parameter can be used to adjust the real-time measured temperature so that the corrected measured temperature value is closer to the actual incoming air temperature of the server.
[0066] Optionally, the obtaining of the target incoming air temperature correction parameter matching the server according to the hardware layout in the heat source separation area may include: querying the BMC in the server for the number of target front hard disk backplanes included in the server; querying the mapping relationship between the number of front hard disk backplanes and the incoming air temperature correction parameter preset, and obtaining the target incoming air temperature correction parameter matching the number of target front hard disk backplanes.
[0067] Among them, BMC is the baseboard management controller, which can perform some operations such as firmware upgrade of the machine and viewing of machine devices in the state where the machine is not powered on. Specifically, it includes querying the number of target front hard disk backplanes included in the server.
[0068] Exemplarily, the server issues an instruction to the BMC in the server to query the number of target front hard disk backplanes included in the server. Since different numbers of front hard disk backplanes correspond to different incoming air temperature correction parameters. Specifically, when the number of target front hard disk backplanes is 3, the incoming air temperature correction parameter can be set to -6°C. Further, when the number of target front hard disk backplanes is 2, the incoming air temperature correction parameter can be set to -5°C; when the number of target front hard disk backplanes is 1, the incoming air temperature correction parameter can be set to -3°C. Correspondingly, a mapping relationship is formed between the number of front hard disk backplanes and the incoming air temperature correction parameter, so that the target incoming air temperature correction parameter matching the number of target front hard disk backplanes can be obtained.
[0069] The advantage of such a setting is that by correcting the real-time measured temperature by selecting the matching incoming air temperature correction parameter according to the actual number of front hard disk backplanes included in the server, the more accurate incoming air temperature of the server can be calculated according to the actual hardware configuration environment of the temperature sensor.
[0070] S130. Calculate the corrected measured temperature value according to the real-time measured temperature and the target incoming air temperature correction parameter, and estimate the incoming air temperature of the server using the corrected measured temperature value.
[0071] Among them, the measured temperature correction value can be a specific correction value for adjusting the target inlet air temperature. The inlet air temperature of the server can be used to monitor the ambient temperature during the operation of the server in real time. Usually, on the motherboard near the air inlet, the inlet air temperature is monitored.
[0072] Specifically, according to the actually measured temperature obtained by measurement and the inlet air temperature correction parameter determined according to the number of front hard disk backplanes, the measured temperature correction value can be further calculated. Correspondingly, according to the calculated measured temperature correction value, the inlet air temperature of the server can be estimated.
[0073] Exemplarily, assume that the real-time measured temperature in the heat source separation area of the server is 36 °C, and assume that the number of target front hard disk backplanes is 2. It can be known that the corresponding inlet air temperature correction parameter is -5 °C. Further, the measured temperature correction value can be calculated as 36 °C + (-5 °C) = 31 °C. Correspondingly, the measured temperature correction value can be used to estimate that the inlet air temperature of the server is 31 °C.
[0074] The technical solution provided by the embodiments of the present invention includes obtaining the real-time measured temperature in the heat source separation area of the server; obtaining the target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area; calculating the measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and using the measured temperature correction value to estimate the inlet air temperature of the server. This solves the problem that the server is affected by the hot air reflux in the computer room, and the temperature sensor of the box ear is baked, resulting in too high an inlet air temperature read, thus affecting the computer room temperature control system. It realizes the technical effect of using the most suitable target inlet air temperature correction parameter to correct the real-time measured temperature collected in the server according to the actual hardware layout in the server, and obtaining an accurate estimated value of the inlet air temperature of the server, thereby improving the calculation accuracy of the inlet air temperature of the server and reducing the energy consumption and maintenance cost of the computer room to a certain extent.
[0075] Optionally, after calculating the measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and using the measured temperature correction value to estimate the inlet air temperature of the server, it further includes: if it is determined that the measured temperature correction value is greater than or equal to a preset first threshold, generating a temperature adjustment prompt message to indicate reducing the temperature of the environment where the server is located, or if it is determined that the measured temperature correction value is greater than or equal to a preset second threshold, generating an abnormal temperature warning message.
[0076] Among them, the first threshold can be the first temperature correction value threshold set by the server. When the measured temperature correction value exceeds the preset first threshold, a temperature adjustment prompt message can be generated to prompt to lower the temperature of the environment where the server is located. Correspondingly, the second threshold can be the second temperature correction value threshold set by the server. When the measured temperature correction value exceeds the preset second threshold, an abnormal temperature warning message is generated.
[0077] Continuing with the previous example, the calculated measured temperature correction value is 32 °C. Assume that the first threshold set by the server is 30 °C and the second threshold set is 40 °C. Since the measured temperature correction value is greater than or equal to the preset first threshold, that is, 32 °C is greater than 30 °C, a temperature adjustment prompt message can be generated to indicate lowering the temperature of the environment where the server is located.
[0078] The advantage of such a setting is that: by setting the first threshold and the second threshold by the server, and comparing the measured temperature correction value with the set first threshold and the second threshold, corresponding temperature adjustment of the environment or abnormal temperature warning operations can be carried out. It can control the computer room system to perform accurate temperature control, and efficiently provide accurate alarm information to relevant staff, improving the processing efficiency and reducing the cost of computer room maintenance.
[0079] Embodiment 2
[0080] Figure 2 This is a flowchart of a method for determining the inlet air temperature of a server provided in Embodiment 2 of the present invention. This embodiment is optimized based on the above-mentioned embodiments. In this embodiment, the operation of establishing the mapping relationship between the number of front hard disk backplanes and the inlet air temperature correction parameter is specified.
[0081] Correspondingly, the method specifically includes the following steps:
[0082] S210. Obtain a test server, where the test server includes a target number of front hard disk backplanes.
[0083] In this embodiment, multiple test servers with different numbers of front hard disk backplanes can be used to respectively determine the matching inlet air temperature correction parameters, and then the mapping relationship between the number of front hard disk backplanes and the inlet air temperature correction parameters can be established.
[0084] That is, for a test server including N front hard disk backplanes, a matching inlet air temperature correction parameter A can be calculated, and then the mapping relationship between the inlet air temperature correction parameter A and the number of front hard disk backplanes N can be established.
[0085] S220. Obtain the ambient temperature curve of the test server in different working environments and the real-time measured temperature curve of the heat source separation area in the test server, and determine the adjustment range of the correction coefficient according to each of the ambient temperature curves and the real-time measured temperature curves.
[0086] Among them, the ambient temperature curve can be the ambient temperature curve formed by measuring the ambient temperatures of the test server at different time points in a set working environment. The real-time measured temperature curve can be the real-time measured temperature curve formed by measuring the real-time measured temperature values of the heat source separation area in the server at different time points in a set working environment.
[0087] The adjustment range of the correction coefficient can be the size of the range within which the correction coefficient can be adjusted. This adjustment range of the correction coefficient is used to limit the optional value range of each inlet air temperature correction parameter. If the selected adjustment range of the correction coefficient is too large, it will increase the calculation amount of subsequent selection of the inlet air temperature correction parameter. If the selected adjustment range of the correction coefficient is too small, the most suitable inlet air temperature correction parameter may be missed. Therefore, a reasonable selection of this adjustment range of the correction coefficient is required.
[0088] Optionally, the step of obtaining the ambient temperature curve of the test server in different working environments and the real-time measured temperature curve of the heat source separation area in the test server, and determining the adjustment range of the correction coefficient according to each of the ambient temperature curves and the real-time measured temperature curves may include:
[0089] Obtain the first target ambient temperature curve and the first target real-time measured temperature curve of the test server in an extreme working environment; calculate the first maximum temperature difference matching the extreme working environment according to the first target ambient temperature curve and the first target real-time measured temperature curve; obtain the second target ambient temperature curve and the second target real-time measured temperature curve of the test server in multiple normal working environments; calculate the second maximum temperature difference matching each of the normal working environments according to each of the second target ambient temperature curves and the second target real-time measured temperature curves; determine the adjustment range of the correction coefficient according to the first maximum temperature difference and each of the second maximum temperature differences.
[0090] Among them, the extreme working environment can be the working environment where the server is in the lowest temperature environment and the front hard disk backplane is in a full-load state. The first target ambient temperature curve can be the ambient temperature curve formed by measuring the ambient temperature of the test server at different time points in the extreme working environment. The first target real-time measurement temperature curve can be the real-time measurement temperature curve formed by measuring the real-time measurement temperature values of the heat source separation area in the server at different time points in the extreme working environment. The first maximum temperature difference can be the maximum temperature difference among the multiple temperature differences obtained by subtracting the real-time measurement temperature value from the ambient temperature at the same time point according to the first target ambient temperature curve and the first target real-time measurement temperature curve respectively.
[0091] Furthermore, the normal working environment can be that the test server is in a non-extreme working environment, that is, the test server is within the normal working temperature range, and the server is in any one of the states of idle, the front hard disk backplane is in full load, or the server is in full load.
[0092] Specifically, assuming that the temperature range of the server room is 20°C - 30°C, then the selected temperature environment in the extreme working environment is 20°C. Furthermore, with a gradient of 5°C, 25°C and 30°C can be respectively selected as the temperature environments in the normal working environment.
[0093] The second target ambient temperature curve can be the ambient temperature curve formed by measuring the ambient temperature of the test server at different time points in the normal working environment. The second target real-time measurement temperature curve can be the real-time measurement temperature curve formed by measuring the real-time measurement temperature values of the heat source separation area in the server at different time points in the normal working environment. The second maximum temperature difference can be the maximum temperature difference among the multiple temperature differences obtained by subtracting the real-time measurement temperature value from the ambient temperature at the same time point according to the second target ambient temperature curve and the second target real-time measurement temperature curve respectively.
[0094] Among them, if the second target ambient temperature curve and the second target real-time measurement temperature curve corresponding to two normal working environments are calculated, then the two second maximum temperature differences corresponding to the above two normal working environments can be calculated. Furthermore, among the above two second maximum temperature differences, the second maximum temperature difference farthest from the first maximum temperature difference and the first maximum temperature difference together form the correction coefficient adjustment range.
[0095] In a specific example, if the first maximum temperature difference is -5°C and the two second maximum temperature differences are -2°C and -3°C respectively. Then [-2°C, -5°C] can be selected as the correction coefficient adjustment range.
[0096] In this embodiment, in the extreme working environment and the normal working environment, the test server measures the corresponding ambient temperature curve and the real-time measured temperature curve of the heat source separation area in the test server. The first target ambient temperature curve, the first target real-time measured temperature curve, the second target ambient temperature curve, and the second target real-time measured temperature curve can be obtained. Further, the first maximum temperature difference and the second maximum temperature difference are calculated to further determine the adjustment range of the correction coefficient.
[0097] The advantage of this setting is that: according to the test server in different working environments, the corresponding ambient temperature curve and the real-time measured temperature curve can be obtained, so as to determine the adjustment range of the correction coefficient. This can make the calculated adjustment range of the correction coefficient more accurate, and then a more reasonable inlet air temperature correction parameter that meets the temperature correction conditions can be obtained.
[0098] Optionally, the extreme working environment is that the test server is in the lowest temperature environment and the front hard disk backplane is in a full-load state; the normal working environment is that the test server is within the normal working temperature range, and the server is in any one of the idle state, the front hard disk backplane is in a full-load state, or the server is in a full-load state.
[0099] In this embodiment, the extreme working environment of the test server refers to being in the lowest temperature environment and the front hard disk backplane being in a full-load state. Specifically, the lowest temperature environment can be the lowest ambient temperature required for the test server to work properly. The front hard disk backplane being in a full-load state means that the test server is working in a state that can support the maximum number of hard disks. The server being in a full-load state means that the test server is in the maximum allowed memory operation state.
[0100] The advantage of this setting is that: by making the test server be in the extreme working environment and the normal working environment, the ambient temperature curve and the real-time measured temperature curve are further measured. This can make the calculated adjustment range of the correction coefficient more accurate, avoiding both the invalid computational workload introduced when the adjustment range of the correction coefficient is set too large and preventing the situation where the adjustment range of the correction coefficient is set too small and the most suitable inlet air temperature correction parameter cannot be effectively selected.
[0101] S230. According to the difference curve between each of the ambient temperature change curves and the real-time measured temperature change curves, within the adjustment range of the correction coefficient, search for the inlet air temperature correction parameter that meets the temperature correction conditions.
[0102] Among them, the difference curve can be obtained by subtracting the real-time measured temperature change curve from the ambient temperature change curve to get the corresponding difference curve.
[0103] Optionally, searching for the intake air temperature correction parameter that meets the temperature correction condition within the correction coefficient adjustment range according to the difference curve between each of the ambient temperature change curves and the real-time measured temperature change curve includes:
[0104] Within the correction coefficient adjustment range, obtain the intake air temperature correction parameters respectively with a preset increasing step size, and verify whether the corrected result curve is within the preset allowable fluctuation range after correcting the difference curve using each of the intake air temperature correction parameters; for each intake air temperature correction parameter whose correction result is within the allowable fluctuation range, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each intake air temperature correction parameter; determine the intake air temperature correction parameter with the largest area of the lower half-axis curve of the X-axis as the intake air temperature correction parameter that meets the temperature correction condition.
[0105] Among them, the preset increasing step size can be set to a corresponding value as the step size value and gradually increased. Within the correction coefficient adjustment range, the corresponding intake air temperature correction parameters are obtained. The corrected result curve can be the curve obtained after correcting the difference curve with the intake air temperature correction parameter. The area of the lower half-axis curve of the X-axis can be the area of each closed region formed by the lower half-axis curve of the X-axis of the corrected result curve and the X-axis. The allowable fluctuation range can be a preset error allowable interval. For example, the allowable fluctuation range can be ±1°C, or ±0.5°C, etc.
[0106] Exemplarily, assume that the correction coefficient adjustment range is [-5°C, -3°C], and assume that the preset increasing step size is 0.5°C. Then, the intake air temperature correction parameters can be obtained as -5°C, -4.5°C, -4°C, -3.5°C, and -3°C respectively. After correcting the difference curve using each of the intake air temperature correction parameters, the corresponding corrected result curves can be obtained, and it is determined whether the corrected result curves are within the preset allowable fluctuation range. Assume that when the intake air temperature correction parameters are -5°C, -4.5°C, and -4°C, the corresponding correction results are all within the allowable fluctuation range. Therefore, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each intake air temperature correction parameter. Assume that the calculated curve areas are 2, 1, and 3 at this time. Further, determine the intake air temperature correction parameter -4°C with the largest area of the lower half-axis curve of the X-axis as the intake air temperature correction parameter that meets the temperature correction condition.
[0107] The advantage of such a setting is that after determining the air inlet temperature correction parameters that meet the allowable fluctuation range, further select an air inlet temperature correction parameter that maximizes the probability that the corrected measured temperature correction value is lower than the air inlet temperature of the server. The above operation can minimize the probability that the finally estimated air inlet temperature of the server is higher than the actual air inlet temperature. Furthermore, it can greatly reduce the occurrence of situations such as incorrect adjustment or false alarm of the computer room temperature caused by the inaccuracy of the estimated value, and can further reduce the energy consumption of the computer room, thereby saving operating costs.
[0108] S240. Establish a mapping relationship between the searched air inlet temperature correction parameters and the target quantity.
[0109] In this embodiment, by selecting multiple test servers with different numbers of front hard disk backplanes and respectively executing S210 - S240, a mapping relationship between each number of front hard disk backplanes and the matching air inlet temperature correction parameters can be established.
[0110] S250. Obtain the real - time measured temperature of the heat source separation area in the server.
[0111] S260. According to the hardware layout in the heat source separation area, obtain the target air inlet temperature correction parameter matching the server.
[0112] S270. Calculate the measured temperature correction value according to the real - time measured temperature and the target air inlet temperature correction parameter, and use the measured temperature correction value to estimate the air inlet temperature of the server.
[0113] The technical solution provided by the embodiments of the present invention includes obtaining a test server, where the test server includes a target number of front hard disk backplanes; obtaining the environmental temperature curve of the test server in different working environments, as well as the real-time measured temperature curve of the heat source separation area in the test server, and determining the adjustment range of the correction coefficient according to each of the environmental temperature curves and the real-time measured temperature curves; according to the difference curve between each of the environmental temperature change curves and the real-time measured temperature change curves, searching within the adjustment range of the correction coefficient to obtain the inlet air temperature correction parameter that meets the temperature correction condition; establishing the mapping relationship between the searched inlet air temperature correction parameter and the target number; obtaining the real-time measured temperature of the heat source separation area in the server; obtaining the target inlet air temperature correction parameter matching the server according to the hardware layout within the heat source separation area; calculating the measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and using the measured temperature correction value to estimate the inlet air temperature of the server. It is possible to obtain the corresponding environmental temperature curve and real-time measured temperature curve according to the test server in different working environments, so as to more accurately determine the adjustment range of the correction coefficient, and then obtain the inlet air temperature correction parameter that more accurately meets the temperature correction condition according to the preset increment step, so as to more accurately estimate the corresponding inlet air temperature of the server, and further reduce the energy consumption of the computer room, thereby saving the operation cost.
[0114] Embodiment III
[0115] Figure 3 It is a flowchart of a specific application scenario of the method provided by Embodiment III of the present invention. This embodiment is specific based on the above-mentioned embodiments. In this embodiment, the method for determining the inlet air temperature of a server is specified.
[0116] Correspondingly, the method specifically includes the following steps:
[0117] S310. Obtain a test server, where the test server includes a target number of front hard disk backplanes.
[0118] S320. Obtain the first target environmental temperature curve and the first target real-time measured temperature curve of the test server in the extreme working environment.
[0119] S330. Calculate the first maximum temperature difference matching the extreme working environment according to the first target environmental temperature curve and the first target real-time measured temperature curve.
[0120] S340. Obtain the second target environmental temperature curve and the second target real-time measured temperature curve of the test server in multiple normal working environments.
[0121] S350. Calculate the second maximum temperature difference respectively matching each of the ordinary working environments according to each of the second target ambient temperature curves and the second target real-time measured temperature curves.
[0122] S360. Determine the correction factor adjustment range according to the first maximum temperature difference and each of the second maximum temperature differences.
[0123] S370. Obtain the incoming air temperature correction parameters respectively at a preset increasing step within the correction factor adjustment range, and verify whether the corrected result curve is within the preset allowable fluctuation range after correcting the difference curve using each of the incoming air temperature correction parameters.
[0124] S380. For each of the incoming air temperature correction parameters whose corrected results are within the allowable fluctuation range, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each of the incoming air temperature correction parameters.
[0125] S390. Determine the incoming air temperature correction parameter with the largest area of the lower half-axis curve of the X-axis as the incoming air temperature correction parameter that meets the temperature correction condition.
[0126] S3100. Establish a mapping relationship between the searched incoming air temperature correction parameter and the target quantity.
[0127] S3110. Obtain a plurality of temperature measurement values through at least two temperature sensors arranged on the front hard disk backplane in the server.
[0128] S3120. Calculate the real-time measured temperature of the heat source separation area according to the plurality of temperature measurement values.
[0129] S3130. Query the BMC in the server to query the number of target front hard disk backplanes included in the server.
[0130] S3140. Query the mapping relationship between the preset number of front hard disk backplanes and the incoming air temperature correction parameter, and obtain the target incoming air temperature correction parameter matching the number of target front hard disk backplanes.
[0131] S3150. Calculate the measured temperature correction value according to the real-time measured temperature and the target incoming air temperature correction parameter, and estimate the incoming air temperature of the server using the measured temperature correction value.
[0132] S3160. If it is determined that the measured temperature correction value is greater than or equal to a preset first threshold, generate a temperature adjustment prompt message to indicate reducing the temperature of the environment where the server is located, or if it is determined that the measured temperature correction value is greater than or equal to a preset second threshold, generate an abnormal temperature warning message.
[0133] Exemplarily, assume that a test server is obtained, and the test server is respectively placed in an extreme working environment and a normal working environment. Corresponding ambient temperature curves and real-time measured temperature curves can be obtained according to the measurement, so as to determine the adjustment range of the correction coefficient. Assume that the determined adjustment range of the correction coefficient is [-5°C, -3°C]. Assume that the preset increment step is 0.5°C. Then, the inlet air temperature correction parameters can be obtained as -5°C, -4.5°C, -4°C, -3.5°C, and -3°C respectively. After correcting the difference curve with each inlet air temperature correction parameter respectively, corresponding corrected result curves can be obtained, and it is determined whether the corrected result curves are within the preset allowable fluctuation range. Assume that when the inlet air temperature correction parameters are -5°C, -4.5°C, and -4°C, the corresponding corrected results are all within the allowable fluctuation range. Therefore, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each inlet air temperature correction parameter. Assume that the calculated curve areas are 2, 1, and 3 respectively at this time. Further, the inlet air temperature correction parameter -4°C with the largest area of the lower half-axis curve of the X-axis is determined as the inlet air temperature correction parameter that meets the temperature correction condition, so as to determine the mapping relationship between the inlet air temperature correction parameter and the target quantity.
[0134] Further, assume that the real-time measured temperature in the heat source separation area of the server is 36°C, and assume that the number of target front hard disk backplanes is 2. At the same time, according to the foregoing, the corresponding inlet air temperature correction parameter is -5°C. Further, the measured temperature correction value can be calculated as 36°C + (-5°C) = 31°C. Correspondingly, the inlet air temperature of the server can be estimated to be 31°C using the measured temperature correction value.
[0135] Correspondingly, the calculated measured temperature correction value is 31°C. Assume that the first threshold set for the server is 30°C and the second threshold is 40°C. Since the measured temperature correction value is greater than or equal to the preset first threshold, that is, 31°C is greater than 30°C, a temperature adjustment prompt message can be generated to indicate to lower the temperature of the environment where the server is located.
[0136] Embodiment 4
[0137] Figure 4 FIG. 14 is a schematic structural diagram of a device for determining the inlet air temperature of a server according to Embodiment 4 of the present invention. The device for determining the inlet air temperature of a server provided in this embodiment can be implemented by software and / or hardware, and can be configured in the server to implement the method for determining the inlet air temperature of a server in this embodiment of the present invention. As Figure 4 shown, the device may specifically include: a real-time measured temperature acquisition module 410, a target inlet air temperature correction parameter acquisition module 420, and an inlet air temperature estimation module 430.
[0138] Among them, the real-time measurement temperature acquisition module 410 is used to acquire the real-time measurement temperature of the heat source separation area in the server;
[0139] The target inlet air temperature correction parameter acquisition module 420 is used to acquire the target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area;
[0140] The inlet air temperature estimation module 430 is used to calculate a measurement temperature correction value according to the real-time measurement temperature and the target inlet air temperature correction parameter, and estimate the inlet air temperature of the server by using the measurement temperature correction value.
[0141] The technical solution provided by the embodiment of the present invention solves the problem that the server is affected by the hot air reflux in the computer room, and the temperature sensor of the box ear is baked, resulting in too high an inlet air temperature read, which affects the computer room temperature control system. By acquiring the real-time measurement temperature of the heat source separation area in the server; acquiring the target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area; calculating a measurement temperature correction value according to the real-time measurement temperature and the target inlet air temperature correction parameter, and estimating the inlet air temperature of the server by using the measurement temperature correction value. The technical effect of accurately estimating the inlet air temperature of the server is achieved by using the most suitable target inlet air temperature correction parameter to correct the real-time measurement temperature collected in the server according to the actual hardware layout situation in the server, thereby improving the calculation accuracy of the inlet air temperature of the server and reducing the energy consumption and maintenance cost of the computer room to a certain extent.
[0142] Based on the above embodiments, the real-time measurement temperature acquisition module 410 may specifically be used to: acquire a plurality of temperature measurement values through at least two temperature sensors arranged on the front hard disk backplane in the server; calculate the real-time measurement temperature of the heat source separation area according to the plurality of temperature measurement values.
[0143] Based on the above embodiments, the target inlet air temperature correction parameter acquisition module 420 may specifically be used to: query the BMC in the server to query the number of target front hard disk backplanes included in the server; query the mapping relationship between the number of front hard disk backplanes and the inlet air temperature correction parameter preset, and acquire the target inlet air temperature correction parameter matching the number of target front hard disk backplanes.
[0144] Based on the above embodiments, it further includes a test server acquisition module, which may specifically include: a test server acquisition unit, used to acquire a test server before acquiring the real-time measurement temperature of the heat source separation area in the server, and the test server includes a target number of front hard disk backplanes;
[0145] A correction factor adjustment range determination unit, configured to obtain the ambient temperature curve of the test server in different working environments and the real-time measured temperature curve of the heat source separation area in the test server, and determine the correction factor adjustment range according to each of the ambient temperature curves and the real-time measured temperature curve;
[0146] An inlet air temperature correction parameter obtaining unit, configured to search for an inlet air temperature correction parameter that satisfies the temperature correction condition within the correction factor adjustment range according to the difference curve between each of the ambient temperature change curves and the real-time measured temperature change curves;
[0147] A mapping relationship establishing unit, configured to establish a mapping relationship between the searched inlet air temperature correction parameter and the target quantity.
[0148] Based on the above embodiments, the correction factor adjustment range determination unit may specifically be configured to: obtain a first target ambient temperature curve and a first target real-time measured temperature curve of the test server in an extreme working environment; calculate a first maximum temperature difference matching the extreme working environment according to the first target ambient temperature curve and the second target real-time measured temperature curve; obtain second target ambient temperature curves and second target real-time measured temperature curves of the test server in a plurality of normal working environments; calculate second maximum temperature differences respectively matching the normal working environments according to each of the second target ambient temperature curves and the second target real-time measured temperature curves; determine the correction factor adjustment range according to the first maximum temperature difference and each of the second maximum temperature differences.
[0149] Based on the above embodiments, the extreme working environment may be that the test server is in the lowest temperature environment and the front hard disk backplane is in a full load state; the normal working environment may be that the test server is within the normal working temperature range, and the server is in any one of an idle state, the front hard disk backplane is in a full load state, or the server is in a full load state.
[0150] Based on the above embodiments, the inlet air temperature correction parameter obtaining unit may specifically be configured to: respectively obtain inlet air temperature correction parameters within the correction factor adjustment range at a preset increasing step size, and verify whether the corrected result curve is within a preset allowable fluctuation range after correcting the difference curve using each of the inlet air temperature correction parameters; for each of the inlet air temperature correction parameters whose corrected result is within the allowable fluctuation range, calculate the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each of the inlet air temperature correction parameters; determine the inlet air temperature correction parameter with the largest area of the lower half-axis curve of the X-axis as the inlet air temperature correction parameter that satisfies the temperature correction condition.
[0151] Based on the above embodiments, it further includes an abnormal temperature warning information generation module, which can specifically be used for: after calculating a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimating the inlet air temperature of the server using the measured temperature correction value, it further includes: if it is determined that the measured temperature correction value is greater than or equal to a preset first threshold, generating a temperature adjustment prompt information to indicate reducing the temperature of the environment where the server is located, or, if it is determined that the measured temperature correction value is greater than or equal to a preset second threshold, generating abnormal temperature warning information.
[0152] The above-mentioned device for determining the inlet air temperature of the server can execute the method for determining the inlet air temperature of the server provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
[0153] Embodiment 5
[0154] Figure 5 It is a structural diagram of a computer device provided in Embodiment 5 of the present invention. As Figure 5 shown, the device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of processors 510 in the device can be one or more, Figure 5 taking one processor 510 as an example; the processor 510, the memory 520, the input device 530, and the output device 540 in the device can be connected through a bus or other means, Figure 5 taking the connection through a bus as an example.
[0155] The memory 520, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the method for determining the inlet air temperature of the server in the embodiments of the present invention (for example, the real-time measured temperature acquisition module 510, the target inlet air temperature correction parameter acquisition module 520, and the inlet air temperature estimation module 530). The processor 510 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 520, that is, implementing the above-mentioned method for determining the inlet air temperature of the server, and the method includes: acquiring the real-time measured temperature of the heat source separation area in the server; acquiring the target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area; calculating a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimating the inlet air temperature of the server using the measured temperature correction value.
[0156] The memory 520 may mainly include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 520 may further include a memory remotely provided with respect to the processor 510, and these remote memories may be connected to the device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0157] The input device 530 may be used to receive input digital or character information, and generate key signal inputs related to user settings and function controls of the device. The output device 540 may include a display device such as a display screen.
[0158] Embodiment Six
[0159] Embodiment Six of the present invention further provides a computer-readable storage medium, and the computer-readable instructions are used to execute a method for determining the inlet air temperature of a server when executed by a computer processor. The method includes: obtaining the real-time measured temperature of the heat source separation area in the server; obtaining a target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area; calculating a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimating the inlet air temperature of the server using the measured temperature correction value.
[0160] Of course, the computer-readable instructions of a computer-readable storage medium provided by the embodiments of the present invention are not limited to the method operations as described above, and may also execute related operations in the method for determining the inlet air temperature of the server provided by any embodiment of the present invention.
[0161] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disc of a computer, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0162] It should be noted that in the embodiments of the device for determining the inlet air temperature of the above-mentioned server, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0163] Note that the above is only the preferred embodiment of the present invention and the applied technical principle. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for determining the inlet air temperature of a server, characterized in that Including: Obtain the real-time measured temperature of the heat source separation area in the server; According to the hardware layout within the heat source separation area, obtain a target inlet air temperature correction parameter that matches the server; According to the real-time measured temperature and the target inlet air temperature correction parameter, calculate a measured temperature correction value, and use the measured temperature correction value to estimate the inlet air temperature of the server; The step of obtaining a target inlet air temperature correction parameter that matches the server according to the hardware layout within the heat source separation area includes: Query the baseboard management controller (BMC) in the server to query the number of target front hard disk backplanes included in the server; Query the mapping relationship between the number of front hard disk backplanes and the inlet air temperature correction parameter preset, and obtain a target inlet air temperature correction parameter that matches the number of target front hard disk backplanes; wherein, different numbers of front hard disk backplanes correspond to different inlet air temperature correction parameters.
2. The method according to claim 1, characterized in that, The step of obtaining the real-time measured temperature of the heat source separation area in the server includes: Obtain a plurality of temperature measurement values through at least two temperature sensors arranged on the front hard disk backplane in the server; Calculate the real-time measured temperature of the heat source separation area according to the plurality of temperature measurement values.
3. The method according to claim 1, characterized in that, Before obtaining the real-time measured temperature of the heat source separation area in the server, it further includes: Obtain a test server, and the test server includes a target number of front hard disk backplanes; Obtain the environmental temperature curve of the test server in different working environments, and the real-time measured temperature curve of the heat source separation area in the test server, and determine the correction coefficient adjustment range according to each environmental temperature curve and real-time measured temperature curve; According to the difference curve between each environmental temperature change curve and real-time measured temperature change curve, search within the correction coefficient adjustment range to obtain an inlet air temperature correction parameter that meets the temperature correction condition; Establish a mapping relationship between the searched inlet air temperature correction parameter and the target number.
4. The method according to claim 3, wherein The step of obtaining the environmental temperature curve of the test server in different working environments, and the real-time measured temperature curve of the heat source separation area in the test server, and determining the correction coefficient adjustment range according to each environmental temperature curve and real-time measured temperature curve includes: Obtain the first target environmental temperature curve and the first target real-time measured temperature curve of the test server in the extreme working environment; According to the first target environmental temperature curve and the first target real-time measured temperature curve, calculate the first maximum temperature difference that matches the extreme working environment; Obtain the second target environmental temperature curve and the second target real-time measured temperature curve of the test server in a plurality of normal working environments; According to each second target environmental temperature curve and the second target real-time measured temperature curve, calculate the second maximum temperature difference that matches each normal working environment respectively; Determine the correction coefficient adjustment range according to the first maximum temperature difference and each second maximum temperature difference.
5. The method according to claim 4, characterized in that The extreme working environment means that the test server is in the lowest temperature environment and the front hard disk backplane is in a full load state; The ordinary working environment means that the test server is within the normal working temperature range, and the server is in any one of the states of being idle, the front hard disk backplane being at full load, or the server being at full load.
6. The method according to claim 3, wherein Based on the difference curve between each of the environmental temperature change curves and the real-time measured temperature change curve, within the adjustment range of the correction coefficient, searching for the inlet air temperature correction parameter that meets the temperature correction condition includes: Within the adjustment range of the correction coefficient, obtaining the inlet air temperature correction parameter at a preset increasing step size respectively, and verifying whether the corrected result curve is within the preset allowable fluctuation range after using each of the inlet air temperature correction parameters to correct the difference curve; For each of the inlet air temperature correction parameters whose corrected result is within the allowable fluctuation range, calculating the area of the lower half-axis curve of the X-axis corresponding to the corrected result curve of each of the inlet air temperature correction parameters; Determining the inlet air temperature correction parameter with the largest area of the lower half-axis curve of the X-axis as the inlet air temperature correction parameter that meets the temperature correction condition.
7. The method according to any one of claims 1-6, characterized in that, After calculating the measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimating the inlet air temperature of the server using the measured temperature correction value, it further includes: If it is determined that the measured temperature correction value is greater than or equal to a preset first threshold, generating a temperature adjustment prompt message to indicate reducing the temperature of the environment where the server is located, or If it is determined that the measured temperature correction value is greater than or equal to a preset second threshold, generating an abnormal temperature warning message.
8. A device for determining the incoming air temperature of a server, characterized in that, Including: A real-time measured temperature acquisition module, configured to acquire the real-time measured temperature of the heat source separation area in the server; A target inlet air temperature correction parameter acquisition module, configured to acquire a target inlet air temperature correction parameter matching the server according to the hardware layout in the heat source separation area; An inlet air temperature estimation module, configured to calculate a measured temperature correction value according to the real-time measured temperature and the target inlet air temperature correction parameter, and estimate the inlet air temperature of the server using the measured temperature correction value; The target inlet air temperature correction parameter acquisition module is specifically configured to: query the BMC in the server for the number of target front hard disk backplanes included in the server; query the mapping relationship between the preset number of front hard disk backplanes and the inlet air temperature correction parameter, and acquire the target inlet air temperature correction parameter matching the number of target front hard disk backplanes; wherein, different numbers of front hard disk backplanes correspond to different inlet air temperature correction parameters.
9. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for determining the inlet air temperature of the server as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for determining the inlet air temperature of the server as described in any one of claims 1-7.
Citation Information
Patent Citations
Rack cabinet air inlet temperature correction method based on power consumption of nodes
CN105278579A
Server air inlet temperature correction method and system based on machine room backflow
CN110989802A