CN115977985A - Fan control method and device, electronic equipment and storage medium - Google Patents

Fan control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115977985A
CN115977985A CN202310085472.0A CN202310085472A CN115977985A CN 115977985 A CN115977985 A CN 115977985A CN 202310085472 A CN202310085472 A CN 202310085472A CN 115977985 A CN115977985 A CN 115977985A
Authority
CN
China
Prior art keywords
application software
fan
load
load level
equipment
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
Application number
CN202310085472.0A
Other languages
Chinese (zh)
Inventor
关明慧
黄建武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ziguang Computer Technology Co Ltd
Original Assignee
Ziguang Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ziguang Computer Technology Co Ltd filed Critical Ziguang Computer Technology Co Ltd
Priority to CN202310085472.0A priority Critical patent/CN115977985A/en
Publication of CN115977985A publication Critical patent/CN115977985A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The embodiment of the invention relates to a fan control method, a fan control device, electronic equipment and a storage medium, wherein the method comprises the following steps: monitoring the running state of the installed application software in the equipment where the controlled fan is located, and acquiring the equipment temperature of the equipment; when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software; determining the fan speed according to the load grade of at least one application software and the equipment temperature; and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment. The rotating speed of the fan can be controlled according to the load grade of the application software and by combining the temperature of the equipment, so that the rotating speed of the fan can be controlled more accurately, and the problem that the service life of the equipment is damaged due to overheating of the equipment when the application software with a high load grade runs or the power consumption is wasted due to overhigh rotating speed when the application software with a low load grade runs is avoided.

Description

Fan control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a fan control method and device, electronic equipment and a storage medium.
Background
A conventional fan speed regulation scheme for a personal computer or a server can only obtain temperature information of a temperature sensor involved in speed regulation according to a fan speed regulation execution mechanism and a fan speed regulation parameter of a fan speed regulation table (usually stored in a BIOS or an EC), calculate a corresponding fan rotation speed or a corresponding fan Pulse Width Modulation (PWM), and output the calculated value to a fan.
Disclosure of Invention
The application provides a fan control method, a fan control device, electronic equipment and a storage medium, which are used for solving all or part of problems in the prior art.
In a first aspect, the present application provides a fan control method, including:
monitoring the running state of the installed application software in the equipment where the controlled fan is located, and acquiring the equipment temperature of the equipment;
when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software;
determining the fan speed according to the load grade of at least one application software and the equipment temperature;
and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
By the method, the running state of the installed application software in the equipment where the controlled fan is located is monitored, and the equipment temperature of the equipment is obtained; when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software; determining the fan speed according to the load grade of at least one application software and the equipment temperature; and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment. The rotating speed of the fan can be controlled according to the load grade of the application software and by combining the temperature of the equipment, when the application software with high load runs, the fan is controlled by adopting a higher rotating speed strategy, and when the application software with low load runs, the fan is controlled by adopting a lower rotating speed strategy, so that the rotating speed of the fan can be controlled more accurately, and the phenomenon that the service life of the equipment is damaged due to overheating of the equipment when the application software with high load runs or the power consumption waste is caused by overhigh rotating speed when the application software with low load runs is avoided.
With reference to the first aspect, in a first embodiment of the first aspect of the present invention, the load level of the first application software is determined by:
when the load level of the first application software exists in the preset storage position, acquiring the load level of the first application software from the preset storage position;
or,
and when the load level of the first application software does not exist in the preset storage position, taking the preset load level as the load level of the first application software acquired this time, wherein the first application software is any one of at least one application software.
By the method, when the preset storage position does not have the load grade of the first application software, the preset load grade can be adopted, so that a corresponding fan control strategy can be adopted according to the load grade in the following process.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect of the present invention, when it is monitored that the application software state of at least one application software is running, acquiring a load level of the at least one application software specifically includes:
when the application software state of at least one application software is monitored to be running, acquiring an application software identifier of each application software in the at least one application software;
and determining the load level of the first application software according to the application software identification of the first application software.
With reference to the first embodiment of the first aspect or the second embodiment of the first aspect, in a third embodiment of the first aspect of the present invention, determining the fan speed according to the load level of the at least one application software and the device temperature includes:
taking the highest load level in the load levels of at least one application software as a target load level;
the fan speed is determined based on the target load level and the equipment temperature.
By the method, when a plurality of application software run, the highest load grade in the application software is used as the target load grade, and the fan speed regulation strategy matched with the application software is ensured to be realized when the application software runs, so that the heat dissipation function of the equipment is ensured.
With reference to the third embodiment of the first aspect, in a fourth embodiment of the first aspect of the present invention, the determining the fan speed according to the target load level and the device temperature includes:
determining a corresponding fan speed regulation strategy according to the target load grade;
and matching the corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
With reference to the first embodiment of the first aspect, in a fifth embodiment of the first aspect of the present invention, the method further includes:
when the load level of the first application software does not exist in the preset storage position, acquiring the load rate of the system when the first application software runs;
determining the load level of the first application software according to the load rate and a preset load rate level threshold;
and storing the first corresponding relation between the application software identification of the first application software and the load level in a preset storage position so as to obtain the first corresponding relation from the preset storage position next time and determine the load level of the first application software according to the application software identification and the first corresponding relation.
By the method, when the load grade of the first application software does not exist in the preset storage position, the load grade of the application software is obtained and stored in the preset storage position, and when the application software is used next time, the corresponding load grade can be directly obtained from the preset storage position, so that the obtaining process is simplified, meanwhile, when the application software is operated next time, the accurate load grade of the application software can be obtained from the preset storage position, and the control of the fan is more accurate.
With reference to the fifth embodiment of the first aspect, in a sixth embodiment of the first aspect of the present invention, the method further comprises:
and when the first application software is monitored to be uninstalled, deleting the first corresponding relation from the preset storage position.
By the method, the updating operation such as deletion and the like can be performed on the corresponding relation stored in the preset storage position according to the use condition of the application software, and redundant information is reduced.
In a second aspect, the present application provides a fan control apparatus comprising:
the processing module is used for acquiring the load level of each application software in at least one application software when the application software state of the at least one application software is monitored to be running;
the determining module is used for determining the rotating speed of the fan according to the load grade of at least one piece of application software and the temperature of the equipment;
and the control module is used for controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
Optionally, the apparatus includes:
the processing module is further used for acquiring the load level of the first application software from the preset storage position when the load level of the first application software exists in the preset storage position; or when the load level of the first application software does not exist in the preset storage position, taking the preset load level as the load level of the first application software acquired this time, wherein the first application software is any one of the at least one application software.
Optionally, the processing module is specifically configured to, when it is monitored that the state of the application software of the at least one application software is running, obtain an application software identifier of each application software in the at least one application software; and determining the load level of the first application software according to the application software identification of the first application software.
Optionally, the determining module is specifically configured to take a highest load level of the load levels of the at least one application software as a target load level; the fan speed is determined based on the target load level and the equipment temperature.
Optionally, the apparatus further comprises: a matching module;
the determining module is also used for determining a corresponding fan speed regulating strategy according to the target load grade;
and the matching module is used for matching the corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
Optionally, the apparatus further comprises: the device comprises an acquisition module and a storage module;
the acquisition module is used for acquiring the load rate of the system when the first application software runs when the load level of the first application software does not exist in the preset storage position;
the determining module is further used for determining the load level of the first application software according to the load rate and a preset load rate level threshold;
the storage module is used for storing the first corresponding relation between the application software identifier of the first application software and the load level in a preset storage position so as to obtain the first corresponding relation from the preset storage position next time and determine the load level of the first application software according to the application software identifier and the first corresponding relation.
Optionally, the apparatus further comprises: deleting the module;
and the deleting module is used for deleting the first corresponding relation from the preset storage position when the first application software is monitored to be uninstalled.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor configured to implement the steps of the fan control method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the fan control method as defined in any one of the embodiments of the first aspect.
Drawings
Fig. 1 is a schematic flow chart illustrating a fan control method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another fan control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another fan control method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a method for determining a rotational speed of a fan according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another fan control method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for determining and storing a load level of first application software according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating another fan control method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a fan control device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
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 obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
To solve the technical problems mentioned in the background art, an embodiment of the present application provides a fan control method, and specifically, referring to fig. 1, before introducing the steps of the method, another fan control method is first introduced, as shown in fig. 2, a fan speed regulation actuator (e.g., an Embedded Controller (EC), an I/O chip (Super IO), a substrate manager (BMC), etc.) acquires temperature information of a temperature sensor involved in speed regulation, and a fan speed regulation parameter in a fan speed regulation table (usually stored in a BIOS or an EC), calculates a corresponding fan speed or PWM, and outputs the calculated fan speed or PWM to a fan. Fig. 3 shows a conventional fan speed-adjusting scheme corresponding to fig. 2, where the horizontal axis represents the device temperature obtained by the temperature sensor, and the vertical axis represents the fan pulse width duty ratio PWM, and the fan speed-adjusting scheme has only a single fan speed-adjusting strategy, and has the main problems that: when various application software with different loads is operated, the same fan speed regulation strategy is adopted, and the fan speed regulation strategies with different grades cannot be implemented according to the load of different application software. For example, when running high-load application software, the required fan speed ratio is usually higher, but since the speed regulation scheme does not distinguish the load of the application software, and the same fan speed regulation scheme is adopted, overheating of devices of the equipment or large noise fluctuation caused by the fact that the fan speed cannot be matched with the temperature of the equipment may occur; alternatively, when running low-load application software, the required fan speed ratio is usually low, but since the speed regulation scheme does not distinguish between the high and low of the application software load and the same fan speed regulation scheme is adopted, high fan power consumption and high system noise caused by high fan speed may occur.
Based on this, the present invention provides a fan control method based on different application software, i.e. the flow diagram of the fan control method shown in fig. 1, and the method includes the following steps:
and step 110, monitoring the running state of the installed application software in the equipment where the controlled fan is located, and acquiring the equipment temperature of the equipment.
Specifically, for example, a system application may be developed or a function may be embedded into an existing system application, such as a mauve butler, for monitoring an operation state of application software in an equipment system where the fan is located, and acquiring an equipment temperature of the equipment in real time through the temperature sensing equipment.
And step 120, when the running state of the at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software.
Specifically, different application software has different system loads during running, and load levels can be manually divided, for example, when software with high computation amount runs, the system load is usually high, and when software with low computation amount runs, the system load is usually low, different load levels can be manually divided, and then the application software is divided into corresponding load levels according to the load when the software runs.
In an alternative example, for example, when some application software is running, the load is low, the CPU or system load is 0% -30% of the full load, and the software is defined as L1; when some application software is operated, the load is medium, the CPU or the system load is operated at 30% -70% of the full load, and the software is defined to be L2; some application software is high in load when being operated, the CPU or system load is 70% -100% of the full load, and the software definition level is L3. The load level of the application software may be stored in a preset storage location (may be a BIOS or an EC), and the fan speed regulation actuator (may be an EC, a Super IO, or a BMC), and when the application software is monitored to start to operate, the load level of each operating application software is obtained from the preset storage location.
It should be noted that the load level may be set according to the actual demand, for example, divided into 2 levels, 5 levels, or other levels, and is not limited herein.
The fan speed is determined 130 based on the load level of the at least one application and the device temperature.
Specifically, when only one application software runs, the fan speed is determined according to the load level of the application software and the equipment temperature, and when two or more than two application software runs, the fan speed can be determined according to the running application software corresponding to part or all of all the load levels and the equipment temperature.
Optionally, determining the fan speed according to the load level of the at least one application software and the device temperature includes the method steps as shown in fig. 4:
step 1301, the highest load level in the load levels of at least one application software is taken as a target load level.
At step 1302, a fan speed is determined based on the target load level and the equipment temperature.
Specifically, when two or more pieces of application software are simultaneously run, the highest one of all the load levels corresponding to the running application software may be used as a target load level, and then the fan speed may be determined according to the target load level and the device temperature.
In an alternative example, for example, the system runs the application software a and the application software B simultaneously, the load level of a is L1 (lower), the load level of B is L3 (higher), and then L3 is taken as the target load level, and then the fan speed is determined jointly by combining the device temperature.
By the method, when a plurality of application software run, the highest load grade in the application software is used as the target load grade, and the fan speed regulation strategy matched with the application software is ensured to be available when the plurality of application software run simultaneously, so that the heat dissipation function of the equipment is ensured.
Optionally, determining the fan speed according to the target load level and the device temperature includes:
determining a corresponding fan speed regulation strategy according to the target load grade;
and matching the corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
Specifically, different fan speed regulation strategies can be set for different load levels, for example, at the same temperature, when application software with a high load level runs, a higher rotation speed strategy is adopted, the temperature can be controlled at a lower level, and the situation that the equipment is rapidly heated due to an excessively high load, or the equipment is overheated due to the fact that the rotation speed of the fan cannot follow up, or the fan suddenly adopts a higher rotation speed to cause noise fluctuation is avoided.
In an alternative example, fan throttling strategies based on different load levels are shown in FIG. 5, with each polyline representing a fan throttling strategy for a corresponding load level.
When the application software is not monitored to operate, namely in a standby state, the fan can operate according to the fan speed regulation strategy corresponding to the lowest load level, so that the heat dissipation of the fan is ensured, and larger noise interference can be prevented.
And step 140, controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
Specifically, the rotation of the controlled fan is controlled according to the rotation speed of the fan, and the rotation speed of the fan can be directly output or controlled by outputting pulse current through PWM (pulse width modulation) so as to dissipate heat of the equipment.
Optionally, the load level of the first application software is determined by:
when the load level of the first application software exists in the preset storage position, acquiring the load level of the first application software from the preset storage position;
or,
and when the load grade of the first application software does not exist in the preset storage position, taking the preset load grade as the load grade of the first application software acquired this time.
Specifically, the first application software is any one of at least one application software, the load of the application software installed in the device during operation can be acquired through means such as testing, the load is matched with a preset load level, the load level of each application software is determined, the corresponding relation between the application software and the load level is stored in a preset storage position, when the operation of the first application software is monitored, the load level of the first application software can be directly acquired from the preset storage position, however, if the first application software and the corresponding load level are not stored in the preset storage position, when the first application software operates, the load level corresponding to the first application software cannot be acquired from the preset storage position, and further the corresponding fan speed regulation strategy cannot be acquired, so that the fan cannot operate or can operate only according to the temperature of the device, therefore, the first application software can be given a preset load level, for example, a large number of load levels in operation can be selected as the preset load level in combination with actual situations. Therefore, when the preset storage position does not have the load level of the first application software, the preset load level can be adopted, so that a corresponding fan control strategy can be adopted according to the load level in the following process.
Optionally, when it is monitored that the application software state of the at least one application software is running, acquiring a load level of the at least one application software, specifically including:
when the application software state of at least one application software is monitored to be running, acquiring an application software identifier of each application software in the at least one application software;
and determining the load level of the first application software according to the application software identification of the first application software.
Specifically, the application software may determine the corresponding relationship with the load level through an application software identifier, where the application software identifier may be a serial number of the application software or a name of the application software, store the load level corresponding to the application software identifier in a preset storage location, acquire the application software identifier when the application software runs, and then determine the load level of the application software through the corresponding relationship between the application software identifier and the load level.
Optionally, when the load level corresponding to the first application software does not exist in the preset storage location, in order to conveniently acquire the load level of the first application software from the preset storage location when the first application software runs next time, the present invention further provides the method steps as shown in fig. 6:
and step 610, when the load level of the first application software does not exist in the preset storage position, acquiring the load rate of the system when the first application software runs.
Step 620, determining the load level of the first application software according to the load rate and a preset load rate level threshold.
Step 630, storing the first corresponding relationship between the application software identifier of the first application software and the load level in a preset storage location, so as to obtain the first corresponding relationship from the preset storage location next time and determine the load level of the first application software according to the application software identifier and the first corresponding relationship.
Specifically, in an optional example, when the load level of the first application software does not exist in the preset storage location, the system monitoring program may obtain a load rate of the system when the first application software is running, set a plurality of system load rate thresholds, for example, the first load rate threshold is 30% of full load, and the second load rate threshold is 60% of full load, and determine the load rate of the system when the first application software is running, for example, when the load rate of the system when the first application software is running is less than 30%, the load level of the first application software is one level, and when the system load rate when the first application software is running is greater than or equal to 30% and less than 60%, the load level of the first application software is two levels, and the setting manner of the specific load rate level may be set according to an actual situation, which is only described herein by way of example.
By the method, when the load grade of the first application software does not exist in the preset storage position, the load grade of the application software is obtained and stored in the preset storage position, and when the application software is used next time, the corresponding load grade can be directly obtained from the preset storage position, so that the obtaining process is simplified, meanwhile, when the application software is operated next time, the accurate load grade of the application software can be obtained from the preset storage position, and the control of the fan is more accurate.
When the first application software is unloaded, indicating that the software is no longer running in the device, a manner may be employed to remove the load level of the first application software.
Optionally, when it is monitored that the first application software is uninstalled, the first corresponding relationship is deleted from the preset storage location.
Specifically, when it is monitored that the first application software is uninstalled, the system monitoring program may be used to delete the first correspondence, which is the correspondence between the first application software and the load level thereof, from the preset storage location.
In order to more clearly describe the method of the present invention, the present invention further provides a specific flow chart of a fan control method based on different application software, as shown in fig. 7, when the first application software is opened, that is, when the software starts to run, a preset third party application software, for example, a mauveria manager, acquires application software information of the first application software, matches the application software information with a load level in a preset storage location, then outputs the load level corresponding to the first application software to a BIOS, and the BIOS outputs a fan speed regulation parameter, that is, a fan speed regulation strategy, corresponding to the load level in a fan speed regulation table, and determines a fan speed by using the acquired device temperature, and outputs the fan speed to a fan execution mechanism to control the fan to rotate for device heat dissipation, where the device temperature may be acquired by a temperature sensor, for example, a device temperature sensor, an onboard temperature sensor, or the like.
The fan control method provided by the embodiment of the invention monitors the running state of the installed application software in the equipment where the controlled fan is located, and acquires the equipment temperature of the equipment; when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software; determining the fan speed according to the load grade of at least one application software and the equipment temperature; and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment. The rotating speed of the fan can be controlled according to the power consumption of the application software and the temperature of the equipment, when the application software with high load operates, the fan is controlled by adopting a higher rotating speed strategy, and when the application software with low load operates, the fan is controlled by adopting a lower rotating speed strategy, so that the rotating speed of the fan can be controlled more accurately, and the phenomenon that the service life of the equipment is damaged due to overheating of the equipment when the application software with high load operates or the power consumption waste is caused by overhigh rotating speed when the application software with low load operates is avoided.
In the above, for the embodiments of the fan control method provided by the present application, other embodiments of the fan control provided by the present application are described below, and specific reference is made to the following.
Fig. 8 is a fan control apparatus according to an embodiment of the present invention, including:
a processing module 801, configured to obtain a load level of each application software in the at least one application software when it is monitored that the application software state of the at least one application software is running;
a determining module 802 for determining a fan speed according to a load level of at least one application software and a device temperature;
and the control module 803 is used for controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate heat of the equipment.
Optionally, the apparatus includes:
the processing module 801 is further configured to, when the load level of the first application software exists in the preset storage location, obtain the load level of the first application software from the preset storage location; or when the load level of the first application software does not exist in the preset storage position, taking the preset load level as the load level of the first application software acquired this time, wherein the first application software is any one of the at least one application software.
Optionally, the processing module 801 is specifically configured to, when it is monitored that the application software state of the at least one application software is running, obtain an application software identifier of each application software in the at least one application software; and determining the load level of the first application software according to the application software identification of the first application software.
Optionally, the determining module 802 is specifically configured to take a highest load level of the load levels of the at least one application software as a target load level; the fan speed is determined based on the target load level and the equipment temperature.
Optionally, the apparatus further comprises: a matching module 804;
the determining module 802 is further configured to determine a corresponding fan speed regulation strategy according to the target load level;
and the matching module 804 is used for matching the corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
Optionally, the apparatus further comprises: an acquisition module 805 and a storage module 806;
the obtaining module 805 is further configured to obtain a load rate of a system when the first application software is running when the load level of the first application software does not exist in the preset storage location;
the determining module 802 is further configured to determine a load level of the first application software according to the load rate and a preset load rate level threshold;
the storage module 806 is configured to store the first corresponding relationship between the application software identifier of the first application software and the load level in a preset storage location, so as to obtain the first corresponding relationship from the preset storage location next time and determine the load level of the first application software according to the application software identifier and the first corresponding relationship.
Optionally, the apparatus further comprises: a deletion module 807;
the deleting module 807 is configured to delete the first corresponding relationship from the preset storage location when it is monitored that the first application software is uninstalled.
The functions executed by each component in the fan control device provided by the embodiment of the present invention have been described in detail in any of the above method embodiments, and therefore, are not described herein again.
The fan control device provided by the embodiment of the invention monitors the running state of the installed application software in the equipment where the controlled fan is located, and acquires the equipment temperature of the equipment; when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software; determining the fan speed according to the load grade of at least one application software and the equipment temperature; and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment. The rotating speed of the fan can be controlled according to the power consumption of the application software and the temperature of the equipment, when the application software with high load operates, the fan is controlled by adopting a higher rotating speed strategy, and when the application software with low load operates, the fan is controlled by adopting a lower rotating speed strategy, so that the rotating speed of the fan can be controlled more accurately, and the phenomenon that the service life of the equipment is damaged due to overheating of the equipment when the application software with high load operates or the power consumption waste is caused by overhigh rotating speed when the application software with low load operates is avoided.
As shown in fig. 9, an electronic device according to an embodiment of the present application includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114.
A memory 113 for storing a computer program;
in an embodiment of the present application, when the processor 111 is configured to execute the program stored in the memory 113, the method for controlling a fan according to any one of the foregoing method embodiments includes:
monitoring the running state of the installed application software in the equipment where the controlled fan is located, and acquiring the equipment temperature of the equipment;
when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software;
determining the fan speed according to the load grade of at least one application software and the equipment temperature;
and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
Optionally, the load level of the first application software is determined by:
when the load level of the first application software exists in the preset storage position, acquiring the load level of the first application software from the preset storage position;
or,
and when the load level of the first application software does not exist in the preset storage position, taking the preset load level as the load level of the first application software acquired this time, wherein the first application software is any one of the at least one application software.
Optionally, when it is monitored that the application software state of the at least one application software is running, acquiring a load level of the at least one application software, specifically including:
when the application software state of at least one application software is monitored to be running, acquiring an application software identifier of each application software in the at least one application software;
and determining the load level of the first application software according to the application software identification of the first application software.
Optionally, determining the fan speed according to all the load levels and the device temperature includes:
taking the highest load level in the load levels of at least one application software as a target load level;
the fan speed is determined based on the target load level and the equipment temperature.
Optionally, determining the fan speed according to the target load level and the device temperature includes:
determining a corresponding fan speed regulation strategy according to the target load grade;
and matching the corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
Optionally, the method further comprises:
when the load level of the first application software does not exist in the preset storage position, acquiring the load rate of the system when the first application software runs;
determining the load level of the first application software according to the load rate and a preset load rate level threshold;
and storing the first corresponding relation between the application software identification of the first application software and the load level in a preset storage position so as to obtain the first corresponding relation from the preset storage position next time and determine the load level of the first application software according to the application software identification and the first corresponding relation.
Optionally, the method further comprises:
and when the first application software is monitored to be uninstalled, deleting the first corresponding relation from the preset storage position.
The present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the fan control method provided in any one of the foregoing method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of ...does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice 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 controlling a fan, the method comprising:
monitoring the running state of the installed application software in the equipment where the controlled fan is located, and acquiring the equipment temperature of the equipment;
when the running state of at least one application software is monitored to be running, acquiring the load level of each application software in the at least one application software;
determining a fan speed according to the load grade of at least one application software and the equipment temperature;
and controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
2. The method of claim 1, wherein the load level of the first application software is determined by:
when the load level of the first application software exists in a preset storage position, acquiring the load level of the first application software from the preset storage position;
or,
and when the load level of the first application software does not exist in the preset storage position, taking the preset load level as the load level of the first application software acquired this time, wherein the first application software is any one of the at least one application software.
3. The method according to claim 2, wherein the obtaining of the load level of at least one application software when the application software state of the at least one application software is monitored to be running specifically comprises:
when the application software state of at least one application software is monitored to be running, acquiring an application software identifier of each application software in the at least one application software;
and determining the load level of the first application software according to the application software identification of the first application software.
4. The method of claim 2 or 3, wherein determining the fan speed based on the load level of the at least one application and the device temperature comprises:
taking the highest load level in the load levels of at least one application software as a target load level;
and determining the fan speed according to the target load grade and the equipment temperature.
5. The method of claim 4, wherein determining a fan speed based on the target load level and the equipment temperature comprises:
determining a corresponding fan speed regulation strategy according to the target load grade;
and matching corresponding fan rotating speed from the fan speed regulation strategy according to the equipment temperature.
6. The method of claim 2, further comprising:
when the load level of the first application software does not exist in the preset storage position, acquiring the load rate of a system when the first application software runs;
determining the load level of the first application software according to the load rate and a preset load rate level threshold;
and storing the first corresponding relation between the application software identification of the first application software and the load level in the preset storage position so as to obtain the first corresponding relation from the preset storage position next time and determine the load level of the first application software according to the application software identification and the first corresponding relation.
7. The method of claim 6, further comprising:
and when the first application software is monitored to be uninstalled, deleting the first corresponding relation from the preset storage position.
8. A fan control apparatus, the apparatus comprising:
the monitoring module is used for monitoring the running state of the installed application software in the equipment where the controlled fan is located and acquiring the equipment temperature of the equipment;
the processing module is used for acquiring the load level of each application software in at least one application software when the application software state of the at least one application software is monitored to be running;
the determining module is used for determining the rotating speed of the fan according to the load grade of at least one piece of application software and the temperature of the equipment;
and the control module is used for controlling the controlled fan to rotate according to the rotating speed of the fan so as to radiate the heat of the equipment.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implements the steps of the fan control method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the fan control method according to any one of claims 1 to 7.
CN202310085472.0A 2023-02-02 2023-02-02 Fan control method and device, electronic equipment and storage medium Pending CN115977985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310085472.0A CN115977985A (en) 2023-02-02 2023-02-02 Fan control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310085472.0A CN115977985A (en) 2023-02-02 2023-02-02 Fan control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115977985A true CN115977985A (en) 2023-04-18

