Fan control method and device of electronic equipment and storage medium

By constructing a predictive model to determine the target virtual temperature and adjust the fan speed, the thermal hysteresis and frequent start-stop problems in the fan control strategy in the existing technology are solved, and better heat dissipation effect and user experience are achieved.

CN119937743APending Publication Date: 2025-05-06HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411725151.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The control strategy of existing notebook fans depends on the PCB sensor temperature and CPU DTS temperature, which has problems such as thermal hysteresis and frequent fan start and stop, affecting performance and user experience.

Method used

By obtaining the real-time temperature of the motherboard and CPU, a prediction model is built to determine the target virtual temperature and adjust the fan speed according to that temperature, balance the heat dissipation effect and fan start oscillation.

Benefits of technology

It effectively avoids the impact of thermal hysteresis on heat dissipation performance, and reduces the negative impact of severe start and stop of the fan on the user experience, improving the overall performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937743A_ABST
    Figure CN119937743A_ABST
Patent Text Reader

Abstract

The invention provides a fan control method and device of electronic equipment and a storage medium. The method comprises the steps that the real-time temperature of a mainboard and the real-time temperature of a central processing unit (CPU) are obtained; determining a target virtual temperature according to the mainboard real-time temperature and the CPU real-time temperature; and adjusting the rotating speed of the fan based on the target virtual temperature. By means of the fan control method, the heat dissipation effect and the fan starting frequency are balanced, the adverse effect of heat hysteresis on the performance is avoided, and the adverse experience brought to a user by violent starting and stopping of the fan is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a fan control method, device and storage medium for an electronic device. Background Art

[0002] At present, the fan table control strategy of notebook fans mainly relies on two temperature judgment conditions as the triggering basis of the fan: one is the temperature of the printed circuit board (PCB) sensor, and the other is the temperature of the central processing unit (CPU) digital temperature sensor (DTS). However, when the PCB sensor temperature is used as the judgment standard, due to the existence of a certain thermal hysteresis, it may affect the performance and overall heat dissipation effect of the notebook. When the CPU sensor temperature is used as the judgment standard, it is easy to cause the changes in the start and stop of the fan to be too frequent and drastic, thereby affecting the user experience. Therefore, a more ideal fan control method is urgently needed. Summary of the invention

[0003] The present disclosure provides a fan control method, device and storage medium for an electronic device, so as to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, a fan control method for an electronic device is provided, the method comprising:

[0005] Get the real-time temperature of the motherboard and the CPU;

[0006] Determining a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU;

[0007] Based on the target virtual temperature, the fan speed is adjusted.

[0008] In one possible implementation, determining the target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU includes:

[0009] Obtain the mainboard historical temperature data set, the CPU historical temperature data set, and the corresponding optimized virtual temperature data set;

[0010] Building a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set;

[0011] The real-time temperature of the mainboard and the real-time temperature of the CPU are input into the prediction model to obtain a target virtual temperature.

[0012] In one possible implementation, adjusting the fan speed based on the target virtual temperature includes:

[0013] Obtain a fan speed table, where the fan speed table includes multiple temperature ranges and a fan speed corresponding to each temperature range;

[0014] According to the target virtual temperature, determining a fan speed corresponding to a temperature range within which the target virtual temperature is located as a target speed;

[0015] Based on the target rotational speed, the rotational speed of the fan is controlled so that the fan rotates at the target rotational speed.

[0016] In one possible implementation, obtaining the real-time temperature of the mainboard and the real-time temperature of the central processing unit CPU includes:

[0017] Get the real-time CPU temperature through the data temperature sensor;

[0018] Get the real-time temperature of the mainboard through the system temperature sensor.

[0019] In one possible implementation, the constructing of a prediction model based on the mainboard historical temperature dataset, the CPU historical temperature dataset and the optimized virtual temperature dataset includes:

[0020] Regression analysis is performed on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set to construct the prediction model.

[0021] According to a second aspect of the present disclosure, a fan control device for an electronic device is provided, the device comprising:

[0022] The acquisition module is used to obtain the real-time temperature of the motherboard and the real-time temperature of the central processing unit CPU;

[0023] A determination module, used for determining a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU;

[0024] The adjusting module is used to adjust the fan speed based on the target virtual temperature.

[0025] In one possible implementation, the determining module is further used to:

[0026] Obtain the mainboard historical temperature data set, the CPU historical temperature data set, and the corresponding optimized virtual temperature data set;

[0027] Building a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set;

[0028] The real-time temperature of the mainboard and the real-time temperature of the CPU are input into the prediction model to obtain a target virtual temperature.

