CN113359965A - Temperature adjusting method and related assembly - Google Patents
Temperature adjusting method and related assembly Download PDFInfo
- Publication number
- CN113359965A CN113359965A CN202110680403.5A CN202110680403A CN113359965A CN 113359965 A CN113359965 A CN 113359965A CN 202110680403 A CN202110680403 A CN 202110680403A CN 113359965 A CN113359965 A CN 113359965A
- Authority
- CN
- China
- Prior art keywords
- temperature data
- current temperature
- data
- interference
- temperature
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000008859 change Effects 0.000 claims abstract description 49
- 238000004590 computer program Methods 0.000 claims description 11
- 238000001914 filtration Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001816 cooling Methods 0.000 description 2
- 230000017525 heat dissipation Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
The invention discloses a temperature adjusting method and a related component.A change rule of temperature data output by a sensor when interference signals exist is firstly determined, so that when the current temperature data sent by the sensor is greater than a temperature threshold value, the interference data existing in the current temperature data is judged if the current temperature data accords with the change rule, and the rotation speed of a fan is controlled to be increased only if the current temperature data obtained after the interference data in the current temperature data are filtered is still greater than the temperature threshold value; and if no interference data exist in the current temperature data which is greater than the temperature threshold, the rotating speed of the fan is also controlled to be increased. Therefore, in the application, after the current temperature data is greater than the temperature threshold, the rotating speed of the fan is controlled to be increased only when the fact that no interference data exists in the current temperature data is determined or the current temperature data after the interference data is filtered is still greater than the temperature threshold, so that the temperature is reduced, and false triggering of the fan due to the existence of the interference data is avoided.
Description
Technical Field
The present invention relates to the field of server management, and in particular, to a temperature adjustment method and related components.
Background
In order to avoid that the server cannot normally work due to overhigh temperature, in the prior art, a sensor is usually arranged at an air inlet of the server to acquire the temperature of the server, and then a processor receives temperature data sent by the sensor to judge whether the temperature data of the server exceeds a temperature threshold value or not, and control the rotating speed of a fan to be increased when the temperature data exceeds the temperature threshold value, so that the cooling and heat dissipation of the server are realized, and the normal operation of the server is ensured.
However, since there may be an interference signal, such as an electrical signal or a magnetic signal, in the air flow, the sensor may also acquire the interference signal when acquiring the temperature, and convert the interference signal into interference data to be sent to the processor in the temperature data, the temperature data received by the processor may be higher than the temperature data when there is no interference data, and if the temperature data with the interference data is higher than the temperature threshold, the processor may be triggered to control the fan, resulting in a malfunction of the processor.
Disclosure of Invention
The invention aims to provide a temperature adjusting method and a related component, wherein after the current temperature data is greater than a temperature threshold value, the rotating speed of a fan is controlled to be increased only when the fact that no interference data exists in the current temperature data is determined or the current temperature data after the interference data is filtered is still greater than the temperature threshold value, so that the temperature is reduced, and the false triggering of the fan caused by the existence of the interference data is avoided.
In order to solve the above technical problem, the present invention provides a temperature adjustment method, including:
predetermining the change rule of temperature data output by a sensor when an interference signal exists;
judging whether the current temperature data sent by the sensor is greater than a temperature threshold value;
if so, judging whether the current temperature data conforms to the change rule;
if so, judging that interference data exist in the current temperature data, filtering the interference data in the current temperature data, and judging whether the filtered current temperature data is larger than the temperature threshold value;
and if the current temperature data does not accord with the change rule or the filtered current temperature data is larger than the temperature threshold, controlling the rotating speed of the fan to be increased.
Preferably, the determining whether the current temperature data conforms to the change rule includes:
judging whether the current temperature data sent by the sensor rises to be higher than a first interference temperature within a preset time and then falls to be lower than a second interference temperature, wherein the first interference temperature is higher than the temperature threshold value and the second interference temperature is lower than the first interference temperature;
and if so, entering a step of judging that interference data exist in the current temperature data.
Preferably, after determining that the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
controlling the counter to increase by one;
and if the count value of the counter is greater than the preset times, generating prompt information and clearing the count value of the counter.
Preferably, controlling the rotational speed of the fan to increase comprises:
and controlling the rotating speed of the fan to be increased to the maximum rotating speed.
Preferably, after determining whether the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
if not, reporting the current temperature data to an upper computer;
if the current temperature data is larger than the preset temperature range, reporting the current temperature data to the upper computer when the interference data does not exist in the current temperature data, or reporting the filtered current temperature data to the upper computer.
Preferably, the predetermined law of change of the temperature data output by the sensor in the presence of the interference signal includes:
respectively acquiring first temperature data sent by the sensor in an interference-free environment and second temperature data sent by the sensor in a preset interference environment;
determining a change rule of the temperature data output by the sensor when the interference signal exists based on the first temperature data and the second temperature data.
Preferably, before determining whether the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
judging whether the server is powered on;
if yes, the step of judging whether the current temperature data sent by the sensor accords with the change rule is carried out.
In order to solve the above technical problem, the present invention provides a temperature adjustment system, including:
the determining unit is used for predetermining the change rule of the temperature data output by the sensor when the interference signal exists;
the first judgment unit is used for judging whether the current temperature data sent by the sensor is greater than a temperature threshold value or not;
the second judging unit is used for judging whether the current temperature data sent by the sensor accords with the change rule or not when the current temperature data is larger than a temperature threshold value;
a third judging unit, configured to judge that interference data exists in the current temperature data when the current temperature data conforms to the change rule, filter the interference data in the current temperature data, and judge whether the filtered current temperature data is greater than the temperature threshold;
and the control unit is used for controlling the rotating speed of the fan to be increased when the current temperature data does not accord with the change rule or the filtered current temperature data is larger than the temperature threshold value.
In order to solve the above technical problem, the present invention provides a temperature adjustment device, including:
a memory for storing a computer program;
a processor for implementing the steps of the temperature adjustment method as described above when executing the computer program.
In order to solve the above technical problem, the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the temperature adjustment method as described above.
The application provides a temperature adjusting method and a related component, wherein a change rule of temperature data output by a sensor when an interference signal exists is firstly determined, so that when the current temperature data sent by the sensor is greater than a temperature threshold value, if the current temperature data accords with the change rule, the interference data exists in the current temperature data is judged, and the rotating speed of a fan is controlled to be increased only if the current temperature data after the interference data in the current temperature data are filtered is still greater than the temperature threshold value; and if no interference data exist in the current temperature data which is greater than the temperature threshold, the rotating speed of the fan is also controlled to be increased. Therefore, in the application, after the current temperature data is greater than the temperature threshold, the rotating speed of the fan is controlled to be increased only when the fact that no interference data exists in the current temperature data is determined or the current temperature data after the interference data is filtered is still greater than the temperature threshold, so that the temperature is reduced, and false triggering of the fan due to the existence of the interference data is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a temperature adjustment method according to the present invention;
FIG. 2 is a schematic structural diagram of a temperature adjustment system according to the present invention;
fig. 3 is a schematic structural diagram of a temperature adjustment device according to the present invention.
Detailed Description
The core of the invention is to provide a temperature adjusting method and a related component, after the current temperature data is greater than the temperature threshold, the rotating speed of the fan is controlled to be increased only when the current temperature data is determined to have no interference data or the current temperature data after the interference data is filtered is still greater than the temperature threshold, so as to reduce the temperature and avoid the false triggering of the fan caused by the existence of the interference data.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 schematic flow chart of a temperature adjustment method provided by the present invention, the method including:
s11: predetermining the change rule of temperature data output by a sensor when an interference signal exists;
in consideration of the problem that the server cannot normally work due to overhigh temperature of the server in the prior art, the applicant usually arranges a sensor at an air inlet of the server, the sensor is connected with the processor 31, the processor 31 judges whether the temperature of the server is greater than a temperature threshold value based on the temperature of the server acquired by the sensor, and the server cannot normally work once the temperature of the server is greater than the temperature threshold value, so that when the processor 31 judges that the temperature of the server is greater than the temperature threshold value, the rotation speed of the fan is controlled to be increased, thereby achieving heat dissipation of the server and rapidly reducing the temperature of the server.
However, since there are some interference signals in the air flow, when the sensor collects the temperature of the air inlet, the interference signals are also collected by mistake, so that the interference data generated by the interference signals are mixed in the temperature data output to the processor 31, and further the temperature data received by the processor 31 is higher than the temperature data when the interference data does not exist, if the temperature data is greater than the temperature threshold, the processor 31 directly controls the fan, and misoperation is caused.
In the prior art, in the aspect of shielding interference of signals transmitted by an air inlet sensor, a reinforced transmission device is adopted, for example, a mode of adopting an I2C (Inter-Integrated Circuit) transmission cable with strong interference resistance or reinforcing the thickness of a chassis plate material is adopted to solve the problem of signal interference, but the mode increases the cost, and the effect of shielding the interference signals is general, and false alarm information caused by the interference signals cannot be reduced. Adopt domestic FT2000+ arm server in this application, this server is with adopting domestic equipment to design as the main, designs more need to take more scientific and effective mode in this aspect, avoids adopting the solution of X86 server to solve the problem that interference signal brought.
In order to solve the technical problem, the change rule of the temperature data output by the sensor when the interference signal exists is firstly determined, so that the fan can be controlled more accurately based on the temperature data in the follow-up process.
When the interference data is determined, the sensor can acquire the temperature data when the preset interference signal exists and the temperature data when the interference signal does not exist, the temperature data and the temperature data are compared or processed in other ways, and the change rule of the temperature data which is acquired by the sensor and output when the preset interference signal exists is acquired.
The interference signal may be, but not limited to, an electrical signal or a magnetic signal, and when the interference signal is different, the change rule of the temperature data may also be different.
S12: judging whether the current temperature data sent by the sensor is greater than a temperature threshold value, and if so, entering S13;
after receiving the current temperature data sent by the sensor, the processor 31 compares the current temperature data with the temperature threshold, and if the current temperature data is not greater than the temperature threshold, the processor can directly determine that the actual temperature data is less than the temperature threshold regardless of whether interference data exists in the current temperature data, so that the temperature of the server is low, and the fan does not need to be controlled.
S13: judging whether the current temperature data accords with the change rule, if so, entering S14;
if the current temperature data is larger than the temperature threshold, the following conditions of the current temperature data exist: the current temperature data does not have interference data, the temperature data without the interference data is the current temperature data, namely the temperature data without the interference data is larger than a temperature threshold value; interference data exists in the current temperature data, but even if the interference data exists, the temperature data without the interference data is larger than the temperature threshold; interference data exists in the current temperature data, but the temperature data without the interference data is not larger than the temperature threshold value. Based on the above three situations, in order to avoid the misoperation of the fan, the processor 31 first determines whether the current temperature data has the interference data, and when determining whether the current temperature data has the interference data, the processor can determine whether the current temperature data conforms to the change rule.
S14: when the current temperature data accord with the change rule, judging that interference data exist in the current temperature data, filtering the interference data in the current temperature data, and judging whether the filtered current temperature data is larger than a temperature threshold value or not;
if the current temperature data has interference data, the interference data in the temperature data is filtered, and then whether the current temperature data with the interference data filtered is still larger than the temperature threshold value is judged.
S15: and when the current temperature data does not accord with the change rule or the filtered current temperature data is larger than the temperature threshold value, controlling the rotating speed of the fan to be increased.
If the current temperature data after the interference data are filtered out is still larger than the temperature threshold, the temperature data without the interference data is larger than the temperature threshold, and the rotating speed of the fan needs to be increased, so that the server is cooled; if the current temperature data after the interference data are filtered out is not greater than the temperature threshold, the temperature data without the interference data are not greater than the temperature threshold, the temperature of the server is low, and the rotating speed of the fan does not need to be increased; and if no interference data exists in the current temperature data, the temperature data without the interference data is larger than the temperature threshold, and the rotating speed of the fan needs to be increased, so that the server is cooled.
It should be noted that, when the processor 31 determines that the current temperature data of the server is not greater than the temperature threshold, the processor 31 may obtain the current temperature data sent by the sensor at a preset frequency, for example, obtain the current temperature data sent by the sensor every two seconds, so as to determine whether the current temperature data of the server is too high and whether the rotation of the fan needs to be adjusted at the preset frequency.
If it is determined that the current temperature data of the server is greater than the temperature threshold, the current temperature data sent by the sensor may be obtained at a frequency greater than the preset frequency, for example, the current temperature data sent by the sensor is obtained once every second, so that the temperature change of the server is more accurately determined.
In addition, the server in the present application may be, but is not limited to, a BMC (Baseboard management Controller).
Of course, when receiving the current temperature data sent by the sensor, the processor 31 in this application acquires the current temperature data detected by the sensor after the server is powered on.
In addition, when the interference data in the current temperature data is filtered, the method may be, but is not limited to, a physical filtering method.
In summary, in the present application, after the current temperature data is greater than the temperature threshold, it is determined that there is no interference data in the current temperature data, or when the current temperature data after filtering the interference data is still greater than the temperature threshold, the rotation speed of the fan is controlled to be increased, so as to reduce the temperature, and avoid false triggering of the fan due to the presence of the interference data.
On the basis of the above-described embodiment:
as a preferred embodiment, the determining whether the current temperature data conforms to the change rule includes:
judging whether the current temperature data sent by the sensor rises to be higher than a first interference temperature within a preset time and then falls to be lower than a second interference temperature, wherein the first interference temperature is higher than a temperature threshold value and the second interference temperature is lower than the first interference temperature;
and if so, entering a step of judging that the interference data exists in the current temperature data.
After judging that current temperature data is greater than the temperature threshold value in this application, whether current temperature data accords with the change law earlier, if not conform to, do not have interference data in can the accurate current temperature data of judgement, but the rotational speed of direct control fan improves, makes the server cooling.
As can be seen from this embodiment, the change rule of the temperature data output by the sensor in the presence of the interference signal is that a jump is completed within a preset time, that is, the current temperature data at the previous time is increased to a larger temperature data and then decreased to a smaller temperature data; if the current temperature data at the last moment is stable after being increased to the larger temperature data, the change rule is not met, that is, no interference data exists in the current temperature data.
And if the current temperature data accords with the change rule, indicating that interference data exists in the current temperature data, filtering the interference data in the current temperature data which is acquired before and is greater than the temperature threshold value, if the filtered current temperature data is greater than the temperature threshold value, controlling the rotating speed of the fan to be increased, and if the filtered current temperature data is not greater than the temperature threshold value, controlling the rotating speed of the fan to be increased without increasing the rotating speed, so that the judgment accuracy is improved, and the fan control accuracy is also improved.
Specifically, an example of temperature adjustment is now provided:
after the server is powered on, the processor 31 initializes information and starts to acquire current temperature data sent by the sensor; judging whether the current temperature data sent by the sensor is greater than a temperature threshold value, namely judging whether the server has temperature abnormality, if the current temperature data sent by the sensor is not greater than the temperature threshold value, namely the server has no temperature abnormality, normally polling to obtain the current temperature data, for example, obtaining the current temperature data sent by the sensor every 2 seconds, wherein each time the current temperature data is obtained, judging whether the current temperature data sent by the sensor is greater than the temperature threshold value once, and reporting the current temperature data to an upper computer when the current temperature data is not greater than the temperature threshold value; if the current temperature data sent by the sensor is greater than the temperature threshold, that is, the temperature of the server is abnormal, a design scheme for accelerating the acquisition of the current temperature data is triggered, for example, the current temperature data sent by the sensor is acquired every 1 second, and whether the current temperature data in the design scheme for accelerating the acquisition of the current temperature data rises to be greater than a first interference temperature within a preset time and then falls to be less than a second interference temperature is judged, if the current temperature data rises to be greater than the first interference temperature within the preset time and then falls to be less than the second interference temperature, interference data exists in the current temperature data; if the current temperature data has interference data, filtering the interference data in the temperature data according to the interference data acquired in advance, and then judging whether the current temperature data with the interference data filtered is still larger than a temperature threshold value; if the current temperature data after the interference data are filtered out is still larger than the temperature threshold, the temperature data without the interference data is larger than the temperature threshold, and the rotating speed of the fan needs to be increased, so that the server is cooled; if the current temperature data after the interference data are filtered out is not greater than the temperature threshold, the temperature data without the interference data are not greater than the temperature threshold, the temperature of the server is low, and the rotating speed of the fan does not need to be increased; and if no interference data exists in the current temperature data, the temperature data without the interference data is larger than the temperature threshold, and the rotating speed of the fan needs to be increased, so that the server is cooled. In addition, if the design scheme of acquiring the current temperature data in an accelerated manner is triggered more than three times, the prompt message alarm is directly sent to the upper computer, which indicates that the server possibly has a fault which cannot be solved by the user, so that the user can perform inspection or other processing.
As a preferred embodiment, after determining that the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
controlling the counter to increase by one;
and if the count value of the counter is greater than the preset times, generating prompt information, reporting the prompt information to an upper computer, and resetting the count value of the counter.
In this embodiment, after determining that the current temperature data sent by the sensor is greater than the temperature threshold, the processor 31 may automatically control the rotation speed of the fan to increase, so as to cool the server, in addition, each time the current temperature data sent by the sensor is greater than the temperature threshold, the counter counts one time, when the number of times that the current temperature data sent by the sensor is greater than the temperature threshold is determined not to be greater than the preset number of times, the processor 31 controls the rotation speed of the fan, but if the number of times that the current temperature data sent by the sensor is greater than the temperature threshold is determined to be greater than the preset number of times, prompt information needs to be reported to the upper computer to prompt the user that some faults may exist in the server, so that the user performs subsequent checking processing on the server, and normal operation of the server is ensured.
In addition, after the processor 31 reports the prompt information to the upper computer, the count value of the counter is cleared, so that the counter counts again, and the normal operation of the server is ensured through the circulation.
As a preferred embodiment, controlling the rotational speed of the fan to increase includes:
and controlling the rotating speed of the fan to be increased to the maximum rotating speed.
In order to rapidly cool the server, the rotating speed of the fan needs to be increased to the maximum rotating speed when the fan is controlled.
Further, the processor 31 in the present application may set a correspondence between the temperature data of the server and the fan rotation speed, for example, the higher the temperature data of the server, the greater the fan rotation speed.
As a preferred embodiment, after determining whether the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
if not, reporting the current temperature data to an upper computer;
if the current temperature data is larger than the preset temperature range, reporting the current temperature data to an upper computer when no interference data exists in the current temperature data, or reporting the filtered current temperature data to the upper computer.
In order to enable a user to know the state of a server in real time, the current temperature data can be uploaded to an upper computer after the current temperature data of a sensor is acquired, if the current temperature data is larger than a temperature threshold value, in order to avoid uploading the temperature data with interference data to the upper computer, the user mistakenly regards that the temperature data without the interference data is higher, whether the interference data exists in the current temperature data needs to be judged firstly, so that the temperature data without the interference data is uploaded to the upper computer, when the interference data exists in the current temperature data, the interference data is filtered firstly, so that the filtered current temperature data is reported to the upper computer, and the accuracy of the temperature data uploaded to the upper computer is guaranteed.
As a preferred embodiment, the predetermined law of change of the temperature data output by the sensor in the presence of the interference signal includes:
respectively acquiring first temperature data sent by a sensor in an interference-free environment and second temperature data sent by the sensor in a preset interference environment;
and determining the change rule of the temperature data output by the sensor when the interference signal exists on the basis of the first temperature data and the second temperature data.
In order to accurately determine the interference data, the sensor can acquire the temperature data when the preset interference signal exists and the temperature data when the interference signal does not exist, the temperature data and the preset interference signal are compared or otherwise processed, the change rule of the temperature data output by the sensor when the interference signal exists is obtained, the current temperature data can be conveniently processed subsequently, and the accuracy of the processor 31 in controlling the fan is ensured.
As a preferred embodiment, before determining whether the current temperature data sent by the sensor is greater than the temperature threshold, the method further includes:
judging whether the server is powered on;
if yes, the step of judging whether the current temperature data sent by the sensor accords with the change rule is carried out.
In order to avoid that when the server does not work, the current temperature data received by the processor 31 is larger than the temperature threshold value due to overhigh environment temperature, so that the rotating speed of the fan is controlled to be increased by the processor 31, whether the server is powered on or not is judged firstly, namely whether the server is in a working state or not is judged, and only when the server is in the working state, the judgment result of whether the current temperature data accords with the change rule is effective. The misoperation of the fan when the server does not work is avoided.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a temperature adjustment system provided in the present invention, the system including:
a determination unit 21 for determining in advance a change law of temperature data output by the sensor in the presence of the interference signal;
a first judging unit 22, configured to judge whether current temperature data sent by the sensor is greater than a temperature threshold;
the second judging unit 23 is configured to judge whether the current temperature data sent by the sensor conforms to a change rule when the current temperature data is greater than the temperature threshold;
a third judging unit 24, configured to, when the current temperature data conforms to the change rule, judge that interference data exists in the current temperature data, filter the interference data in the current temperature data, and judge whether the filtered current temperature data is greater than a temperature threshold;
and the control unit 25 is used for controlling the rotating speed of the fan to be increased when the current temperature data does not accord with the change rule or the filtered current temperature data is greater than the temperature threshold value.
For the introduction of the temperature adjustment system provided by the present invention, please refer to the above method embodiments, which are not repeated herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a temperature adjustment device provided in the present invention, the device includes:
a memory 31 for storing a computer program;
a processor 31 for implementing the steps of the temperature adjustment method when executing the computer program.
For the introduction of the temperature adjustment device provided by the present invention, please refer to the above method embodiments, which are not repeated herein.
The computer-readable storage medium in the present invention stores thereon a computer program, which when executed by the processor 31 implements the steps of the temperature adjustment method as described above.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not repeated herein.
It is further noted that, in the present specification, relational terms such as first and second, and the like are 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method of adjusting temperature, comprising:
predetermining the change rule of temperature data output by a sensor when an interference signal exists;
judging whether the current temperature data sent by the sensor is greater than a temperature threshold value;
if so, judging whether the current temperature data conforms to the change rule;
if so, judging that interference data exist in the current temperature data, filtering the interference data in the current temperature data, and judging whether the filtered current temperature data is larger than the temperature threshold value;
and if the current temperature data does not accord with the change rule or the filtered current temperature data is larger than the temperature threshold, controlling the rotating speed of the fan to be increased.
2. The method of claim 1, wherein determining whether the current temperature data complies with the change rule comprises:
judging whether the current temperature data sent by the sensor rises to be higher than a first interference temperature within a preset time and then falls to be lower than a second interference temperature, wherein the first interference temperature is higher than the temperature threshold value and the second interference temperature is lower than the first interference temperature;
and if so, entering a step of judging that interference data exist in the current temperature data.
3. The method of claim 1, wherein determining that the current temperature data sent by the sensor is greater than the temperature threshold further comprises:
controlling the counter to increase by one;
and if the count value of the counter is greater than the preset times, generating prompt information and clearing the count value of the counter.
4. The method of claim 1, wherein controlling the increase in the speed of the fan comprises:
and controlling the rotating speed of the fan to be increased to the maximum rotating speed.
5. The method of claim 1, wherein after determining whether the current temperature data sent by the sensor is greater than the temperature threshold, further comprising:
if not, reporting the current temperature data to an upper computer;
if the current temperature data is larger than the preset temperature range, reporting the current temperature data to the upper computer when the interference data does not exist in the current temperature data, or reporting the filtered current temperature data to the upper computer.
6. The temperature adjustment method according to any one of claims 1 to 5, wherein predetermining a change law of temperature data output by the sensor in the presence of the disturbance signal includes:
respectively acquiring first temperature data sent by the sensor in an interference-free environment and second temperature data sent by the sensor in a preset interference environment;
determining a change rule of the temperature data output by the sensor when the interference signal exists based on the first temperature data and the second temperature data.
7. The method of any of claims 1-5, wherein before determining whether the current temperature data sent by the sensor is greater than the temperature threshold, further comprising:
judging whether the server is powered on;
if yes, the step of judging whether the current temperature data sent by the sensor accords with the change rule is carried out.
8. A temperature adjustment system, comprising:
the determining unit is used for predetermining the change rule of the temperature data output by the sensor when the interference signal exists;
the first judgment unit is used for judging whether the current temperature data sent by the sensor is greater than a temperature threshold value or not;
the second judging unit is used for judging whether the current temperature data sent by the sensor accords with the change rule or not when the current temperature data is larger than a temperature threshold value;
a third judging unit, configured to judge that interference data exists in the current temperature data when the current temperature data conforms to the change rule, filter the interference data in the current temperature data, and judge whether the filtered current temperature data is greater than the temperature threshold;
and the control unit is used for controlling the rotating speed of the fan to be increased when the current temperature data does not accord with the change rule or the filtered current temperature data is larger than the temperature threshold value.
9. A temperature adjustment device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the temperature adjustment method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the temperature adjustment method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110680403.5A CN113359965A (en) | 2021-06-18 | 2021-06-18 | Temperature adjusting method and related assembly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110680403.5A CN113359965A (en) | 2021-06-18 | 2021-06-18 | Temperature adjusting method and related assembly |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113359965A true CN113359965A (en) | 2021-09-07 |
Family
ID=77535127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110680403.5A Pending CN113359965A (en) | 2021-06-18 | 2021-06-18 | Temperature adjusting method and related assembly |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113359965A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102420592A (en) * | 2011-11-28 | 2012-04-18 | 浙江网新技术有限公司 | Short-time pulse interference elimination device and implementation method based on high-iron sensor environment |
CN103140811A (en) * | 2010-10-11 | 2013-06-05 | 通用电气公司 | Systems, methods, and apparatus for detecting and removing sensor signal impulse disturbances |
CN103488211A (en) * | 2013-08-06 | 2014-01-01 | 奇瑞汽车股份有限公司 | Intelligent machine box temperature control system and method |
CN104373367A (en) * | 2014-10-14 | 2015-02-25 | 国家电网公司 | Communication device fan control method and device |
CN105718352A (en) * | 2016-01-15 | 2016-06-29 | 常州信息职业技术学院 | Chassis with adaptive speed-regulating, heat dissipation and dust-proof functions |
CN105745591A (en) * | 2013-11-24 | 2016-07-06 | 高通股份有限公司 | System and method for multi-correlative learning thermal management of a system on a chip in a portable computing device |
CN106547325A (en) * | 2016-10-26 | 2017-03-29 | 浙江大华技术股份有限公司 | A kind of fan rotational frequency control method and device |
CN107870272A (en) * | 2017-10-11 | 2018-04-03 | 上海无线电设备研究所 | Electromagnetic interference quick detection and recognition methods under a kind of small space |
CN109001997A (en) * | 2018-07-13 | 2018-12-14 | 安徽云图信息技术有限公司 | A kind of anti-tampering environment information acquisition system |
US20190113956A1 (en) * | 2017-10-18 | 2019-04-18 | Quanta Computer Inc. | Electronic devices and cooling methods |
CN208767931U (en) * | 2018-09-30 | 2019-04-19 | 北京车和家信息技术有限公司 | Motor and vehicle |
CN110332140A (en) * | 2019-08-01 | 2019-10-15 | 联想(北京)有限公司 | The control method for fan and electronic equipment of a kind of electronic equipment |
CN110597144A (en) * | 2019-09-30 | 2019-12-20 | 鞍钢集团自动化有限公司 | Motor sensor data acquisition unit and data acquisition method |
CN210466237U (en) * | 2019-08-06 | 2020-05-05 | 武汉东畅迅驰科技有限公司 | Touch all-in-one machine for information query |
CN112462337A (en) * | 2020-02-28 | 2021-03-09 | 加特兰微电子科技(上海)有限公司 | Method for detecting interference signal, method for suppressing mutual interference, device for suppressing mutual interference, sensor and equipment |
-
2021
- 2021-06-18 CN CN202110680403.5A patent/CN113359965A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103140811A (en) * | 2010-10-11 | 2013-06-05 | 通用电气公司 | Systems, methods, and apparatus for detecting and removing sensor signal impulse disturbances |
CN102420592A (en) * | 2011-11-28 | 2012-04-18 | 浙江网新技术有限公司 | Short-time pulse interference elimination device and implementation method based on high-iron sensor environment |
CN103488211A (en) * | 2013-08-06 | 2014-01-01 | 奇瑞汽车股份有限公司 | Intelligent machine box temperature control system and method |
CN105745591A (en) * | 2013-11-24 | 2016-07-06 | 高通股份有限公司 | System and method for multi-correlative learning thermal management of a system on a chip in a portable computing device |
CN104373367A (en) * | 2014-10-14 | 2015-02-25 | 国家电网公司 | Communication device fan control method and device |
CN105718352A (en) * | 2016-01-15 | 2016-06-29 | 常州信息职业技术学院 | Chassis with adaptive speed-regulating, heat dissipation and dust-proof functions |
CN106547325A (en) * | 2016-10-26 | 2017-03-29 | 浙江大华技术股份有限公司 | A kind of fan rotational frequency control method and device |
CN107870272A (en) * | 2017-10-11 | 2018-04-03 | 上海无线电设备研究所 | Electromagnetic interference quick detection and recognition methods under a kind of small space |
US20190113956A1 (en) * | 2017-10-18 | 2019-04-18 | Quanta Computer Inc. | Electronic devices and cooling methods |
CN109001997A (en) * | 2018-07-13 | 2018-12-14 | 安徽云图信息技术有限公司 | A kind of anti-tampering environment information acquisition system |
CN208767931U (en) * | 2018-09-30 | 2019-04-19 | 北京车和家信息技术有限公司 | Motor and vehicle |
CN110332140A (en) * | 2019-08-01 | 2019-10-15 | 联想(北京)有限公司 | The control method for fan and electronic equipment of a kind of electronic equipment |
CN210466237U (en) * | 2019-08-06 | 2020-05-05 | 武汉东畅迅驰科技有限公司 | Touch all-in-one machine for information query |
CN110597144A (en) * | 2019-09-30 | 2019-12-20 | 鞍钢集团自动化有限公司 | Motor sensor data acquisition unit and data acquisition method |
CN112462337A (en) * | 2020-02-28 | 2021-03-09 | 加特兰微电子科技(上海)有限公司 | Method for detecting interference signal, method for suppressing mutual interference, device for suppressing mutual interference, sensor and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110207784B (en) | Transformer oil level warning method and device and terminal equipment | |
CN105429801B (en) | A kind of flux monitoring method and device | |
WO2013016845A1 (en) | Method and device for detecting clogging of a filter | |
CN111486121A (en) | Fan operation state diagnosis device and method | |
CN103486068B (en) | The control detecting method of intelligent fan and device, intelligent fan | |
CN112734138B (en) | Fault early warning method, device, equipment and storage medium | |
CN105117301A (en) | Memory warning method and apparatus | |
CN114153693B (en) | Method and device for monitoring fan state of server and storage medium | |
CN111124827A (en) | Monitoring device and monitoring method for equipment fan | |
CN109656786B (en) | Log acquisition method and device | |
CN111078387B (en) | Interrupt aggregation device and method thereof | |
CN113259183A (en) | Network relay control method and device, electronic equipment and storage medium | |
CN108398926B (en) | Monitoring device and monitoring system | |
CN112835093A (en) | X-ray tube detection method and device, and X-ray tube control method and device | |
CN108899059B (en) | Detection method and equipment for solid state disk | |
CN117053878A (en) | Computer room environment monitoring system | |
CN109633780B (en) | Method, system and equipment for detecting blockage of stator bar of internal water cooling generator | |
CN113359965A (en) | Temperature adjusting method and related assembly | |
CN111885892B (en) | Heat dissipation control method, system and equipment of power adapter and readable storage medium | |
CN111475292A (en) | Server system and frequency control device of processor in server system | |
CN112765679A (en) | Sensor data management method, device and system and storage medium | |
US8060332B2 (en) | Method for testing sensor function and computer program product thereof | |
CN109882437B (en) | Fan running state monitoring method, system and device and readable storage medium | |
CN108870641B (en) | Drive fault detection method and device and air conditioner | |
CN108279663B (en) | Control system and control method for vehicle error signal, and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210907 |
|
RJ01 | Rejection of invention patent application after publication |