Heat dissipation regulation method and device, communication device, and storage medium

By using configuration files to determine the target fan speed in a white-box switch and employing multiple control modes, the problem of existing technologies being unable to meet complex heat dissipation requirements is solved, achieving flexible and effective heat dissipation control and ensuring system stability and security.

CN116419541BActive Publication Date: 2025-11-07INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310077041.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-03
Publication Date
2025-11-07
Estimated Expiration
2043-02-03

AI Technical Summary

Technical Problem

Existing white-box switch thermal management software cannot meet complex thermal requirements and cannot achieve flexible and effective thermal management, especially under high-temperature conditions, it cannot adjust the fan speed in time to ensure the thermal effect.

Method used

By acquiring temperature sensor and fan information at a preset control time, and using the preset over-temperature threshold and control mode in the configuration file, the target fan speed is determined. Complex control methods such as fixed control, linear control and PID control are adopted to realize a variety of comprehensive speed control strategies to adapt to the heat dissipation requirements of different switch models.

Benefits of technology

It enables flexible and effective heat dissipation control in white-box switches, allowing for timely adjustments to heat dissipation strategies to ensure stable system operation and prevent system crashes or overheating damage caused by abnormal heat dissipation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116419541B_ABST
    Figure CN116419541B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a heat dissipation regulation method and device, communication equipment and storage medium, the method comprises: obtaining temperature sensor information and fan information at a preset regulation time, determining the over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file, obtaining a preset regulation mode in the configuration file according to the over-temperature condition, determining the target speed of the fan, and performing heat dissipation regulation. The heat dissipation regulation method of the embodiments of the present application determines the over-temperature condition of the temperature sensor at a preset debugging time, and uses the configuration file to realize heat dissipation regulation of multiple preset regulation modes, so as to timely adjust the heat dissipation strategy and ensure stable operation of the system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of switch heat dissipation, in particular to a heat dissipation regulation method and device, communication equipment and storage medium. BACKGROUND

[0002] White box switch is a flexible and efficient network device, and users can deploy different applications and services with personalized features on the hardware system according to needs. The white box switch has the function of decoupling software, can reduce cost, improve flexibility, build different components and modules for manufacturers' special needs, and is welcomed by many manufacturers and data centers, especially widely used in large data centers.

[0003] Consistent with other electronic devices, the white box switch also needs to ensure good heat dissipation conditions to maintain the normal operation of each device when working. If the device temperature is too high, it will often affect the normal use and operation of the white box switch. Generally speaking, the heat dissipation related devices in the white box switch mainly include heat dissipation fins, fans and temperature sensors. In order to ensure the heat dissipation effect under high temperature conditions, and at the same time save the energy consumption of the fan when it works at high speed, the fan speed needs to be adjusted according to the temperature sensor data of the white box switch to ensure that the fan speed can also be adjusted when the internal device temperature is too high to ensure the heat dissipation effect.

[0004] The current network operating system of the white box switch, such as the SONiC system (Software for Open Networking in the Cloud, open source network operating system), provides simple heat dissipation regulation software, which can set the fan speed to a certain fixed value according to the current temperature sensor value. For example, when the reading of a sensor of the white box switch exceeds a certain threshold, the fan is set to full speed operation, and below this threshold, it is set to a certain fixed speed non-full speed operation. However, this regulation software function can only provide a fixed speed regulation scheme with multiple grades, and does not have other complex functions related to heat dissipation protection, which cannot meet the more complex heat dissipation requirements of the white box switch. SUMMARY

[0005] The purpose of the embodiment of the present application is to provide a heat dissipation regulation method, device, communication equipment and storage medium, which solves the problem that the fixed speed regulation method cannot meet the heat dissipation requirements, to realize flexible and effective heat dissipation regulation of the switch. The specific technical solutions are as follows:

[0006] In the first aspect of the present application, a heat dissipation regulation method is first provided, which comprises:

[0007] obtaining temperature sensor information and fan information at a preset regulation time;

[0008] According to the temperature sensor information and the fan information, an over-temperature condition of the temperature sensor is determined, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file;

[0009] According to the over-temperature condition, a preset control mode in the configuration file is obtained, a target rotating speed of the fan is determined, and heat dissipation control is performed.

[0010] Optionally, the over-temperature condition of the temperature sensor is determined according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file, including:

[0011] The temperature sensor temperature value and the fan rotating speed value are compared with a preset state value in the configuration file to obtain a temperature sensor or fan state;

[0012] If the temperature sensor or fan state is normal, the temperature sensor temperature value is compared with the preset over-temperature threshold in the configuration file to determine whether the temperature sensor is over-temperature.

[0013] Optionally, the preset control mode in the configuration file is obtained according to the over-temperature condition, the target rotating speed of the fan is determined, and the heat dissipation control is performed, including:

[0014] In the case that the temperature sensor is not over-temperature, a control mode corresponding to the temperature sensor is determined according to the configuration file, a preset fan rotating speed corresponding to the control mode is generated, wherein the preset control mode in the configuration file includes fixed control, linear control and PID control;

[0015] According to the preset fan rotating speed corresponding to the control mode, a maximum value in the preset fan rotating speed is determined as the target rotating speed of the fan, and the heat dissipation control is performed.

[0016] Optionally, in the case that the temperature sensor is not over-temperature, the control mode corresponding to the temperature sensor is determined according to the configuration file, and the preset fan rotating speed corresponding to the control mode is generated, including:

[0017] The temperature sensor identifier, the preset over-temperature threshold, the preset control mode type and the corresponding parameters are written in the configuration file in advance;

[0018] According to the temperature sensor identifier, the control mode of the temperature sensor is determined to be one of the fixed control, the linear control and the PID control;

[0019] According to the preset control mode type and the corresponding parameters in the configuration file, the preset fan rotating speed corresponding to the control mode is generated.