[0029] In one embodiment, the adjustment module is further used for:

[0030] Obtain a fan speed table, where the fan speed table includes multiple temperature ranges and a fan speed corresponding to each temperature range;

[0031] According to the target virtual temperature, determining a fan speed corresponding to a temperature range within which the target virtual temperature is located as a target speed;

[0032] Based on the target rotational speed, the rotational speed of the fan is controlled so that the fan rotates at the target rotational speed.

[0033] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0034] at least one processor; and

[0035] a memory communicatively connected to the at least one processor; wherein,

[0036] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0037] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0038] The fan control method, device and storage medium of the electronic device disclosed in the present invention determine a target virtual temperature through the real-time temperature of the motherboard and the CPU, and trigger the fan to rotate according to the target virtual temperature. The heat dissipation effect and the degree of fan startup shock are balanced, which not only avoids the influence of thermal hysteresis on heat dissipation performance, but also reduces the influence of drastic fan start and stop on user experience.

[0039] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0041] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0042] Figure 1 A schematic diagram of an implementation flow of a fan control method for an electronic device according to an embodiment of the present disclosure is shown;

[0043] Figure 2 A schematic diagram of temperature change in an embodiment of the present disclosure is shown;

[0044] Figure 3 A schematic diagram showing the response of temperature to fan speed according to an embodiment of the present disclosure is shown;

[0045] Figure 4 A schematic diagram showing the structure of a fan control device of an electronic device according to an embodiment of the present disclosure is shown;

[0046] Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0047] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0048] When the temperature of the PCB is used as the judgment standard, the temperature sensor on the PCB is usually not directly near the heat source. Therefore, when these heat sources begin to heat up, the temperature change on the PCB is relatively lagging and cannot immediately reflect the actual temperature status of the core components. This lag may cause the fan to start untimely and fail to quickly and effectively dissipate the heat generated by the core components, which may cause overheating problems and affect the performance stability and service life of electronic equipment.

[0049] When the CPU sensor temperature is used as the judgment standard, since the CPU is one of the main heat sources in electronic devices, its temperature changes are often more drastic. Therefore, if the CPU temperature is directly used as the basis for fan control, the fan may start and stop frequently due to slight fluctuations in the CPU temperature. This frequent fan action will not only generate noise, affecting the user's normal use experience, but may also shorten the service life of the fan due to excessive wear.

[0050] Based on the above problems, according to a first aspect of an embodiment of the present disclosure, a fan control method for an electronic device is provided. Figure 1FIG. 1 is a schematic diagram showing an implementation flow of a fan control method for an electronic device according to an embodiment of the present disclosure. Figure 1 As shown, the method includes:

[0051] Step 101, obtaining the real-time temperature of the mainboard and the real-time temperature of the central processing unit (CPU).

[0052] In one embodiment of the present disclosure, this step can be implemented by the following technical means: an embedded controller (EC) obtains the DTS reading of the CPU and the temperature of the sensor (system temperature sensor) on the PCB where the motherboard is located. Through these readings, the real-time temperature of the motherboard and the real-time temperature of the CPU are obtained.

[0053] Step 102: determining a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU.

[0054] In one embodiment of the present disclosure, this step can be specifically implemented by the following technical means: obtaining a mainboard historical temperature data set, a CPU historical temperature data set, and a corresponding optimized virtual temperature data set; constructing a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set, and the optimized virtual temperature data set; inputting the mainboard real-time temperature and the CPU real-time temperature into the prediction model to obtain the target virtual temperature.

[0055] Specifically, firstly, a series of experimental data points are obtained, including the temperature Y(τ) of the PCB where the motherboard is located and the CPU temperature X(τ) collected at different time points, where τ represents time. These temperature data are sorted into the motherboard historical temperature data set and the CPU historical temperature data set.

[0056] According to the deformation formula of the unsteady heat transfer formula: Where f(τ) represents the temperature that changes with time, K and C are constants, h is the convective heat transfer coefficient, A is the heat transfer area, ρ is the material density, and V c is the volume of the material, τ is the time, and it can be seen that the non-steady-state temperature change process is an exponential relationship related to time. Figure 2 As shown, the horizontal axis represents the time series and the vertical axis represents the temperature. Curve 1 represents the trend of CPU temperature changing over time, curve 2 represents the trend of PCB temperature changing over time, and curve 3 represents the trend of fan speed changing over time.

[0057] from Figure 2It can be seen that the CPU temperature X(τ) changes faster over time, while the motherboard temperature Y(τ) changes slower over time. Assume that there is an optimized virtual temperature Z(τ) whose rate of change is between X(τ) and Y(τ), and its function form is similar to X(τ) and Y(τ). To meet actual needs, the best Z(τ) is generated by adjusting the parameters as the optimized virtual temperature dataset.

[0058] In theory, the optimized virtual temperature Z(τ) can be regarded as the temperature value obtained by a virtual sensor. According to Fourier's law: in, represents heat flow rate, A represents heat transfer area, λ represents thermal conductivity, Represents the temperature gradient. It can be seen that the temperature is linearly inversely proportional to the distance in space, and linearly proportional to the thermal conductivity. Therefore, this virtual sensor needs to meet one of the following physical logics: 1. Assume that there is a PCB material whose thermal conductivity is much higher than the traditional FR4 material, so that it can transfer heat more efficiently. 2. Or, assume that this virtual sensor is a temperature sensor that is closer to the PCB than the existing PCB sensor.

[0059] In this embodiment, the first assumption, that is, the PCB material with higher thermal conductivity, is used as an example for explanation. Further, it is assumed that at any time, there is a linear relationship between the optimized virtual temperature Z(τ) and the CPU temperature X(τ) and the PCB temperature Y(τ), that is, Z(τ)=aX(τ)+bY(τ)+c. In one possible implementation method, the motherboard historical temperature data set, the CPU historical temperature data set, and the optimized virtual temperature data set are brought into the above linear relationship, and regression analysis is performed to obtain the values ​​of a, b, and c.

[0060] Finally, a prediction model is constructed based on these data sets and linear relationships using machine learning or statistical analysis methods. This prediction model learns the relationship between Z(τ), X(τ), and Y(τ), and accurately predicts the target virtual temperature based on the real-time temperature of the motherboard and the real-time temperature of the CPU.

[0061] Step 103: adjusting the fan speed based on the target virtual temperature.

[0062] In one embodiment of the present disclosure, this step can be specifically implemented by the following technical means: obtaining a fan speed table, the fan speed table including multiple temperature ranges and the fan speed corresponding to each temperature range; determining, according to the target virtual temperature, the fan speed corresponding to the temperature range in which the target virtual temperature is located as the target speed; based on the target speed, controlling the speed of the fan so that the fan rotates at the target speed.

[0063] First, get a fan speed table. The fan speed table lists multiple temperature ranges and the fan speed corresponding to each temperature range. The fan speed table is pre-set according to the system's cooling requirements and the fan's performance characteristics, ensuring that the fan can provide appropriate cooling under different temperature conditions.

[0064] Then, according to the obtained target virtual temperature, the temperature range of this temperature is found in the fan speed table. After determining the temperature range corresponding to the target virtual temperature, the fan speed corresponding to this range can be determined as the target speed. Finally, based on the target speed, the fan speed is controlled so that the fan rotates at the target speed.

[0065] The solution of this embodiment can achieve precise adjustment of the fan speed to meet the heat dissipation requirements of the system by obtaining a fan speed table, determining the fan speed corresponding to the temperature range of the target virtual temperature, and controlling the fan speed based on the target speed.

[0066] refer to Figure 3 , where the horizontal axis represents the time series, the vertical axis on the left represents the fan speed, and the vertical axis on the right represents the temperature.

[0067] Curve 11 shows the fan speed changing trend over time when the CPU-based DTS temperature control method is adopted; Curve 12 shows the fan speed changing trend over time when the PCB temperature-based control method is adopted; Curve 13 shows the fan speed changing trend over time when the target virtual temperature-based control method proposed in the present disclosure is adopted. It can be seen from the figure that compared with the control method based on the CPU DTS temperature, the method proposed in the present disclosure has a slight delay in increasing the fan speed, but the speed also reaches full speed within 5 minutes. And compared with the control method based on the PCB temperature, it is significantly faster.

[0068] Curves 21, 22 and 23 respectively represent the change trends of the CPU's DTS, PCB and target virtual temperature over time. It can be seen from the figure that when reaching the same time, the temperature change of the method proposed in the present disclosure is slightly slower than the CPU's DTS temperature change, and slightly faster than the PCB temperature change.

[0069] Therefore, it can be concluded that the fan control method of the present invention balances the heat dissipation effect and the degree of fan startup oscillation, which not only avoids the negative impact of thermal hysteresis on heat dissipation performance, but also reduces the adverse experience brought to users by the sudden start and stop of the fan.

