Fan control methods, devices, electronic equipment and storage media
By identifying the objects and their locations within the fan's sweeping area, receiving user sweeping preference information, and controlling the target sweeping area, the problem of the fan's sweeping area not meeting user expectations is solved, thus improving the accuracy of fan control and enhancing user interactivity.
Patent Information
- Application Number
- CN202411461241.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-10-18
AI Technical Summary
In existing fan control methods, the sweeping area does not meet the user's expectations, resulting in low control accuracy. Users need to adjust the fan angle multiple times to achieve the desired sweeping area.
By identifying and displaying the target fan's sweepable area and its location, the system receives the user's sweeping preference information, determines the target sweeping area based on the preference information, and controls the fan, including dividing the sweeping area and performing sweeping suppression control to improve accuracy.
It enables interaction between fan control and the user, automatically adjusting the airflow area to meet user expectations, thereby improving the accuracy of fan control and the user experience.
Smart Images

Figure CN119177939B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent electronic technology, and in particular to a fan control method, device, electronic device, and storage medium. Background Technology
[0002] With the development of science and technology, fans have become widely used. Currently, they usually only control the fan to oscillate within a fixed airflow area when the user presses the oscillation button. However, there may be situations where the fan's airflow area does not meet the user's expectations. In such cases, the user needs to manually adjust the fan's angle multiple times to make the fan oscillate within the fixed airflow area after the adjustment, resulting in low fan control accuracy. Summary of the Invention
[0003] Therefore, it is necessary to provide a fan control method, device, electronic device, computer-readable storage medium, and computer program product that can improve the accuracy of fan control in response to the above-mentioned technical problems.
[0004] Firstly, this application provides a fan control method. The method includes:
[0005] Identify and display the target fan's corresponding sweepable area and the location of the target fan;
[0006] Receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and determine the target sweeping area of the target fan based on the sweeping preference information;
[0007] The target fan is controlled according to the target sweeping area of the target fan.
[0008] In one embodiment, controlling the target fan according to the target sweeping area includes: dividing the target sweeping area into a first area and a second area according to the sweeping preference information, wherein the first area matches the area where the sweeping preference position is indicated by the sweeping preference information, and the second area is the area of the target sweeping area other than the first area; if the current sweeping area of the target fan belongs to the first area, then the target fan is controlled to sweep according to a set wind speed; if the current sweeping area of the target fan belongs to the second area, then the target fan is controlled to suppress sweeping based on the sweeping control corresponding to the first area.
[0009] In one embodiment, the sweep suppression control of the target fan based on the sweep control corresponding to the first region includes at least one of the following: reducing the air volume of the target fan based on the sweep control corresponding to the first region; adjusting the current sweep area of the target fan by controlling the oscillation direction of the target fan based on the sweep control corresponding to the first region, wherein the adjusted current sweep area of the target fan is further away from the detection object in the second region than the unadjusted current sweep area of the target fan.
[0010] In one embodiment, reducing the air volume of the target fan includes at least one of the following: reducing the wind speed of the target fan based on the swing control corresponding to the first region; increasing the oscillation speed of the target fan based on the swing control corresponding to the first region.
[0011] In one embodiment, the sweeping preference information includes a sweeping preference object; determining the target sweeping area of the target fan based on the sweeping preference information includes: obtaining a user profile of the sweeping preference object; generating a sweeping part matching the sweeping preference object based on the user profile; and selecting a target sweeping area from the sweepable area of the target fan based on the sweeping part.
[0012] In one embodiment, identifying and displaying the detection object corresponding to the sweepable area of the target fan and the location of the detection object includes: acquiring a sweepable area image of the target fan corresponding to the sweepable area captured by a camera, and acquiring radar detection data of the target fan corresponding to the sweepable area detected by radar; identifying the detection object corresponding to the target fan and the location of the detection object based on the sweepable area image and the radar detection data; and displaying the detection object corresponding to the target fan and the location of the detection object.
[0013] In one embodiment, the step of identifying the detection object corresponding to the sweepable area of the target fan and the location of the detection object based on the swept area image and the radar detection data includes: if an identification object is identified from the swept area image, then determining multiple radar object detection data corresponding to the identification object that change over time in the radar detection data; if there are differences among the multiple radar object detection data, then determining the identification object as the detection object corresponding to the sweepable area of the target fan, and determining the location of the identification object as the location of the detection object.
[0014] Secondly, this application also provides a fan control device. The device includes:
[0015] The identification module is used to identify and display the detection object in the sweepable area corresponding to the target fan and the location of the detection object;
[0016] The determination module is used to receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and the target sweeping area of the target fan is determined according to the sweeping preference information;
[0017] The control module is used to control the target fan according to the target sweeping area of the target fan.
[0018] Thirdly, this application also provides an electronic device. The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0019] Identify and display the target fan's corresponding sweepable area and the location of the target fan;
[0020] Receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and determine the target sweeping area of the target fan based on the sweeping preference information;
[0021] The target fan is controlled according to the target sweeping area of the target fan.
[0022] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0023] Identify and display the target fan's corresponding sweepable area and the location of the target fan;
[0024] Receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and determine the target sweeping area of the target fan based on the sweeping preference information;
[0025] The target fan is controlled according to the target sweeping area of the target fan.
[0026] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0027] Identify and display the target fan's corresponding sweepable area and the location of the target fan;
[0028] Receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and determine the target sweeping area of the target fan based on the sweeping preference information;
[0029] The target fan is controlled according to the target sweeping area of the target fan.
[0030] The aforementioned fan control method, device, electronic equipment, and storage medium identify and display a detection object corresponding to the sweepable area of the target fan and the location of the detection object; receive sweeping preference information from a target user regarding the detection object, the sweeping preference information indicating the preferred sweeping location, and determine the target sweeping area of the target fan based on the sweeping preference information; control the target fan based on the target sweeping area, and display the result of user location identification of the fan's sweepable area to the user, thereby determining the target sweeping area matching the user based on the user's feedback sweeping preference information, and then controlling the target fan based on the target sweeping area. This achieves interaction between fan control and the user, enabling the fan to automatically achieve the user's expected sweeping area control, thus improving the accuracy of fan control. Attached Figure Description
[0031] Figure 1 This is a schematic diagram illustrating an application scenario of the fan control method in one embodiment;
[0032] Figure 2 This is a flowchart illustrating a fan control method in one embodiment;
[0033] Figure 3 This is a flowchart illustrating the steps of fan control in one embodiment, assuming that there are users or areas in the target sweeping area that do not want to be swept.
[0034] Figure 4 This is a schematic diagram of a scenario flow for the detection, identification, and display steps in one embodiment;
[0035] Figure 5 This is a schematic diagram of a scenario structure for a target fan in one embodiment;
[0036] Figure 6 This is a schematic diagram illustrating a scenario of a target fan corresponding to a sweepable area for detection, as shown in one embodiment.
[0037] Figure 7 This is a structural block diagram of a fan control device in one embodiment;
[0038] Figure 8 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0040] The fan control method provided in this application embodiment can be applied to, for example, Figure 1 In the application scenario shown, terminal 102 communicates with fan 104 via a network. Fan 104 is used for sweeping. Terminal 102 also communicates with server 106 via the network. The data storage system can store the data that server 106 needs to process (sweeping area image, radar detection data, sweeping preference information, etc.). Server 106 identifies and displays the detection object corresponding to fan 104 and its location. It receives sweeping preference information of the target user for the detection object sent by terminal 102 and controls fan 104 based on the target sweeping area determined by the sweeping preference information. The data storage system can be integrated on server 106 or placed in the cloud or other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 106 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0041] In another application scenario, the fan 104 is equipped with a storage unit, a main control board, and a display screen. The storage unit is used to store the data that the main control board needs to process (sweeping area image, radar detection data, sweeping preference information, etc.). The display screen shows the detection object corresponding to the fan 104 and the location of the detection object. In response to the target user's operation on the display screen, the sweeping preference information is obtained, and the fan 104 is controlled by the main control board based on the target sweeping area determined by the sweeping preference information.
[0042] In one embodiment, such as Figure 2 As shown, a fan control method is provided, which is applied to... Figure 1 Taking server 106 as an example, the explanation includes the following steps:
[0043] Step 202: Identify and display the detection object and its location in the sweepable area corresponding to the target fan.
[0044] In step 202, the target fan is the fan configured to supply air to the user as needed; the sweepable area is the sweepable area corresponding to all oscillation controls of the target fan; the detection object can be a person, an animal, or an object, etc., without limitation; the number of detection objects can be single or multiple, without limitation. The sweepable area is a fan-shaped cylindrical area or a cylindrical area. Specifically, the target fan is considered as the vertex, and the left and right oscillation angle range of the target fan forms the radius. The plane area corresponding to the sweepable area is formed by the vertex, the radius, and the arc corresponding to the left and right oscillation angle range. The plane area corresponding to the sweepable area is stretched vertically by the vertical oscillation range of the target fan to obtain the sweepable area. When the left and right oscillation angle range of the target fan is 0-360°, the plane area corresponding to the sweepable area is a circular area, and the sweepable area is a cylindrical area.
[0045] In this way, on-demand fan control can be achieved in special scenarios such as animal cooling or heating, or clothing cooling or heating, thereby improving the accuracy of fan control.
[0046] For example, step 202 includes: identifying the detection object and the location of the detection object in the sweepable area corresponding to the target fan, and displaying the detection object and the location of the detection object.
[0047] Furthermore, the detection object and its location are displayed, including: displaying the detection object and its location on a display screen, or sending the detection object and its location to the target user's user terminal.
[0048] In this way, the detection objects and their locations within the target fan's sweepable area can be visualized, facilitating subsequent human-computer interaction between the fan and the user, and enabling targeted control of the fan.
[0049] Step 204: Receive the sweeping preference information of the target user for the detection object. The sweeping preference information is used to indicate the sweeping preference location. Based on the sweeping preference information, determine the target sweeping area of the target fan.
[0050] In step 204, the target user is the user who controls the target fan. The target user can be the same as or different from the user in the detection objects; there is no restriction on this. The sweep preference information includes at least one of the following: the sweep preference object and the sweep preference part of the sweep preference object. The sweep preference object includes at least one of the following: the selected object chosen by the target user from the detection objects and the newly added object (an object added by the target user that is within the sweepable area of the target fan and does not belong to the detection objects). The target sweep area belongs to and is less than or equal to the sweepable area of the target fan.
[0051] Thus, even when the target user and the object being detected are different, the target user may not be in the area where the target fan is located. In this case, the target user can still remotely control the target fan by interacting with it. In scenarios where children and / or pets are home alone, fan control that is suitable for children and / or pets can still be achieved.
[0052] In this way, target users can characterize new objects through airflow preference information, and add objects that were not accurately detected during the object identification process, thus ensuring the control accuracy of the target fan.
[0053] As one embodiment, receiving the target user's sweeping preference information for the detection object includes: receiving the target user's sweeping preference information for the detection object sent by the user terminal of the target user.
[0054] As another embodiment, receiving the target user's sweeping preference information for the detection object includes: receiving the target user's operation information on the display screen that displays the detection object and the location of the detection object, and generating sweeping preference information based on the operation information.
[0055] Furthermore, the operation information includes the target user's selection operation on the detection object displayed on the display screen, and the object corresponding to the selection operation is determined as the selected object selected by the target user from the detection objects; the operation information includes the input content entered by the target user on the display screen, and the input content includes at least one of adding an object and the object's sweeping preference part, and the input content is determined as the sweeping preference information.
[0056] As one embodiment, determining the target swing area of the target fan based on the swing preference information includes: if the swing preference information includes a swing preference object, then determining the target swing area of the target fan based on the location of the swing preference object. Specifically, if there are multiple swing preference objects, the area composed of the locations of each swing preference object is determined as the target swing area of the target fan. If there is only one swing preference object, a preset swing range is obtained. The preset swing range can be set by the target user as needed, or it can be an empirical value (the swing range that provides the best oscillation swing experience after multiple trials). The area composed of the location of the swing preference object and the preset swing range is determined as the target swing area of the target fan.
[0057] In this way, when there are multiple objects to be swept, the target fan can sweep all objects to be swept; when there is only one object to be swept, the sweeping area can be supplemented as needed by the preset sweeping range, so as to avoid the target fan blowing directly on the object to be swept for a long time, which may affect the health of the object.
[0058] As one embodiment, determining the target sweeping area of the target fan based on the sweeping preference information includes: the sweeping preference information includes a sweeping preference object, which includes at least one of a selected object and a newly added object; obtaining a user profile of the sweeping preference object; generating a sweeping part matching the sweeping preference object based on the user profile; and selecting the target sweeping area from the sweepable area of the target fan based on the sweeping part.
[0059] Thus, when the swing preference information does not include the swing preference part of the swing preference object, the matching swing part is automatically generated based on the user profile of the swing preference object, and then the target fan is controlled according to the swing part, thereby improving the accuracy of fan control.
[0060] Furthermore, as an embodiment, obtaining a user profile of the air-sweeping preference object includes: if the air-sweeping preference object includes a selected object, obtaining an object image of the corresponding selected object, and generating a user profile of the selected object based on the object image.
[0061] As another embodiment, obtaining the user profile of the air-sweeping preference object includes: when the air-sweeping preference object includes a newly added object, obtaining the object description information of the target user for the newly added object, wherein the object description information includes, but is not limited to: object species, object age, object gender and object health information, etc., and generating the user profile of the newly added object based on the object description information.
[0062] As one embodiment, generating a sweeping part that matches the sweeping preference object based on the user profile includes: if the user profile represents the user's health level, and the user profile of the sweeping preference object represents the user's health level less than a preset health level threshold, then the parts of the human body other than the head and abdomen are determined as the sweeping parts that match the sweeping preference object.
[0063] Thus, for users with lower health levels, i.e., less robust users, such as children or adults with weaker constitutions, the body parts other than the head and abdomen are identified as the corresponding swing parts. This avoids the target fan from targeting the head and abdomen, which are prone to causing diarrhea and headaches, for less robust users, thereby improving the control accuracy of the target fan.
[0064] As another embodiment, based on the user profile, a sweeping part matching the sweeping preference object is generated, including: the user profile includes the object's health information, the object's health information includes the object's disease information, the object's disease information includes a preset disease type or no disease type, if the user profile includes a preset disease type, then the parts of the human body other than the parts corresponding to the preset disease type are determined as the sweeping parts matching the sweeping preference object, wherein, specifically, if the preset disease type is a joint disease type, such as gout, arthritis, etc., then the parts of the human body other than the joints are determined as the sweeping parts matching the sweeping preference object; if the preset disease type is a head disease type, such as migraine, then the parts of the human body other than the head are determined as the sweeping parts matching the sweeping preference object.
[0065] In this way, for a target with a preference for sweeping airflow, the body parts other than the diseased parts are identified as the sweeping parts that match the target with the preference for sweeping airflow. This can prevent the target fan from sweeping airflow to the diseased parts and improve the control accuracy of the target fan.
[0066] As one embodiment, selecting a target sweeping area from the sweepable area of the target fan based on the sweeping part includes: if the sweeping preference object includes a selection object, then filtering the location of the sweeping part of the selection object from the locations of the detected objects, and selecting the target sweeping area from the sweepable area of the target fan based on the location of the sweeping part of the selection object.
[0067] As another embodiment, selecting a target sweeping area from the sweepable area of the target fan based on the sweeping part includes: if the sweeping preference object includes a new object, then obtaining the location of the sweeping part of the new object, and selecting a target sweeping area from the sweepable area of the target fan based on the location of the sweeping part of the new object. The location of the sweeping part of the new object can be supplemented by the target user through the user terminal or display interface, or it can be obtained by re-identifying and detecting the corresponding sweepable area of the target fan.
[0068] Step 206: Control the target fan according to the target sweeping area of the target fan.
[0069] For example, step 206 includes: obtaining the current sweeping area and set wind speed of the target fan; controlling the target fan to oscillate based on the current sweeping area and the target sweeping area; and controlling the target fan based on the set wind speed.
[0070] In this embodiment, the detection object and its location within the target fan's sweepable area are identified and displayed. Sweeping preference information from the target user for the detection object is received; this preference information indicates the preferred sweeping location. Based on this preference information, the target sweeping area of the target fan is determined. The target fan is then controlled according to its target sweeping area. By displaying the user's location identification results within the fan's sweepable area to the user, the target sweeping area matching the user's feedback can be determined based on their feedback. This allows for control of the target fan based on the target sweeping area, achieving interaction between fan control and the user. This enables the fan to automatically achieve the user's desired sweeping area control, improving fan control accuracy.
[0071] It is understandable that when controlling the target fan to the user's expected swing area, there may still be users in the target swing area who do not want to be swept. Therefore, if the above control method is used directly, it is easy for users who do not want to be swept to still be swept, resulting in low fan control accuracy.
[0072] In one embodiment, such as Figure 3 As shown, to overcome the technical shortcomings mentioned above, where users who do not wish to be swept may still be swept within the target sweeping area, resulting in low fan control accuracy, a fan control method is provided, in which... Figure 2 Step 206 includes:
[0073] Step 302: Based on the sweeping preference information, the target sweeping area is divided into a first area and a second area. The first area matches the area where the sweeping preference location is indicated by the sweeping preference information, and the second area is the area in the sweeping area other than the first area.
[0074] In step 302, the sweeping preference information includes a sweeping preference object, which includes at least one of a selected object or a newly added object.
[0075] For example, step 302 includes: obtaining the location of the sweeping preference object, determining the sweeping area corresponding to the location of the sweeping preference object as the first area, and determining the area in the target sweeping area other than the first area as the second area.
[0076] As an embodiment, step 302 includes: the sweep preference information also includes the sweep preference part of the sweep preference object, the sweep area corresponding to the location of the sweep preference part of the sweep preference object is determined as the first area, and the area other than the first area in the target sweep area is determined as the second area.
[0077] In another embodiment, step 302 includes: determining the sweeping area corresponding to the location of the sweeping preference part of the sweeping preference object as the first area, determining the area corresponding to the location of the part of the sweeping preference object other than the sweeping preference part as the third area, and determining the area in the target sweeping area other than the first area and the third area as the second area.
[0078] In this way, the preferred parts of the sweeping object, the parts of the sweeping object other than the preferred parts, and the non-sweeping object can be distinguished, thus enabling targeted fan control.
[0079] Step 304: If the current sweeping area of the target fan belongs to the second area, then sweeping suppression control is performed on the target fan based on the sweeping control corresponding to the first area.
[0080] For example, the target fan is subjected to sweep suppression control based on the sweep control corresponding to the first region, including at least one of the following: reducing the air volume of the target fan based on the sweep control corresponding to the first region; adjusting the current sweep region of the target fan by controlling the oscillation direction of the target fan based on the sweep control corresponding to the first region, wherein the current sweep region of the target fan after adjustment is further away from the detection object in the second region than the current sweep region of the target fan before adjustment.
[0081] As one embodiment, reducing the air volume of the target fan based on the swing control corresponding to the first region includes at least one of the following: reducing the wind speed of the target fan based on the swing control corresponding to the first region; increasing the oscillation speed of the target fan based on the swing control corresponding to the first region.
[0082] As one embodiment, based on the sweep control corresponding to the first region, the current sweep area of the target fan is adjusted by controlling the oscillation direction of the target fan, including: obtaining the location of the detected object in the current sweep area, and obtaining the oscillation direction of the sweep control corresponding to the first region, and adjusting the current sweep area of the target fan away from the location of the detected object in the current sweep area by controlling the oscillation direction of the target fan according to the oscillation direction of the sweep control corresponding to the first region.
[0083] In this way, when the target fan's current sweeping area belongs to the second area, that is, when the target fan sweeps through the non-sweeping preferred area, the target fan sweeps less of the detected object (non-sweeping preferred object) in the current sweeping area, thus improving the accuracy of fan control.
[0084] Furthermore, the oscillation direction of the target fan includes at least one of left-right oscillation and up-down oscillation.
[0085] Step 306: If the current sweeping area of the target fan belongs to the first area, then the target fan is controlled to sweep according to the set wind speed.
[0086] In step 306, the set wind speed is set as needed by the target user or the object being tested.
[0087] The method also includes: if the current sweeping area of the target fan belongs to the third area, then sweeping suppression control is applied to the target fan based on the sweeping control corresponding to the first area; if the current sweeping area of the target fan belongs to the second area, then sweeping suppression control is applied to the target fan based on the sweeping control corresponding to the third area.
[0088] It is understandable that when the target sweeping area is divided into three zones, the suppression and control level of the target fan in the second zone is higher than that in the third zone. The greater the reduction in the air volume of the target fan, the higher the suppression and control level. The further the adjusted current sweeping area is from the current zone, the higher the suppression and control level.
[0089] In this way, the target fan is controlled at three levels, and the target fan is controlled according to the sweep preference part of the target fan, the part of the target fan other than the sweep preference part, and the non-sweep preference part, thereby improving the accuracy of fan control.
[0090] In this embodiment, the target sweeping area is divided into a first area and a second area based on the sweeping preference information. The first area matches the area where the sweeping preference location indicated by the sweeping preference information is located, and the second area is the area in the target sweeping area other than the first area. If the current sweeping area of the target fan belongs to the first area, the target fan is controlled to sweep according to the set wind speed. If the current sweeping area of the target fan belongs to the second area, the target fan is controlled to suppress sweeping based on the sweeping control corresponding to the first area. For the second area divided by the target sweeping area, that is, users or areas in the target sweeping area who do not want to be swept, the sweeping suppression control is performed based on the sweeping control corresponding to the first area. For the first area divided by the target sweeping area, that is, areas in the target sweeping area with sweeping preference, normal sweeping control is performed, ensuring on-demand control within the area and improving the accuracy of fan control.
[0091] It is understandable that the target fan's usage environment (usually a room) may contain items that interfere with the identification of the detected object, such as posters or people on television. When using a single camera or radar to identify the detected object, it is easy for the presence of items that interfere with the identification of the detected object to lead to identification errors, resulting in low accuracy in the identification of the detected object.
[0092] In one embodiment, such as Figure 4 As shown, to overcome the aforementioned technical defects caused by the presence of items that interfere with the identification of the detected object, resulting in incorrect object identification, a method for identifying detected objects is provided, in which... Figure 2 Step 202 includes:
[0093] Step 402: Obtain the sweeping area image of the target fan corresponding to the sweeping area captured by the camera, and obtain the radar detection data of the target fan corresponding to the sweeping area detected by the radar.
[0094] In step 402, the camera can be integrated into the target fan, typically on its front side. To ensure a panoramic view of the target fan's sweepable area, it is usually integrated near the area below the fan blades, but can also be deployed outside the target fan. Similarly, the radar can be integrated into the target fan, typically on its front side. To ensure the detection of all objects within the target fan's sweepable area, it is usually integrated near the area below the fan blades, but can also be deployed outside the target fan. The sweepable area image can be multiple images taken from multiple angles, or a single panoramic image of the target fan's sweepable area.
[0095] Optionally, refer to Figure 5 The target fan includes an up-and-down oscillation motor, a left-and-right oscillation motor, a main control board, an operation panel, fan blades, a main motor, a camera, radar, and a display screen. The up-and-down oscillation motor, left-and-right oscillation motor, main control board, operation panel, fan blades, main motor, and camera are rotating parts, while the radar and display screen are fixed components. The main control board controls the other components of the target fan, the main motor controls the left-and-right oscillation motor and the up-and-down oscillation motor. The left-and-right oscillation motor controls the rotating parts of the target fan to oscillate left and right, and the up-and-down oscillation motor controls the rotating parts of the target fan to oscillate up and down. The operation panel responds to user input.
[0096] Step 404: Based on the sweeping area image and radar detection data, identify the target fan and the location of the target fan within the sweepable area.
[0097] As an embodiment, step 404 includes: if an object is identified from the swept area image, then multiple radar object detection data corresponding to the object changing over time are determined in the radar detection data; if there are differences between the multiple radar object detection data, then the object is determined as the detection object in the swept area corresponding to the target fan, and the location of the object is determined as the location of the detection object.
[0098] In this way, living objects in the sweepable area corresponding to the target fan can be accurately identified, improving the accuracy of object identification.
[0099] Step 406: Display the detection objects and their locations within the sweepable area corresponding to the target fan.
[0100] As an example, step 406 includes: displaying the detection object in the sweepable area corresponding to the target fan and the relative position of the detection object to the target fan.
[0101] In another embodiment, step 406 includes: obtaining room layout information of the room where the target fan is located, generating a map based on the room layout information, the detection object of the target fan's corresponding sweepable area and the location of the detection object, and displaying the map.
[0102] Optionally, refer to Figure 6 It displays the target fan's sweepable area, the target sweepable area, the object being detected, and the relative position of the object being detected to the target fan.
[0103] In this embodiment, the sweeping area image of the target fan corresponding to the sweepable area is acquired by the camera, and radar detection data of the target fan corresponding to the sweepable area is acquired by the radar. Based on the sweeping area image and the radar detection data, the detection object and the location of the detection object in the target fan corresponding to the sweepable area are identified. The detection object and the location of the detection object in the target fan corresponding to the sweepable area are displayed. The radar detection data and the sweeping area image are used together as the basis for identifying the detection object, avoiding the identification interference caused by items that interfere with the identification of the detection object, and improving the accuracy of the detection object identification.
[0104] As a more detailed embodiment, the system acquires an image of the sweepable area corresponding to the target fan captured by a camera, and acquires radar detection data of the sweepable area corresponding to the target fan detected by radar. If an object is identified from the sweepable area image, multiple radar object detection data corresponding to the identified object that change over time are determined in the radar detection data. If there are differences between the multiple radar object detection data, the identified object is determined as the detection object of the sweepable area corresponding to the target fan, and the location of the identified object is determined as the location of the detection object. The detection object of the sweepable area corresponding to the target fan and the location of the detection object are displayed.
[0105] Further, the system receives the target user's sweeping preference information for the detection object, which indicates the sweeping preference location, and obtains a user profile of the sweeping preference object from the sweeping preference information; based on the user profile, it generates a sweeping part that matches the sweeping preference object; according to the sweeping part, it selects a target sweeping area from the sweepable area of the target fan; according to the sweeping preference information, it divides the target sweeping area into a first area and a second area, wherein the first area matches the area where the sweeping preference location indicated by the sweeping preference information is located, and the second area is the area of the target sweeping area other than the first area; if the current sweeping area of the target fan belongs to the first area, it performs sweeping control on the target fan according to the set wind speed; if the current sweeping area of the target fan belongs to the second area, it reduces the wind speed of the target fan; and / or increases the oscillation speed of the target fan; and / or adjusts the current sweeping area of the target fan by controlling the oscillation direction of the target fan, wherein the adjusted current sweeping area of the target fan is further away from the detection object in the second area than the original current sweeping area of the target fan.
[0106] In this embodiment, the detection object and its location within the target fan's sweepable area are identified and displayed. Sweeping preference information from the target user for the detection object is received; this preference information indicates the preferred sweeping location. Based on this preference information, the target sweeping area of the target fan is determined. The target fan is then controlled according to its target sweeping area. By displaying the user's location identification results within the fan's sweepable area to the user, the target sweeping area matching the user's feedback can be determined based on their feedback. This allows for control of the target fan based on the target sweeping area, achieving interaction between fan control and the user. This enables the fan to automatically achieve the user's desired sweeping area control, improving fan control accuracy.
[0107] Furthermore, by implementing sweep suppression control in the second region of the target sweep area (i.e., users or areas within the target sweep area that do not want to be swept) and normal sweep control in the first region of the target sweep area (i.e., areas within the target sweep area that prefer sweeping), on-demand control within the area is ensured, improving the accuracy of fan control. Additionally, by using radar detection data and sweep area images together as the basis for identifying the detection object, interference from objects that could hinder object identification is avoided, further improving the accuracy of object identification.
[0108] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0109] Based on the same inventive concept, this application also provides a fan control device for implementing the fan control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more fan control device embodiments provided below can be found in the limitations of the fan control method described above, and will not be repeated here.
[0110] In one embodiment, such as Figure 7 As shown, a fan control device 700 is provided, including: an identification module 702, a determination module 704, and a control module 706, wherein:
[0111] The identification module 702 is used to identify and display the detection object and the location of the detection object in the sweepable area corresponding to the target fan.
[0112] The determination module 704 is used to receive the sweeping preference information of the target user for the detection object. The sweeping preference information is used to indicate the sweeping preference location, and the target sweeping area of the target fan is determined according to the sweeping preference information.
[0113] The control module 706 is used to control the target fan according to the target sweeping area of the target fan.
[0114] In one embodiment, the control module 706 is further configured to: divide the target sweeping area into a first area and a second area according to the sweeping preference information, wherein the first area matches the area where the sweeping preference position is indicated by the sweeping preference information, and the second area is the area in the target sweeping area other than the first area; if the current sweeping area of the target fan belongs to the first area, then the target fan is controlled to sweep according to the set wind speed; if the current sweeping area of the target fan belongs to the second area, then the target fan is controlled to suppress sweeping based on the sweeping control corresponding to the first area.
[0115] In one embodiment, the control module 706 is further configured to reduce the air volume of the target fan; by controlling the oscillation direction of the target fan, the current sweeping area of the target fan is adjusted, wherein the adjusted current sweeping area of the target fan is further away from the detection object in the second area than the original current sweeping area of the target fan.
[0116] In one embodiment, the control module 706 is also used to reduce the wind speed of the target fan and increase the oscillation speed of the target fan.
[0117] In one embodiment, the sweeping preference information includes a sweeping preference object; the determining module 704 is further configured to obtain a user profile of the sweeping preference object; based on the user profile, generate a sweeping part that matches the sweeping preference object; and select a target sweeping area from the sweepable area of the target fan according to the sweeping part.
[0118] In one embodiment, the identification module 702 is further configured to acquire the sweeping area image of the target fan corresponding to the sweepable area captured by the camera, and acquire the radar detection data of the target fan corresponding to the sweepable area detected by the radar; identify the detection object and the location of the detection object in the target fan corresponding to the sweepable area based on the sweeping area image and the radar detection data; and display the detection object and the location of the detection object in the target fan corresponding to the sweepable area.
[0119] In one embodiment, the identification module 702 is further configured to, if an identification object is identified from the swept area image, determine multiple radar object detection data corresponding to the identification object that changes over time in the radar detection data; if there are differences between the multiple radar object detection data, determine the identification object as the detection object of the swept area corresponding to the target fan, and determine the location of the identification object as the location of the detection object.
[0120] Each module in the aforementioned fan control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the electronic device in hardware form or independent of it, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.
[0121] In one embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a fan control method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.
[0122] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0123] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0124] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0125] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0126] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0127] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0128] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A fan control method, characterized in that, The method includes: Identify and display the target fan's corresponding sweepable area and the location of the target fan; Receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and determine the target sweeping area of the target fan based on the sweeping preference information; The target fan is controlled according to the target sweeping area of the target fan; The process of identifying and displaying the target fan's corresponding sweepable area and the location of the target fan includes: Acquire the sweeping area image of the target fan corresponding to the sweeping area captured by the camera, and acquire the radar detection data of the target fan corresponding to the sweeping area detected by the radar. Based on the sweeping area image and the radar detection data, identify the target fan and the location of the target fan in the sweepable area; The detection objects in the sweepable area corresponding to the target fan and the location of the detection objects are displayed; The step of identifying the target fan and the location of the target fan within the sweepable area based on the sweeping area image and the radar detection data includes: If an object is identified from the swept area image, then multiple radar object detection data corresponding to the identified object that change over time are determined in the radar detection data; If there are differences among the detection data of the multiple radar objects, the identified object is determined as the detection object in the sweepable area corresponding to the target fan, and the location of the identified object is determined as the location of the detection object.
2. The method according to claim 1, characterized in that, The step of controlling the target fan according to the target sweeping area of the target fan includes: Based on the sweeping preference information, the target sweeping area is divided into a first area and a second area, wherein the first area matches the area where the sweeping preference location indicated by the sweeping preference information is located, and the second area is the area in the target sweeping area other than the first area; If the current sweeping area of the target fan belongs to the first area, then the target fan is controlled to sweep according to the set wind speed; If the current sweeping area of the target fan belongs to the second area, then sweeping suppression control is applied to the target fan based on the sweeping control corresponding to the first area.
3. The method according to claim 2, characterized in that, The sweep suppression control of the target fan based on the sweep control corresponding to the first region includes at least one of the following: Based on the air sweep control corresponding to the first area, reduce the air volume of the target fan; Based on the swing control corresponding to the first region, the current swing area of the target fan is adjusted by controlling the oscillation direction of the target fan. The adjusted current swing area of the target fan is further away from the detection object in the second region compared to the original current swing area of the target fan.
4. The method according to claim 3, characterized in that, The reduction of the airflow of the target fan based on the sweep control corresponding to the first region includes at least one of the following: Based on the sweep control corresponding to the first area, reduce the wind speed of the target fan; Based on the air sweeping control corresponding to the first region, increase the oscillation speed of the target fan.
5. The method according to claim 1, characterized in that, The sweeping preference information includes a sweeping preference object; determining the target sweeping area of the target fan based on the sweeping preference information includes: Obtain the user profile of the object with the specified air-sweeping preference; Based on the user profile, generate a sweeping part that matches the sweeping preference object; Based on the sweeping part, a target sweeping area is selected from the sweepable area of the target fan.
6. A fan control device, characterized in that, The apparatus is used to perform the steps of the method according to any one of claims 1 to 5; the apparatus includes: The identification module is used to identify and display the detection object in the sweepable area corresponding to the target fan and the location of the detection object; The determination module is used to receive the sweeping preference information of the target user for the detected object, the sweeping preference information is used to indicate the sweeping preference location, and the target sweeping area of the target fan is determined according to the sweeping preference information; The control module is used to control the target fan according to the target sweeping area of the target fan.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Blowing control method, fan and computer readable storage medium
CN112855594A
Fan, fan control method and device and storage medium
CN113565781A