CN112922874A - Fan control method, terminal device, system and storage medium - Google Patents

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

Info

Publication number
CN112922874A
CN112922874A CN201911236551.7A CN201911236551A CN112922874A CN 112922874 A CN112922874 A CN 112922874A CN 201911236551 A CN201911236551 A CN 201911236551A CN 112922874 A CN112922874 A CN 112922874A
Authority
CN
China
Prior art keywords
user
blowing
fan
mode
track
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.)
Granted
Application number
CN201911236551.7A
Other languages
Chinese (zh)
Other versions
CN112922874B (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

Images

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

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; when the operation of a 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; 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 air to the user according to the preset air blowing mode. Thereby improving the user experience.

Description

Fan control method, terminal device, system and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a fan control method, a terminal device, a control system, and a storage medium.
Background
At present, fans on the market all adopt the directional mode of blowing or the swing mode of blowing in fixed range, and directional mode of blowing and the swing mode of blowing all need the user to open manually. For example, when a user presses a certain gear key, the fan performs fixed air supply according to the gear corresponding to the gear key; or the user presses a swing button on the head of the fan, and the fan starts to swing to supply air. Therefore, the existing fan is not only fixed and single in working mode, but also needs manual operation control of a user, and therefore the interaction mode of the existing fan can be seen, and the requirements of the user on the intelligent household equipment can not be met.
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 and further improve the experience degree of a user.
In a first aspect, the present application provides a fan control method, including:
displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes;
when the operation of a 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;
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 air to the user according to the preset air blowing mode.
In a second aspect, the present application further provides a terminal device, where the terminal device includes a display, a memory, and a processor;
the display is for displaying, and the memory is for storing a computer program;
the processor is configured to execute the computer program and implement the fan control method as described above when executing the computer program.
In a third aspect, the present application further 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, and the fan is configured to blow air to 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 the fan control method as described above.
The application discloses a fan control method, terminal equipment, a system and a storage medium, which provide an intelligent control mode for a fan, thereby improving the experience degree of a user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural 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 flow chart illustrating steps of a method for controlling a fan according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an effect of a mode selection interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an effect of another mode selection interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an effect of a track setting interface according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a process for setting a blowing trajectory based on a trajectory setting interface according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating an effect of another trajectory setting 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application 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 this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides a blowing control method of a fan, terminal equipment, a system and a storage medium. The blowing control method can be applied to the terminal equipment, so that a user can set different blowing tracks by means of the terminal equipment, the fan blows according to the set blowing tracks, and then diversified control modes are provided, and the user experience is improved.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can 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 present disclosure. The fan control system 100 comprises a terminal device 10 and a fan 20, wherein the terminal device 10 and the fan 20 are connected in communication for controlling the fan 20.
For example, the controller is configured to send a start instruction to the fan 20, and the fan 20 starts the fan motor to supply air according to the start instruction; and for example, 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 use the APP to realize control of the fan 20.
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., or 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 can swing in a certain direction, such as in a horizontal direction, and/or in a vertical direction, wherein the swing can be realized by using a motor and a driving mechanism, such as a crank and a connecting rod, or a driving wheel and a driven wheel cooperating with each other.
It is understood that, in the embodiment of the present application, a combination of swinging in the horizontal direction and swinging in the vertical direction may be adopted at the same time, so that the fan 20 has more swinging blowing modes, i.e., more directional blowing modes may be realized.
Specifically, the fan 20 is provided with a shooting device and a communication module, and the shooting device can be, for example, a common camera, a depth camera, a dual camera, or the like; the communication module is used for performing 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 the like.
The terminal device 10 and the fan are used in cooperation to execute the blowing control method provided by the embodiment of the application, so that the blowing control of the fan is realized, a more intelligent control mode is provided for a user, and the experience degree of the user is improved.
Illustratively, when a user wants to use a fan to blow, the user uses a terminal device to establish a communication connection with the fan to realize control over the fan, specifically by displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes; when the operation of a 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; 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 air to the user according to the preset air blowing mode. Therefore, the method can provide a more intelligent control mode for the fan, and therefore the experience degree 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 disclosure. The terminal device 10 includes a processor 11, a memory 12, and a display 13, wherein the processor 11, the memory 12, and the display 13 are connected through a bus.
The memory 12 may include, among other things, a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause a processor to perform any one of the methods of controlling the air blowing.
The display 13 is used for displaying, and in the embodiment of the present application, is mainly used for displaying the trajectory setting interface and the established blowing trajectory.
The processor 11 is used to provide computing and control capabilities to support the operation of the entire terminal device.
The internal memory provides an environment for running a computer program in the nonvolatile storage medium, which, when executed by the processor, causes the processor to execute any one of the blowing control methods.
It is to be understood that the structure shown in fig. 2 is a block diagram of only a portion of the structure related to the present application, and does not constitute a limitation on the terminal device to which the present application is applied, and a specific terminal device may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
It should be understood that the Processor 11 may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a 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 execute 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; when the operation of a 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; 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 air to the user according to the preset air blowing mode.
In some embodiments, the preset blowing mode comprises one of a directional blowing mode, a wiggle blowing mode, a follow-up blowing mode, a specific path mode, and a custom path mode; wherein 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, a camera is disposed on the fan; the processor implements the determining the user's location information 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 implements the determining of the preset blowing mode, including:
displaying a track setting interface corresponding to the user-defined path mode; and generating a blowing track based on the operation of the user on the track setting interface, and taking the blowing track as a preset blowing mode.
In some embodiments, before the processor implements displaying the trajectory 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 of the blowing trajectory based on the user's operation at the trajectory setting interface, including:
and generating a blowing track based on the user operation on the user image in the track setting interface.
In some embodiments, the processor implements the generating of the blowing trajectory based on the user's operation on the user image in the trajectory setting interface, including:
detecting the 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 of the blowing trajectory based on the user's operation on the user image in the trajectory setting interface, including:
acquiring 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, after generating the blowing trajectory based on the user operation on the user image in the trajectory setting interface, includes:
displaying the blowing track; and if the modification operation of the displayed blowing track by the user is detected, modifying the blowing track according to the modification operation.
In some embodiments, a track saving key and a track deleting key are arranged on the track setting interface; the processor further implements:
and if the situation that the user operates the track saving key or the track deleting key is detected, 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 or not 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 of the 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:
and if the operation of the user on the mode selection interface is not detected, acquiring an image which is acquired by the shooting device and contains the user, and determining a preset blowing mode according to the acquired image.
In some embodiments, the processor implements the determining a preset blowing pattern from the acquired image, including:
determining the identity of the user according to the acquired image; and querying a mode record table according to the identity, and 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 every time.
In some embodiments, the processor further implements:
acquiring a preset blowing mode selected by a user, and acquiring an image which is acquired by a shooting device and contains a user face; extracting the features of the image containing the face of the user to obtain the features of the face of the user; and establishing a corresponding relation between the user face characteristics and a preset blowing mode selected by the user, storing the corresponding relation in a mode record table, and taking the user face characteristics as the identity of the user.
In some embodiments, the processor further implements:
acquiring images shot by a shooting device at preset time intervals to obtain a plurality of images; and if the plurality of images do not comprise the user, outputting prompt information for prompting the user to confirm whether to close 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 flowchart illustrating steps of a fan control method according to an embodiment of the present disclosure. The fan control method can be applied to the fan, and can intelligently determine the air supply mode and accurately position the 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 wobbling blowing mode, a follow-up 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, swinging blowing, tracking blowing, specific path, and custom path. Wherein, the directional blowing mode is that the fan head is fixed to blow towards a certain direction; the swinging blowing mode is that the fan head swings to blow, such as swinging left and right or swinging up and down; the tracking blowing mode is to blow air along with the movement of the user, for example, after the face of the user is recognized, the head of the fan is controlled to track the face of the user to blow air.
The specific path mode is a preset post-blowing path, and when the user selects a corresponding mode, the fan is controlled to rotate to blow according to the path, such as an O-shaped path, a U-shaped path, an L-shaped path, a Z-shaped path and the like.
The user-defined path mode can 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, the position information of the user relative to the fan is determined.
Specifically, when an operation of the user on the mode selection interface is detected, for example, a click operation, a sliding operation, or the like in the mode selection interface, or an icon corresponding to a different mode is selected in the mode selection interface.
Upon detecting user operation on the mode selection interface, determining positional 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 photographed image is the middle position, it is determined that the position information of the user relative to the fan is also the middle position; for another example, if the position of the user in the captured 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, movement prompt information is generated according to the position information, and the movement prompt information is displayed, so that the user can move the position according to the movement prompt information, the user is in the air supply range of the fan, the user can be ensured to be always blown to the air, and the experience degree of the user is improved.
The blowing range is a range that the fan head can scan, and is specifically determined by the swing angle of the head. In other embodiments, the blowing range may also include distance information.
In some embodiments, an image captured by the capturing device may also be acquired, the image including a user; and calculating the area ratio of the user image in 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 image shot by the user.
S103, controlling the head of the fan to rotate towards the user according to the position information.
Specifically, the rotation of the head of the fan is adjusted 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 blowing range to face the user.
And S104, determining a preset blowing mode based on the operation of the user on the mode selection interface.
For example, if the user clicks an icon corresponding to the directional blowing mode in fig. 4, it is determined that the preset blowing mode is the directional blowing mode; or, the user clicks an icon corresponding to the swing blowing mode in fig. 4, and determines that the preset blowing mode is the swing blowing mode.
For example, if the user clicks an icon corresponding to the directional blowing mode in fig. 4, the 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 clicks an icon corresponding to the specific path mode in fig. 5, and may also display a plurality of corresponding paths, and if the user selects the "Z" type path, it is determined that the preset blowing mode is the specific path mode and corresponds to the "Z" type path.
In some embodiments, if the user selects a custom path mode in the mode selection interface, the custom path mode corresponds to a trajectory setting interface; displaying a track setting interface corresponding to the user-defined path mode; and generating a blowing track based on the operation of the user on the track setting interface, and taking the blowing track as a preset blowing mode.
For example, if the user clicks the icon of the custom mode in fig. 4, a trajectory setting interface corresponding to the custom path mode is displayed, so that the user defines a corresponding blowing path on the trajectory setting interface, that is, a blowing trajectory is generated based on an operation of the user on the trajectory setting interface, and the blowing trajectory is used as a preset blowing mode. Therefore, the user-defined air 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 captured by a capturing device may be further obtained, 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 the user, a track setting interface is generated according to the image and 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 displayed trajectory setting interface includes a user image, and a use course may be displayed when the user uses the trajectory setting interface for the first time, where the use course includes a prompt message of how to operate the user image to generate different blowing trajectories. Certainly, when the user clicks the trajectory setting interface, the user image may be clicked, and prompt information is displayed to prompt the user to set the corresponding blowing trajectory according to the user image.
Correspondingly, the blowing track is generated based on the operation of the user on the track setting interface, and specifically: and generating a blowing track based on the user operation on the user image in the track setting interface.
Specifically, according to the user's operation on the user image in the trajectory setting interface, such as a sliding operation, a clicking operation, a double-clicking operation, a dragging operation, a pressing operation, and the like, a blowing trajectory corresponding to the operation is generated according to the operations.
Illustratively, detecting the 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.
The operation types include sliding operation, clicking operation, double-clicking operation, dragging operation, pressing operation and the like. Each operation type corresponds to one blowing track.
For example, the sliding operation corresponds to a freely set trajectory, i.e., a corresponding blowing trajectory is determined according to the position of the sliding.
For example, the click 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, that is, 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 blows air from one location to another; the pressing operation changes the wind power according to the determined blowing track, and exemplarily, the wind power is determined according to the pressing time, the wind power is increased when the pressing time is long, and the wind power is decreased when the pressing time is short.
In some embodiments, in order to facilitate a user to make more complicated and various blowing tracks, a sliding operation of the user on the track setting interface and/or a 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, that is, according to the corresponding trajectory of the sliding operation, as the blowing trajectory, as shown in fig. 7, if the user slides a "U" -shaped pattern in the trajectory setting interface with respect to the user image, the "U" -shaped pattern is used as the blowing trajectory.
It is contemplated that in addition to the "U" pattern, an "O" pattern, an "L" pattern, a "T" pattern, or a "Z" pattern, etc. may be used.
In some embodiments, after the generating of the blowing trajectory based on the user operation on the user image in the trajectory setting interface, the blowing trajectory may be further displayed; and if the modification operation of the displayed blowing track by the user is detected, modifying the blowing track according to the modification operation.
In some embodiments, in order to facilitate user operations and to facilitate the user to know the current blowing mode, the trajectory setting interface may include a plurality of virtual control keys and a working parameter display frame; the virtual control keys comprise a track deleting key, a track saving 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 keys and an operation parameter display frame. The virtual control keys comprise a track deleting key, a track saving key, a track modifying key, a pause key and/or a shutdown key and the like, and the display modes of the virtual control keys are not limited; the operation parameter display frame comprises displaying the current wind power and/or the current mode and the like.
In some embodiments, it is detected whether the user operates the virtual control key, for example, if it is detected that the user operates the track saving key or the track deleting key, the blowing track is saved or deleted. Wherein, preserve the orbit of blowing, can use the orbit of blowing of preserving when opening the fan next time, and then practiced thrift user's settling time, improved user experience.
In some embodiments, if the operation of the user on the trajectory setting interface is not detected, the pre-stored blowing trajectory is used 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.
And 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, a fan control instruction is generated according to the swing blowing mode, and the fan control instruction comprises the swing blowing mode; for example, if the determined preset blowing mode is the 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" type blowing track), a fan control instruction is generated according to the "U" type blowing track, and the fan control instruction includes the "U" type 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 in turn, 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 m, the determined gear information is the gear 2. Therefore, the user does not need to select gear information, and gears can be automatically set according to the distance, so that the user experience is improved.
S106, sending the control instruction to the fan so that the fan blows air to the user according to the preset air blowing mode.
And sending the generated control instruction to the controller of the fan, so that the controller of the fan blows air according to a preset air blowing mode in the control instruction on the basis that the 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 head of the fan to move according to the U-shaped blowing track, and the customized blowing for the user is realized. Illustratively, as shown in fig. 9, a "U" -shaped blowing track is sent to the fan 20, and the fan 20 performs back and forth blowing to the user according to the "U" -shaped blowing track in the direction of the arrow, where the back and forth blowing all moves according to the "U" -shaped blowing track.
In some embodiments, the fan control method further comprises: and if the operation of the user on the mode selection interface is not detected, acquiring an image which is acquired by the shooting device and contains the user, and determining a preset blowing mode according to the acquired image.
Specifically, the identity of the user is determined according to the acquired image; and querying a mode record table according to the identity, and 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 every time. Therefore, the air blowing mode which is preferred by the user is automatically determined to blow according to the habit and the habit of the user, and the experience degree 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 which is acquired by a shooting device and contains a user face; extracting the features of the image containing the face of the user to obtain the features of the face of the user; and establishing a corresponding relation between the user face characteristics and a preset blowing mode selected by the user, storing the corresponding relation in a mode record table, and taking the user face characteristics as the identity of the user.
Specifically, recording a preset blowing mode selected by a user each time, acquiring the face characteristics of the user, establishing a corresponding relation between the face characteristics of the user and the preset blowing mode selected by the user, and storing the corresponding relation in a mode recording table.
In some embodiments, since the preset blowing patterns selected by the user may be a plurality of patterns, the frequency of use of each preset blowing pattern may also be recorded in the pattern recording table. Correspondingly, the highest use frequency can be determined as the preset blowing mode corresponding to the user according to the identity query mode record table.
In some embodiments, to conserve power, avoiding a situation in which the fan is still idling after the user has left the blowing position, the method further comprises: acquiring images shot by a shooting device at preset time intervals to obtain a plurality of images; and if the plurality of images do not comprise the user, outputting prompt information for prompting the user to confirm whether to close the fan.
For example, a plurality of images can be obtained by taking an image captured by the imaging device every 2 minutes and acquiring the captured image, and if no user is included in any of the 3 consecutive images, prompt information for prompting the user to confirm whether to turn off the fan is output.
Wherein, the prompt message is voice message, text message or vibration prompt message.
In the fan control mode provided by each embodiment, a mode selection interface is displayed, and the mode selection interface comprises a plurality of preset blowing modes; when the operation of a 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; 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 air to the user according to the preset air blowing mode. A plurality of control modes are provided, and meanwhile, the fan can quickly blow according to a mode determined by a user, so that the user experience is improved.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, 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 described in 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), and the like provided on the terminal device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A method of controlling a fan, the method comprising:
displaying a mode selection interface, wherein the mode selection interface comprises a plurality of preset blowing modes;
when the operation of a 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;
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 air to the user according to the preset air blowing mode.
2. The method of claim 1, wherein the preset blowing mode comprises one of a directional blowing mode, a wiggle blowing mode, a follow-up blowing mode, a specific path mode, and a custom path mode;
wherein 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 fan is provided with a camera; the determining the position information of the user relative to the fan comprises:
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.
4. The method of claim 3, wherein if the user selects a custom path mode in the mode selection interface; the determining of the preset blowing mode comprises:
displaying a track setting interface corresponding to the user-defined path mode;
and generating a blowing track based on the operation of the user on the track setting interface, and taking the blowing track as a preset blowing mode.
5. The method according to claim 4, wherein before displaying the trajectory setting interface corresponding to the custom path mode, the method comprises:
and generating a track setting interface according to the image, wherein the track setting interface comprises a user image.
6. The method of claim 5, wherein generating the blowing trajectory based on the user's operation at the trajectory setting interface comprises:
and generating a blowing track based on the user operation on the user image in the track setting interface.
7. The method of claim 6, wherein generating the blowing trajectory based on the user's manipulation of the user image in the trajectory setting interface comprises:
detecting the 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.
8. The method of claim 6, wherein generating the blowing trajectory based on the user's manipulation of the user image in the trajectory setting interface comprises:
acquiring 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.
9. The method of claim 6, wherein after generating the blowing trajectory based on the user operation on the user image in the trajectory setting interface, the method comprises:
displaying the blowing track;
and if the modification operation of the displayed blowing track by the user is detected, modifying the blowing track according to the modification operation.
10. The method according to any one of claims 4 to 9, wherein a track saving key and a track deleting key are arranged on the track setting interface; the method further comprises the following steps:
and if the situation that the user operates the track saving key or the track deleting key is detected, saving or deleting the blowing track.
11. The method of claim 10, further comprising:
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
And displaying a pre-stored blowing track on the track setting interface for a user to select, and taking the blowing track selected by the user as a preset blowing mode.
12. The method of claim 1, further comprising:
determining whether the user is in the air supply range of the fan or not 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.
13. The method of claim 1, wherein generating the fan control command according to the determined preset blowing pattern 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.
14. The method of claim 1, further comprising:
and if the operation of the user on the mode selection interface is not detected, acquiring an image which is acquired by the shooting device and contains the user, and determining a preset blowing mode according to the acquired image.
15. The method of claim 14, wherein determining a preset blowing pattern from the acquired image comprises:
determining the identity of the user according to the acquired image;
and querying a mode record table according to the identity, and 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 every time.
16. The method of claim 15, further comprising:
acquiring a preset blowing mode selected by a user, and acquiring an image which is acquired by a shooting device and contains a user face;
extracting the features of the image containing the face of the user to obtain the features of the face of the user;
and establishing a corresponding relation between the user face characteristics and a preset blowing mode selected by the user, storing the corresponding relation in a mode record table, and taking the user face characteristics as the identity of the user.
17. The method of claim 1, further comprising:
acquiring images shot by a shooting device at preset time intervals to obtain a plurality of images;
and if the plurality of images do not comprise the user, outputting prompt information for prompting the user to confirm whether to close the fan.
18. A terminal device, characterized in that the terminal device comprises a display, a memory and a processor;
the display is for displaying, and the memory is 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 17 when executing the computer program.
19. A 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;
wherein the terminal device is configured to implement the fan control method according to any one of claims 1 to 17, and the fan is configured to blow air to the user according to the preset blowing mode.
20. 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 17.
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 true CN112922874A (en) 2021-06-08
CN112922874B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN112922874B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
US20170046866A1 (en) Method and device for presenting operating states
EP3099017B1 (en) A method and a device for controlling a smart home power supply
CN104807134A (en) Operation mode self-defining control method and system for air conditioner
CN105373001A (en) Control method and device for electronic equipment
JP6711635B2 (en) Network system, electrical equipment, communication terminal, and program for communication terminal
CN104880976A (en) Control system and method for household electrical appliance
CN114019807A (en) Data processing method, device, system, equipment and readable storage medium
CN112922874A (en) Fan control method, terminal device, system and storage medium
CN109974233B (en) Control method, control device, air conditioner system and storage medium
WO2022105447A1 (en) Iot device control method, apparatus, terminal, and storage medium
CN112887618B (en) Video shooting method and device
CN109960454B (en) User parameter input method and device of electrical equipment and electrical equipment using method
CN109945458B (en) Control method, control device, air conditioner system and storage medium
CN112240309A (en) Electric fan control method and device
CN112922876B (en) Blowing control method of fan, terminal equipment, system and storage medium
TWI706656B (en) Visualized household appliance control system and method
CN105491114B (en) Controlled plant switching method, apparatus and system
CN113494472B (en) Control method, terminal equipment, system and storage medium of circulating fan
CN112925459B (en) Blowing control method of fan, terminal equipment, system and storage medium
CN113494473B (en) Control method, terminal equipment, system and storage medium of circulating fan
EP3922919A1 (en) Control method, control device, air conditioner system, and storage medium
CN113494475A (en) Control method of circulating fan, terminal equipment, system and storage medium
CN112922889A (en) Fan control method, fan, device, fan control system and storage medium
CN112922878B (en) Fan control method, fan and storage medium
CN113064538B (en) Equipment parameter setting method, intelligent refrigerator and computer readable storage medium

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