CN112922874B - Fan control method, terminal equipment, system and storage medium - Google Patents

Fan control method, terminal equipment, system and storage medium Download PDF

Info

Publication number
CN112922874B
CN112922874B CN201911236551.7A CN201911236551A CN112922874B CN 112922874 B CN112922874 B CN 112922874B CN 201911236551 A CN201911236551 A CN 201911236551A CN 112922874 B CN112922874 B CN 112922874B
Authority
CN
China
Prior art keywords
user
blowing
fan
track
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911236551.7A
Other languages
Chinese (zh)
Other versions
CN112922874A (en
Inventor
陈小平
唐清生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911236551.7A priority Critical patent/CN112922874B/en
Publication of CN112922874A publication Critical patent/CN112922874A/en
Application granted granted Critical
Publication of CN112922874B publication Critical patent/CN112922874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F05INDEXING SCHEMES RELATING TO ENGINES OR PUMPS IN VARIOUS SUBCLASSES OF CLASSES F01-F04
    • F05DINDEXING SCHEME FOR ASPECTS RELATING TO NON-POSITIVE-DISPLACEMENT MACHINES OR ENGINES, GAS-TURBINES OR JET-PROPULSION PLANTS
    • F05D2270/00Control
    • F05D2270/80Devices generating input signals, e.g. transducers, sensors, cameras or strain gauges
    • F05D2270/804Optical devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a fan control method, terminal equipment, a system and a storage medium. Wherein the method comprises the following steps: displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes; determining position information of a user relative to a fan when detecting operation of the user on the mode selection interface; controlling the head of the fan to rotate towards the user according to the position information; determining a preset blowing mode based on the operation of the user on the mode selection interface; generating a fan control instruction according to the determined preset blowing mode; and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode. Thereby improving the user experience.

Description

Fan control method, terminal equipment, system and storage medium
Technical Field
The application relates to the technical field of intelligent home, in particular to a fan control method, terminal equipment, a control system and a storage medium.
Background
At present, fans in the market all adopt a directional blowing mode or a swinging blowing mode in a fixed range, and the directional blowing mode and the swinging blowing mode all need to be manually started by a user. For example, a user presses a certain gear key, and the fan performs fixed air supply according to the gear corresponding to the gear key; or the user presses the swing button on the fan head, and the fan starts to swing to supply air. Therefore, the existing fans are fixed in single working mode and all need to be manually operated and controlled by a user, so that the interaction mode of the existing fans can not meet the requirements of the user on intelligent household equipment.
Disclosure of Invention
The application provides a fan control method, terminal equipment, a control system and a storage medium, and aims to provide a more intelligent control mode for a fan so as to improve the experience of a user.
In a first aspect, the present application provides a fan control method, the method comprising:
displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes;
determining position information of a user relative to a fan when detecting operation of the user on the mode selection interface;
controlling the head of the fan to rotate towards the user according to the position information;
determining a preset blowing mode based on the operation of the user on the mode selection interface;
generating a fan control instruction according to the determined preset blowing mode;
and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode.
In a second aspect, the present application also provides a terminal device, where the terminal device includes a display, a memory, and a processor;
the display is used for displaying, and the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the fan control method as described above when the computer program is executed.
In a third aspect, the present application also provides a fan control system, including:
the fan is provided with a shooting device and a communication module;
the terminal equipment is in communication connection with the fan;
the terminal device is configured to implement the fan control method described above, where the fan is configured to blow the user according to the preset blowing mode.
In a fourth aspect, the present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement a fan control method as described above.
The application discloses a fan control method, terminal equipment, a system and a storage medium, which provide a more intelligent control mode for a fan, thereby improving the experience of a user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a fan control system according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a terminal device provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart of steps of a fan control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram showing the effect of a mode selection interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram showing the effect of another mode selection interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of the effects of a track setup interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a process for setting a blowing track based on a track setting interface according to an embodiment of the present application;
FIG. 8 is a schematic diagram of the effects of another track setup interface provided by an embodiment of the present application;
fig. 9 is a schematic diagram of an effect of blowing based on a preset blowing mode according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the application provides a blowing control method, terminal equipment, a system and a storage medium of a fan. The air blowing control method can be applied to terminal equipment, so that a user can set different air blowing tracks by means of the terminal equipment, the fan can blow according to the set air blowing tracks, and a diversity control mode is provided, so that the user experience is improved.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fan control system according to an embodiment of the application. The fan control system 100 includes a terminal apparatus 10 and a fan 20, the terminal apparatus 10 and the fan 20 being communicatively coupled for controlling the fan 20.
For example, the fan 20 is configured to send an opening command to the fan 20, and the fan 20 starts the fan motor to supply air according to the opening command; for example, the fan 20 is configured to send a shutdown command to the fan 20, and the fan 20 shuts down the fan according to the shutdown command to stop the operation.
Specifically, an application program (APP) may be installed in the terminal device 10 so that the user can realize control of the fan 20 using the APP.
The terminal device 10 includes an electronic device such as a smart phone, a tablet computer, a personal computer, or a wearable device.
The fan 20 includes a floor fan, a tower fan, a desk fan, a bladeless fan, a wall fan, etc., and may include an electric heating fan, an air conditioning fan, an air conditioner, etc.
It should be noted that, in the embodiment of the present application, the head of the fan 20 may swing in a certain direction, such as a horizontal direction, and/or swing in a vertical direction, where the swing may be implemented using a motor and a driving mechanism, such as a driving mechanism including a crank and a link, or a driving wheel and a driven wheel cooperate, etc.
It will be appreciated that in embodiments of the present application, a combination of swinging in the horizontal direction and swinging in the vertical direction may be used, so that the fan 20 has more swinging blowing modes, i.e., a blowing mode in more directions may be achieved.
Specifically, the fan 20 is provided with a photographing device and a communication module, and the photographing device may be, for example, a common camera, a depth camera, a dual camera, or the like; the communication module is configured to perform communication connection with the terminal device 10, such as a bluetooth module, a Wi-Fi module, an LTE module, an NB-IoT module, a LoRa module, and so on.
The terminal device 10 and the fan are matched to execute the blowing control method provided by the embodiment of the application so as to realize the blowing control of the fan, thereby providing a more intelligent control mode for users and improving the experience of the users.
The method includes the steps that when a user wants to blow air by using a fan, communication connection is established between the user and the fan by using a terminal device to control the fan, and particularly a mode selection interface is displayed, wherein the mode selection interface comprises a plurality of preset blowing modes; determining position information of a user relative to a fan when detecting operation of the user on the mode selection interface; controlling the head of the fan to rotate towards the user according to the position information; determining a preset blowing mode based on the operation of the user on the mode selection interface; generating a fan control instruction according to the determined preset blowing mode; and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode. Therefore, the method can provide a more intelligent control mode for the fan, and the experience of a user is improved.
Referring to fig. 2, fig. 2 is a schematic block diagram of a terminal device according to an embodiment of the present application. The terminal device 10 comprises a processor 11, a memory 12 and a display 13, wherein the processor 11, the memory 12 and the display 13 are connected by a bus.
The memory 12 may include a non-volatile storage medium and an internal memory, among others.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause the processor to perform any of a number of blast control methods.
The display 13 is used for displaying a track setting interface and a formulated blowing track in the embodiment of the present application.
The processor 11 is used to provide computing and control capabilities supporting the operation of the overall terminal device.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any of a number of blowing control methods.
It will be appreciated that the structure shown in fig. 2 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the terminal device to which the present inventive arrangements are applied, and that a particular terminal device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
It should be appreciated that the processor 11 may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment the processor is configured to run a computer program stored in the memory to implement the steps of:
displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes; determining position information of a user relative to a fan when detecting operation of the user on the mode selection interface; controlling the head of the fan to rotate towards the user according to the position information; determining a preset blowing mode based on the operation of the user on the mode selection interface; generating a fan control instruction according to the determined preset blowing mode; and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode.
In some embodiments, the preset blowing mode includes one of a directional blowing mode, a swing blowing mode, a trace blowing mode, a specific path mode, and a custom path mode; the specific path mode comprises an O-shaped path, a U-shaped path, an L-shaped path and a Z-shaped path.
In some embodiments, the fan is provided with a shooting device; the processor implementing the determining the location information of the user relative to the fan, including:
acquiring an image shot by the shooting device, wherein the image comprises a user; and determining the position information of the user relative to the fan according to the position of the user in the image.
In some embodiments, if the user selects a custom path mode in the mode selection interface; the processor implementing the determining a preset blowing mode includes:
displaying a track setting interface corresponding to the custom path mode; based on the operation of a user on the track setting interface, generating a blowing track, and taking the blowing track as a preset blowing mode.
In some embodiments, before the processor implements the displaying the track setting interface corresponding to the custom path mode, the processor further implements:
and generating a track setting interface according to the image, wherein the track setting interface comprises a user image.
In some embodiments, the processor implements the generating a blowing track based on the operation of the user at the track setting interface, including:
and generating a blowing track based on the operation of the user on the user image in the track setting interface.
In some embodiments, the processor implements the generating a blowing track based on a user operation on a user image in the track setup interface, including:
detecting operation of a user on a user image in the track setting interface; determining an operation type corresponding to the operation; and acquiring a preset track corresponding to the determined operation type, and taking the preset track as a blowing track.
In some embodiments, the processor implements the generating a blowing track based on a user operation on a user image in the track setup interface, including:
acquiring a sliding operation of a user on the track setting interface and/or a user image in the track setting interface; and determining a blowing track according to the sliding track corresponding to the sliding operation.
In some embodiments, the processor implements the operations based on user images in the trajectory setup interface, after generating a blowing trajectory, comprising:
displaying the blowing track; and if the user is detected to carry out modification operation on the displayed blowing track, modifying the blowing track according to the modification operation.
In some embodiments, the track setting interface is provided with a save track key and a delete track key; the processor also implements:
and if the user is detected to operate the save track key or the delete track key, saving or deleting the blowing track.
In some embodiments, the processor further implements:
if the operation of the user on the track setting interface is not detected, taking a pre-stored blowing track as a preset blowing mode; or displaying a pre-stored blowing track on the track setting interface for the user to select, and taking the blowing track selected by the user as a preset blowing mode.
In some embodiments, the processor further implements:
determining whether the user is in the air supply range of the fan according to the position information of the user relative to the fan; and if the user is not in the air supply range of the fan, generating movement prompt information according to the position information, and displaying the movement prompt information so that the user moves the position according to the movement prompt information.
In some embodiments, the processor implements the generating a fan control instruction according to the determined preset blowing mode, including:
determining gear information corresponding to the preset blowing mode according to distance information in the position information of the user relative to the fan; and generating a fan control instruction according to the gear information and the preset blowing mode.
In some embodiments, the processor further implements:
if the operation of the user on the mode selection interface is not detected, acquiring an image containing the user and acquired by the shooting device, and determining a preset blowing mode according to the acquired image.
In some embodiments, the processor implements the determining a preset blowing mode from the acquired image, including:
determining the identity of the user according to the acquired image; and inquiring a mode record table according to the identity, determining a preset blowing mode corresponding to the user, wherein the mode record table is used for recording the preset blowing mode selected by the user when the user uses the fan each time.
In some embodiments, the processor further implements:
acquiring a preset blowing mode selected by a user, and acquiring an image containing a user face acquired by a shooting device; extracting features of the image containing the user face to obtain user face features; and establishing a corresponding relation between the user face features and a preset blowing mode selected by a user, storing the corresponding relation in a mode record table, and taking the user face features as the identity of the user.
In some embodiments, the processor further implements:
acquiring images shot by a shooting device at intervals of preset time to obtain a plurality of images; and if the plurality of images do not contain the user, outputting prompt information for prompting the user to confirm whether to turn off the fan.
For ease of understanding, the fan control method provided by the embodiment of the present application will be described in detail below with reference to the control system in fig. 1.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating steps of a fan control method according to an embodiment of the application. The fan control method can be applied to fans, and can intelligently determine the air supply mode and accurately position air supply, so that the user experience is improved.
As shown in fig. 3, the fan control method specifically includes steps S101 to S106.
S101, displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes.
The preset blowing mode is a predefined blowing mode. For example, the preset blowing mode includes one of a directional blowing mode, a swing blowing mode, a trace blowing mode, a specific path mode, and a custom path mode.
As shown in fig. 4, the display mode selection interface includes icons corresponding to modes such as directional blowing, swing blowing, tracking blowing, specific path and custom path. Wherein, the directional blowing mode is that the fan head is fixed to blow in a certain direction; the swing blowing mode is that the fan head swings and blows, such as left and right swing or up and down swing and the like; the air blowing tracking mode is to blow along with the movement of a user, for example, after the face of the user is identified, the machine head of the fan is controlled to track the face of the user for air blowing.
The specific path mode is a preset post-blowing path, and when a user selects a corresponding mode, the fan is controlled to rotate to blow according to the path, for example, the specific path mode comprises an O-shaped path, a U-shaped path, an L-shaped path, a Z-shaped path and the like.
The user-defined path mode may allow the user to define a corresponding blowing path by himself, so that the fan blows according to the blowing path.
S102, when the operation of the user on the mode selection interface is detected, determining the position information of the user relative to the fan.
Specifically, when an operation of the user on the mode selection interface is detected, for example, a click operation, a sliding operation, etc. in the mode selection interface, or icons corresponding to different modes are selected in the mode selection interface.
And when the operation of the user on the mode selection interface is detected, determining the position information of the user relative to the fan. Specifically, an image captured by the capturing device may be acquired, the image including a user; and determining the position information of the user relative to the fan according to the position of the user in the image.
For example, if the position of the user in the shot image is a middle position, determining that the position information of the user relative to the fan is also a middle position; for another example, if the position of the user in the photographed image is the upper left corner, it is determined that the position information of the user relative to the fan is also the upper left corner.
In some embodiments, it may also be determined whether the user is within the air supply range of the fan according to the position information of the user relative to the fan; if the user is not in the air supply range of the fan, mobile prompt information is generated according to the position information, and the mobile prompt information is displayed, so that the user moves the position according to the mobile prompt information, the user is in the air supply range of the fan, and the user can be ensured to blow air all the time, and the experience of the user is improved.
The air supply range is a range that can be scanned by the fan head, and is specifically determined by the swing angle of the head. In other embodiments, the supply air range may also include distance information.
In some embodiments, an image captured by the capturing device may also be acquired, where the image includes a user; and calculating the area ratio of the user image to the shot image, and determining the distance information of the user relative to the fan according to the area ratio, wherein the user image is the image information corresponding to the shot image of the user.
And S103, controlling the machine head of the fan to rotate towards the user according to the position information.
Specifically, the rotation of the head of the fan is regulated according to the position information, so that the head of the fan faces the user. For example, if the position information is the upper left corner, the head of the fan is adjusted to rotate to the upper left corner of the air supply range so as to face the user.
S104, determining a preset blowing mode based on the operation of the user on the mode selection interface.
For example, if the user clicks the icon corresponding to the directional blowing mode in fig. 4, determining that the preset blowing mode is the directional blowing mode; or, the user clicks the icon corresponding to the swing blowing mode in fig. 4, and determines that the preset blowing mode is the swing blowing mode.
For example, when the user clicks the icon corresponding to the directional blowing mode in fig. 4, corresponding gear information may also be displayed, and if the user selects gear 2, it is determined that the preset blowing mode is the directional blowing mode and the corresponding gear information is gear 2.
For another example, the user may click on the icon corresponding to the specific path mode in fig. 5, and may display a plurality of corresponding paths, and if the user selects the "Z" path, the user determines that the preset blowing mode is the specific path mode and corresponds to the "Z" path.
In some embodiments, if the user selects a custom path mode in the mode selection interface, wherein the custom path mode corresponds to a track setting interface; displaying a track setting interface corresponding to the self-defined path mode; based on the operation of a user on the track setting interface, generating a blowing track, and taking the blowing track as a preset blowing mode.
For example, when the user clicks the icon of the custom mode in fig. 4, a track setting interface corresponding to the custom path mode is displayed, so that the user defines a corresponding blowing path on the track setting interface, that is, a blowing track is generated based on the operation of the user on the track setting interface, and the blowing track is used as a preset blowing mode. Therefore, the user-defined blowing path is realized, and the user experience is improved.
In some embodiments, before displaying the track setting interface corresponding to the custom path mode, an image shot by the shooting device may be further acquired, where the image includes a user; and generating a track setting interface according to the image, wherein the track setting interface comprises a user image.
Because the shot image comprises a user, a track setting interface is generated according to the image, and the track setting interface is displayed, wherein the track setting interface comprises the user image, namely the user image is displayed on the track setting interface, and the specific display position is not limited
For example, as shown in fig. 6, the track setting interface displayed includes a user image, and when the user uses the track setting interface for the first time, a use course may be displayed, where the use course includes prompt information about how to operate the user image to generate different blowing tracks. Of course, when the user clicks the track setting interface, the user image is clicked, and prompt information is displayed to prompt the user to set a corresponding blowing track according to the user image.
Correspondingly, based on the operation of the user on the track setting interface, a blowing track is generated, specifically: and generating a blowing track based on the operation of the user on the user image in the track setting interface.
Specifically, according to operations of a user image in the trajectory setting interface, such as a slide operation, a click operation, a double click operation, a drag operation, a press operation, and the like, by a user, a blowing trajectory corresponding to the operations is generated according to the operations.
Illustratively, detecting a user operation on a user image in the track setting interface; determining an operation type corresponding to the operation; and acquiring a preset track corresponding to the determined operation type, and taking the preset track as a blowing track.
The operation types include a slide operation, a click operation, a double click operation, a drag operation, a press operation, and the like. Each operation type corresponds to a blowing track.
For example, the sliding operation corresponds to a freely set trajectory, i.e. a corresponding blowing trajectory is determined according to the sliding position.
For example, the clicking operation corresponds to a directional blowing mode, the directional blowing mode is fixed blowing, and a blowing track corresponding to the fixed blowing is fixed-point blowing, namely, the fan head does not swing to blow.
For example, the directional blowing mode corresponding to the double-click operation is switched to the swing blowing mode, or the swing blowing mode is switched to the directional blowing mode.
For another example, a drag operation corresponds to moving from one location to another location to blow air; the pressing operation changes the wind power on the basis of the previously determined blowing track, and illustratively, the wind power is determined according to the pressing time, the wind power is increased if the pressing time is long, and the wind power is decreased if the pressing time is short.
In some embodiments, in order to facilitate the user to make more complex and diverse blowing tracks, a sliding operation of the user on the track setting interface and/or the user image in the track setting interface may also be obtained; and determining a blowing track according to the sliding track corresponding to the sliding operation.
Specifically, if the user slides a "U" pattern in the track setting interface with respect to the user image as a blowing track according to the corresponding track of the sliding operation, as shown in fig. 7, the "U" pattern is used as the blowing track.
It is conceivable that, in addition to the "U" pattern, an "O" pattern, an "L" pattern, a "T" pattern, a "Z" pattern, or the like may be used.
In some embodiments, after the generating of the blowing track based on the operation of the user on the user image in the track setting interface, the blowing track may be further displayed; and if the user is detected to carry out modification operation on the displayed blowing track, modifying the blowing track according to the modification operation.
In some embodiments, to facilitate user operation and to facilitate user understanding of a current blowing mode, etc., the track setting interface may include a plurality of virtual control keys and an operating parameter display frame; the virtual control keys comprise a track deleting key, a track storing key, a track modifying key, a pause key and/or a shutdown key.
For example, as shown in fig. 8, the mode selection interface includes a plurality of virtual control buttons and an operation parameter display frame. The virtual control keys comprise a track deleting key, a track storing key, a track modifying key, a pause key, a shutdown key and the like, and the display modes of the virtual control keys are not limited; the operating parameter display box includes displaying the current wind force and/or current mode, etc.
In some embodiments, it is detected whether the user operates a virtual control key, for example, if it is detected that the user operates the save track key or the delete track key, the blowing track is saved or deleted. The fan is provided with a fan, wherein the fan is provided with a fan holder, and the fan holder is provided with a fan holder.
In some embodiments, if the operation of the user on the track setting interface is not detected, taking a pre-stored blowing track as a preset blowing mode; or displaying the pre-stored blowing track on the track setting interface for the user to select, and taking the blowing track selected by the user as a preset blowing mode.
S105, generating a fan control instruction according to the determined preset blowing mode.
For example, if the determined preset blowing mode is a swing blowing mode, generating a fan control instruction according to the swing blowing mode, wherein the fan control instruction comprises the swing blowing mode; for example, if the determined preset blowing mode is a swing blowing mode and the corresponding gear information is gear 2, a fan control instruction is generated for gear 2 according to the swing blowing mode and the corresponding gear information, where the fan control instruction includes the swing blowing mode and the corresponding gear information is gear 2.
For another example, if the determined preset blowing mode is a user-defined blowing track ("U" blowing track), a fan control instruction is generated according to the "U" blowing track, where the fan control instruction includes the "U" blowing track.
In some embodiments, the generating a fan control instruction according to the determined preset blowing mode specifically includes: determining gear information corresponding to the preset blowing mode according to distance information in the position information of the user relative to the fan; and generating a fan control instruction according to the gear information and the preset blowing mode.
For example, the gear information includes gear 1, gear 2 and gear 3, the wind power increases sequentially, and the distance ranges corresponding to the three gears are "0 to 1 meter", "1 to 2 meters" and "greater than 2 meters" respectively. And if the distance information in the position information of the user relative to the fan is about 1.5 meters, determining the gear information to be gear 2. Therefore, the user does not need to select gear information, and the gear is automatically set according to the distance, so that the experience of the user is improved.
S106, sending the control instruction to the fan so that the fan blows air to the user according to the preset blowing mode.
And sending the generated control instruction to a controller of the fan, so that the controller of the fan blows according to a preset blowing mode in the control instruction on the basis that the machine head of the fan faces a user.
For example, the U-shaped blowing track is sent to the fan, so that the fan controls the machine head of the fan to move according to the U-shaped route according to the U-shaped blowing track, and user-customized blowing is realized. For example, as shown in fig. 9, a "U" -shaped blowing track is sent to the fan 20, and the fan 20 performs reciprocating blowing to the user according to the arrow direction according to the "U" -shaped blowing track, wherein the reciprocating blowing is performed according to the "U" -shaped blowing track.
In some embodiments, the fan control method further comprises: if the operation of the user on the mode selection interface is not detected, acquiring an image containing the user and acquired by the shooting device, and determining a preset blowing mode according to the acquired image.
Specifically, determining the identity of the user according to the acquired image; and inquiring a mode record table according to the identity, determining a preset blowing mode corresponding to the user, wherein the mode record table is used for recording the preset blowing mode selected by the user when the user uses the fan each time. Therefore, the air blowing mode which is preferred by the user is automatically determined according to the habit and habit of the user, and the experience of the user can be further improved.
The generation process of the mode record table comprises the following steps: acquiring a preset blowing mode selected by a user, and acquiring an image containing a user face acquired by a shooting device; extracting features of the image containing the user face to obtain user face features; and establishing a corresponding relation between the user face features and a preset blowing mode selected by a user, storing the corresponding relation in a mode record table, and taking the user face features as the identity of the user.
Specifically, recording a preset blowing mode selected by a user each time, acquiring face features of the user, establishing a corresponding relation between the face features of the user and the preset blowing mode selected by the user, and storing the corresponding relation in a mode record table.
In some embodiments, since the preset blowing modes selected by the user may be multiple modes, the frequency of use of each preset blowing mode may also be recorded in the mode recording table. Correspondingly, the mode record table can be queried according to the identity mark, and the highest using frequency can be determined as a preset blowing mode corresponding to the user.
In some embodiments, to save electricity, to avoid situations where the fan is idling after the user has left the blowing position, the method further comprises: acquiring images shot by a shooting device at intervals of preset time to obtain a plurality of images; and if the plurality of images do not contain the user, outputting prompt information for prompting the user to confirm whether to turn off the fan.
For example, every 2 minutes, an image is captured by the capturing device, and the captured image is acquired, so that a plurality of images can be obtained, and if no user is included in the continuous 3 images, a prompt message for prompting the user to confirm whether to turn off the fan is output.
Wherein the prompt information is such as voice information, text information or vibration prompt information.
In the fan control manner provided in the above embodiments, a mode selection interface is displayed, where the mode selection interface includes a plurality of preset blowing modes; determining position information of a user relative to a fan when detecting operation of the user on the mode selection interface; controlling the head of the fan to rotate towards the user according to the position information; determining a preset blowing mode based on the operation of the user on the mode selection interface; generating a fan control instruction according to the determined preset blowing mode; and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode. And a plurality of control modes are provided, and meanwhile, the fan can rapidly blow according to a mode determined by a user, so that the experience of the user is improved.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize any one of the fan control methods provided by the embodiment of the application.
The computer readable storage medium may be an internal storage unit of the terminal device according to the foregoing embodiment, for example, a hard disk or a memory of the terminal device. The computer readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device.
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (18)

1. A method for controlling a fan, wherein a shooting device is arranged on the fan, the method comprising:
displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes;
if the operation of the user on the mode selection interface is detected, determining the position information of the user relative to the fan;
controlling the head of the fan to rotate towards the user according to the position information;
selecting a custom path mode based on the operation of the user on the mode selection interface;
acquiring an image shot by the shooting device, wherein the image comprises a user; generating a track setting interface according to the image, wherein the track setting interface comprises a user image;
displaying a track setting interface corresponding to the custom path mode;
generating a blowing track based on the operation of a user on the track setting interface, and taking the blowing track as a preset blowing mode;
generating a fan control instruction according to the determined preset blowing mode;
and sending the control instruction to the fan so that the fan blows the air to the user according to the preset blowing mode.
2. The method of claim 1, wherein the preset blowing mode comprises one of a directional blowing mode, a swing blowing mode, a trace blowing mode, a specific path mode, and a custom path mode;
the specific path mode comprises an O-shaped path, a U-shaped path, an L-shaped path and a Z-shaped path.
3. The method of claim 1, wherein the determining location information of the user relative to a fan comprises:
and determining the position information of the user relative to the fan according to the position of the user in the image.
4. The method of claim 1, wherein generating a blowing trajectory based on a user operation at the trajectory setup interface comprises:
and generating a blowing track based on the operation of the user on the user image in the track setting interface.
5. The method of claim 4, wherein generating a blowing trajectory based on a user operation on a user image in the trajectory setup interface comprises:
detecting operation of a user on a user image in the track setting interface;
determining an operation type corresponding to the operation;
and acquiring a preset track corresponding to the determined operation type, and taking the preset track as a blowing track.
6. The method of claim 4, wherein generating a blowing trajectory based on a user operation on a user image in the trajectory setup interface comprises:
acquiring a sliding operation of a user on the track setting interface and/or a user image in the track setting interface;
and determining a blowing track according to the sliding track corresponding to the sliding operation.
7. The method of claim 4, wherein after generating the blowing trajectory based on the user's operation on the user image in the trajectory setup interface, comprising:
displaying the blowing track;
and if the user is detected to carry out modification operation on the displayed blowing track, modifying the blowing track according to the modification operation.
8. The method according to any one of claims 4 to 7, wherein a save track key and a delete track key are provided on the track setting interface; the method further comprises the steps of:
and if the user is detected to operate the save track key or the delete track key, saving or deleting the blowing track.
9. The method of claim 8, wherein the method further comprises:
if the operation of the user on the track setting interface is not detected, taking a pre-stored blowing track as a preset blowing mode; or (b)
And displaying a pre-stored blowing track on the track setting interface for the user to select, and taking the blowing track selected by the user as a preset blowing mode.
10. The method according to claim 1, wherein the method further comprises:
determining whether the user is in the air supply range of the fan according to the position information of the user relative to the fan;
and if the user is not in the air supply range of the fan, generating movement prompt information according to the position information, and displaying the movement prompt information so that the user moves the position according to the movement prompt information.
11. The method of claim 1, wherein generating a fan control command based on the determined preset blowing mode comprises:
determining gear information corresponding to the preset blowing mode according to distance information in the position information of the user relative to the fan;
and generating a fan control instruction according to the gear information and the preset blowing mode.
12. The method according to claim 1, wherein the method further comprises:
if the operation of the user on the mode selection interface is not detected, acquiring an image containing the user and acquired by the shooting device, and determining a preset blowing mode according to the acquired image.
13. The method of claim 12, wherein said determining a preset blowing pattern from said acquired image comprises:
determining the identity of the user according to the acquired image;
and inquiring a mode record table according to the identity, determining a preset blowing mode corresponding to the user, wherein the mode record table is used for recording the preset blowing mode selected by the user when the user uses the fan each time.
14. The method of claim 13, wherein the method further comprises:
acquiring a preset blowing mode selected by a user, and acquiring an image containing a user face acquired by a shooting device;
extracting features of the image containing the user face to obtain user face features;
and establishing a corresponding relation between the user face features and a preset blowing mode selected by a user, storing the corresponding relation in a mode record table, and taking the user face features as the identity of the user.
15. The method according to claim 1, wherein the method further comprises:
acquiring images shot by a shooting device at intervals of preset time to obtain a plurality of images;
and if the plurality of images do not contain the user, outputting prompt information for prompting the user to confirm whether to turn off the fan.
16. A terminal device, characterized in that the terminal device comprises a display, a memory and a processor;
the display is used for displaying, and the memory is used for storing a computer program;
the processor for executing the computer program and implementing the fan control method according to any one of claims 1 to 15 when the computer program is executed.
17. A fan control system, the fan control system comprising:
the fan is provided with a shooting device and a communication module;
the terminal equipment is in communication connection with the fan;
the terminal device is configured to implement the fan control method according to any one of claims 1 to 15, where the fan is configured to blow the user according to the preset blowing mode.
18. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the fan control method according to any one of claims 1 to 15.
CN201911236551.7A 2019-12-05 2019-12-05 Fan control method, terminal equipment, system and storage medium Active CN112922874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236551.7A CN112922874B (en) 2019-12-05 2019-12-05 Fan control method, terminal equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911236551.7A CN112922874B (en) 2019-12-05 2019-12-05 Fan control method, terminal equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN112922874A CN112922874A (en) 2021-06-08
CN112922874B true CN112922874B (en) 2023-09-29

Family

ID=76162248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236551.7A Active CN112922874B (en) 2019-12-05 2019-12-05 Fan control method, terminal equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN112922874B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114001046A (en) * 2021-09-24 2022-02-01 珠海格力电器股份有限公司 Control method, device and system of circulating fan and circulating fan

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004332572A (en) * 2003-05-01 2004-11-25 Fuji Photo Film Co Ltd Fan
JP2011257071A (en) * 2010-06-09 2011-12-22 Mitsubishi Electric Corp Air conditioner
JP2012117418A (en) * 2010-11-30 2012-06-21 Japan Science & Technology Agency Blast system
CN103871141A (en) * 2014-04-10 2014-06-18 宫雅卓 Indoor environment control system based on biological characteristic recognition
CN104235044A (en) * 2013-06-20 2014-12-24 广东美的环境电器制造有限公司 Fan and control method thereof
CN104728137A (en) * 2013-12-19 2015-06-24 广东美的环境电器制造有限公司 Fan and fan controlling method
CN104866250A (en) * 2014-06-27 2015-08-26 广东美的环境电器制造有限公司 Household appliance, control system and method of household appliance, mobile terminal and cloud server
CN105626565A (en) * 2015-12-25 2016-06-01 广东美的环境电器制造有限公司 Fan control method and control system and fan
CN106837843A (en) * 2017-04-23 2017-06-13 陈昭良 A kind of fan
CN107044436A (en) * 2017-04-05 2017-08-15 华南理工大学 The fan governor and method of integrated temperature control, human body infrared sensing and self-learning function
CN107781205A (en) * 2017-10-09 2018-03-09 珠海格力电器股份有限公司 Fan and its air-out control method, device and system
CN109058146A (en) * 2018-08-14 2018-12-21 珠海格力电器股份有限公司 Mode regulating method and mode tuning controller

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004332572A (en) * 2003-05-01 2004-11-25 Fuji Photo Film Co Ltd Fan
JP2011257071A (en) * 2010-06-09 2011-12-22 Mitsubishi Electric Corp Air conditioner
JP2012117418A (en) * 2010-11-30 2012-06-21 Japan Science & Technology Agency Blast system
CN104235044A (en) * 2013-06-20 2014-12-24 广东美的环境电器制造有限公司 Fan and control method thereof
CN104728137A (en) * 2013-12-19 2015-06-24 广东美的环境电器制造有限公司 Fan and fan controlling method
CN103871141A (en) * 2014-04-10 2014-06-18 宫雅卓 Indoor environment control system based on biological characteristic recognition
CN104866250A (en) * 2014-06-27 2015-08-26 广东美的环境电器制造有限公司 Household appliance, control system and method of household appliance, mobile terminal and cloud server
CN105626565A (en) * 2015-12-25 2016-06-01 广东美的环境电器制造有限公司 Fan control method and control system and fan
CN107044436A (en) * 2017-04-05 2017-08-15 华南理工大学 The fan governor and method of integrated temperature control, human body infrared sensing and self-learning function
CN106837843A (en) * 2017-04-23 2017-06-13 陈昭良 A kind of fan
CN107781205A (en) * 2017-10-09 2018-03-09 珠海格力电器股份有限公司 Fan and its air-out control method, device and system
CN109058146A (en) * 2018-08-14 2018-12-21 珠海格力电器股份有限公司 Mode regulating method and mode tuning controller

Also Published As

Publication number Publication date
CN112922874A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
US11157009B2 (en) Method and device for controlling floor cleaning robots
CN104735355B (en) The image capture method and device of a kind of intelligent terminal
US20170046866A1 (en) Method and device for presenting operating states
KR102079054B1 (en) Method and method for adjusting the shooting focal length of the mobile terminal using the touch pad
CN105388453B (en) The method and device of positioning intelligent equipment
CN106657814A (en) Video recording method and mobile terminal
CN105207864A (en) Household appliance control method and device
CN105068467B (en) Control the method and device of smart machine
CN105404160A (en) Control method and device based on sleep state
CN107395976A (en) A kind of acquisition parameters method to set up and mobile terminal
CN103209290B (en) PTZ camera head control system and method
CN104635536A (en) Intelligent household electrical appliance control method and system
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN112922874B (en) Fan control method, terminal equipment, system and storage medium
CN107592454A (en) A kind of image processing method and mobile terminal
CN105101354A (en) Wireless network connection method and device
CN106162150A (en) A kind of photographic method and mobile terminal
CN107014481B (en) Action recognition method and device
CN105700366A (en) Equipment control method and device, and terminal
CN112887618B (en) Video shooting method and device
CN106921545B (en) Electric appliance information sharing method and device and terminal
CN105677088A (en) Control method and electronic device
CN107122149A (en) Display methods, device and the terminal of application program
CN113494472B (en) Control method, terminal equipment, system and storage medium of circulating fan
CN113494473B (en) Control method, terminal equipment, system and storage medium of circulating fan

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant