Fan control method, fan and storage medium

Through the cooperation of the camera device and the processor, the fan automatically stops or adjusts when it detects that the target object is not within the air supply angle range, solving the problem of insufficient power consumption and flexibility of the fan, and achieving more efficient energy consumption management and intelligence .

CN119267290APending Publication Date: 2025-01-07JIANGSU DONGCHENG TOOLS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411482873.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The continuous operation of the fan when the user leaves the air supply angle range causes ineffective power consumption and the head swing mode is not flexible and automated enough.

Method used

Use camera device to detect the target object in front of the fan. If the target object is not within the air supply angle, stop the air supply or reset. If the target object is within the range, adjust the fan direction to maintain effective air supply. Combined with the processor control actuation module to realize the fan Intelligent control.

Benefits of technology

Reduce the ineffective power consumption of the fan, improve the flexibility and intelligence of fan steering control, and ensure that the fan is automatically adjusted in the right position to save energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119267290A_ABST
    Figure CN119267290A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the field of intelligent equipment, and discloses a fan control method, a fan and a storage medium. The fan control method comprises the steps that when a fan is in a directional working state, whether a target object is recognized in a wide-area visual angle range of a camera device facing downwards at present of a working device or not is detected; wherein the wide-area visual angle range of the camera device is changed along with the change of the orientation of the working device; if the target object is recognized, controlling the working device to turn to the direction of the target object; if the target object is contained in the air supply angle range of the working device in the steering process, the working device is controlled to stop rotating and keep air supply, and if the target object does not enter the air supply angle range of the working device all the time in the steering process, the working device is controlled to reset and stop air supply, therefore, energy waste caused by invalid work of the fan is reduced, flexibility of steering control of the fan is improved, and fan control is more intelligent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of intelligent devices, and in particular to a fan control method, a fan and a storage medium. Background Art

[0002] Fans generally have two working states: one is directional working state, that is, blowing air continuously in a fixed direction; the other is uniform swing working state, that is, rotating at a fixed speed within the maximum swing angle range and blowing air continuously. The fan's working state switching and working or standby state are all controlled by the user.

[0003] However, the inventors have found that the fan has at least the following problems: if the user leaves the fan's air supply angle range for some reason and forgets to stop the fan from blowing, the fan continues to run and does ineffective work, resulting in waste. In addition, if the user leaves the air supply angle range, the user needs to control the fan to adjust to a suitable blowing angle by himself, and the fan's swing head working mode is not flexible and not automated enough. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a fan control method, a fan and a storage medium, so as to reduce the energy waste caused by the fan doing ineffective work and improve the flexibility of the fan steering control, so as to make the fan control more intelligent.

[0005] To solve the above technical problems, an embodiment of the present invention provides a fan control method, comprising: when the fan is in a directional working state, detecting whether a target object is identified within the wide-area viewing angle of a camera device in the current direction of the working device; wherein the wide-area viewing angle of the camera device changes with the direction of the working device; if the target object is identified, the working device is controlled to turn to the direction of the target object; in the process of controlling the working device to turn to the direction of the target object, if the target object is included in the air supply angle range of the working device during the turning process, the working device is controlled to stop rotating and keep supplying air, and if the target object never enters the air supply angle range of the working device during the turning process, the working device is controlled to reset and stop supplying air.

[0006] An embodiment of the present invention also provides a fan, comprising: a working device, an actuating module, a camera device, a base and a processor; the working device is connected to the base through the actuating module; the actuating module is arranged in the inner cavity of the base; the camera device is arranged on the working device, and the wide-area viewing angle range of the camera device changes with the direction of the working device; the processor is connected to the actuating module, and the processor is used to control the actuating module to drive the working device to rotate, so as to realize the above-mentioned fan control method.

[0007] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned fan control method when executed by a processor.

[0008] Compared with the prior art, the embodiment of the present invention, when the fan is in a directional working state, uses a camera device to identify whether there is a target object in front of the fan. If there is a target object, it is determined whether the target object is within the air supply angle range. If the target object is not within the air supply angle range regardless of how the fan rotates, it means that the fan air supply effect does not affect the target object and the fan is doing ineffective work. At this time, the control working device is reset and stops supplying air, reducing the energy waste of the fan doing ineffective work. In addition, if it is identified that there is a target object in front of the fan, and the target object can be within the air supply angle range by controlling the fan rotation, the control working device is turned to the direction of the target object, and the fan is intelligently controlled to turn to the appropriate position by itself.

