Fan state detection method and device, electronic equipment and storage medium

By detecting the fan's speed, duty cycle, and temperature, setting the calibrated speed and difference threshold, and determining in real time whether the fan's air inlet and outlet are blocked, the problem of poor heat dissipation and increased noise caused by blockage of the built-in fan in mobile terminals is solved, thereby improving the user experience.

CN120759791APending Publication Date: 2025-10-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511172650.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-20
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

The built-in fan of the mobile terminal may cause poor heat dissipation, increased noise and waste of power due to blockage of the flow channel, which affects the user experience.

Method used

By detecting the fan's current speed, duty cycle, and temperature, and setting the corresponding calibrated speed and difference threshold, it can determine in real time whether the fan's inlet and outlet are blocked, and alert the user or take corresponding measures when blockage is detected.

Benefits of technology

Accurately detect fan blockage to avoid increased noise, worsening heat dissipation, and wasted power, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120759791A_ABST
    Figure CN120759791A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a fan state detection method and device, electronic equipment and a storage medium. After the fan is started, the current duty ratio, the current rotating speed and the current temperature of the fan are obtained; if the current rotating speed is larger than or equal to a rotating speed threshold value, a calibration rotating speed corresponding to the current duty ratio is obtained to serve as a target calibration rotating speed, a difference threshold value corresponding to the current temperature is obtained to serve as a target difference threshold value, different duty ratios correspond to different calibration rotating speeds, and different temperatures correspond to different difference threshold values; and according to the current rotating speed, the target calibration rotating speed and the target difference threshold value, whether the air inlet and the air outlet of the fan are in a hole blocking state or not is detected. Whether the air inlet and the air outlet of the fan are blocked or not can be accurately detected in real time, so that a corresponding strategy can be made in time when the air inlet and the air outlet of the fan are blocked, and the phenomena of noise increase, heat dissipation deterioration, power consumption waste and the like of electronic equipment caused by fan hole blocking are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of device control, and in particular, to a fan status detection method, device, electronic device, and storage medium. Background Art

[0002] With the development of chips and mobile terminal applications (such as smartphones), the power consumption of mobile terminals is increasing, and the requirements for heat dissipation are becoming increasingly stringent. To improve heat dissipation, more and more mobile terminals are equipped with built-in fans. However, factors such as user habits and dust accumulation caused by long-term use can cause blockage in the flow path of the mobile terminal's built-in fans, resulting in poor heat dissipation, increased noise, and wasted power, resulting in a poor user experience. Summary of the Invention

[0003] The embodiments of the present application provide a fan status detection method, device, electronic device, and storage medium to solve the above technical problems.

[0004] In a first aspect, an embodiment of the present application provides a fan status detection method. The method includes: after the fan is turned on, obtaining the fan's current duty cycle, current speed, and current temperature; if the current speed is greater than or equal to a speed threshold, obtaining a calibrated speed corresponding to the current duty cycle as a target calibrated speed, and obtaining a difference threshold corresponding to the current temperature as a target difference threshold, wherein different duty cycles correspond to different calibrated speeds, and different temperatures correspond to different difference thresholds; based on the current speed, the target calibrated speed, and the target difference threshold, detecting whether the fan's air inlet and outlet are in a blocked state.

[0005] In a second aspect, an embodiment of the present application provides a fan status detection device. The device includes: a real-time data acquisition module for acquiring the fan's current duty cycle, current speed, and current temperature after the fan is turned on; a calibration data acquisition module for acquiring, if the current speed is greater than or equal to a speed threshold, a calibrated speed corresponding to the current duty cycle as a target calibrated speed, and a difference threshold corresponding to the current temperature as a target difference threshold, wherein different duty cycles correspond to different calibrated speeds, and different temperatures correspond to different difference thresholds; and a fan status detection module for detecting whether the fan's air inlet and outlet are in a blocked state based on the current speed, the target calibrated speed, and the target difference threshold.

[0006] In a third aspect, an embodiment of the present application provides an electronic device. The electronic device includes a memory, one or more processors, and one or more applications. The one or more applications are stored in the memory and configured to execute the method provided in the embodiment of the present application when called by the one or more processors.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having program code stored therein, the program code being configured to execute the method provided in the embodiment of the present application when invoked by a processor.

[0008] The embodiments of the present application provide a fan status detection method, device, electronic device and storage medium, which set different calibrated speeds for different duty cycles of the fan and different difference thresholds for different temperatures of the fan. Based on the current speed of the fan, the calibrated speed corresponding to the current duty cycle of the fan, and the difference threshold corresponding to the current temperature of the fan, it is possible to accurately and in real time detect whether the air inlet and outlet of the fan are blocked, so that corresponding strategies can be made in time when the air inlet and outlet of the fan are blocked, thereby avoiding the increase in noise of electronic equipment, deterioration of heat dissipation, waste of power consumption, and the like caused by fan blockage, thereby improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A schematic diagram of a flow chart of a fan status detection method provided in an embodiment of the present application is shown; Figure 2 A schematic diagram showing a flow chart of a fan status detection method provided by another embodiment of the present application is shown; Figure 3 A schematic diagram showing a flow chart of a fan status detection method provided by another embodiment of the present application is shown; Figure 4 A schematic structural diagram of a fan status detection device provided in an embodiment of the present application is shown; Figure 5 A schematic structural diagram of an electronic device provided in one embodiment of the present application is shown. DETAILED DESCRIPTION

[0011] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0012] The fan status detection method of the present application can be applied to a fan status detection device or an electronic device. The fan status detection device can be deployed in an electronic device. The electronic device has a built-in fan that dissipates heat from the electronic device. The electronic device can be a device equipped with Bluetooth connectivity, communication capabilities, computing capabilities, and a display. Electronic devices can include, but are not limited to, smartphones, tablets, laptops, desktop computers, smart home appliances, wearable devices, in-vehicle computers, and virtual reality devices. Electronic devices can communicate with other electronic devices or servers via wired or wireless networks. The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms. The server can be used to provide services for applications running on the electronic device. The fan status detection method of the present application will be described below using an electronic device as an example.

[0013] See also Figure 1 , Figure 1 FIG. 1 is a flow chart showing a fan status detection method according to an embodiment of the present application. Figure 1 As shown, the fan status detection method includes steps S110 to S130.

[0014] Step S110: After the fan is turned on, the current duty cycle, current speed, and current temperature of the fan are obtained.

[0015] Duty cycle refers to the proportion of power-on time to the total time in a pulse cycle, that is, the ratio of the high level duration in the pulse signal to the entire cycle time.

[0016] The electronic device can read the fan status in real time. When the fan status changes from off to on, the fan turns on. After the fan turns on, the electronic device can obtain the fan's current duty cycle, current speed, and current temperature. The current fan temperature refers to the ambient temperature.

[0017] Step S120: If the current speed is greater than or equal to the speed threshold, obtain the calibrated speed corresponding to the current duty cycle as the target calibrated speed, and obtain the difference threshold corresponding to the current temperature as the target difference threshold, where different duty cycles correspond to different calibrated speeds, and different temperatures correspond to different difference thresholds.

[0018] The speed of the fan can reflect whether the fan is stuck or damaged and whether the air inlet and outlet of the fan are blocked. This application sets a speed threshold (for example, 1000 revolutions per minute), which is used to determine whether the fan is stuck or damaged. The electronic device can determine whether the current speed of the fan is less than the speed threshold. If the current speed of the fan is greater than or equal to the speed threshold, it can be determined that the fan is in a normal state and is not stuck or damaged, and the air inlet and outlet of the fan can be further detected to see if they are blocked. If the current speed of the fan is less than the speed threshold, it can be determined that the fan is stuck or damaged, and the user is reminded that the fan is suspected of being stuck or damaged or stuck, and the user is reminded to inspect the fan and turn off the fan to avoid the fan being stuck or damaged, which will cause the noise of the electronic device to increase, the heat dissipation to deteriorate, and the energy efficiency of the entire machine to deteriorate.

[0019] It is understandable that at the factory mold inspection station, the speed of the electronic device's fan at different duty cycles in the unblocked state can be tested. For example, the speed can be calibrated by obtaining the speed once every 5% duty cycle, thereby obtaining different calibrated speeds corresponding to different duty cycles, obtaining the corresponding relationship between the duty cycle and the calibrated speed, and then writing the corresponding relationship between the duty cycle and the calibrated speed into the storage area of ​​the electronic device. The storage area can be a permanent storage area, such as a fixed partition of the electronic device.

[0020] It is understandable that in the whole device, the speed of the fan when the air inlet and outlet are blocked will be higher than the speed when the air inlet and outlet are not blocked. The present application determines whether the fan inlet and outlet are blocked based on the deviation value of the fan speed. In addition, the speed of the fan will be affected by the ambient temperature. The higher the ambient temperature, the faster the fan speed. Therefore, the present application sets different difference thresholds according to different temperatures, and writes the correspondence between the temperature and the difference threshold into the storage area of ​​the electronic device, so that when detecting whether the fan inlet and outlet are blocked in step S130, the speed deviation value is corrected by temperature to avoid detection errors caused by the temperature affecting the fan speed. Among them, the storage area can be a permanent storage area, for example, a fixed partition of the electronic device.