[0020] Optionally, after the preset fan rotating speed corresponding to the regulation mode is generated according to the preset regulation mode type and the corresponding parameters in the configuration file, the method further comprises:

[0021] The configuration file is modified through a command line to modify the preset over-temperature threshold of the temperature sensor or the preset regulation mode type and the corresponding parameters.

[0022] After detecting that the configuration file modification is completed, the system is restarted, and it is determined that the modified configuration file takes effect.

[0023] Optionally, in the case that the temperature sensor is not over-temperature, the regulation mode corresponding to the temperature sensor is determined according to the configuration file, and the preset fan rotating speed corresponding to the regulation mode is generated, comprising:

[0024] The historical regulation information of a temporary file created in advance is read; wherein the temporary file is used to record historical regulation information, including temperature sensor and fan information obtained at a preset regulation time.

[0025] If the temporary file is not read, the temporary file is re-created.

[0026] According to the historical regulation information of the temporary file, the regulation mode corresponding to the temperature sensor at the preset regulation time is determined, and the regulation information recorded in the temporary file is updated.

[0027] Optionally, according to the over-temperature condition, the preset regulation mode in the configuration file is obtained, the target rotating speed of the fan is determined, and the heat dissipation regulation is performed, further comprising:

[0028] In the case that the temperature sensor is over-temperature, the over-temperature times and time are recorded, and the fan is controlled to run at full speed.

[0029] If the over-temperature times exceed the preset over-temperature times within a first preset time, the recorded over-temperature times and time are emptied, the system is restarted, and the restart times and time are recorded.

[0030] If the restart times exceed the preset restart times within a second preset time, the recorded restart times and time are emptied, the system is powered off, and the heat dissipation over-temperature protection is performed.

[0031] In the second aspect of the embodiment of the present application, a heat dissipation regulation device is further provided, comprising:

[0032] An information acquisition module is used to acquire temperature sensor and fan information at a preset regulation time.

[0033] A determination result module is configured to determine an over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in the configuration file.

[0034] A heat dissipation regulation module is configured to obtain a preset regulation mode in the configuration file according to the over-temperature condition, determine a target fan rotating speed, and perform heat dissipation regulation.

[0035] Optionally, the determination result module comprises:

[0036] An obtaining sub-module is configured to compare the temperature sensor temperature value and the fan rotating speed value with preset state values in the configuration file, and obtain a temperature sensor or fan state.

[0037] A determination result sub-module is configured to, if the temperature sensor or fan state is normal, compare the temperature sensor temperature value with a preset over-temperature threshold in the configuration file, and determine whether the temperature sensor is over-temperature.

[0038] Optionally, the heat dissipation regulation module comprises

[0039] A first heat dissipation regulation sub-module is configured to, in a case where the temperature sensor is not over-temperature, determine a regulation mode corresponding to the temperature sensor according to the configuration file, generate a preset fan rotating speed corresponding to the regulation mode, wherein the preset regulation mode in the configuration file comprises a fixed regulation, a linear regulation, and a PID regulation; and determine a maximum value in the preset fan rotating speed as the target fan rotating speed according to the preset fan rotating speed corresponding to the regulation mode, and perform heat dissipation regulation.

[0040] Optionally, the first heat dissipation regulation sub-module comprises:

[0041] A configuration parameter unit is configured to pre-write the temperature sensor identifier, the preset over-temperature threshold, and the preset regulation mode type and corresponding parameters in the configuration file.

[0042] A determination mode unit is configured to determine the regulation mode of the temperature sensor as one of the fixed regulation, the linear regulation, and the PID regulation according to the temperature sensor identifier.

[0043] A rotating speed generating unit is configured to generate the preset fan rotating speed corresponding to the regulation mode according to the preset regulation mode type and corresponding parameters in the configuration file.

[0044] Optionally, the first heat dissipation regulation sub-module further comprises:

[0045] The modification configuration unit is configured to modify the configuration file through a command line to modify the preset over-temperature threshold of the temperature sensor or the preset regulation mode type and corresponding parameters.

[0046] The determination configuration unit is configured to detect that the configuration file modification is completed, control the system to restart, and determine that the modified configuration file takes effect.

[0047] Optionally, the first heat dissipation regulation sub-module further comprises:

[0048] The reading information unit is configured to read historical regulation information of a pre-created temporary file; wherein the temporary file is configured to record the historical regulation information, including temperature sensor and fan information obtained at a preset regulation time;

[0049] The file creation unit is configured to re-create the temporary file if the temporary file is not read.

[0050] The information updating unit is configured to determine a regulation mode corresponding to the temperature sensor at the preset regulation time according to the historical regulation information of the temporary file, and update the regulation information recorded in the temporary file.

[0051] Optionally, the heat dissipation regulation module further comprises:

[0052] The second heat dissipation regulation sub-module is configured to record over-temperature times and time in the case that the temperature sensor is over-temperature, control the fan to run at full speed, clear the recorded over-temperature times and time if the over-temperature times exceed a preset over-temperature times within a first preset time, control the system to restart, record restart times and time, clear the recorded restart times and time if the restart times exceed a preset restart times within a second preset time, control the system to be powered off, and perform heat dissipation over-temperature protection.

[0053] In still another aspect of the embodiments of the present application, a communication device is provided, comprising a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor;

[0054] The processor is configured to read the program in the memory to implement the heat dissipation regulation method.

[0055] In still another aspect of the embodiments of the present application, a computer readable storage medium is provided, wherein instructions are stored in the computer readable storage medium, and when the instructions are executed on a computer, the computer is caused to perform the heat dissipation regulation method.