Family

ID=85976106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310085472.0A Pending CN115977985A (en) 2023-02-02 2023-02-02 Fan control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115977985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117407250A (en) * 2023-12-15 2024-01-16 上海飞斯信息科技有限公司 Computer performance control system based on real-time processing of running environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117407250A (en) * 2023-12-15 2024-01-16 上海飞斯信息科技有限公司 Computer performance control system based on real-time processing of running environment
CN117407250B (en) * 2023-12-15 2024-03-12 上海飞斯信息科技有限公司 Computer performance control system based on real-time processing of running environment

Similar Documents

Publication Publication Date Title
CN109441864B (en) Server fan control method, device, equipment and computer storage medium
US8779846B2 (en) Performance of digital circuits using current management
US20070143635A1 (en) Throttle management for blade system
CN109563844A (en) Rotation speed of the fan method of adjustment, device, equipment, storage medium, program product
CN115977985A (en) Fan control method and device, electronic equipment and storage medium
CN106371540B (en) System power management method, chip and electronic equipment
CN110219820B (en) Server fan speed regulation method, device, equipment and readable storage medium
US20110320062A1 (en) Computing device and method for controlling temperature thereof
CN114151373B (en) Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan
CN107390852B (en) Control method, electronic device and computer readable storage medium
CN113009999A (en) Power adjustment method and device for processor
CN109185208B (en) Fan speed regulation method and related device
CN109405053A (en) Heating control method and heat supply stove
CN113266457B (en) Method and device for overheat protection of engine
CN104375925A (en) Method and device for controlling fan of server and server
CN116498592A (en) Fan rotating speed stable regulation and control method, system, terminal and storage medium
CN1932300A (en) Fan control system and method
CN116027865A (en) Method and device for regulating and controlling heat dissipation of server, electronic equipment and storage medium
CN115494930A (en) Optimal low energy consumption keeping method, device, equipment and medium
CN104597999B (en) A kind of heat dissipating method and device
CN115051002A (en) Heat dissipation control method and device, computer equipment and storage medium
CN114562475B (en) Control method and device of fan controller and substrate manager
CN113220099B (en) Intelligent heat dissipation method, system and medium
CN110566492A (en) fan speed regulation method, device, equipment and medium
CN113809975B (en) Control method and device for motor rotation speed, electronic equipment 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