[0021] When the current speed of the fan is greater than or equal to the speed threshold, the calibrated speed corresponding to the current duty cycle can be obtained as the target calibrated speed, and the difference threshold corresponding to the current temperature can be obtained as the target difference threshold, so that in step S130, whether the air inlet and outlet of the fan are in a blocked state can be detected based on these data.

[0022] Step S130: detecting whether the air inlet and outlet of the fan are in a blocked state according to the current speed, the target calibrated speed, and the target difference threshold.

[0023] In a complete device, the speed of a fan's air inlet and outlet is higher when blocked than when unblocked. This application determines whether the fan's air inlet and outlet are blocked based on the fan's speed deviation. The electronic device can determine the difference between the current speed and the target calibrated speed; if the difference is greater than a target difference threshold, the fan's air inlet and outlet are blocked; if the difference is less than or equal to the target difference threshold, the fan's air inlet and outlet are normal.

[0024] In some embodiments, after determining that a fan's air inlet and outlet are blocked, a user can be reminded to check the fan's air inlet and outlet status, thereby preventing the blockage from causing poor heat dissipation in the electronic device, increased noise, and unnecessary power consumption. This reminder may include, but is not limited to, pop-up window reminders and voice reminders.

[0025] Steps S110 to S130 have the following technical effects: different calibrated speeds are set for different duty cycles of the fan, and different difference thresholds are set for different temperatures of the fan. Based on the current speed of the fan, the calibrated speed corresponding to the current duty cycle of the fan, and the difference threshold corresponding to the current temperature of the fan, it is possible to accurately and in real time detect whether the air inlet and outlet of the fan are blocked and dust is accumulated, so that corresponding strategies can be made in time when the air inlet and outlet of the fan are blocked (for example, reminding the user to check the status of the fan flow channel and turn off the fan), thereby avoiding the increase in noise of electronic equipment, deterioration of heat dissipation, waste of power consumption, etc. caused by fan blockage, thereby improving user experience.

[0026] See also Figure 2 , Figure 2 FIG. 1 is a flow chart showing a fan status detection method according to another embodiment of the present application. Figure 2 As shown, the fan status detection method includes steps S210 to S2100.

[0027] Step S210: In response to the fan being turned from an off state to an on state, the number of times the fan's air inlet and outlet are blocked is assigned to zero.

[0028] The electronic device can read the status of the fan in real time. When the status of the fan changes from the off state to the on state, the fan is turned on. At this time, the number of blockages of the fan inlet and outlet can be set to zero.

[0029] Step S220: Obtain the current duty cycle, current speed, and current temperature of the fan.

[0030] Step S230: Determine whether the current rotation speed is less than the rotation speed threshold.

[0031] If the current rotation speed is less than the rotation speed threshold, the fan is determined to be stuck or damaged, and the user is reminded that the fan is suspected to be stuck or damaged and to turn off the fan (step S240).

[0032] If the current rotation speed is greater than or equal to the rotation speed threshold value, it is determined that the fan is in a normal state, at this time, the target calibration rotation speed corresponding to the current duty ratio is obtained as the target calibration rotation speed, and the difference threshold value corresponding to the current temperature is obtained as the target difference threshold value (step S250), so as to further determine whether the inlet and outlet of the fan are blocked according to these data.

[0033] Step S240: determining that the fan is stuck or damaged, reminding the user that the fan is suspected to be stuck or damaged, and reminding the user to turn off the fan.

[0034] In the case of fan stuck or damaged, the user is reminded that the fan is suspected to be stuck or damaged, and the user is reminded to turn off the fan, so as to timely remind the user to repair the fan and avoid the fan being stuck or damaged to bring additional impact to the electronic equipment. The reminding mode can include but is not limited to pop-up window reminding and voice reminding.

[0035] Step S250: obtaining the target calibration rotation speed corresponding to the current duty ratio as the target calibration rotation speed, and obtaining the difference threshold value corresponding to the current temperature as the target difference threshold value.

[0036] Step S260: detecting whether the inlet and outlet of the fan are in a blocked state according to the current rotation speed, the target calibration rotation speed and the target difference threshold value.