[0056] The heat dissipation regulation method provided by the embodiment of the present application comprises the following steps: obtaining temperature sensor information and fan information at a preset regulation time; determining an over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file; obtaining a preset regulation mode in the configuration file according to the over-temperature condition; determining a target rotating speed of the fan; and regulating heat dissipation. The heat dissipation regulation method provided by the embodiment of the present application determines the over-temperature condition of the temperature sensor at the preset regulation time, uses the configuration file to set the preset regulation mode to regulate heat dissipation, and realizes the use of complex speed regulation modes such as linear speed regulation and PID speed regulation in a white box switch. The method can realize multiple different comprehensive speed regulation modes on different sensors, and realizes the configuration speed regulation method through the configuration file, which is convenient for adapting to different models of switches, so as to timely adjust the heat dissipation strategy and ensure stable operation of the system. BRIEF DESCRIPTION OF DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced.

[0058] Figure 1 A step flow chart of the heat dissipation regulation method provided by the embodiment of the present application;

[0059] Figure 2 is Figure 1 One of the method flow charts of step 103 of the heat dissipation regulation method provided by the embodiment of the present application in the foregoing embodiment;

[0060] Figure 3 is Figure 1 The second method flow chart of step 103 of the heat dissipation regulation method provided by the embodiment of the present application in the foregoing embodiment;

[0061] Figure 4 A step flow chart of another heat dissipation regulation method provided by the embodiment of the present application;

[0062] Figure 5 A flow chart of a heat dissipation regulation method provided by the embodiment of the present application;

[0063] Figure 6 A structural schematic diagram of a heat dissipation regulation device provided by the embodiment of the present application;

[0064] Figure 7 A structural schematic diagram of a communication device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the drawings. However, those skilled in the art can understand that, in the embodiments of the present application, many technical details are presented in order to make the readers better understand the present application. However, the technical solutions claimed by the present application can be implemented even without these technical details and based on various changes and modifications of the following embodiments. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present application, and the embodiments can be combined and referenced with each other without contradiction.

[0066] Referring to Figure 1 , a step flowchart of the heat dissipation regulation method provided by the embodiments of the present application is shown, and the method can include:

[0067] Step 101, acquiring temperature sensor information and fan information at a preset regulation time.

[0068] In the present embodiment, the overall structure of the heat dissipation regulation in the present embodiment follows the architecture of fan regulation of a network operating system, and the network operating system is generally a SONiC system, wherein the network operating system of the white box switch is an operating system for monitoring the operation of the switch, specifically monitoring the temperature, fan speed and the like of the switch, and has a series of network configuration functions and tools. The heat dissipation regulation software for controlling the fan state according to the state of each temperature sensor is configured in the network operating system, which can ensure that when the internal temperature of the switch rises, the fan speed is adjusted accordingly to dissipate heat, and under good heat dissipation conditions, the normal operation of each device is maintained to ensure that the switch is in a stable running state.

[0069] Specifically, in the present embodiment, the heat dissipation regulation program used by a certain model of white box switch is taken as an example, and the heat dissipation regulation rule of the white box switch is to monitor the data of 10 temperature sensors. After the heat dissipation regulation software is started, the temperature sensor information and fan information are read through the register of the temperature sensor every 1 minute according to the preset regulation time, including the temperature value, state of the temperature sensor and the fan state, speed value, so as to determine whether the fan state is abnormal according to the fan information, and determine whether there is an over-temperature condition according to the temperature sensor information. It should be noted that the preset regulation time can be set to 1 min, 2 min, etc. according to the actual heat dissipation requirement in the heat dissipation regulation program, which is not specifically limited here.

[0070] In the present embodiment, the heat dissipation regulation program of the network operating system of the white box switch acquires the temperature sensor information and fan information at the preset regulation time, so as to determine the sensor temperature in time and perform over-temperature heat dissipation processing, thereby ensuring the heat dissipation regulation.

[0071] In step 102, the over-temperature condition of the temperature sensor is determined according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in the configuration file.

[0072] In the embodiment, the network operating system determines whether the fan state is abnormal according to the fan information, and determines whether the over-temperature condition exists according to the temperature sensor information, and it is to be noted that the over-temperature condition is determined by the preset over-temperature threshold in the configuration file, that is, which temperature sensor is over-temperature and the preset over-temperature threshold for determination are both from the configuration file, so that the fan is set to full speed in the over-temperature condition, or the fan speed is regulated in the non-over-temperature condition.

[0073] Specifically, the configuration file includes preset state values of the temperature sensor and the fan speed, a preset over-temperature threshold, a preset regulation mode and other configuration information, in the embodiment, the heat dissipation configuration in the configuration file is in units of temperature sensors, each temperature sensor has a preset over-temperature threshold, two attributes of a preset regulation mode, and a preset regulation mode type, corresponding parameters and other configuration information.

[0074] It is to be noted that the heat dissipation regulation software compares the temperature sensor information and the fan information with the temperature sensor and fan state values in the configuration file, if any temperature sensor or fan state is abnormal, for example, the temperature of the temperature sensor or the speed value of the fan cannot be obtained, it is determined that the system is over-temperature fault, and the fan will be set to full speed for heat dissipation; if the temperature sensor or the fan state is normal, the temperature value of the temperature sensor is compared with the preset over-temperature threshold in the configuration file first, if the temperature value of the temperature sensor is greater than or equal to the preset over-temperature threshold, it is determined that the temperature sensor is over-temperature, then the fan is set to full speed, and the over-temperature times and time are recorded in the temporary file stored in the random read-write memory RAM, if the over-temperature is recovered, the delay according to the recovery time in the configuration file is required to ensure cooling.

[0075] Specifically, step 102 of determining the over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information can include the following steps:

[0076] First, compare the temperature value of the temperature sensor and the speed value of the fan with the preset state values in the configuration file to obtain the temperature sensor or fan state.

[0077] It is to be noted that the preset state values in the configuration file are set according to the actual temperature sensor of the component, and the preset over-temperature threshold is determined according to the optimal working temperature of the switch system and is set in the configuration file, which is not limited here.

[0078] Secondly, if the temperature sensor or fan state is normal, compare the temperature sensor temperature value with the preset over-temperature threshold in the configuration file to determine whether the temperature sensor is over-temperature.

[0079] In this embodiment, the over-temperature condition of the temperature sensor is determined according to the temperature sensor information and the fan information and the preset over-temperature threshold in the configuration file. The white box switch system in this embodiment provides the configuration file, which is convenient for configuration and debugging.

[0080] Step 103: According to the over-temperature condition, obtain the preset control mode in the configuration file, determine the fan target speed, and perform heat dissipation control.

[0081] In this embodiment, the heat dissipation control software obtains the preset control mode in the configuration file according to the over-temperature condition of the temperature sensor. In the case that the temperature sensor is not over-temperature, the control software will select the preset control mode for use according to the configuration file, generate a preset fan speed through the corresponding parameters of the preset control mode, and then determine the maximum value of the preset fan speed corresponding to all temperature sensors as the fan target speed and set it to the fan for heat dissipation control.

[0082] Specifically, according to the over-temperature condition, in the case that the temperature sensor is not over-temperature, the control mode corresponding to the temperature sensor is determined according to the configuration file, the preset fan speed corresponding to the control mode is generated, the maximum value of the preset fan speed corresponding to the control mode is determined as the fan target speed, and heat dissipation control is performed.

[0083] For example, if the temperature of all temperature sensors and the fan speed are normal, the heat dissipation control software will select the preset control mode for use according to the configuration file, wherein the preset control mode in the configuration file includes fixed control, linear control and PID control, and generate a preset fan speed. For example, temperature sensor temp1 adopts linear control with configuration parameters k=2 and b=40 to generate a preset fan speed; and temperature sensor temp2 adopts PID control with configuration parameters p=2, i=1 and d=0.9. It should be noted that the control needs to rely on historical control temperature and speed, and these information and over-temperature time can be saved in RAM cache in json format.

[0084] In this embodiment, the heat dissipation regulation software determines the maximum value as the target fan speed of the fan after generating the preset fan speed corresponding to all temperature sensors, and sets the target fan speed to the fan for heat dissipation regulation. If a temperature sensor continuously over-temperature after the fan runs at full speed, the regulation software will consider that the temperature sensor cannot continue to work normally. The heat dissipation regulation software determines whether the temperature sensor over-temperature multiple times by comparing the reboot_time in the overtemp_method in the configuration file. For example, the reboot_time in temp1 is 5, which means that the temperature sensor over-temperature more than 5 times in 5 speed regulation cycles, and the temperature sensor executes the restart operation. The shutdown_time is 2, which means that the temperature sensor executes the power-off operation after the temperature sensor over-temperature 2 times to continue to protect the machine. In order to record the over-temperature protection situation, the data of each over-temperature needs to be recorded in the temporary file.

[0085] The heat dissipation regulation method provided in the embodiment of the present application obtains the temperature sensor information and the fan information in the preset regulation time, determines the over-temperature situation of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature situation is determined by the preset over-temperature threshold in the configuration file, obtains the preset regulation mode in the configuration file according to the over-temperature situation, determines the target fan speed, and performs heat dissipation regulation. The heat dissipation regulation method in the embodiment of the present application determines the over-temperature situation of the temperature sensor in the preset debugging time, sets the preset regulation mode by using the configuration file to perform heat dissipation regulation, realizes the use of complex speed regulation modes such as linear speed regulation and PID speed regulation in the white box switch, realizes multiple different comprehensive speed regulation modes on different sensors, and realizes the configuration speed regulation method by using the configuration file, which is convenient for adapting to different models of switches, so as to timely adjust the heat dissipation strategy and ensure the stable operation of the system.

[0086] Further, referring to Figure 2 , Figure 2 is Figure 1 The method flowchart of step 103 of the heat dissipation regulation method provided in the embodiment of the present application, step 103 obtains the preset regulation mode in the configuration file according to the over-temperature situation, determines the target fan speed, and performs heat dissipation regulation, comprising:

[0087] Step 1031, in the case that the temperature sensor does not over-temperature, determines the regulation mode corresponding to the temperature sensor according to the configuration file, and generates the preset fan speed corresponding to the regulation mode; wherein the preset regulation mode in the configuration file includes fixed regulation, linear regulation and PID regulation.

[0088] In this embodiment, in the case that the temperature sensor does not over-temperature, the preset regulation mode of the configuration file is determined according to the preset regulation mode of the configuration file, including fixed regulation, linear regulation and PID regulation, and the preset fan speed corresponding to the regulation mode is generated.

[0089] It should be noted that in order to support more fan speed regulation models, the heat dissipation regulation software adds a configuration file to obtain multiple preset regulation modes, and the preset regulation modes are configured in the configuration file, for example, a linear regulation mode according to temperature sensor data, and the preset fan speed can be calculated by the formula k*temp+b, wherein k is a regulation parameter and b is an initial fan speed; for PID regulation, a simplified formula of the commonly used PID algorithm can be referred to, and the heat dissipation regulation software needs to support different preset regulation modes.

[0090] In step 1032, according to the preset fan speed corresponding to the regulation mode, the maximum value in the preset fan speed is determined as the fan target speed, and heat dissipation regulation is performed.

[0091] In this embodiment, different preset regulation modes need to be switched for different temperature sensors, and different coefficients need to be used in the preset regulation mode speed formula, which is realized by further optimizing the configuration file. Specifically, the temperature sensor identifier to be monitored and the preset over-temperature threshold are provided in the configuration file, and in order to support more regulation modes and application platforms, the preset regulation mode type and the corresponding parameters are also marked, for example, fixed regulation static, linear regulation liner and PID regulation pid, and the parameters include k, b and the like of linear regulation. After the regulation software judges that the fan speed does not need to be set to full speed, the preset fan speed corresponding to the regulation mode is calculated according to the regulation mode and the parameters in the configuration file, and if there are multiple preset fan speed results, the maximum value in the preset fan speed is determined as the fan target speed, and heat dissipation regulation is performed.

[0092] In this embodiment, by determining the regulation mode corresponding to the temperature sensor according to the configuration file when the temperature sensor is not over-temperature, the preset fan speed corresponding to the regulation mode is generated, the maximum value in the preset fan speed is determined as the fan target speed according to the preset fan speed corresponding to the regulation mode, and heat dissipation regulation is performed, so that the linear speed regulation, PID speed regulation and other complex speed regulation modes can be used in the white box switch, multiple different comprehensive speed regulation modes can be realized on different temperature sensors, and the configuration speed regulation method is realized through the configuration file, which is convenient for adaptation on different models of switches.

[0093] Further, with reference to Figure 3 , Figure 3 is Figure 1 the method flowchart of step 103 of the heat dissipation regulation method provided in the embodiment of the present application, which is basically the same as the heat dissipation regulation method provided in the first embodiment of the present application, and the difference lies in that step 103 obtains the preset regulation mode in the configuration file according to the over-temperature condition, determines the fan target speed, and performs heat dissipation regulation, and further comprises:

[0094] Step 1033, in the case of temperature sensor overtemperature, record the overtemperature times and time, control the fan full speed operation.

[0095] Step 1034, if the first preset time overtemperature times exceeds the preset overtemperature times, clear the record overtemperature times and time, control system restart, record the restart times and time.

[0096] Step 1035, if the second preset time restart times exceeds the preset restart times, clear the record restart times and time, control system power off, heat dissipation overtemperature protection.

[0097] Specifically, in steps 1031-1035, in order to record the overtemperature protection situation, the data of each overtemperature needs to be recorded in the temporary file. The heat dissipation control software records the overtemperature times and time in the case of temperature sensor overtemperature, controls the fan full speed operation, and carries out heat dissipation control. The heat dissipation control software judges by reading the control information in the temporary file, the overtemp_timestamp column records the last overtemperature time, if a sensor overtemperature occurs, the software will record the time, and the overtemp column of the corresponding sensor will be added by 1, then it is judged whether the overtemperature times exceeds the preset overtemperature times within the first preset time of the configuration file, if the overtemperature times exceeds the preset overtemperature times within the first preset time, the record overtemperature times and time will be cleared, if the overtemperature times exceeds the preset overtemperature times within a short time, the restart operation will be executed, the reboot time needs to be recorded before the restart, the overtemperature related record items are cleared, and the reboot time item is added by 1, and the file is saved. After the restart, if the restart times exceeds the preset restart times within the second preset time, the record restart times and time will be cleared, the system is powered off, and the heat dissipation overtemperature protection is carried out, all records need to be cleared before the power off, and the file is saved.

[0098] It should be noted that the specific execution position of steps 1033-1035 is not limited in this embodiment, in this embodiment, in order to facilitate understanding, steps 1033-1035 are executed after step 1032. In actual use, steps 1033-1035 can also be executed before step 1032, which will not be described one by one here.

[0099] The embodiment of the present application can support over-temperature protection based on the beneficial effects brought by the first embodiment, when the switch system machine is in a serious high temperature situation or fails, the heat dissipation regulation software cannot guarantee the normal heat dissipation of the machine, in order to ensure the safety of the system, the machine is restarted or directly powered off. Further, the technical solution provided by the embodiment can avoid the problem of system downtime or overheating damage caused by serious abnormal heat dissipation, and can perform heat dissipation over-temperature protection according to the heat dissipation regulation result in real time, and maintain the normal operation of the system.

[0100] The second embodiment of the present application relates to a heat dissipation regulation method, which is basically the same as the heat dissipation regulation method provided by the first embodiment of the present application, and the difference lies in that Figure 4 , comprising:

[0101] Step 201, prewrite temperature sensor identification, preset over-temperature threshold, and mark preset regulation mode type and corresponding parameters in the configuration file.

[0102] Specifically, for different temperature sensors, different preset regulation modes need to be switched, and different coefficients need to be used in the preset regulation mode speed formula, which is realized by further optimizing the configuration file. Specifically, prewrite temperature sensor identification, preset over-temperature threshold, and mark preset regulation mode type and corresponding parameters, such as fixed regulation static, linear regulation liner and PID regulation pid, in the configuration file. Parameters include k, b and the like of linear regulation. After the regulation software judges that the machine does not need to set the fan speed to full speed, the preset fan speed corresponding to the regulation mode is calculated according to the regulation mode and parameters in the configuration file, if there are multiple preset fan speed results, the maximum value of the preset fan speed is determined as the fan target speed, and the heat dissipation regulation is performed.

[0103] Step 202, according to the temperature sensor identification, determine the regulation mode of the temperature sensor as one of fixed regulation, linear regulation and PID regulation.

[0104] Step 203, generate the preset fan speed corresponding to the regulation mode according to the preset regulation mode type and corresponding parameters in the configuration file.

[0105] The embodiment of the present application, in addition to the beneficial effects brought by the first embodiment, writes the temperature sensor identifier, the preset over-temperature threshold, the preset control mode type and the corresponding parameters in the configuration file in advance, determines the control mode of the temperature sensor as one of the fixed control, the linear control and the PID control according to the temperature sensor identifier, and generates the preset fan speed corresponding to the control mode according to the preset control mode type and the corresponding parameters in the configuration file. The heat dissipation control method disclosed in the embodiment of the present application uses the configuration file to set the preset control mode for heat dissipation control, generates the preset fan speed corresponding to the control mode, realizes the use of complex speed regulation modes such as linear speed regulation and PID speed regulation in the white box switch, realizes multiple different comprehensive speed regulation modes on different sensors, and realizes the configuration speed regulation method through the configuration file, which is convenient for adaptation on different models of switches, so as to timely adjust the heat dissipation strategy and ensure the stable operation of the system.

[0106] Specifically, step 203 generates the preset fan speed corresponding to the control mode according to the preset control mode type and the corresponding parameters in the configuration file, and further includes:

[0107] The configuration file is modified through the command line to modify the preset over-temperature threshold or the preset control mode type and the corresponding parameters of the temperature sensor, the configuration file modification is detected to be completed, the system is restarted, and it is determined that the modified configuration file takes effect.

[0108] Specifically, for the heat dissipation debugging process in the embodiment, the heat dissipation configuration is often modified, typical scenarios such as modifying the over-temperature threshold of a sensor or the over-temperature protection threshold, and modifying the parameters of the control algorithm during the debugging process can be realized by directly modifying the configuration file. When the configuration file is relatively complex and is not suitable for direct modification, a script program can be provided to modify the configuration file through the command line, and the configuration takes effect after the control software is automatically restarted after modification. The script program can also be used for standardizing and formatting the current heat dissipation configuration information.

[0109] Further, after step 203, the following steps are included:

[0110] The historical control information of the temporary file created in advance is read, the temporary file is used to record the historical control information, and the temperature sensor and fan information obtained in the preset control time are included; if the temporary file is not read, the temporary file is re-created; the control mode corresponding to the temperature sensor in the preset control time is determined according to the historical control information of the temporary file, and the control information recorded in the temporary file is updated.

[0111] It should be noted that part of the regulation mode needs to refer to the temperature sensor temperature value or fan speed data of the last one or two regulation time, for example, the PID regulation mode needs the heat dissipation regulation software to save the data of the past regulation, which can be saved by establishing a temporary file on the storage medium of the white box switch. When the heat dissipation regulation software needs to be regulated, first read the temporary file, if the file does not exist, create a temporary file, and write the default value of the first regulation into the temporary file in a fixed format, then read the file content and update the temporary file each time. In addition, when the sensor reading value recovers from the over-temperature state, it is still necessary to maintain a full-speed speed for a period of time to prevent over-temperature again, at this time, the temporary file can also be used to record the over-temperature time, and the temporary file can be cleared after ensuring that the temperature has been reduced. In the embodiment, the temporary file can be stored in the RAM space.

[0112] The heat dissipation regulation method disclosed in the embodiments of the present application determines the over-temperature condition of the temperature sensor at the preset debugging time, sets the preset regulation mode by using the configuration file to regulate the heat dissipation, realizes the use of complex speed regulation modes such as linear speed regulation and PID speed regulation in the white box switch, can realize multiple different comprehensive speed regulation modes on different sensors, and realizes the configuration of the speed regulation method through the configuration file, which is convenient for adaptation on different models of switches, so as to timely adjust the heat dissipation strategy and ensure the stable operation of the system.

[0113] In order for those skilled in the art to more clearly understand the flow of the heat dissipation regulation method disclosed in the first and second embodiments of the present application, the flow chart of the heat dissipation regulation method provided by the embodiments of the present application is described by taking Figure 5 as an example.

[0114] Step 301, determining whether the preset regulation time is reached.

[0115] Specifically, after the heat dissipation regulation software is started, whether the preset regulation time is reached is determined according to the system time stamp.

[0116] Step 302, obtaining temperature sensor information and fan information.

[0117] For example, the heat dissipation regulation software obtains the temperature sensor information and the fan information, which can read the temperature sensor information and the fan information through the register of the temperature sensor every 1 minute, including the temperature value, the state of the temperature sensor, and the state and speed value of the fan, so as to enter step 303, determining whether the fan state is abnormal according to the fan information, and determining whether there is a temperature sensor abnormality according to the temperature sensor information.

[0118] Step 303, determining whether the temperature sensor and the fan state are normal.

[0119] Step 304, determining whether the temperature sensor is over-temperature.

[0120] Specifically, the network operating system determines whether there is an over-temperature condition according to the obtained temperature sensor and fan information. It should be noted that the over-temperature condition is determined by a preset over-temperature threshold in the configuration file, that is, which temperature sensor is over-temperature and the preset over-temperature threshold for determination are both from the configuration file, so as to determine the over-temperature condition of the temperature sensor, so as to set the fan to full speed in the over-temperature condition, or to control the fan speed in the non-over-temperature condition. If the temperature sensor is not over-temperature, step 305 is entered to determine the temperature sensor corresponding control mode; if the temperature sensor is over-temperature, step 308 is entered to record the over-temperature times and time, and control the fan to run at full speed.

[0121] Step 305, determining the temperature sensor corresponding control mode, generating the preset fan speed corresponding to the control mode.

[0122] Specifically, in the case that the temperature sensor is not over-temperature, the temperature sensor corresponding control mode is determined according to the configuration file, and the preset fan speed corresponding to the control mode is generated,

[0123] For example, if the temperature of all temperature sensors and the fan speed are normal, the heat dissipation control software will select the preset control mode for use according to the configuration file, wherein the preset control mode in the configuration file includes fixed control, linear control and PID control. For example, temperature sensor temp1 adopts linear control, and the configuration parameters are k=2 and b=40 to generate a preset fan speed; and temperature sensor temp2 adopts PID control, and the configuration parameters are p=2, i=1 and d=0.9. This step refers to the foregoing method and will not be described here.

[0124] Step 306, determining the maximum value in the preset fan speed as the fan target speed.

[0125] Specifically, according to the preset fan speed corresponding to the control mode, the maximum value in the preset fan speed is determined as the fan target speed, and heat dissipation control is performed.

[0126] Step 307, performing heat dissipation control according to the fan target speed.

[0127] Step 308, recording the over-temperature times and time, and controlling the fan to run at full speed.

[0128] Specifically, in the case that the temperature sensor is over-temperature, the fan is set to run at full speed, and the over-temperature time is recorded in the temporary file 1 stored in the RAM. If the over-temperature is recovered, the cooling needs to be ensured according to the recovery time item in the configuration file.

[0129] Step 309, determining whether the over-temperature times exceed the preset over-temperature times.

[0130] Step 310, clear the recorded over-temperature times and times, control system restart, record the restart times and times.

[0131] Step 311, judge whether the restart times exceed the preset restart times.

[0132] Step 312, clear the recorded restart times and times, control system power off, and perform heat dissipation over-temperature protection.

[0133] In the embodiment, if the temperature sensor still continuously over-temperature for a long time after the fan full speed, the heat dissipation control software will consider that it cannot continue to work normally, and the heat dissipation control software judges whether multiple over-temperatures occur through reboot_time in overtemp_method, for example, reboot_time in temp1 is 5, that is, it is considered that over-temperature occurs for 5 speed regulation periods to execute the restart machine operation, and shutdown_time is 2, that is, after the continuous occurrence of the restart machine operation for 2 times, the machine is continued to be protected, and the power-off operation is executed. In order to record the over-temperature protection situation, the data of each over-temperature needs to be recorded in the temporary file.

[0134] In the embodiment of the application, the temperature sensor information and the fan information are acquired at the preset control time, the over-temperature situation of the temperature sensor is determined according to the temperature sensor information and the fan information, wherein the over-temperature situation is determined through the preset over-temperature threshold in the configuration file, the preset control mode in the configuration file is acquired according to the over-temperature situation, the target speed of the fan is determined, and heat dissipation control is performed. The heat dissipation control method described in the embodiment of the application determines the over-temperature situation of the temperature sensor at the preset debugging time, uses the configuration file to set the preset control mode for heat dissipation control, realizes the use of complex speed regulation modes such as linear speed regulation and PID speed regulation in a white box switch, can realize multiple different comprehensive speed regulation modes on different sensors, and realizes the configuration speed regulation method through the configuration file, which is convenient for adaptation on different models of switches, so as to timely adjust the heat dissipation strategy and ensure stable operation of the system.

[0135] Referring to Figure 6 , a structure schematic diagram of a heat dissipation control device provided by an embodiment of the application is shown, as Figure 6 shown, the device can include:

[0136] The information acquisition module 401 is configured to acquire temperature sensor information and fan information at a preset control time.

[0137] The determination result module 402 is configured to determine the over-temperature situation of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature situation is determined through a preset over-temperature threshold in a configuration file.

[0138] The heat dissipation regulation module 403 is configured to obtain a preset regulation mode in the configuration file according to the over-temperature condition, determine a target fan rotating speed, and perform heat dissipation regulation.

[0139] Further, the determination result module 402 includes:

[0140] The obtaining sub-module is configured to compare the temperature sensor temperature value and the fan rotating speed value with preset state values in the configuration file, and obtain a temperature sensor or fan state.

[0141] The determination result sub-module is configured to, if the temperature sensor or fan state is normal, compare the temperature sensor temperature value with a preset over-temperature threshold value in the configuration file, and determine whether the temperature sensor is over-temperature.

[0142] Further, the heat dissipation regulation module 403 includes

[0143] The first heat dissipation regulation sub-module is configured to, in the case that the temperature sensor is not over-temperature, determine a regulation mode corresponding to the temperature sensor according to the configuration file, generate a preset fan rotating speed corresponding to the regulation mode, and determine a maximum value in the preset fan rotating speed as the target fan rotating speed according to the preset fan rotating speed corresponding to the regulation mode, to perform heat dissipation regulation. The preset regulation mode in the configuration file includes fixed regulation, linear regulation, and PID regulation.

[0144] Further, the first heat dissipation regulation sub-module includes:

[0145] The configuration parameter unit is configured to prewrite the temperature sensor identifier, the preset over-temperature threshold value, and the preset regulation mode type and corresponding parameters in the configuration file.

[0146] The determination mode unit is configured to determine the regulation mode of the temperature sensor to be one of fixed regulation, linear regulation, and PID regulation according to the temperature sensor identifier.

[0147] The rotating speed generation unit is configured to generate the preset fan rotating speed corresponding to the regulation mode according to the preset regulation mode type and corresponding parameters in the configuration file.

[0148] Further, the first heat dissipation regulation sub-module further includes:

[0149] The configuration modification unit is configured to modify the configuration file through a command line to modify the preset over-temperature threshold value of the temperature sensor or the preset regulation mode type and corresponding parameters.

[0150] The configuration determination unit is configured to detect that the configuration file modification is completed, control the system to restart, and determine that the modified configuration file takes effect.

[0151] Further, the first heat dissipation regulation sub-module further comprises:

[0152] a reading information unit configured to read historical regulation information of a pre-created temporary file, wherein the temporary file is configured to record the historical regulation information, including temperature sensor information and fan information obtained at a preset regulation time;

[0153] a creating file unit configured to re-create the temporary file if the temporary file is not read;

[0154] an updating information unit configured to determine a regulation mode corresponding to the temperature sensor at the preset regulation time according to the historical regulation information of the temporary file, and update the regulation information recorded in the temporary file.

[0155] Further, the heat dissipation regulation module 403 further comprises:

[0156] a second heat dissipation regulation sub-module configured to record an over-temperature number and time in the case that the temperature sensor is over-temperature, and control the fan to run at full speed, clear the recorded over-temperature number and time, and control the system to restart if the over-temperature number exceeds a preset over-temperature number within a first preset time, record a restart number and time, and clear the recorded restart number and time if the restart number exceeds a preset restart number within a second preset time, and control the system to be powered off for heat dissipation over-temperature protection.

[0157] The heat dissipation regulation device provided by the embodiment of the present application obtains temperature sensor information and fan information at a preset regulation time, determines an over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file, obtains a preset regulation mode in the configuration file according to the over-temperature condition, determines a target rotating speed of the fan, and performs heat dissipation regulation.

[0158] The embodiment of the present application further provides an electronic device, as shown in the figure, comprising a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504, Figure 7

[0159] ​The memory 503 is configured to store a computer program.

[0160] The processor 501 is configured to implement the following steps when executing the program stored in the memory 503:

[0161] The temperature sensor information and the fan information are acquired at the preset control time, the over-temperature condition of the temperature sensor is determined according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in the configuration file, the preset control mode in the configuration file is acquired according to the over-temperature condition, the target rotating speed of the fan is determined, and the heat dissipation control is performed.

[0162] The communication bus of the terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or only one type of bus.

[0163] The communication interface is configured to perform communication between the terminal and other devices.

[0164] The memory can include a Random Access Memory (RAM) and can also include a non-volatile memory, for example, at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0165] The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc. The processor can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0166] In yet another embodiment of the present disclosure, there is provided a computer readable storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the heat dissipation regulation method of any of the above embodiments.

[0167] In yet another embodiment of the present disclosure, there is provided a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the heat dissipation regulation method of any of the above embodiments.

[0168] In the above embodiments, the implementations of all or part of the embodiments can be realized in the form of software, hardware or firmware, or any combination thereof. When implemented in software, the embodiments of the present disclosure can be realized as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present disclosure are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk (SSD)) and the like.

[0169] It should be noted that, in this document, the terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.

[0170] The various embodiments in the specification are described in a related manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.

[0171] The above only describes the preferred embodiments of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method of regulating heat dissipation, characterized by, The method comprises: acquiring temperature sensor information and fan information at a preset control time; determining an over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file; acquiring a preset control mode in the configuration file according to the over-temperature condition, determining a fan target rotating speed, and performing heat dissipation control; the step of acquiring the preset control mode in the configuration file according to the over-temperature condition, determining the fan target rotating speed, and performing heat dissipation control comprises: in a case where the temperature sensor is not over-temperature, determining a control mode corresponding to the temperature sensor according to the configuration file, generating a preset fan rotating speed corresponding to the control mode; wherein the preset control mode in the configuration file comprises fixed control, linear control and PID control; determining a maximum value in the preset fan rotating speed as the fan target rotating speed according to the preset fan rotating speed corresponding to the control mode, and performing heat dissipation control; the step of determining the control mode corresponding to the temperature sensor according to the configuration file, and generating the preset fan rotating speed corresponding to the control mode in a case where the temperature sensor is not over-temperature comprises: reading historical control information of a temporary file created in advance; wherein the temporary file is used for recording historical control information, including temperature sensor and fan information acquired at a preset control time; if the temporary file is not read, a temporary file is re-created; determining the control mode corresponding to the temperature sensor at the preset control time according to the historical control information of the temporary file, and updating the control information recorded in the temporary file.

2. The method of claim 1, wherein, the step of determining the over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file comprises: comparing the temperature sensor temperature value and the fan rotating speed value with a preset state value in the configuration file to acquire a temperature sensor or fan state; if the temperature sensor or fan state is not abnormal, comparing the temperature sensor temperature value with the preset over-temperature threshold in the configuration file to determine whether the temperature sensor is over-temperature.

3. The method of claim 1, wherein, the step of acquiring the preset control mode in the configuration file according to the over-temperature condition, determining the fan target rotating speed, and performing heat dissipation control further comprises: in a case where the temperature sensor is over-temperature, recording an over-temperature frequency and time, and controlling the fan to run at full speed; if the over-temperature frequency exceeds a preset over-temperature frequency within a first preset time, clearing the recorded over-temperature frequency and time, controlling the system to restart, and recording a restart frequency and time; if the restart frequency exceeds a preset restart frequency within a second preset time, clearing the recorded restart frequency and time, controlling the system to be powered off, and performing heat dissipation over-temperature protection.

4. A heat dissipation regulating device, characterized in that, The device comprises: an information acquisition module for acquiring temperature sensor and fan information at a preset control time; a determination result module for determining an over-temperature condition of the temperature sensor according to the temperature sensor information and the fan information, wherein the over-temperature condition is determined by a preset over-temperature threshold in a configuration file; The heat dissipation regulation module is configured to obtain a preset regulation mode in the configuration file according to the over-temperature condition, determine a target fan rotating speed, and perform heat dissipation regulation. The heat dissipation regulation module includes The first heat dissipation regulation sub-module is configured to, in the case that the temperature sensor is not over-temperature, determine a regulation mode corresponding to the temperature sensor according to the configuration file, generate a preset fan rotating speed corresponding to the regulation mode, and perform heat dissipation regulation, wherein the preset regulation mode in the configuration file includes fixed regulation, linear regulation, and PID regulation; and the first heat dissipation regulation sub-module is configured to determine a maximum value in the preset fan rotating speeds as the target fan rotating speed according to the preset fan rotating speed corresponding to the regulation mode, and perform heat dissipation regulation. The first heat dissipation regulation sub-module further includes: The reading information unit is configured to read historical regulation information of a temporary file created in advance, wherein the temporary file is used to record historical regulation information, including temperature sensor and fan information obtained at a preset regulation time. The file creating unit is configured to re-create the temporary file if the temporary file is not read. The updating information unit is configured to determine a regulation mode corresponding to the temperature sensor at the preset regulation time according to the historical regulation information of the temporary file, and update the regulation information recorded in the temporary file.

5. A communication device, characterized by The apparatus includes: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; The processor is configured to read the program in the memory to implement the steps in the heat dissipation regulation method according to any one of claims 1-3.

6. A readable storage medium for storing a program, characterized by The program, when executed by the processor, implements the steps in the heat dissipation regulation method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Fan rotating speed control method and control device

    CN105715573A

  • Heat dissipation control method, system and device and storage medium

    CN108958429A

  • Control method and system of server heat dissipating controller

    CN110594180A

  • Special network card overheating protection method, electronic equipment and machine readable storage medium

    CN112987891A