CN113727577B - Temperature control method, system, equipment and storage medium of server - Google Patents

Temperature control method, system, equipment and storage medium of server Download PDF

Info

Publication number
CN113727577B
CN113727577B CN202110837873.8A CN202110837873A CN113727577B CN 113727577 B CN113727577 B CN 113727577B CN 202110837873 A CN202110837873 A CN 202110837873A CN 113727577 B CN113727577 B CN 113727577B
Authority
CN
China
Prior art keywords
temperature
detection device
temperature detection
information
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110837873.8A
Other languages
Chinese (zh)
Other versions
CN113727577A (en
Inventor
韩钟兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110837873.8A priority Critical patent/CN113727577B/en
Publication of CN113727577A publication Critical patent/CN113727577A/en
Application granted granted Critical
Publication of CN113727577B publication Critical patent/CN113727577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20709Modifications to facilitate cooling, ventilating, or heating for server racks or cabinets; for data centers, e.g. 19-inch computer racks
    • H05K7/20836Thermal management, e.g. server temperature control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means

Abstract

The application discloses a temperature control method of a server, which comprises the following steps: receiving first temperature information of a first target position detected by a first temperature detection device; receiving second temperature information of the first target position detected by a second temperature detection device; judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information; if yes, temperature control of the server is carried out based on the first temperature information; and if not, performing temperature control of the server based on the second temperature information. By applying the scheme of the application, the temperature of the server can be effectively controlled, and the adverse effect caused by the fact that the first temperature detection device breaks down or returns wrong data in time can be avoided. The application also provides a temperature control system, equipment and a storage medium of the server, and the server has corresponding technical effects.

Description

Temperature control method, system, equipment and storage medium of server
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method, a system, a device, and a storage medium for controlling a temperature of a server.
Background
The stability of the server is very important, and the heat dissipation is a key factor affecting the stable operation of the server. The server generates a large amount of heat during operation, and overheating may cause service interruption and other problems, so that it is an important task to control the server at a proper temperature.
In the current scheme, when monitoring the temperature of the server, the temperature at the corresponding position is mainly transmitted back to a Baseboard Management Controller (BMC) by using each temperature sensor, so that a heat dissipation engineer needs to perform simulation evaluation on the system in an early stage, and thus the temperature sensors are placed at each high heat source position of the server to realize temperature monitoring, and finally, the BMC reads detection data of each temperature sensor to manage and decide whether to adjust a heat dissipation mode. However, when the temperature sensor fails or the temperature sensor returns incorrect data due to interference or other reasons, the BMC cannot know the actual temperature of the detection position corresponding to the temperature sensor, so that the heat dissipation mechanism of the server cannot be executed correctly and timely, which is not favorable for ensuring the stability of the server
In summary, how to effectively control the temperature of the server and avoid the influence of the temperature sensor failure or the temporary feedback of the error data is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a temperature control method, a system, equipment and a storage medium of a server, so as to effectively control the temperature of the server and avoid the influence of fault of a temperature sensor or time return of wrong data.
In order to solve the technical problems, the invention provides the following technical scheme:
a method of temperature control of a server, comprising:
receiving first temperature information of a first target position detected by a first temperature detection device;
receiving second temperature information of the first target position detected by a second temperature detection device;
judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information;
if yes, temperature control of the server is carried out based on the first temperature information;
and if not, performing temperature control on the server based on the second temperature information.
Preferably, after determining that the first temperature detecting device is in the trusted state, the method further includes:
and turning off the second temperature detection device for a first time period and then starting the second temperature detection device, and performing temperature control of the server based on the first temperature information of the first target position detected by the first temperature detection device during the period that the second temperature detection is not started.
Preferably, the first temperature detection device is a temperature sensor, and the second temperature detection device is an infrared thermal imager.
Preferably, the method further comprises the following steps:
receiving a temperature image detected by the infrared thermal imager;
and when the temperature of any position in the temperature image exceeds a preset temperature threshold value, outputting temperature alarm information and controlling the temperature of the server according to a preset cooling rule.
Preferably, the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
determining a difference value between a first temperature value detected by the first temperature detection device and a second temperature value detected by the second temperature detection device based on the first temperature information and the second temperature information;
and when the difference value exceeds a first range, judging that the first temperature detection device is not in a credible state, otherwise, judging that the first temperature detection device is in a credible state.
Preferably, the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm.
Preferably, the determining, according to a preset fuzzy inference algorithm, whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
determining a current temperature error Te and a current temperature error change rate Tde based on the first temperature information and the second temperature information, and using the current temperature error Te and the current temperature error change rate Tde as input parameters of a Mamdani fuzzy inference algorithm;
determining an attribution function of the temperature error Te and an attribution function of the temperature error Te, and judging whether the first temperature detection device is in a credible state or not according to the Mamdani fuzzy inference algorithm;
the current temperature error Te represents a difference between a first temperature value detected by the first temperature detecting device and a second temperature value detected by the second temperature detecting device, and the current temperature error change rate Tde represents a difference between a temperature error Te of a current detection cycle and a temperature error Te of a previous detection cycle;
the attribution function of the temperature error Te has a first Negative curve, a first Zero curve and a first Positive curve, the first Negative curve is in Negative correlation with the temperature error Te, the first Positive curve is in Positive correlation with the temperature error Te, and the first Zero curve is in Positive correlation with the closeness degree of the temperature error Te and 0;
the attribution function of the temperature error change rate Tde has a second Negative curve, a second Zero curve and a second Positive curve, the second Negative curve is in Negative correlation with the temperature error change rate Tde, the second Positive curve is in Positive correlation with the temperature error change rate Tde, and the second Zero curve is in Positive correlation with the degree of proximity of the temperature error change rate Tde and 0;
the fuzzy rule base of the Mamdani fuzzy inference algorithm is set as follows: when the temperature error Te is selected as the first Zero curve, the corresponding output item is in a normal state to indicate that the first temperature detection device is in a credible state, and when the temperature error Te is not selected as the first Zero curve, the corresponding output item is in an abnormal state to indicate that the first temperature detection device is not in a credible state.
A temperature control system of a server, comprising:
the first temperature information receiving module is used for receiving first temperature information of a first target position detected by the first temperature detection device;
the second temperature information receiving module is used for receiving second temperature information of the first target position detected by a second temperature detection device;
the credibility state judging module is used for judging whether the first temperature detection device is in a credibility state or not based on the first temperature information and the second temperature information;
if yes, triggering a first execution module for carrying out temperature control on the server based on the first temperature information;
and if not, triggering a second execution module for carrying out temperature control on the server based on the second temperature information.
A temperature control apparatus of a server, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the temperature control method of the server according to any one of the above.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the temperature control method of the server of any of the above.
By applying the technical solution provided by the embodiment of the present invention, not only the first temperature information of the first target position is detected by the first temperature detection device, but also the second temperature detection device is further provided, and the second temperature detection device can also detect the second temperature information of the first target position. Then, the application can judge whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information, and if so, the first temperature detection device is explained to normally operate, so that the control of the first heat dissipation device of the server can be carried out based on the first temperature information, and the stability of the server is guaranteed. If not, the first temperature detection device is abnormal, and at the moment, the first heat dissipation device is controlled based on the second temperature information, so that the situation that the stability of the server is not ensured due to the fact that the first heat dissipation device is controlled based on the abnormal first temperature detection device is avoided. To sum up, the scheme of this application can carry out the temperature control of server effectively to be favorable to avoiding first temperature-detecting device trouble or the adverse effect that wrong data caused of time passback.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an embodiment of a method for controlling a temperature of a server according to the present invention;
FIG. 2a is a graph showing the membership function for temperature error Te in accordance with one embodiment of the present invention;
FIG. 2b is a diagram illustrating an attribution function of a temperature error change rate Tde according to an embodiment of the present invention;
FIG. 3a is a diagram illustrating values of curves of temperature error Te in an attribution function according to an embodiment of the present invention;
fig. 3b is a value diagram of each curve of the temperature error change rate Tde in the attribution function according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a temperature control system of a server according to the present invention.
Detailed Description
The core of the invention is to provide a temperature control method of the server, which can effectively control the temperature of the server and is beneficial to avoiding the adverse effect caused by the fault of the first temperature detection device or the return of wrong data.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be apparent that the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a temperature control method of a server according to the present invention, where the temperature control method of the server may include the following steps:
step S101: first temperature information of a first target position detected by a first temperature detection device is received.
The specific type of the first temperature detection device can be set and adjusted according to actual needs, but in practical application, the first temperature detection device is usually selected as a temperature sensor, and the temperature sensors are originally arranged at positions of high heat sources in the server, so that the first temperature detection device is selected as the temperature sensor, the application of the scheme is facilitated, and the scheme cost can be reduced.
And it can be understood that, in practical application, a plurality of target positions, that is, a plurality of high heat source positions for which temperature monitoring is required, may be set in the server, and each target position may be provided with a temperature sensor corresponding to the position, and for the temperature sensor at each position, the scheme of the present application may be executed to determine whether it is authentic, that is, the first temperature detection device of the present application may be any one of the temperature sensors in the server.
Step S102: and receiving second temperature information of the first target position detected by the second temperature detection device.
The second temperature detecting device is configured to detect second temperature information of the first target location, and the second temperature detecting device is generally selected as a high-reliability device.
Infrared is an electromagnetic wave having a wavelength between microwave and visible light, the wavelength being between 760nm and 1mm, corresponding to a frequency in the range of about 430THz to 300 GHz. All objects in the nature can radiate infrared rays, and the infrared thermal imager can measure the infrared ray difference between the target and the background, so that infrared images formed by different thermal infrared rays can be obtained. And in practical applications, the infrared rays can be classified into near infrared rays, short wavelength infrared rays, medium wavelength infrared rays, long wavelength infrared rays, and far infrared rays. Long wavelength infrared light of 8 to 15 microns is typically the area where thermal imaging is applied by infrared thermal imaging devices.
Step S103: and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information.
If yes, step S104 is executed: performing temperature control of the server based on the first temperature information;
if not, step S105 is executed: and performing temperature control of the server based on the second temperature information.
If the first temperature detection device is judged to be in the credible state based on the first temperature information and the second temperature information, the first temperature detection device is indicated to be in normal operation, and therefore temperature control of the server can be carried out based on the first temperature information. On the contrary, if the first temperature detection device is judged not to be in the credible state based on the first temperature information and the second temperature information, which indicates that the first temperature detection device may be abnormal, at this time, a prompt message can be output so that the worker can perform even the processing of the abnormal condition, such as the maintenance or replacement of the relevant device. And the first temperature detection means may be a backup device before the processing by the staff member, i.e. the temperature control of the server may be performed based on the second temperature information at this time.
In addition, it can be understood that, when the temperature of the server is controlled based on the first temperature information or the second temperature information, the specific temperature control rule may be set according to actual needs, for example, the specific temperature control rule may be a commonly used negative feedback type temperature control rule.
When determining whether the first temperature detection device is in the trusted state based on the first temperature information and the second temperature information, there may be a variety of specific determination manners.
For example, in a specific embodiment of the present invention, step S103 may specifically include:
determining a difference value between a first temperature value detected by a first temperature detection device and a second temperature value detected by a second temperature detection device based on the first temperature information and the second temperature information;
and when the difference value exceeds a first range, judging that the first temperature detection device is not in a credible state, otherwise, judging that the first temperature detection device is in a credible state.
In this embodiment, as long as the difference between the first temperature value detected by the first temperature detection device and the second temperature value detected by the second temperature detection device exceeds the first range, it is determined that the first temperature detection device is not in the trusted state, the calculation is very simple, and the requirements on the program design and the computational resources of the BMC are low. In addition, in order to avoid the influence of accidental factors, in practical application, it may be configured to determine the determination result by determining a plurality of times of determination, for example, in an instance, the first temperature detecting device and the second temperature detecting device are both detected once in 1 minute, and when the determination results of 3 consecutive times are that the first temperature detecting device is not in the trusted state, it is determined that the first temperature detecting device is not in the trusted state.
In an embodiment of the present invention, after determining that the first temperature detection device is in the trusted state, the method may further include:
the second temperature detection means is turned off for a first period of time and then turned on, and during a period when the second temperature detection is not turned on, temperature control of the server is performed based on the first temperature information of the first target position detected by the first temperature detection means.
In this embodiment, in consideration of the fact that the second temperature detection device is used to determine whether the first temperature detection device is in the trusted state, after the first temperature detection device is determined to be in the trusted state, the second temperature detection device is turned off for a first time period and then turned on, that is, the scheme of the present application is executed every first time period to determine whether the first temperature detection device is trusted, which is beneficial to reducing power consumption of the second temperature detection device and achieving the effect of energy saving.
Further, in an embodiment of the present invention, the method may further include:
receiving a temperature image detected by an infrared thermal imager;
and when the temperature of any position in the temperature image exceeds a preset temperature threshold value, outputting temperature alarm information and controlling the temperature of the server according to a preset cooling rule.
In this embodiment, if the second temperature detecting means is an infrared thermal imager, the infrared thermal imager detects the temperature image of the server. The server is usually provided with temperature sensors at a plurality of high-temperature source positions, and after the infrared thermal imager is used, the temperature of other positions without the temperature sensors in the server can be monitored. Therefore, in this embodiment, when the temperature of any position in the temperature image exceeds the preset temperature threshold, the temperature alarm information can be output and the temperature control of the server can be performed according to the preset cooling rule. The implementation mode can realize the temperature monitoring of the server in the whole range, and is favorable for further ensuring the reliability of the server.
In an embodiment of the present invention, step S103 may specifically include:
and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm.
In the foregoing embodiment, an implementation manner of step S103 is described, which is simple to operate, but the first range in such a manner is not easy to set, i.e., the first range is easily affected by subjective factors of workers. In this embodiment, it is determined whether the first temperature detection device is in the trusted state based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm. Through the fuzzy inference algorithm, the processing of fuzzy information can be conveniently realized, so that whether the first temperature detection device is in a credible state can be more accurately and effectively determined by the implementation mode, namely, the rationality for determining whether the first temperature detection device is in the credible state is improved.
Further, in a specific embodiment of the present invention, the determining whether the first temperature detection device is in the trusted state based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm may specifically include:
the method comprises the following steps: determining a current temperature error Te and a current temperature error change rate Tde based on the first temperature information and the second temperature information, and using the current temperature error Te and the current temperature error change rate Tde as input parameters of a Mamdani fuzzy inference algorithm;
step two: determining an attribution function of the temperature error Te and an attribution function of the temperature error Te, and judging whether the first temperature detection device is in a credible state or not according to a Mamdani fuzzy inference algorithm;
the current temperature error Te represents a difference value between a first temperature value detected by the first temperature detection device and a second temperature value detected by the second temperature detection device, and the current temperature error change rate Tde represents a difference value between the temperature error Te in the current detection period and the temperature error Te in the previous detection period;
the attribution function of the temperature error Te is provided with a first Negative curve, a first Zero curve and a first Positive curve, the first Negative curve is in Negative correlation with the temperature error Te, the first Positive curve is in Positive correlation with the temperature error Te, and the first Zero curve is in Positive correlation with the approximation degree of the temperature error Te and 0;
the attribution function of the temperature error change rate Tde is provided with a second Negative curve, a second Zero curve and a second Positive curve, the second Negative curve is in Negative correlation with the temperature error change rate Tde, the second Positive curve is in Positive correlation with the temperature error change rate Tde, and the proximity degree of the second Zero curve and the temperature error change rate Tde is in Positive correlation with 0;
the fuzzy rule base of the Mamdani fuzzy inference algorithm is set as follows: when the temperature error Te is selected as a first Zero curve, the corresponding output item is in a normal state to indicate that the first temperature detection device is in a credible state, and when the temperature error Te is not selected as the first Zero curve, the corresponding output item is in an abnormal state to indicate that the first temperature detection device is not in a credible state.
Referring to fig. 2a and 2b, fig. 2a is a graph showing the temperature error Te in an embodiment, and fig. 2b is a graph showing the temperature error rate Tde in an embodiment, it can be seen that in fig. 2a, the first Negative curve, the first Zero curve, and the first Positive curve are piecewise linear curves, which is convenient for calculation, and is also shown in fig. 2 b.
For example, in a specific case, based on the first temperature information and the second temperature information, it is determined that the current temperature error Te is-0.4, and the current temperature error change rate Tde is 0.2, and these two values are used as input parameters of the Mamdani fuzzy inference algorithm.
In this embodiment of the present application, it is considered that it is finally only necessary to determine whether the first temperature detection device is trusted, therefore, 3 curves are set for the attribution function of the temperature error Te and the attribution function of the temperature error change rate Tde, and the setting of the fuzzy rule base is very simple, which is beneficial to the implementation of the scheme, and the fuzzy rule base in this embodiment can refer to table one:
Figure BDA0003177858930000091
it can be seen that, in the fuzzy rule base of the present application, as long as the temperature error Te is selected as the first Zero curve, the corresponding output item is in a normal state to indicate that the first temperature detection device is in a trusted state, and when the temperature error Te is not selected as the first Zero curve, the corresponding output item is in an abnormal state to indicate that the first temperature detection device is not in a trusted state.
Referring to fig. 3a and 3b, in the foregoing specific example, the current temperature error Te is-0.4, and the current temperature error change rate Tde is 0.2, then according to the membership function of the temperature error Te, it can be determined that when the temperature error Te is-0.4, the value of the first Negative curve is 0.7, the value of the first Zero curve is 0.3, and the value of the first positv curve is 0. According to the attribution function of the temperature error change rate Tde, when the temperature error change rate Tde is 0.2, the value of the second Negative curve is 0, the value of the second Zero curve is 0.2, and the value of the second posiv curve is 0.8.
Combining the fuzzy rule base and according to a Min-Max inference mode of a Mamdani fuzzy inference algorithm, in this specific case, when a first Negative curve and a second Negative curve are selected, according to the fuzzy rule base, it can be determined that a corresponding output item is abnormal, and a minimum value of 0.7 and 0 is 0, so that the output of this item is: anomaly-0. When the first Negative curve and the second Zero curve are selected, according to the fuzzy rule base, the corresponding output item can be determined to be abnormal, and the minimum value of 0.7 and 0.2 is 0.2, therefore, the output of the item is: exception-0.2. When the first Negative curve and the second positive curve are selected, according to the fuzzy rule base, the corresponding output item can be determined to be abnormal, and the minimum value of 0.7 and 0.8 is 0.7, so that the output of the item is as follows: exception-0.7.
When the first Zero curve and the second Negative curve are selected, according to the fuzzy rule base, it can be determined that the corresponding output item is normal, and the minimum value of 0.3 and 0 is 0, so the output of this item is: normal-0. When the first Zero curve and the second Zero curve are selected, according to the fuzzy rule base, the corresponding output item can be determined to be normal, and the minimum value of 0.3 and 0.2 is 0.2, so that the output of the item is: normal-0.2. When the first Zero curve and the second Positiv curve are selected, according to the fuzzy rule base, it can be determined that the corresponding output item is normal, and the minimum value of 0.3 and 0.8 is 0.3, so that the output of this item is: normal-0.3.
When the first posiiv curve and the second Negative curve are selected, according to the fuzzy rule base, the corresponding output item can be determined to be abnormal, and the minimum value of 0 and 0 is 0, so that the output of the item is: exception-0. When the first Positiv curve and the second Zero curve are selected, according to the fuzzy rule base, it can be determined that the corresponding output item is abnormal, and the minimum value of 0 and 0.2 is 0, therefore, the output of this item is: exception-0. When the first Positiv curve and the second Positiv curve are selected, according to the fuzzy rule base, it can be determined that the corresponding output item is abnormal, and the minimum value of 0 and 0.8 is 0, so that the output of the item is: anomaly-0.
The maximum value of the above 9 output items is 0.7, that is, the output items when the first Negative curve and the second positive curve are selected are: exception-0.7. Therefore, it can be determined that the first temperature detection means is in an abnormal state, i.e., an untrusted state.
It can be seen that, in the embodiment of the present application, after the current temperature error Te and the current temperature error change rate Tde are determined, since any curve of the attributed function is a segmented linear curve, a process of determining each curve value of the attributed function of the temperature error Te and each curve value of the attributed function of the temperature error Te is very simple and convenient. Moreover, the attribution function of the temperature error Te and the attribution function of the temperature error change rate Tde respectively have only 3 curves, so that the process of judging whether the first temperature detection device is in a credible state according to the Mamdani fuzzy inference algorithm is very simple in calculation, and the occupation of calculation resources of the BMC is small.
By applying the technical solution provided by the embodiment of the present invention, not only the first temperature information of the first target position is detected by the first temperature detection device, but also the second temperature detection device is further provided, and the second temperature detection device can detect the second temperature information of the first target position. Then, the method and the device can judge whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information, and if yes, the first temperature detection device is indicated to be in normal operation, so that the first heat dissipation device of the server can be controlled based on the first temperature information, and the stability of the server is guaranteed. If not, the first temperature detection device is abnormal, and at the moment, the first heat dissipation device is controlled based on the second temperature information, so that the situation that the stability of the server is not ensured due to the fact that the first heat dissipation device is controlled based on the abnormal first temperature detection device is avoided. To sum up, the scheme of this application can carry out the temperature control of server effectively to be favorable to avoiding first temperature-detecting device trouble or the adverse effect that wrong data caused of time passback.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a temperature control system for a server, which can be referred to in correspondence with the above.
Referring to fig. 4, a schematic structural diagram of a temperature control system of a server in the present invention is shown, including:
a first temperature information receiving module 401, configured to receive first temperature information of a first target location detected by a first temperature detecting device;
a second temperature information receiving module 402, configured to receive second temperature information of the first target location detected by the second temperature detecting device;
a trusted state determining module 403, configured to determine whether the first temperature detecting device is in a trusted state based on the first temperature information and the second temperature information;
if yes, triggering a first execution module 404 for performing temperature control of the server based on the first temperature information;
if not, a second execution module 405 is triggered for performing temperature control of the server based on the second temperature information.
In one embodiment of the present invention, the method further comprises:
and an interval starting control module, configured to turn off the second temperature detection device for a first time period and then start the second temperature detection device after the trusted state determination module 403 determines that the first temperature detection device is in the trusted state, and perform temperature control on the server based on the first temperature information of the first target location detected by the first temperature detection device during a period when the second temperature detection is not started.
In one embodiment of the present invention, the first temperature detecting device is a temperature sensor, and the second temperature detecting device is an infrared thermal imager.
In one embodiment of the present invention, the method further comprises:
the temperature image receiving module is used for receiving a temperature image detected by the infrared thermal imager;
and the high-temperature alarm module is used for outputting temperature alarm information and controlling the temperature of the server according to a preset cooling rule when the temperature of any position in the temperature image exceeds a preset temperature threshold value.
In an embodiment of the present invention, the trusted status determining module 403 is specifically configured to:
determining a difference value between a first temperature value detected by a first temperature detection device and a second temperature value detected by a second temperature detection device based on the first temperature information and the second temperature information;
and when the difference value exceeds a first range, judging that the first temperature detection device is not in a credible state, otherwise, judging that the first temperature detection device is in a credible state.
In an embodiment of the present invention, the trusted status determining module 403 is specifically configured to:
and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm.
In an embodiment of the present invention, the trusted status determining module 403 is specifically configured to:
determining a current temperature error Te and a current temperature error change rate Tde based on the first temperature information and the second temperature information, and taking the current temperature error Te and the current temperature error change rate Tde as input parameters of a Mamdani fuzzy inference algorithm;
determining an attribution function of the temperature error Te and an attribution function of the temperature error Te, and judging whether the first temperature detection device is in a credible state or not according to a Mamdani fuzzy inference algorithm;
the current temperature error Te represents a difference value between a first temperature value detected by the first temperature detection device and a second temperature value detected by the second temperature detection device, and the current temperature error change rate Tde represents a difference value between the temperature error Te of the current detection period and the temperature error Te of the previous detection period;
the attribution function of the temperature error Te is provided with a first Negative curve, a first Zero curve and a first Positive curve, the first Negative curve is in Negative correlation with the temperature error Te, the first Positive curve is in Positive correlation with the temperature error Te, and the first Zero curve is in Positive correlation with the approximation degree of the temperature error Te and 0;
the attribution function of the temperature error change rate Tde is provided with a second Negative curve, a second Zero curve and a second Positive curve, the second Negative curve is in Negative correlation with the temperature error change rate Tde, the second Positive curve is in Positive correlation with the temperature error change rate Tde, and the proximity degree of the second Zero curve and the temperature error change rate Tde and 0 is in Positive correlation;
the fuzzy rule base of the Mamdani fuzzy inference algorithm is set as follows: when the temperature error Te is selected as a first Zero curve, the corresponding output item is in a normal state to indicate that the first temperature detection device is in a credible state, and when the temperature error Te is not selected as the first Zero curve, the corresponding output item is in an abnormal state to indicate that the first temperature detection device is not in a credible state.
Corresponding to the above method and system embodiments, the present invention further provides a temperature control device of a server and a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the temperature control method of the server in any of the above embodiments. A computer-readable storage medium as referred to herein may include Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The temperature control device of the server may include:
a memory for storing a computer program;
a processor for executing a computer program to implement the steps of the temperature control method of the server in any of the above embodiments.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, it is possible to make various improvements and modifications to the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (6)

1. A method for controlling a temperature of a server, comprising:
receiving first temperature information of a first target position detected by a first temperature detection device;
receiving second temperature information of the first target position detected by a second temperature detection device;
judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information;
if yes, temperature control of the server is carried out based on the first temperature information;
if not, performing temperature control of the server based on the second temperature information;
the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
determining a difference value between a first temperature value detected by the first temperature detection device and a second temperature value detected by the second temperature detection device based on the first temperature information and the second temperature information;
when the difference value exceeds a first range, judging that the first temperature detection device is not in a credible state, otherwise, judging that the first temperature detection device is in a credible state;
after the first temperature detection device is judged to be in the credible state, the method further comprises the following steps:
turning off the second temperature detection device for a first time period and then starting the second temperature detection device, and performing temperature control of a server based on first temperature information of a first target position detected by the first temperature detection device during the period that the second temperature detection is not started;
the first temperature detection device is a temperature sensor, and the second temperature detection device is an infrared thermal imager;
the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm.
2. The temperature control method of the server according to claim 1, further comprising:
receiving a temperature image detected by the infrared thermal imager;
and when the temperature of any position in the temperature image exceeds a preset temperature threshold value, outputting temperature alarm information and controlling the temperature of the server according to a preset cooling rule.
3. The method according to claim 1, wherein the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information according to a predetermined fuzzy inference algorithm comprises:
determining a current temperature error Te and a current temperature error change rate Tde based on the first temperature information and the second temperature information, and taking the current temperature error Te and the current temperature error change rate Tde as input parameters of a Mamdani fuzzy inference algorithm;
determining an attribution function of the temperature error Te and an attribution function of the temperature error Te, and judging whether the first temperature detection device is in a credible state or not according to the Mamdani fuzzy inference algorithm;
the current temperature error Te represents a difference between a first temperature value detected by the first temperature detection device and a second temperature value detected by the second temperature detection device, and the current temperature error change rate Tde represents a difference between a temperature error Te in a current detection cycle and a temperature error Te in a previous detection cycle;
the attribution function of the temperature error Te has a first Negative curve, a first Zero curve and a first Positive curve, the first Negative curve is in Negative correlation with the temperature error Te, the first Positive curve is in Positive correlation with the temperature error Te, and the first Zero curve is in Positive correlation with the closeness degree of the temperature error Te and 0;
the attribution function of the temperature error change rate Tde has a second Negative curve, a second Zero curve and a second Positive curve, the second Negative curve is in Negative correlation with the temperature error change rate Tde, the second Positive curve is in Positive correlation with the temperature error change rate Tde, and the second Zero curve is in Positive correlation with the degree of proximity of the temperature error change rate Tde and 0;
the fuzzy rule base of the Mamdani fuzzy inference algorithm is set as follows: when the temperature error Te is selected as the first Zero curve, the corresponding output item is in a normal state to indicate that the first temperature detection device is in a credible state, and when the temperature error Te is not selected as the first Zero curve, the corresponding output item is in an abnormal state to indicate that the first temperature detection device is not in a credible state.
4. A temperature control system of a server, comprising:
the first temperature information receiving module is used for receiving first temperature information of a first target position detected by the first temperature detection device;
the second temperature information receiving module is used for receiving second temperature information of the first target position detected by a second temperature detection device;
the credible state judging module is used for judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information;
if yes, triggering a first execution module for carrying out temperature control on the server based on the first temperature information;
if not, triggering a second execution module for carrying out temperature control on the server based on the second temperature information;
the trusted state judgment module is specifically configured to:
determining a difference value between a first temperature value detected by a first temperature detection device and a second temperature value detected by a second temperature detection device based on the first temperature information and the second temperature information;
when the difference value exceeds a first range, judging that the first temperature detection device is not in a credible state, otherwise, judging that the first temperature detection device is in a credible state;
after the first temperature detection device is judged to be in a trusted state, the method further comprises the following steps:
turning off the second temperature detection device for a first time period and then starting the second temperature detection device, and performing temperature control of the server based on first temperature information of the first target position detected by the first temperature detection device during the period that the second temperature detection is not started;
the first temperature detection device is a temperature sensor, and the second temperature detection device is an infrared thermal imager;
the determining whether the first temperature detection device is in a trusted state based on the first temperature information and the second temperature information includes:
and judging whether the first temperature detection device is in a credible state or not based on the first temperature information and the second temperature information according to a preset fuzzy inference algorithm.
5. A temperature control apparatus of a server, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the temperature control method of the server according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the temperature control method of a server according to any one of claims 1 to 3.
CN202110837873.8A 2021-07-23 2021-07-23 Temperature control method, system, equipment and storage medium of server Active CN113727577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110837873.8A CN113727577B (en) 2021-07-23 2021-07-23 Temperature control method, system, equipment and storage medium of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110837873.8A CN113727577B (en) 2021-07-23 2021-07-23 Temperature control method, system, equipment and storage medium of server

Publications (2)

Publication Number Publication Date
CN113727577A CN113727577A (en) 2021-11-30
CN113727577B true CN113727577B (en) 2023-01-17

Family

ID=78673840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110837873.8A Active CN113727577B (en) 2021-07-23 2021-07-23 Temperature control method, system, equipment and storage medium of server

Country Status (1)

Country Link
CN (1) CN113727577B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107655147A (en) * 2017-09-27 2018-02-02 广东美的暖通设备有限公司 Outdoor unit emergency control method and its device
CN108427617A (en) * 2018-02-28 2018-08-21 郑州云海信息技术有限公司 BMC obtains the method, apparatus and equipment of cpu temperature
CN112161383A (en) * 2020-08-28 2021-01-01 珠海格力电器股份有限公司 Control method and device of air conditioner, electronic equipment and storage medium
WO2021038811A1 (en) * 2019-08-29 2021-03-04 株式会社マクニカ Impurity detection device, impurity detection method, and computer program
CN113108919A (en) * 2021-04-09 2021-07-13 重庆中科云从科技有限公司 Human body temperature detection method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107655147A (en) * 2017-09-27 2018-02-02 广东美的暖通设备有限公司 Outdoor unit emergency control method and its device
CN108427617A (en) * 2018-02-28 2018-08-21 郑州云海信息技术有限公司 BMC obtains the method, apparatus and equipment of cpu temperature
WO2021038811A1 (en) * 2019-08-29 2021-03-04 株式会社マクニカ Impurity detection device, impurity detection method, and computer program
CN112161383A (en) * 2020-08-28 2021-01-01 珠海格力电器股份有限公司 Control method and device of air conditioner, electronic equipment and storage medium
CN113108919A (en) * 2021-04-09 2021-07-13 重庆中科云从科技有限公司 Human body temperature detection method, device and storage medium

Also Published As

Publication number Publication date
CN113727577A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN109441864B (en) Server fan control method, device, equipment and computer storage medium
CN112231174B (en) Abnormality warning method, device, equipment and storage medium
US6882963B1 (en) Computer system monitoring
CN110915101B (en) Flexible management system for optical wireless power supply
KR20160041210A (en) Method and apparatus for managing heating venilation and air conditioning
CN111309562B (en) Method, device, equipment and storage medium for predicting server faults
US10401401B2 (en) System and methods thereof for monitoring of energy consumption cycles
US9399997B2 (en) Method for detecting heat-dissipating air flow and electronic device using the same
CN113727577B (en) Temperature control method, system, equipment and storage medium of server
EP1936392B1 (en) Automatic frequency monitoring circuit, electronic device, automatic frequency monitoring method and automatic frequency monitoring program
CN114422323A (en) Combined monitoring method and device for Internet of things equipment and electronic equipment
CN116225812B (en) Baseboard management controller system operation method, device, equipment and storage medium
CN114079502A (en) Optical module health state detection method and detection device
CN111465150A (en) Control method and device for ultraviolet L ED lamp
CN113550928B (en) Fan control method and electronic equipment
CN114721326A (en) Marketing inspection information processing method and device based on deep learning algorithm
WO2020089968A1 (en) Information processing apparatus
CN111819557B (en) Method of monitoring IoT devices and use thereof on IoT device battery protection watchdog
CN111475292A (en) Server system and frequency control device of processor in server system
US10042331B2 (en) Sensor network and a method for detecting an event in a sensor network
JP2021096128A (en) Overheat monitoring device, switchboard, and overheat monitoring program
JP2007004507A (en) Management apparatus
CN116437649B (en) Machine room safety operation and maintenance method and device based on blockchain and readable storage medium
US20230266152A1 (en) Controlling a Sensor System
CN110940032A (en) Power module temperature detection control method and device, storage medium and air conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant