A control method and device, a fan, electronic equipment and a storage medium

By setting up a sensing device on the fan to automatically detect and respond to the user's operations in the control area, the problem of needing to press the button twice during the fan's shaking process is solved, achieving higher intelligence and safety and extending the service life.

CN116044796BActive Publication Date: 2025-10-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211634754.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2025-10-14
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

The existing fan requires the user to press a button twice during the shaking process, resulting in low intelligence, low safety and short service life.

Method used

By setting up a sensing device on the fan, its shaking state is detected and it is determined whether there is a sensing object in the preset control area. If the conditions are met, the shaking will automatically stop, avoiding physical operation by the user.

Benefits of technology

The intelligence level of the fan is improved, the user experience is enhanced, the collision between the head and the user is avoided, the service life of the fan is extended, and safety is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116044796B_ABST
    Figure CN116044796B_ABST
Patent Text Reader

Abstract

The application relates to the field of fans, and discloses a control method and device, a fan, electronic equipment and a storage medium, the method is used for a fan and comprises the following steps: detecting whether the fan is in a swing state; if yes, judging whether the position of a sensing object in a preset control area satisfies a first condition, the sensing object being a human body or an object detected by a sensing device arranged on the fan in the preset control area; and if the position of the sensing object in the preset control area satisfies the first condition, controlling the fan to stop swinging. Therefore, when a user wants to operate the fan during the swinging of the fan, the swinging of the fan can be automatically stopped, the user can conveniently operate the keys of the fan, and the user does not need to physically operate to stop the swinging of the fan, so that the intelligent degree and the user experience of the fan are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of fans, and in particular to a control method and device, a fan, an electronic device, and a storage medium. BACKGROUND

[0002] With the development of technology and the increasing emphasis on user experience, the degree of intelligence of household appliances is becoming higher and higher, and the user operation experience is greatly improved.

[0003] At present, most of the floor fans in the fan product set the operation area on the support rod in the middle of the machine body. When the user operates the key, he needs to bend down to operate, and the user experience is poor. Some manufacturers set the operation area on the top head or the front mesh cover. The user does not need to bend down to operate the key, which improves the user experience to some extent. However, when the whole machine is in the swing state, the operation area on the head also moves with the head, which makes it inconvenient for the user to operate the key and brings another poor experience. In the related technology, when other keys are pressed except the non-stop swing key during the swing process, the swing is stopped, and when the key is pressed for the second time, the corresponding action instruction is executed. Although this method solves the problem of key following caused by head rotation during the swing process to some extent, it is still inconvenient for the user to implement a function instruction by pressing the key twice. The first key press stops the rotation of the head, and the second key press implements the corresponding instruction. Not only is the operation cumbersome, but it also causes the user to bend down or follow the movement of the head when pressing the key during the swing process of the fan head, which easily causes a collision between the head and the user, resulting in safety hazards or damage to the fan head. SUMMARY

[0004] Therefore, the present application aims to solve the technical problems of low intelligence, low safety, and low service life of the fan caused by the need for physical keys to be pressed twice during the key operation in the swing process of the fan in the prior art.

[0005] The above application objectives are mainly achieved by the following technical solutions:

[0006] In a first aspect, a control method is provided for a fan, wherein the fan comprises a sensing device. The method comprises:

[0007] detecting whether the fan is in a swing state;

[0008] if so, determining whether a position of a sensed object in a preset operation area satisfies a first condition, wherein the sensed object is a human body or an object detected by the sensing device in the preset operation area;

[0009] if the position of the sensed object in the preset operation area satisfies the first condition, controlling the fan to stop swinging.

[0010] In a second aspect, a control device for a fan, the fan comprising a sensing device, the device comprising:

[0011] a detecting module configured to detect whether the fan is in a swing state;

[0012] a judging module configured to, if the fan is in the swing state, judge whether a position of a sensed object in a preset control area satisfies a first condition, the sensed object being a human body or an object detected by the sensing device in the preset control area;

[0013] a controlling module configured to, if the position of the sensed object in the preset control area satisfies the first condition, control the fan to stop swinging.

[0014] In a third aspect, a fan comprising a sensing device and a controller configured to execute a control method as described in the first aspect, the sensing device being configured to detect whether a human body or an object exists in a preset control area. If the controller detects that the fan is in a swing state, it is determined according to the sensing device whether a sensed object exists in the preset control area. If the sensed object exists, it is judged whether a position of the sensed object in the preset control area satisfies a first condition. If the first condition is satisfied, the fan is controlled to stop swinging, thereby improving the intelligent level of the fan and the user experience.

[0015] In a fourth aspect, an electronic device, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of a control method as described above when executing the computer program.

[0016] In a fifth aspect, a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executable on a processor to implement the steps of a control method as described above.

[0017] Compared with the prior art, the control method is used for a fan, the fan comprises a sensing device, in the case that the fan is in a swing state, whether there is a sensing object in a preset control area is detected by the sensing device, if there is a sensing object, whether the position of the sensing object in the preset control area satisfies a first condition is further judged, if yes, the fan is controlled to be in a non-swing state, therefore, when a user wants to operate the fan during the swing of the fan, the swing of the fan can be automatically stopped, the user can conveniently operate the fan key, without the user physically operating to stop the swing of the fan, the intelligent degree of the fan and the user experience are improved; and, the safety is improved, the collision between the head of the fan and the body of the user during the key operation of the user during the swing of the fan is avoided, the service life of the fan is improved; and, the design makes it easy for a person of a smaller age or a person of an older age to operate the fan key during the swing of the fan, the practicality is stronger, in addition, the sensing device can detect an object in the preset control area, that is, the user can not operate by hand, but can operate by an object, when a certain object held by the user enters the preset control area, the position of the object satisfies the first condition, the swing of the fan can also be automatically stopped, the practicality is further improved, the user is facilitated, the intelligent degree is improved; and, the power supply switch of the fan is avoided from being frequently plugged and unplugged, it is not necessary to stop the fan from working by power-off every time the key is operated, not only the service life of the components of the fan is easily reduced, but also the power supply switch is not safe, the user can continue to enjoy the cool brought by the fan without stopping the fan from working. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 A flowchart of a control method in the embodiment one of the application;

[0019] Figure 2 A flowchart of a control method in the embodiment two of the application;

[0020] Figure 3 A flowchart of a control method in the embodiment three of the application;

[0021] Figure 4 A flowchart of another control method in the embodiment three of the application;

[0022] Figure 5 A structure diagram of a control device in the embodiment of the application;

[0023] Figure 6 A structure diagram of a fan in the embodiment of the application;

[0024] Figure 7Fig. 1 is a schematic view of a side structure of a fan according to an embodiment of the present application;

[0025] Figure 8 Fig. 2 is a schematic view of a structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings of the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by the personnel in the art without creative labor should belong to the protection scope of the present application.

[0027] Embodiment 1

[0028] An embodiment of the present application provides a control method for a fan, wherein the fan comprises an inductive device, such as Figure 1 as shown, comprising the following steps:

[0029] Step 1: detecting whether the fan is in a swing state, if the fan is in the swing state, going to step 2, otherwise, returning to continue to detect whether the fan is in the swing state.

[0030] Step 2: detecting, by the inductive device, whether an inductive object exists in a preset control area, the inductive object comprising a human body or an object, and the specific implementation can be: an infrared detection device is built in the inductive device, and an infrared detection technology is adopted to detect whether the inductive object exists in the preset control area; or a touch proximity inductive detection technology is adopted to detect whether the inductive object exists in the preset control area, if the inductive object exists, going to step 3, otherwise, returning to step 1.

[0031] Step 3: judging whether a position of the inductive object in the preset control area satisfies a first condition, if yes, going to step 4, otherwise, returning to step 2.

[0032] Step 4: controlling the fan to stop swinging.

[0033] It should be noted that when it is detected that the fan is in the state of shaking head, further through the induction device to detect whether there is an induction object in the preset control area, if there is, it means that the user needs to operate the fan key at this time, the complete process is: the user's finger (or the user's hand holding some object) gradually approaches the induction device from far to near, and then the induction device detects that the user's finger enters the control area, at this time, it is judged whether the position of the user's finger in the preset control area is close enough to the induction device, that is, it is judged whether the position of the user's finger in the preset control area meets the first condition, if it meets, it means that the position of the user's finger in the preset control area meets the distance range that can control the fan head to stop shaking, this distance range can be regarded as the first condition, for example, the area within 5-10 cm from the induction device can be set as the first condition. When the first condition is met, the fan is controlled to stop shaking; it can be understood that the control instruction can be sent to the head motor of the fan, which is used to control the shaking of the fan head, such as the direction, speed (i.e. shaking speed) of shaking, etc., and the control instruction is used to control the rotating direction and rotating speed of the head motor, so as to control the fan to stop shaking. In order to avoid false judgment and cause the fan head to frequently start and stop, the area within a certain distance from the induction device can be set as the preset control area, which can simulate the actual operation situation, and the process of the user's hand gradually approaching from far to close to the induction device in the control area is used to actually set. It should be further noted that in the present application, the induction object is outside the preset control area, which is not within the protection scope of the present application, and the execution and control of the technical solution of the present application are not performed.

[0034] In summary, by using the technical scheme disclosed in the application, when a user wants to operate a key during the fan head-oscillation process, the fan head-oscillation can be automatically stopped when the user's finger approaches and enters the preset control area of the sensing device and the first condition is met, without the user's physical operation to stop the fan head-oscillation, which is convenient for the user and improves the intelligent level of the fan and the user experience. In addition, the user's body is prevented from colliding with the fan head (hereinafter referred to as the machine head) during the key operation in the fan head-oscillation process, which improves the safety. Meanwhile, the fan head is prevented from being damaged due to the collision with the user's body, thereby improving the service life of the fan. In addition, the design allows a person of a smaller age or a person of a larger age to easily operate the fan key during the fan head-oscillation process, which is more practical. In addition, the sensing device can also detect an object in the preset control area, that is, the user can operate the key by using an object instead of the hand. When the user holds an object and the object enters the preset control area, the position of the object meets the first condition, and the fan head-oscillation can also be automatically stopped, which further improves the practicality and is convenient for the user to operate and improves the intelligent level. In addition, the power switch of the fan is prevented from being frequently plugged and unplugged. The fan does not need to be powered off and stopped each time the key is operated, which not only reduces the service life of the components of the fan, but also is not safe. In addition, the fan does not need to be stopped, and the user can continue to enjoy the coolness brought by the fan while operating other keys, which is better for the user experience.

[0035] Embodiment two

[0036] Another embodiment of the application also provides a control method for a fan, wherein the fan comprises a sensing device, such as Figure 2 as shown, comprising the following steps:

[0037] Step 1: detecting whether the fan is in a head-oscillation state. If the fan is in the head-oscillation state, go to step 2; otherwise, return to continue to detect whether the fan is in the head-oscillation state.

[0038] Step 2: detecting, by the sensing device, whether an inductive object exists in a preset control area. The inductive object includes a human body or an object. In a specific implementation, an infrared detection device is built in the sensing device, and an infrared detection technology is used to detect whether an inductive object exists in the preset control area. Alternatively, a touch proximity sensing detection technology is used to detect whether an inductive object exists in the preset control area. If an inductive object exists, go to step 3; otherwise, return to step 1.

[0039] Step 3: judging whether the position of the inductive object in the preset control area meets a first condition. If the position meets the first condition, go to step 4; otherwise, return to step 2.

[0040] Step 4: controlling the fan to stop the head-oscillation.

[0041] The implementation of steps 1-4 can refer to the above examples, which will not be repeated here.

[0042] Step 5, determine whether the position of the inductive object in the preset control area meets the second condition, if it meets the second condition, go to step 6, otherwise, go to step 7.

[0043] Step 6, control the fan to swing, and return to step 2.

[0044] Step 7, detect whether there is a valid button; if so, go to step 8, otherwise, return to step 5.

[0045] Step 8, execute the corresponding function of the detected valid button, and return to step 5.

[0046] When the fan is in the state of stopping swinging, at the same time, it is detected whether the user's finger has moved away or left the preset control area at this time, it is needed to determine whether the position of the user's finger in the preset control area at this time meets the second condition, the distance range corresponding to the second condition is farther than the above-mentioned first condition, for example, the area outside 20-30 cm of the inductive device can be set as the second condition, when it is determined that the position of the user's finger meets the second condition, that is, the user's finger has moved away from the inductive device and entered the area outside 20-30 cm of the inductive device or even is no longer in the preset control area (at this time there is no inductive object), it indicates that the user does not need to operate the fan at this time, it may be a mistake to enter the preset control area of the inductive device, then at this time the fan is controlled to continue swinging, it can be understood that the parameters of swinging (direction and swinging speed) remain unchanged before stopping swinging, or run with the fixed parameters preset by the user, or run with the initial swinging direction and the minimum swinging speed, which will not be limited here. After the fan is controlled to continue swinging, it is continued to detect whether there is an inductive object through the inductive device. When it is determined that the position of the user's finger does not meet the second condition, that is, it indicates that the user's finger is still in the control area and has not moved away from the inductive device at this time, then it is needed to detect whether there is a valid button (the user's button operation for the fan); if there is a valid button, execute the corresponding function of the detected valid button, for example, adjustment of the fan mode (sleep mode, natural mode and intelligent mode), adjustment of the fan speed, setting of the timing, of course, it can be understood that it can also be the button of whether to swing, if the user presses the button to stop swinging at this time, the execution is ended, and the fan runs in the non-swinging mode. If there is no valid button, return to step 5.

[0047] In the embodiment of the present application, by judging whether the position of the sensing object in the preset control area meets the second condition, the fan is controlled to shake the head or execute the corresponding function of the effective key. On the one hand, frequent misoperations caused by mistakenly entering the sensing area of the sensing device are avoided, and the fan head is automatically restored. On the other hand, the intelligent degree of the fan is improved by judging the position of the sensing object and detecting the effective key. After the corresponding function of the effective key is executed or the effective key is not detected, the method returns to step 5 to continue to judge the position of the sensing object until the second condition is met, and the head shaking is restored. After the operation of the key is ended, the user does not leave in time, and the fan head is easily collided with the user, which not only causes a safety hazard, but also easily damages the fan, reduces the service life of the fan, and increases the cost.

[0048] Embodiment three

[0049] Another embodiment of the present application also provides a control method for a fan, wherein the fan includes a sensing device, such as Figure 3 As shown, the method includes the following steps:

[0050] Step 1: detecting whether the fan is in a head shaking state. If the fan is in the head shaking state, the method proceeds to step 2. Otherwise, the method returns to continue to detect whether the fan is in the head shaking state.

[0051] Step 2: detecting, by the sensing device, whether a sensing object exists in a preset control area. The sensing object includes a human body or an object. In a specific implementation, an infrared detection device is built in the sensing device, and an infrared detection technology is used to detect whether the sensing object exists in the preset control area. Alternatively, a touch proximity sensing detection technology is used to detect whether the sensing object exists in the preset control area. If the sensing object exists, the method proceeds to step 3. Otherwise, the method returns to step 1.

[0052] Step 3: judging whether the position of the sensing object in the preset control area meets a first condition. If the position meets the first condition, the method proceeds to step 4. Otherwise, the method returns to step 2.

[0053] Step 4: controlling the fan to stop shaking the head.

[0054] Step 5: judging whether the position of the sensing object in the preset control area meets a second condition. If the position meets the second condition, the method proceeds to step 6. Otherwise, the method proceeds to step 7.

[0055] Step 6: controlling the fan to shake the head, and returning to step 2.

[0056] Step 7: detecting whether an effective key exists. If the effective key exists, the method proceeds to step 8. Otherwise, the method returns to step 5.

[0057] Step 8: executing the corresponding function of the detected effective key.

[0058] The embodiments of steps 1-8 can refer to the above-described embodiments, which will not be described here again.

[0059] On the basis of the above-described embodiments, step 2 specifically comprises:

[0060] obtaining an equivalent capacitance value between the inductive object and the inductive device;

[0061] If the equivalent capacitance value is greater than or equal to a first threshold value, the position of the inductive object in the preset control area satisfies a first condition; otherwise, the position of the inductive object in the preset control area does not satisfy the first condition.

[0062] On the basis of the above-described embodiments, step 5 specifically comprises:

[0063] If the equivalent capacitance value is less than a second threshold value, the position of the inductive object in the preset control area satisfies a second condition; otherwise, the position of the inductive object in the preset control area does not satisfy the second condition; the second threshold value is less than the first threshold value.

[0064] A specific embodiment can be that the inductive device is implemented by a touch chip, the proximity inductive detection button is a piece of copper foil arranged on a PCB, and the touch chip button detection principle is to detect the equivalent capacitance value between a user's finger and the button. The equivalent formula is: C is the equivalent capacitance value between the finger and the button, ε is the equivalent dielectric constant, A is the size area of the finger and the button, and d is the distance between the finger and the button. When the finger approaches the button, d decreases and C increases, and vice versa. The touch chip judges the distance between the finger and the button by detecting the size of C. During the shaking process of the fan, the proximity inductive button detects and judges whether the finger is close to the control area in real time. When the finger approaches the control area and reaches a set distance, the proximity inductive button signal quantity reaches a preset first threshold value, and the position of the inductive object in the preset control area satisfies the first condition. At this time, the MCU controls the fan to stop shaking, and simultaneously judges whether the proximity inductive button signal quantity is lower than a preset second threshold value. If the proximity inductive button signal quantity is higher than the preset second threshold value, the position of the inductive object in the preset control area does not satisfy the second condition, which indicates that the finger is still near the control area. At this time, it is detected whether other buttons are pressed. If other buttons are pressed, corresponding button functions are executed. If the proximity inductive button signal quantity is lower than the second threshold value, the position of the inductive object in the preset control area satisfies the second condition, which indicates that the finger has moved away from the control area, and the user has completed the button operation. Then, the MCU controls the fan to return to the shaking state.

[0065] The present application obtains the equivalent capacitance value between the inductive object and the inductive device, judges whether the position of the inductive object satisfies the first condition or the second condition, has high efficiency, and is low in cost.

[0066] In an alternative embodiment, as shown in Figure 4 Step 2 specifically comprises:

[0067] acquiring a distance value between the inductive object and the inductive device;

[0068] If the distance value is less than or equal to a first distance value, the position of the inductive object in the preset control area satisfies a first condition; otherwise, the position of the inductive object in the preset control area does not satisfy the first condition.

[0069] In an alternative embodiment, as shown in Figure 4 Step 5 specifically comprises:

[0070] If the distance value is greater than a second distance value, the position of the inductive object in the preset control area satisfies a second condition; otherwise, the position of the inductive object in the preset control area does not satisfy the second condition; the second distance value is greater than the first distance value.

[0071] The specific implementation can be: by setting a distance measuring device in the inductive device, using ultrasonic ranging technology, radar ranging technology, infrared ranging technology or TOF proximity sensing technology to detect the distance value between the inductive object and the inductive device, when the distance value is less than or equal to a first distance value, the position of the inductive object in the preset control area satisfies a first condition; when the distance value is greater than a second distance value, the position of the inductive object in the preset control area satisfies a second condition. By directly detecting the distance between the inductive object and the inductive device to determine whether the position of the inductive object satisfies the first condition or the second condition, the calculation amount is small and the efficiency is high.

[0072] Embodiment Four

[0073] The application also provides a control device 500 for a fan, wherein the fan comprises an inductive device, as shown in Figure 5 comprises:

[0074] a detection module 501 configured to detect whether the fan is in a swing state;

[0075] a first judgment module 502 configured to, if the fan is in the swing state, judge whether a position of an inductive object in a preset control area satisfies a first condition, the inductive object being a human body or an object detected by the inductive device in the preset control area;

[0076] a first control module 503 configured to, if the position of the inductive object in the preset control area satisfies the first condition, control the fan to stop swinging.

[0077] In a preferred embodiment based on the above, the first judgment module 502 is specifically configured to:

[0078] obtaining an equivalent capacitance value between the inductive object and the inductive device;

[0079] If the equivalent capacitance value is greater than or equal to a first threshold value, a position of the inductive object in a preset operation area satisfies a first condition; otherwise, the position of the inductive object in the preset operation area does not satisfy the first condition.

[0080] In a preferred embodiment based on the above, the first determining module 502 is specifically configured to:

[0081] obtaining a distance value between the inductive object and the inductive device;

[0082] If the distance value is less than or equal to a first distance value, the position of the inductive object in the preset operation area satisfies the first condition; otherwise, the position of the inductive object in the preset operation area does not satisfy the first condition.

[0083] In a preferred embodiment based on the above, the device further comprises:

[0084] a second determining module 504, configured to determine whether a position of the inductive object in a preset operation area satisfies a second condition;

[0085] a second control module 505, configured to control the fan to swing if the position of the inductive object in the preset operation area satisfies the second condition.

[0086] In a preferred embodiment based on the above, the second determining module 504 is specifically configured to:

[0087] If the equivalent capacitance value is less than a second threshold value, the position of the inductive object in the preset operation area satisfies the second condition; otherwise, the position of the inductive object in the preset operation area does not satisfy the second condition; the second threshold value is less than the first threshold value.

[0088] In a preferred embodiment based on the above, the second determining module 504 is specifically configured to:

[0089] If the distance value is greater than a second distance value, the position of the inductive object in the preset operation area satisfies the second condition; otherwise, the position of the inductive object in the preset operation area does not satisfy the second condition; the second distance value is greater than the first distance value.

[0090] In a preferred embodiment based on the above, the device further comprises:

[0091] an executing module, configured to execute a corresponding function of the detected valid key if the position of the inductive object in the preset operation area does not satisfy the second condition.

[0092] The specific implementation of the embodiment of the present invention can refer to the above-mentioned control method embodiment, which will not be described in detail here.

[0093] Example 5

[0094] The present invention also provides a fan 600, such as Figures 6-7 As shown, the fan 600 includes a front net 601, a rear net 602, a mesh ring 603 for fixing the front net and the rear net, a fan blade 604 arranged between the front net 601 and the rear net 602, a sensing device 605, and a controller 606 for executing any one of the control methods in the above embodiments. Of course, it is understandable that the fan may also include a support rod 607 and a base 608. The sensing device is arranged on the top of the mesh ring or the surface of the front net for easy operation. It is understandable that the controller 606 can be arranged in the base 608, or in the support rod 607, or in other locations. As long as the controller 606 is connected to the sensing device 605, it can implement some or all of the steps of a control method in the above embodiments. There is no limitation on the location of the setting, and it is set according to the actual application scenario. The fan provided by the embodiment of the present invention, when the controller 606 detects that the fan is in a shaking state, further detects whether there is a sensing object in a preset control area through the sensing device 605. If so, it means that the user needs to operate the fan button, and judges whether the position of the user's finger in the preset control area meets the first condition. If so, the fan is controlled to stop shaking, and the user does not need to physically operate to stop the fan shaking, which is convenient for user operation and improves the intelligence level of the fan and user experience; and avoids the fan head colliding with the user's body when the user operates the button during the shaking of the fan, thereby avoiding physical injury to the user, thereby improving safety; at the same time, it avoids damage to the fan head caused by collision with the user's body, thereby improving the service life of the fan; and this design allows Younger or older people can easily operate the fan button when the fan is shaking, which is more practical. In addition, the sensing device can also detect objects in the preset control area, that is, the user can operate it through an object instead of using hands. When an object held by the user enters the preset control area, the position of the object meets the first condition, and the fan can also automatically stop shaking, which further improves practicality, facilitates user operation, and improves the level of intelligence; it also avoids frequent plugging and unplugging of the fan's power switch, and there is no need to cut off the power to stop the fan every time a button is operated, which not only easily causes the service life of the fan's components to decrease, but also frequent plugging and unplugging of the power switch is unsafe. At the same time, there is no need to stop the fan, and the user can continue to enjoy the coolness brought by the fan while operating other buttons, and the user experience is better.

[0095] Example 6

[0096] Another embodiment of the present application also provides an electronic device, such as Figure 8 As shown in Fig. 8, the device 8 comprises a memory 81, a processor 82, and a computer program 83 stored in the memory 81 and executable on the processor 82, and the processor 82 implements part or all steps of the control method as described above when executing the computer program 83.

[0097] Embodiment Seven

[0098] Another embodiment of the present application also provides a computer readable storage medium storing a computer program, and the computer program is executable by a processor to implement part or all steps of the control method as described above.

[0099] The above has introduced the embodiments of the present application in detail, and the principle and implementation mode of the present application have been described by applying specific examples; the above embodiment description is only for helping to understand the method of the present application and its core idea; meanwhile, for the general technical personnel in the field, according to the idea of the present application, the specific implementation mode and application range will have changes; in conclusion, the content of the present description should not be understood as the limitation of the present application.

Claims

1. A control method, characterized in that: For a fan including an induction device, the method comprises: Detecting whether the fan is in a shaking state; If so, determining whether the position of the sensing object within the preset control area satisfies a first condition, where the sensing object is a human body or object detected by the sensing device within the preset control area; wherein determining whether the position of the sensing object within the preset control area satisfies the first condition includes: obtaining a distance value between the sensing object and the sensing device; if the distance value is less than or equal to a first distance value, then the position of the sensing object within the preset control area satisfies the first condition; otherwise, the position of the sensing object within the preset control area does not satisfy the first condition; If the position of the sensor within the preset control area satisfies a first condition, the fan is controlled to stop shaking. After the fan is controlled to stop shaking, the method further includes: Determining whether the position of the sensing object in the preset control area satisfies a second condition, including: if the distance value is greater than a second distance value, then the position of the sensing object in the preset control area satisfies the second condition; otherwise, the position of the sensing object in the preset control area does not satisfy the second condition; and the second distance value is greater than the first distance value; If the position of the sensor within the preset control area meets a second condition, controlling the fan to move its head; If the position of the sensing object within the preset control area does not meet the second condition, then detect whether there is a valid key. If there is a valid key, execute the corresponding function of the valid key; if there is no valid key, return to the step of determining whether the position of the sensing object within the preset control area meets the second condition.

2. A control method according to claim 1, characterized in that: Determining whether the position of the sensing object within the preset control area satisfies the first condition includes: Obtaining an equivalent capacitance value between the sensing object and the sensing device; If the equivalent capacitance value is greater than or equal to the first threshold, the position of the sensing object in the preset control area meets the first condition; otherwise, the position of the sensing object in the preset control area does not meet the first condition.

3. A control method according to claim 1, characterized in that: The method further comprises: Determining whether the position of the sensing object within the preset control area meets a second condition; If yes, the fan is controlled to shake its head.

4. A control method according to claim 2, characterized in that: The method further comprises: Determining whether the position of the sensing object within the preset control area meets a second condition; If yes, the fan is controlled to shake its head.

5. A control method according to claim 4, characterized in that: Determining whether the position of the sensing object within the preset control area satisfies a second condition includes: If the equivalent capacitance value is less than a second threshold, the position of the sensing object in the preset control area meets the second condition; otherwise, the position of the sensing object in the preset control area does not meet the second condition; and the second threshold is less than the first threshold.

6. A control device, characterized in that: For a fan, the fan includes an induction device, the device comprising: A detection module, used to detect whether the fan is in a shaking state; a first determining module, configured to determine, if the fan is in a shaking state, whether a position of a sensing object within a preset control area satisfies a first condition, wherein the sensing object is a human body or an object detected by the sensing device within the preset control area; wherein determining whether the position of the sensing object within the preset control area satisfies the first condition includes: obtaining a distance value between the sensing object and the sensing device; if the distance value is less than or equal to the first distance value, then the position of the sensing object within the preset control area satisfies the first condition; otherwise, the position of the sensing object within the preset control area does not satisfy the first condition; a first control module, configured to control the fan to stop shaking if the position of the sensing object within the preset control area satisfies a first condition; a second determining module, configured to determine whether the position of the sensing object within the preset control area satisfies a second condition after controlling the fan to stop shaking, wherein: if the distance value is greater than a second distance value, then the position of the sensing object within the preset control area satisfies the second condition; otherwise, the position of the sensing object within the preset control area does not satisfy the second condition; and the second distance value is greater than the first distance value; a second control module, configured to control the fan to move if the position of the sensing object within the preset control area satisfies a second condition; a valid key detection module, configured to detect whether a valid key exists if the position of the sensing object within the preset control area does not satisfy a second condition; An execution module, configured to execute a corresponding function of a valid key if one exists; The second judgment module is further configured to judge whether the position of the sensing object within the preset control area satisfies a second condition if no valid key exists.

7. A fan, characterized in that: It comprises a sensing device and a controller for executing a control method as described in any one of claims 1 to 5; the sensing device is used to detect whether there is a human body or object in a preset control area.

8. A fan according to claim 7, characterized in that: It also includes a front net, a rear net, a mesh ring for fixing the front net and the rear net, and a fan blade arranged between the front net and the rear net; the sensing device is arranged on the top of the mesh ring or the surface of the front net.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of a control method according to any one of claims 1 to 5 are implemented.

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

Citation Information

Patent Citations

  • Fan for protecting human body

    CN101372983A

  • Induction fan

    CN111664107A

  • Fan, fan control method and device and storage medium

    CN112524079A

  • Pivoting fan

    CN206329519U