[0009] In addition, when the fan is in a directional working state, if the target object is not identified within the wide-area viewing angle of the camera device in the current direction of the working device within the first preset time, the working device is controlled to rotate within the maximum swing angle range, and the wide-area viewing angle of the camera device is continuously identified during the rotation of the working device. Whether the target object is included in the wide-area viewing angle of the camera device; if the target object is identified during the rotation of the working device, the working device is controlled to turn to the direction of the target object so that the target object is within the air supply angle range of the working device; if the target object is not identified within the maximum swing range of the working device, the working device is controlled to reset and stop supplying air. In this way, when the fan is doing ineffective work in the directional working state, the fan can be automatically controlled to adjust to a suitable air supply angle, or the fan can be automatically controlled to stop supplying air to save power consumption.

[0010] In addition, if the number of identified target objects is greater than 1, the shortest straight-line distance between each target object and the working device is calculated; the direction of the target object with the smallest shortest straight-line distance is selected as the target direction of the working device, and the working device is controlled to turn to the target direction. In the case of multiple target objects in front of the fan, a suitable and fixed single object is selected to adjust the fan blowing direction, so as to avoid the influence of multiple target objects on the control of the fan, which is conducive to improving the accuracy of fan control.

[0011] In addition, after the working device is controlled to turn to the target direction, the method further includes: if the target object of the shortest straight-line distance is outside the air supply angle range under the current direction of the working device, the shortest straight-line distance between the target object within the wide-area viewing angle range of the camera device under the current direction of the working device and the working device is recalculated, and the target direction of the air blowing of the working device is re-determined based on the recalculated shortest straight-line distances. In this way, when there are multiple target objects, the fan can make effective output while reducing the operation of turning the fan.

[0012] In addition, when the fan is in the uniform swinging working state, if the target object is not recognized within the wide-area viewing angle of the camera device within the second preset time, the working device is controlled to reset and be in a standby state. In this way, when there is no object that needs to be blown in front of the fan, the fan automatically stops working to reduce energy consumption.

[0013] In addition, after the fan is in the standby state, the method further includes: if a target object is detected within the wide-area viewing angle of the camera device, the fan is restored to the uniform speed swinging working state. In this way, when an object requiring air blowing is detected in front of the fan, the fan can be woken up immediately and restored to the state before the standby state.

[0014] In addition, the function of the camera device to identify the target object is activated by triggering a voice command; and / or the switching of the identified target object is triggered by a gesture command.

[0015] In addition, after controlling the working device to turn toward the direction of the target object, it also includes: adjusting the preset wind speed according to the actual distance between the target object and the fan, and the corresponding relationship between the preset wind speed and the distance; wherein the adjusted wind speed is greater than or equal to the preset wind speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1 is a flow chart of a fan control method according to an embodiment of the present invention;

[0018] Figure 2 is a schematic diagram of a wide-area viewing angle range of a camera device and an air supply angle range of a working device according to an embodiment of the present invention;

[0019] Figure 3 is a flow chart of another fan control method according to an embodiment of the present invention;

[0020] Figure 4 is a schematic structural diagram of a fan according to an embodiment of the present invention;

[0021] Figure 5 4 is a schematic cross-sectional structural diagram of a fan according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are provided to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0023] The following embodiments are divided for the convenience of description and shall not constitute any limitation on the specific implementation of the present invention. The embodiments may be combined with each other and referenced to each other without contradiction.

[0024] An embodiment of the present invention relates to a fan control method, comprising: when the fan is in a directional working state, detecting whether a target object is identified within the wide-area viewing angle of a camera device in the current direction of a working device; wherein the wide-area viewing angle of the camera device changes with the direction of the working device; if the target object is identified, the working device is controlled to turn in the direction of the target object; in the process of controlling the working device to turn in the direction of the target object, if the target object is included in the air supply angle range of the working device during the turning process, the working device is controlled to stop rotating and keep supplying air, and if the target object never enters the air supply angle range of the working device during the turning process, the working device is controlled to reset and stop supplying air.

[0025] Compared with the prior art, the embodiment of the present invention, when the fan is in a directional working state, uses a camera device to identify whether there is a target object in front of the fan. If there is a target object, it is determined whether the target object is within the air supply angle range. If the target object is not within the air supply angle range regardless of how the fan rotates, it means that the fan air supply effect does not affect the target object and the fan is doing ineffective work. At this time, the control working device is reset and stops supplying air, reducing the energy waste of the fan doing ineffective work. In addition, if it is identified that there is a target object in front of the fan, and the target object can be within the air supply angle range by controlling the fan rotation, the control working device is turned to the direction of the target object, and the fan is intelligently controlled to turn to the appropriate position by itself.

[0026] The fan control rules of this implementation are described in detail below. The following content is only implementation details provided for easy understanding and is not necessary for implementing this solution.

[0027] When the fan is in working state, it has a directional working state mode and a uniform speed swing working state mode. The following is a specific description of the fan control methods in different working modes:

[0028] When the fan is in directional working mode, Figure 1 As shown, the fan control method includes the following steps:

[0029] Step 101 , when the fan is in a directional working state, detecting whether a target object is recognized within the wide-area viewing angle of a camera device in the current direction of the working device.

[0030] Specifically, when the fan is in a directional working state, the fan will blow air in a fixed direction, and the wind speed will remain at a set fixed value. At this time, the wide-area viewing angle range captured by the camera device will include the fan's air supply angle range, where the wide-area viewing angle range is the monitorable range of the camera device, and the air supply angle range is the fan's air blowing coverage range. Figure 2 As shown, the wide-area viewing angle range α captured by the camera device completely covers the air supply angle range β of the fan. By using the image captured in front of the fan, it can be determined whether there is an object that needs air supply in the direction where the fan is blowing, for example, whether there is a user or equipment and objects that need air supply, etc. The object that needs air supply is the target object mentioned in this embodiment.

[0031] After the camera device takes an image, the processor identifies the objects in the image. After determining that there are objects in the image that meet the corresponding shape, size and other characteristics, it is determined that the target object is identified within the wide-area viewing angle of the camera device. Conversely, if there are no objects in the image that meet the corresponding shape, size and other characteristics, it is determined that the target object is not identified within the wide-area viewing angle of the camera device.

[0032] Step 102: If the target object is identified, the working device is controlled to turn to the direction where the target object is located.

[0033] Specifically, since the wide viewing angle range α captured by the camera device completely covers the air supply angle range β of the fan, there is a situation where the target object is identified but the target object is not within the air supply angle range of the fan. In order to ensure that the target object can be within the air supply angle range, it is necessary to control the steering of the working device to ensure that the target object can be within the air supply angle range.

[0034] In order to ensure the blowing effect on the target object, the blowing direction of the working device can also be adjusted to an angle facing the target object, that is, the target object is on the extension line of the axis of rotation of the fan blade.

[0035] In the process of controlling the steering of the working device, the camera device can always capture images of the position in front of the working device as the working device rotates. The steering of the working device can be continuously corrected based on the images captured by the camera device until the working device is turned to the direction where the target object is located.

[0036] Step 103: If the target object is included in the air supply angle range of the working device during the turning process, the working device is controlled to stop rotating and keep supplying air.

[0037] Specifically, the rule for determining whether the target object is included in the air supply angle range of the working device can be to determine whether the target object is on the extension line of the axis of rotation of the fan blade through the image captured by the camera device, or to determine whether the target object has entered the air supply angle range through the image. Different rules can be selected according to actual needs. If it is necessary to ensure the air supply effect on the target object, the target object can be adjusted to be near the extension line of the axis of rotation of the fan blade to control the steering of the working device. If it is necessary to minimize the adjustment of the blowing direction of the working device, the fan steering control rule can be selected as the target object just entering the air supply angle range.

[0038] In addition, the method of determining the position of the target object relative to the working device through the captured image is as follows: based on the position of the camera device relative to the working device, the positional relationship between the air supply angle range of the working device and the image captured by the camera device is determined. For example, when the camera device is set on the front cover of the fan and is on the axis of rotation of the fan blades, if the target object is on the mid-perpendicular line of the captured image, it is determined that the target object is on the extension line of the axis of rotation of the fan blades, and so on.

[0039] Step 104: If the target object does not enter the air supply angle range of the working device during the turning process, the working device is controlled to reset and stop supplying air.

[0040] Step 105, if the target object is not identified within the wide-area viewing angle of the camera device in the current direction of the working device within the first preset time, the working device is controlled to rotate within the maximum head swing angle range, and continuously identify whether the target object is included in the wide-area viewing angle of the camera device during the rotation of the working device.

[0041] Specifically, when the fan is in a directional working state, the target object is not identified within the wide-area viewing angle of the camera device within the first preset time, indicating that the fan has not provided effective blowing for a sustained period of time. At this time, it is necessary to consider whether the fan's blowing effect needs to be continuously provided in the current scene.

[0042] By controlling the working device to rotate within the maximum swing angle range, and then using the camera device to continuously collect whether there is a target object within the maximum swing angle range, it is determined whether there is a target object that needs to provide a blowing effect in the current scene. If there is, the blowing direction can be automatically adjusted by controlling the steering of the working device to provide a blowing effect for the target object. If there is no fan, it means that the fan does not need to work in the current scene and the energy-saving mode can be automatically entered.

[0043] Step 106: If a target object is identified during the rotation of the working device, the working device is controlled to turn in the direction of the target object.

[0044] Specifically, if a target object is identified during the turning process, the working device can be controlled to turn toward the target object according to step 103 so that the target object is within the air supply angle range of the working device.

[0045] Step 107: If the target object is not identified within the maximum swing range of the working device, the working device is controlled to reset and stop supplying air.

[0046] Specifically, if the fan is not needed in the current scenario, the working device is controlled to reset (the working device is in the middle state position of the maximum swing angle range) and the air supply is stopped. Controlling the working device to reset is conducive to controlling the fan direction after the fan resumes working, and the middle state position can be quickly adjusted to the maximum swing position on both sides.

[0047] In an embodiment of the present invention, if the number of target objects recognized within the wide-area viewing angle of the camera device is greater than one, the shortest straight-line distance between each target object and the working device is calculated; the direction of the target object with the smallest shortest straight-line distance is selected as the target direction of the working device blowing air, and the working device is controlled to turn to the target direction. In the case where there are multiple target objects in front of the fan, a suitable and fixed single object is selected to adjust the blowing direction of the fan, so as to avoid the influence of multiple target objects on the control of the fan, which is conducive to improving the accuracy of fan control.

[0048] The shortest straight-line distance between the target object and the working device is the shortest distance between the working device and the target object. The shortest straight-line distance can be determined based on the depth information in the captured image, or calculated based on the size of the target object in the image, the actual size of the target object, the focal length of the camera, and other parameters.

[0049] If the target object with the shortest straight-line distance is outside the air supply angle range under the current direction of the working device, the shortest straight-line distance between the target object within the wide-area viewing angle of the camera device under the current direction of the working device and the working device is recalculated, and the target direction of the air blowing of the working device is re-determined based on the recalculated shortest straight-line distances. After the target object leaves the air supply angle range, if there are still other target objects within the current air supply angle range, the fan does not need to be readjusted, reducing the number of adjustments to the fan direction. If there is no target object within the air supply angle range, but there is a target object within the wide-area viewing angle of the camera device under the current direction of the working device, then the working device can be adjusted to a suitable blowing position with the minimum rotation angle according to the position of the target object, and the fan can also be quickly adjusted to a suitable blowing position.

[0050] In addition, if the target object just leaves the air supply angle range under the current orientation of the working device, the working device can also be controlled to track the orientation of the target object and automatically swing its head, that is, the working device can be controlled to turn so that the target object is always within the air supply angle range, until the working device rotates to the maximum swing angle and can no longer track the target object, then a suitable target object can be reselected and adjusted to a suitable blowing angle. This fan control method can be applied to continuous air supply to key objects, which is beneficial for targeted blowing of specific objects when there are multiple target objects in the scene.

[0051] If the number of target objects recognized within the wide-area viewing angle of the camera device is greater than one, the blowing direction of the fan can also be determined based on the positions of the multiple target objects in the image, and the position of the target object close to the center of the image is selected as the target direction of the fan blowing, and the fan can continue to track the position of the target object to blow until the target object is out of the maximum swing angle of the fan. Alternatively, the blowing direction is determined based on the change in the number of target objects in the image, so that the number of target objects in the image recognized in the blowing direction is the largest, ensuring that the blowing utilization rate of the fan is the highest at this time.

[0052] When the fan is in the uniform speed swing working mode, Figure 3 As shown, the fan control method includes the following steps:

[0053] Step 301, when the fan is in a uniform swinging working state, if the target object is not recognized within the wide-area viewing angle of the camera device within a second preset time, the working device is controlled to reset and be in a standby state.

[0054] Specifically, when the fan is in a uniform swinging state, it means that the user wants the fan to blow air continuously in a larger range. At this time, the fan usually does not change its own working mode. In order to avoid the ineffective operation of the fan at this time, the camera device will be used to continuously detect whether there is a target object within the fan swinging range. If the target object is not detected within a certain period of time, the working device is directly controlled to reset and enter the standby state. In the standby state, the fan will not supply air, and the working device will not be controlled to rotate.

[0055] Step 302: after the fan is in the standby state, if it is detected that there is a target object within the wide-area viewing angle of the camera device, the fan is restored to the uniform-speed swinging working state.

[0056] Specifically, when the fan is in standby mode, the camera device will still collect images within the wide-area viewing angle according to certain rules, and determine whether a target object enters the wide-area viewing angle. For example, images can be collected at a fixed period, or images can be collected continuously. If the target object is recognized in the image, the fan's uniform head swing working state is restored.

[0057] In addition, the recognition function of the camera device for the target object can be controlled by voice. A microphone is set on the fan to collect the user's voice instructions. When the preset instructions are recognized, the camera device can be triggered to recognize the fan in any working state. If the camera device detects a specific gesture of the user during the recognition process, it will trigger the relevant action corresponding to the gesture, such as triggering the control of the fan's direction, switching the target object the fan is facing to a new target object, etc.

[0058] In addition, during the operation of the fan, in addition to identifying the target according to the orientation of the working device, the camera device can also trigger all-round identification detection according to a fixed period. That is, under a fixed period, the working device is triggered to rotate within the maximum swing angle range, driving the camera device to perform a target identification within the maximum angle range. This all-round target identification method can coordinate the overall situation and formulate a suitable fan control strategy based on the overall situation in the scene.

[0059] In addition, in addition to controlling the direction of the fan, the wind speed can also be adjusted. After identifying the target object, the preset wind speed can be adjusted according to the actual distance between the target object and the fan, and the corresponding relationship between the preset wind speed and distance. For example, if the distance between the target object and the fan is greater than the optimal blowing distance under the current wind speed, the wind speed of the fan can be increased to ensure a better experience for the target object. In the process of adjusting the wind speed, it is necessary to ensure that the adjusted wind speed is not lower than the preset wind speed when the fan is turned on, to avoid the wind speed being too low to affect the blowing effect.

[0060] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0061] The embodiment of the present invention also relates to a fan, such as Figures 4 to 5 As shown, it includes: a working device 1, an actuating module, a camera device 3, a base 4 and a processor; the working device 1 is connected to the base 4 through the actuating module; the actuating module is arranged in the inner cavity of the base; the camera device 3 is arranged on the working device 1, and the wide-area viewing angle range of the camera device 3 changes with the direction of the working device; the processor is connected to the actuating module, and the processor is used to control the actuating module to drive the working device to rotate, so as to realize the above-mentioned fan control method.

[0062] The actuating module includes: a turntable 21, which is connected to the working device 1 through a turntable center axis 25. In addition, a stepper motor 23 in the actuating module drives the driven wheel 21 through a driving wheel 24 to realize rotation control of the turntable 21, thereby driving the working device to reciprocate around the axis of the turntable center axis 25.

[0063] The working device 1 can be a fan head (working head) or an air outlet device of a fan. The working device 1 at least includes a plurality of blades 21 evenly arranged around an axis, a working device front cover 11 and a working device rear shell formed by the outer periphery of the blades 21. The camera device 3 is arranged on the working device front cover 11 and always rotates at the same angle as the working device. The camera device can usually be arranged on the symmetry axis of the working device front cover 11, or at the center position, to facilitate determination of the relative position relationship between the camera device shooting picture and the fan blowing range.

[0064] The imaging device 3 may be a camera, or a monitoring device with an image acquisition function, etc.

[0065] In addition, the fan also includes a battery pack installation portion 5, which is located at the bottom of the base and is used to install a battery pack to power the fan. A movable cover is provided on the battery pack installation portion 5 to facilitate users to install and replace the battery pack.

[0066] The embodiment of the present invention further relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the above fan control method embodiment is implemented.

[0067] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0068] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A fan control method, characterized in that: include: When the fan is in a directional working state, detecting whether a target object is recognized within the wide-area viewing angle of the camera device in the current orientation of the working device; wherein the wide-area viewing angle of the camera device changes as the orientation of the working device changes; If the target object is identified, the working device is controlled to turn in the direction of the target object; During the process of controlling the working device to turn in the direction of the target object, if the target object is included in the air supply angle range of the working device during the turning process, the working device is controlled to stop rotating and keep supplying air; if the target object never enters the air supply angle range of the working device during the turning process, the working device is controlled to reset and stop supplying air.

2. The fan control method according to claim 1, characterized in that: include: When the fan is in a directional working state, if within a first preset time, the target object is not identified within the wide-area viewing angle of the camera device in the current direction of the working device, the working device is controlled to rotate within a maximum swing angle range, and the wide-area viewing angle of the camera device is continuously identified during the rotation of the working device. Whether the target object is included in the wide-area viewing angle; If a target object is identified during the rotation of the working device, the working device is controlled to turn in the direction of the target object so that the target object is within the air supply angle range of the working device; If the target object is not identified within the maximum swing range of the working device, the working device is controlled to reset and stop supplying air.

3. The fan control method according to claim 1 or 2, characterized in that: include: If the number of identified target objects is greater than 1, the shortest straight-line distance between each target object and the working device is calculated; The direction of the target object with the smallest shortest straight-line distance is selected as the target direction of the blowing of the working device, and the working device is controlled to turn to the target direction.

4. The fan control method according to claim 3, characterized in that: After controlling the working device to turn to the target direction, the method further includes: If the target object of the shortest straight-line distance is outside the air supply angle range under the current direction of the working device, the shortest straight-line distance between the target object and the working device within the wide-area viewing angle of the camera device under the current direction of the working device is recalculated, and the target direction of the air blowing of the working device is re-determined based on the recalculated shortest straight-line distances.

5. The fan control method according to claim 1, characterized in that: Also includes: When the fan is in the uniform swinging working state, if the target object is not identified within the wide-area viewing angle of the camera device within a second preset time, the working device is controlled to reset and be in a standby state.

6. The fan control method according to claim 5, characterized in that: After the fan is in standby mode, it also includes: If it is detected that there is a target object within the wide-area viewing angle of the camera device, the fan is restored to a uniform-speed swinging working state.

7. The fan control method according to claim 1, characterized in that: Also includes: The function of triggering the camera device to identify the target object is turned on through voice commands; And / or, triggering switching of the identified target object through a gesture command.

8. The fan control method according to claim 1, characterized in that: After controlling the working device to turn to the direction where the target object is located, the method further includes: The preset wind speed is adjusted according to the actual distance between the target object and the fan and the corresponding relationship between the preset wind speed and the distance; wherein the adjusted wind speed is greater than or equal to the preset wind speed.

9. A fan, characterized in that: It includes: a working device, an actuating module, a camera device, a base and a processor; The working device is connected to the base through the actuating module; The actuation module is disposed in the inner cavity of the base; The camera device is arranged on the working device, and the wide-area viewing angle range of the camera device changes as the direction of the working device changes; The processor is connected to the actuating module, and the processor is used to control the actuating module to drive the working device to rotate, so as to implement the fan control method as described in any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the fan control method according to any one of claims 1 to 8 is implemented.