[0037] In the whole machine equipment, the rotation speed of the fan when the inlet and outlet are blocked is higher than that when the inlet and outlet are not blocked. The application determines whether the inlet and outlet of the fan are blocked according to the deviation value of the rotation speed of the fan. The electronic equipment can determine the difference between the current rotation speed and the target calibration rotation speed; if the difference is greater than the target difference threshold value, it is determined that the inlet and outlet of the fan are in a blocked state; if the difference is less than or equal to the target difference threshold value, it is determined that the inlet and outlet of the fan are in a normal state.

[0038] If the inlet and outlet of the fan are in a normal state, the blocked hole number is cleared (step S270).

[0039] If the inlet and outlet of the fan are in a blocked state, the blocked hole number is increased by 1 (step S280).

[0040] Step S270: clearing the blocked hole number.

[0041] In some embodiments, after the blocked hole number is cleared, the next fan state detection can be directly entered into step S220, so as to realize uninterrupted continuous detection of the fan state and realize the effect of long-term monitoring of the fan state.

[0042] In other embodiments, as Figure 2As shown, after the number of hole blockages is cleared, step S2100 can be executed to perform a timing operation, and after a preset time period, step S220 can be entered to perform the next fan status detection, thereby realizing intermittent continuous detection of the fan status, achieving the effect of long-term monitoring of the fan status while saving a certain amount of power consumption.

[0043] Step S280: Add 1 to the number of hole blocking times.

[0044] After the number of blockages is increased by 1, it is possible to detect whether the fan's air inlet and outlet are blocked for a long time based on the number of blockages and the blockage threshold (step S290), so as to formulate corresponding strategies for the two situations of short-term and long-term blockage of the fan's air inlet and outlet, thereby avoiding the increase in noise of electronic equipment, deterioration of heat dissipation, waste of power consumption, etc. caused by fan blockage, and improving user experience.

[0045] Step S290: Detecting whether the air inlet and outlet of the fan are blocked for a long time based on the number of blockages and the blockage threshold.

[0046] The blockage threshold is used to determine whether the fan's air inlet and outlet are chronically blocked. The electronic device can determine whether the number of blockages is less than the blockage threshold. If the number of blockages is less than the blockage threshold, the fan's air inlet and outlet are temporarily blocked. If the number of blockages is greater than or equal to the blockage threshold, the fan's air inlet and outlet are chronically blocked. The blockage threshold (for example, 150 times) can be pre-calibrated and stored in a permanent storage area of ​​the electronic device.

[0047] In some embodiments, upon determining that a fan's air inlet or outlet is temporarily blocked, the user can be alerted to the blockage and asked to check the fan's air inlet or outlet. This can help prevent noise buildup, poor heat dissipation, and wasted power consumption, thereby improving user experience. This alert can include, but is not limited to, pop-up window notifications and voice notifications.

[0048] In other embodiments, to avoid frequent reminders affecting the user experience, the present application sets a first value and a second value for controlling the frequency of reminding the user that the fan's air inlet and outlet are blocked, wherein the first value (e.g., 1) is less than the second value (e.g., 101), and the second value is less than a threshold value for the number of times the fan's air inlet and outlet is blocked (e.g., 150). After determining that the fan's air inlet and outlet are blocked for a short period of time, it is possible to detect whether the number of times the fan's air inlet and outlet is blocked is the first value or the second value; if the number of times the fan's air inlet and outlet is blocked is the first value or the second value, the user is reminded that the fan's air inlet and outlet are blocked; if the number of times the fan's air inlet and outlet is blocked is not the first value or the second value, the user is not reminded that the fan's air inlet and outlet are blocked, thereby controlling the frequency of reminding the user that the fan's air inlet and outlet are blocked, and avoiding frequent reminders that disturb the user and affect the user experience.

[0049] In some embodiments, after reminding the user that the fan's air inlet and outlet are in a blocked state, or after determining that the number of blockages is not the first value and the second value, the process can directly enter step S220 for the next fan status detection, thereby achieving uninterrupted and continuous detection of the fan status and realizing the effect of long-term monitoring of the fan status.

[0050] In other embodiments, after reminding the user that the fan's air inlet and outlet are in a blocked state, or after determining that the number of blockages is not the first value and the second value, step S2100 can be executed first to perform a timing operation, and after a preset time has passed, step S220 can be entered to perform the next fan status detection, thereby realizing intermittent continuous detection of the fan status, achieving the effect of long-term monitoring of the fan status while saving a certain amount of power consumption.

[0051] In some embodiments, after determining that the fan's air inlet and outlet are blocked for a long time, the user can be reminded that the fan's air inlet and outlet are blocked for a long time and the user can be reminded to turn off the fan after checking the fan's air inlet and outlet, thereby avoiding increased noise in electronic equipment, worsened heat dissipation, and waste of power consumption caused by fan blockage, thereby improving user experience.

[0052] In other embodiments, in order to avoid frequent reminders affecting the user experience, the present application sets a third value for reminding the user when the fan's air inlet and outlet are blocked for a long time, which may cause the fan to get stuck or damaged. The third value (for example, 201) is greater than the blockage threshold (for example, 150). After determining that the fan's air inlet and outlet are blocked for a long time, it is possible to detect whether the number of blockages is the third value; if the number of blockages is the third value, the user is reminded that the fan's air inlet and outlet are blocked for a long time and the user is reminded to turn off the fan after checking the fan's air inlet and outlet; if the number of blockages is not the third value, the user is not reminded that the fan's air inlet and outlet are blocked for a long time, thereby reminding the user when the fan's air inlet and outlet are blocked for a long time, which may cause the fan to get stuck or damaged, avoiding frequent reminders that affect the user experience and avoiding the deterioration of the device's heat dissipation and noise caused by the fan's air inlet and outlet being blocked for a long time.

[0053] In some embodiments, after determining that the number of hole blocking times is not the third value, the process can directly proceed to step S220 to perform the next fan status detection, thereby achieving uninterrupted and continuous detection of the fan status and achieving the effect of long-term monitoring of the fan status.

[0054] In other embodiments, after determining that the number of hole blockages is not the third value, step S2100 can be executed first to perform a timing operation, and then step S220 can be entered to perform the next fan status detection after a preset time period, thereby realizing intermittent continuous detection of the fan status, achieving the effect of long-term monitoring of the fan status while saving a certain amount of power consumption.

[0055] Step S2100: Start timing and determine whether the timing duration reaches a preset duration.

[0056] The preset duration (for example, 3 seconds) is used to control the frequency of detecting the fan status. The shorter the preset duration, the higher the real-time performance of detecting the fan status. Whenever step S2100 is started, the timer is started from zero and the timing duration is obtained to determine whether the timing duration has reached the preset duration. When the timing duration reaches the preset duration, step S220 is entered for the next fan status detection. When the timing duration has not reached the preset duration, it is continued to determine whether the timing duration has reached the preset duration. Based on step S2100, intermittent and continuous detection of the fan status can be achieved, which can save a certain amount of power consumption while achieving long-term monitoring of the fan status.

[0057] Compared with steps S110 to S130, steps S210 to S2100 also have the following additional technical effects: they can accurately and continuously identify various fan states, such as the fan being in normal state, stuck or damaged state, the fan's air inlet and outlet being blocked for a short period of time, and the fan being blocked for a long period of time, so as to formulate different strategies for different fan states, and promptly remind the user when the fan is stuck or damaged or the hole is blocked, thereby avoiding the increase in noise of electronic equipment, deterioration of heat dissipation, waste of power consumption, etc. caused by the fan being stuck or damaged or the hole being blocked, thereby improving the user experience.

[0058] See also Figure 3 , Figure 3 FIG. 1 is a flow chart showing a fan status detection method according to another embodiment of the present application. Figure 3 As shown, the fan status detection method may include steps S310 to S3140.

[0059] Step S310: In response to the fan being turned from an off state to an on state, the number of times the fan's air inlet and outlet are blocked is assigned to zero.

[0060] Step S320: Obtain the current duty cycle, current speed, and current temperature of the fan.

[0061] Step S330: Determine whether the current rotation speed is less than the rotation speed threshold.

[0062] If the current rotation speed is less than the rotation speed threshold, it is determined that the fan is stuck or damaged, and the user is reminded that the fan is suspected to be stuck or damaged and to turn off the fan (step S340).

[0063] If the current speed is greater than or equal to the speed threshold, a calibrated speed corresponding to the current duty cycle is obtained as a target calibrated speed, and a difference threshold corresponding to the current temperature is obtained as a target difference threshold (step S350 ).

[0064] Step S340: Determine whether the fan is stuck or damaged, and remind the user that the fan is suspected to be stuck or damaged and remind the user to turn off the fan.

[0065] Step S350: obtaining a calibrated speed corresponding to the current duty cycle as a target calibrated speed, and obtaining a difference threshold corresponding to the current temperature as a target difference threshold.

[0066] Step S360: Detect whether the air inlet and outlet of the fan are in a blocked state according to the current speed, the target calibrated speed, and the target difference threshold.

[0067] If the air inlet and outlet of the fan are in normal state, the number of hole blockages is reset to zero (step S370 ).

[0068] If the air inlet and outlet of the fan are in a blocked state, the number of blocked times is increased by 1 (step S380 ).

[0069] Step S370: clear the number of hole blocking times to zero.

[0070] After the number of hole blocking times is reset to zero, the process proceeds to step S3140 to perform a timing operation, and after a preset time has elapsed, the process proceeds to step S320 to perform the next fan status detection.

[0071] Step S380: Add 1 to the number of hole blocking times.

[0072] Step S390: Determine whether the number of hole blocking times is less than a hole blocking times threshold.

[0073] If the hole blocking times are less than the hole blocking times threshold, it is determined whether the hole blocking times are the first value or the second value (step S3100 ).

[0074] If the hole blocking times are greater than or equal to the hole blocking times threshold, it is determined whether the hole blocking times are a third value (step S3120 ).

[0075] Step S3100: Determine whether the number of hole blocking times is the first value or the second value.

[0076] If the number of blockages is the first value or the second value, the user is reminded that the air inlet and outlet of the fan are in a blocked state (step S3110 ).

[0077] If the number of hole blocking times is not the first value or the second value, the process first proceeds to step S3140 to perform a timing operation, and then proceeds to step S320 to perform the next fan status detection after a preset time has passed.

[0078] Step S3110: Remind the user that the air inlet and outlet of the fan are blocked.

[0079] After reminding the user that the fan's air inlet and outlet are in a blocked state, the process first enters step S3140 to perform a timing operation, and then enters step S320 to perform the next fan status detection after a preset time has passed.

[0080] Step S3120: Determine whether the number of hole blocking times is a third value.

[0081] If the number of blockages is the third value, the user is reminded that the air inlet and outlet of the fan are blocked for a long time and the user is reminded to turn off the fan after checking the air inlet and outlet of the fan (step S3130).

[0082] If the number of hole blocking times is not the third value, the process proceeds to step S3140 to perform a timing operation, and after a preset time period, the process proceeds to step S320 to perform the next fan status detection.

[0083] Step S3130: Remind the user that the air inlet and outlet of the fan are blocked for a long time and remind the user to turn off the fan after checking the air inlet and outlet of the fan.

[0084] Step S3140: Start timing and determine whether the timing duration reaches a preset duration.

[0085] Whenever step S3140 is executed, the timer is started, starts counting from zero, obtains the time duration, and determines whether the time duration has reached the preset time duration. When the time duration reaches the preset time duration, the process proceeds to step S320 for the next fan status check. If the time duration has not reached the preset time duration, the process continues to determine whether the time duration has reached the preset time duration. Based on step S3140, intermittent and continuous fan status detection can be achieved, thus enabling long-term monitoring of the fan status while saving a certain amount of power consumption.

[0086] Compared with steps S110 to S130, steps S310 to S3140 also have the following additional technical effects: they can accurately and continuously identify various fan states, such as the fan being in normal state, stuck or damaged state, the fan's air inlet and outlet being blocked for a short period of time, and the fan being blocked for a long period of time, so as to formulate different strategies for different fan states, and promptly remind the user when the fan is stuck or damaged or the hole is blocked, thereby avoiding the increase in noise of electronic equipment, deterioration of heat dissipation, waste of power consumption, etc. caused by the fan being stuck or damaged or the hole being blocked, thereby improving the user experience.

[0087] See also Figure 4 , Figure 4 FIG. 1 shows a schematic diagram of the structure of a fan status detection device provided by an embodiment of the present application. Figure 4As shown, the fan status detection device 100 includes: a real-time data acquisition module 110, a calibration data acquisition module 120, and a fan status detection module 130. The real-time data acquisition module 110 is used to: after the fan is turned on, obtain the current duty cycle, current speed, and current temperature of the fan. The calibration data acquisition module 120 is used to: if the current speed is greater than or equal to the speed threshold, obtain the calibrated speed corresponding to the current duty cycle as the target calibrated speed, and obtain the difference threshold corresponding to the current temperature as the target difference threshold, wherein different duty cycles correspond to different calibrated speeds, and different temperatures correspond to different difference thresholds. The fan status detection module 130 is used to: detect whether the air inlet and outlet of the fan are in a blocked state based on the current speed, the target calibrated speed, and the target difference threshold.

[0088] In some embodiments, the fan status detection module 130 is also used to: determine the difference between the current speed and the target calibrated speed; if the difference is greater than the target difference threshold, determine that the fan's air inlet and outlet are in a blocked state; if the difference is less than or equal to the target difference threshold, determine that the fan's air inlet and outlet are in a normal state.

[0089] In some embodiments, the fan status detection module 130 is also used to: before obtaining the current duty cycle, current speed, and current temperature of the fan, in response to the fan changing from an off state to an on state, assign the number of blockages of the fan inlet and outlet to zero.

[0090] In some embodiments, the fan status detection module 130 is further used to: after determining that the fan's air inlet and outlet are in a blocked state, add 1 to the number of blockages; and detect whether the fan's air inlet and outlet are blocked for a long time based on the number of blockages and the blockage threshold.

[0091] In some embodiments, the fan status detection module 130 is also used to: detect whether the number of hole blockages is less than the hole blockage threshold; if the number of hole blockages is less than the hole blockage threshold, determine that the fan's air inlet and outlet are blocked for a short period of time; if the number of hole blockages is greater than or equal to the hole blockage threshold, determine that the fan's air inlet and outlet are blocked for a long period of time.

[0092] In some embodiments, the fan status detection module 130 is also used to: after determining that the fan's air inlet and outlet are blocked for a short period of time, detect whether the number of blockages is a first value or a second value, wherein the first value is less than the second value, and the second value is less than the blockage threshold; if the number of blockages is the first value or the second value, remind the user that the fan's air inlet and outlet are in a blocked state, and repeat the steps of obtaining the fan's current duty cycle, current speed, and current temperature after a preset time; if the number of blockages is not the first value and the second value, repeat the steps of obtaining the fan's current duty cycle, current speed, and current temperature after a preset time.

[0093] In some embodiments, the fan status detection module 130 is also used to: after determining that the air inlet and outlet of the fan are blocked for a long time, detect whether the number of blockages is a third value, and the third value is greater than the blockage threshold; if the number of blockages is the third value, remind the user that the air inlet and outlet of the fan are blocked for a long time and remind the user to turn off the fan after checking the air inlet and outlet of the fan; if the number of blockages is not the third value, repeat the steps of obtaining the current duty cycle, current speed, and current temperature of the fan after a preset time period.

[0094] In some embodiments, the fan status detection module 130 is further configured to: if the current rotation speed is less than the rotation speed threshold, remind the user that the fan is suspected to be stuck or damaged and remind the user to turn off the fan.

[0095] Those skilled in the art will clearly understand that the fan status detection device 100 provided in the embodiment of the present application can implement the fan status detection method provided in the embodiment of the present application. The specific working process of the above-mentioned device and module can refer to the corresponding process of the spatiotemporal alignment method in the embodiment of the present application, and will not be repeated here.

[0096] In the embodiments provided in the present application, the coupling, direct coupling or communication connection between the modules shown or discussed may be indirect coupling or communication coupling through some interfaces, devices or modules, and may be electrical, mechanical or other forms, and the embodiments of the present application do not limit this.

[0097] In addition, the functional modules in the embodiments of the present application may be integrated into a single processing module, each module may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules, which is not limited in the embodiments of the present application.

[0098] See also Figure 5 , Figure 5 FIG. 1 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 5As shown, the electronic device 200 may include: a memory 210 and a processor 220. The memory 210 stores an application program, and the application program is used to enable the processor 220 to execute the fan status detection method provided in the embodiment of the present application when called by the processor 220.

[0099] The processor 220 may include one or more processing cores. The processor 220 utilizes various interfaces and circuits to connect various components within the electronic device 200. It is used to run or execute instructions, programs, code sets, or instruction sets stored in the memory 210, as well as to call and execute data stored in the memory 210, thereby executing various functions and processing data within the electronic device 200. Optionally, the processor 220 may be implemented in hardware using at least one of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 220 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may also be implemented independently of the processor 220 via a separate communications chip.

[0100] The memory 210 may include random access memory (RAM) or read-only memory (ROM). The memory 210 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 210 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing each of the aforementioned method embodiments, and the like. The data storage area may store data generated by the electronic device 200 during use.

[0101] The present application also provides a computer-readable storage medium having program code stored thereon, wherein the program code is configured to, when called by a processor, cause the processor to execute the fan status detection method provided in an embodiment of the present application.

[0102] The computer-readable storage medium may be an electronic memory such as flash memory, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), a hard disk, or ROM. In some embodiments, the computer-readable storage medium comprises a non-transitory computer-readable storage medium (Non-TCRSM). The computer-readable storage medium has storage space for program code for executing any of the steps of the above-described methods. This program code can be read from or written to one or more computer program products. The program code can be compressed in an appropriate format.

[0103] Finally, it should be noted that the above embodiments are intended only to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents; and such modifications or replacements do not deviate from the spirit and scope of the technical solutions of the various embodiments of this application.

Claims