[0070] According to a second aspect of an embodiment of the present disclosure, a fan control device for an electronic device is provided. Figure 4 A schematic diagram of the structure of a fan control device of an electronic device according to an embodiment of the present disclosure is shown. Figure 4As shown, the device comprises:

[0071] The acquisition module 401 is used to acquire the real-time temperature of the mainboard and the real-time temperature of the central processing unit CPU;

[0072] A determination module 402, configured to determine a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU;

[0073] The adjustment module 403 is used to adjust the fan speed based on the target virtual temperature.

[0074] In one embodiment of the present disclosure, the determination module 402 is also used to: obtain a mainboard historical temperature data set, a CPU historical temperature data set, and a corresponding optimized virtual temperature data set; construct a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set, and the optimized virtual temperature data set; input the mainboard real-time temperature and the CPU real-time temperature into the prediction model to obtain a target virtual temperature.

[0075] In one embodiment of the present disclosure, the adjustment module 403 is also used to: obtain a fan speed table, the fan speed table including multiple temperature ranges and the fan speed corresponding to each temperature range; determine the fan speed corresponding to the temperature range in which the target virtual temperature is located as the target speed according to the target virtual temperature; and control the speed of the fan based on the target speed so that the fan rotates at the target speed.

[0076] In one embodiment of the present disclosure, the acquisition module 401 is further used to: acquire the real-time temperature of the CPU through a data temperature sensor; and acquire the real-time temperature of the mainboard through a system temperature sensor.

[0077] In one embodiment of the present disclosure, the determination module 402 is further used to: perform regression analysis on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set to construct the prediction model.

[0078] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0079] Figure 5A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0080] like Figure 5 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0081] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0082] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a fan control method for an electronic device. For example, in some embodiments, a fan control method for an electronic device may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the fan control method for an electronic device described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform a fan control method for an electronic device in any other appropriate manner (e.g., by means of firmware).

[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0084] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0085] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0086] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0087] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0088] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0089] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0090] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0091] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A fan control method for an electronic device, characterized in that: The method comprises: Get the real-time temperature of the motherboard and the CPU; Determining a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU; Based on the target virtual temperature, the fan speed is adjusted.

2. The method according to claim 1, characterized in that: The step of determining the target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU includes: Obtain the mainboard historical temperature data set, the CPU historical temperature data set, and the corresponding optimized virtual temperature data set; Building a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set; The real-time temperature of the mainboard and the real-time temperature of the CPU are input into the prediction model to obtain a target virtual temperature.

3. The method according to claim 1, characterized in that: The adjusting the fan speed based on the target virtual temperature includes: Obtain a fan speed table, where the fan speed table includes multiple temperature ranges and a fan speed corresponding to each temperature range; According to the target virtual temperature, determining a fan speed corresponding to a temperature range within which the target virtual temperature is located as a target speed; Based on the target rotational speed, the rotational speed of the fan is controlled so that the fan rotates at the target rotational speed.

4. The method according to claim 1, characterized in that: The obtaining of the real-time temperature of the mainboard and the real-time temperature of the central processing unit (CPU) includes: Get the real-time CPU temperature through the data temperature sensor; Get the real-time temperature of the mainboard through the system temperature sensor.

5. The method according to claim 2, characterized in that: The constructing of a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set includes: Regression analysis is performed on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set to construct the prediction model.

6. A fan control device for an electronic device, characterized in that: The device comprises: The acquisition module is used to obtain the real-time temperature of the motherboard and the real-time temperature of the central processing unit CPU; A determination module, used for determining a target virtual temperature according to the real-time temperature of the mainboard and the real-time temperature of the CPU; The adjusting module is used to adjust the fan speed based on the target virtual temperature.

7. The device according to claim 6, characterized in that The determining module is further used for: Obtain the mainboard historical temperature data set, the CPU historical temperature data set, and the corresponding optimized virtual temperature data set; Building a prediction model based on the mainboard historical temperature data set, the CPU historical temperature data set and the optimized virtual temperature data set; The real-time temperature of the mainboard and the real-time temperature of the CPU are input into the prediction model to obtain a target virtual temperature.

8. The device according to claim 7, characterized in that The regulating module is further used for: Obtain a fan speed table, where the fan speed table includes multiple temperature ranges and a fan speed corresponding to each temperature range; According to the target virtual temperature, determining a fan speed corresponding to a temperature range within which the target virtual temperature is located as a target speed; Based on the target rotational speed, the rotational speed of the fan is controlled so that the fan rotates at the target rotational speed.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-5.

Citation Information

Cited By

  • Temperature control method, device, equipment and medium

    CN120762477A