1. A fan status detection method, characterized in that: include: After the fan is turned on, obtain the fan's current duty cycle, current speed, and current temperature; If the current speed is greater than or equal to the speed threshold, obtaining a calibrated speed corresponding to the current duty cycle as a target calibrated speed, and obtaining a difference threshold corresponding to the current temperature as a target difference threshold, wherein different duty cycles correspond to different calibrated speeds, and different temperatures correspond to different difference thresholds; Whether the air inlet and outlet of the fan are in a blocked state is detected according to the current speed, the target calibrated speed, and the target difference threshold.

2. The method according to claim 1, characterized in that The detecting, based on the current speed, the target calibrated speed, and the target difference threshold, whether the air inlet and outlet of the fan are in a blocked state includes: determining a difference between the current speed and the target calibrated speed; If the difference is greater than the target difference threshold, it is determined that the air inlet and outlet of the fan are in a blocked state; If the difference is less than or equal to the target difference threshold, it is determined that the air inlet and outlet of the fan are in a normal state.

3. The method according to claim 2, characterized in that Before obtaining the current duty cycle, current speed, and current temperature of the fan, the method further includes: In response to the fan being changed from an off state to an on state, the number of times the fan inlet and outlet are blocked is assigned to zero; After determining that the air inlet and outlet of the fan are in a blocked state, the method further includes: Add 1 to the number of times the hole is blocked; Whether the air inlet and outlet of the fan are blocked for a long time is detected according to the blockage frequency and the blockage frequency threshold.

4. The method according to claim 3, characterized in that The detecting whether the air inlet and outlet of the fan are blocked for a long time according to the number of blockages and the blockage threshold includes: If the number of blockages is less than the blockage threshold, it is determined that the fan's air inlet and outlet are blocked for a short period of time; If the number of hole blockages is greater than or equal to the hole blockage threshold, it is determined that the air inlet and outlet of the fan are blocked for a long time.

5. The method according to claim 4, characterized in that After determining that the air inlet and outlet of the fan are blocked for a short period of time, the method further includes: detecting whether the number of hole blockages is a first value or a second value, wherein the first value is less than the second value, and the second value is less than the hole blockage threshold; If the number of blocked holes is the first value or the second value, the user is reminded that the air inlet and outlet of the fan are blocked, and after a preset time, the step of obtaining the current duty cycle, current speed, and current temperature of the fan is repeated; If the number of hole blocking times is not the first value and the second value, the step of obtaining the current duty cycle, current speed, and current temperature of the fan is repeated after a preset time period.

6. The method according to claim 4, characterized in that After determining that the air inlet and outlet of the fan are blocked for a long time, the method further includes: detecting whether the hole blocking number is a third value, the third value being greater than the hole blocking number threshold; If the number of blockages is a third value, the user is reminded that the air inlet and outlet of the fan are blocked for a long time and the user is reminded to turn off the fan after checking the air inlet and outlet of the fan; If the number of hole blocking times is not the third value, the step of obtaining the current duty cycle, current speed, and current temperature of the fan is repeated after a preset time period.

7. The method according to any one of claims 1 to 6, characterized in that After obtaining the current duty cycle, current speed, and current temperature of the fan, the method further includes: If the current rotation speed is less than the rotation speed threshold, the user is reminded that the fan is suspected to be stuck or damaged and the user is reminded to turn off the fan.

8. A fan status detection device, characterized in that: include: Real-time data acquisition module, used to obtain the fan's current duty cycle, current speed, and current temperature after the fan is turned on; a calibration data acquisition module, configured to, if the current speed is greater than or equal to the speed threshold, acquire a calibration speed corresponding to the current duty cycle as a target calibration speed, and acquire a difference threshold corresponding to the current temperature as a target difference threshold, wherein different duty cycles correspond to different calibration speeds, and different temperatures correspond to different difference thresholds; The fan status detection module is used to detect whether the air inlet and outlet of the fan are in a blocked state according to the current speed, the target calibrated speed, and the target difference threshold.

9. An electronic device, characterized in that: include: A memory and a processor, wherein an application is stored in the memory, and the application is used to enable the processor to execute the method according to any one of claims 1 to 7 when called by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and when the program code is called by a processor, the processor is configured to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Fan apparatus, electronic apparatus, and control method for them

    CN101400897A

  • Fan failure detection circuit and detection method thereof

    CN101435844A

  • GPS automatic electricity-saving system and method

    CN102103209A

  • Abnormal early warning method, device and equipment for fan and medium

    CN114320970A

  • Message pushing method and device, electronic equipment and storage medium

    CN115623035A