CN112922885B - Air supply control method, system, fan and computer readable storage medium - Google Patents
Air supply control method, system, fan and computer readable storage medium Download PDFInfo
- Publication number
- CN112922885B CN112922885B CN201911244438.3A CN201911244438A CN112922885B CN 112922885 B CN112922885 B CN 112922885B CN 201911244438 A CN201911244438 A CN 201911244438A CN 112922885 B CN112922885 B CN 112922885B
- Authority
- CN
- China
- Prior art keywords
- air supply
- fan
- mobile terminal
- user
- position information
- 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
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D25/00—Pumping installations or systems
- F04D25/02—Units comprising pumps and their driving means
- F04D25/08—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Structures Of Non-Positive Displacement Pumps (AREA)
Abstract
The application provides an air supply control method, an air supply control system, a fan and a computer readable storage medium, wherein the method comprises the following steps: acquiring position information of each user in at least two users relative to a fan and a working state identifier of each mobile terminal associated with the fan; planning a plurality of air supply tracks of the fan according to each piece of position information; selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user; and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction. The fan control device can control the fan to intelligently supply air for multiple people, and improves user experience.
Description
Technical Field
The present disclosure relates to the field of air supply control technologies, and in particular, to an air supply control method, a fan, and a computer-readable storage medium.
Background
At present, when the indoor temperature is high, a user can select to use an air conditioner or a fan as an electric appliance for cooling, the existing fan air supply mode mainly adopts fixed air supply or head shaking air supply, and the air of the fan is sent out in a fixed track. Under the condition that many people bloied, because everyone's position is different, and the wind of fan all is sent out with fixed orbit, the fan can't be blown to the people that exist, can't be intelligent give many people's air supply, and the user also can't oneself set up the air supply orbit of fan to make the user experience when using the fan to get wind lower.
Disclosure of Invention
The present application mainly aims to provide an air supply control method, a fan, and a computer-readable storage medium, which are used for intelligently supplying air to multiple users and improving user experience.
In a first aspect, the present application provides an air supply control method including the steps of:
obtaining position information of each of at least two users relative to a fan and each of the operating state identifiers associated with the fan;
planning a plurality of air supply tracks of the fan according to each piece of position information, wherein each air supply track comprises an air supply position point corresponding to each piece of position information; and
selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user;
and receiving an air supply control instruction sent by the target mobile terminal, and executing air supply operation corresponding to the air supply control instruction, wherein the air supply control instruction comprises an air supply track selected by a user.
In a second aspect, the present application further provides an air supply control system comprising: a plurality of mobile terminals, a fan, and an indoor positioning system, each of the mobile terminals communicatively coupled to the fan, the indoor positioning system communicatively coupled to the fan, wherein:
the indoor positioning system is used for acquiring position information of each user relative to the fan and sending each position information to the fan, wherein the fan and each user are located in the same indoor area;
each mobile terminal is used for acquiring a working state identifier and sending the working state identifier to the fan;
the fan is used for receiving the position information of each user relative to the fan, which is sent by the indoor positioning system, and receiving the working state identification sent by each mobile terminal; planning a plurality of air supply tracks of the fan according to each piece of position information, wherein each air supply track comprises an air supply position point corresponding to each piece of position information; selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user; and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
In a third aspect, the present application further provides a fan, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the air supply control method are implemented.
In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the air supply control method as described above.
The application provides an air supply control method, a fan and a computer readable storage medium, a plurality of air supply tracks of the fan are planned through the position of each user relative to the fan, one mobile terminal is selected as a target mobile terminal through a working state identifier of each mobile terminal related to the fan, the plurality of air supply tracks are sent to the target mobile terminal to be displayed, the air supply control command is selected and adjusted by the user, the air supply control command sent by the target mobile terminal based on the selection operation of the user on the displayed air supply tracks is received, the air supply operation corresponding to the air supply control command is executed, therefore, the fan intelligently supplies air to a plurality of people, and the user experience is greatly improved.
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 embodying embodiments of the present application;
fig. 2 is a schematic flow chart of an air supply control method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another air supply control method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of the range of air supply in the vertical direction of the fan in the embodiment of the present application;
FIG. 5 is a schematic block diagram of an air supply control system provided in an embodiment of the present application;
fig. 6 is a block diagram schematically illustrating a structure of a fan according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fan in the embodiment of the present invention, and as shown in fig. 1, the fan 100 includes a fan head 101, a base 102, and a support rod 103, one end of the support rod 103 is connected to the fan head 101, the other end of the support rod 103 is connected to the base 102, and the fan 100 further includes a motor (not shown in the figure) for controlling the fan head 101 to rotate in a yaw direction, where a rotation range of the yaw direction is a preset rotation range. It should be noted that the preset rotation range may be set based on actual situations, and the present application is not limited to this. Optionally, the preset rotation range is 0-360 °.
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. 2, fig. 2 is a schematic flow chart of an air supply control method according to an embodiment of the present application.
As shown in fig. 2, the air blow control method includes steps S101 to S104.
Step S101, obtaining the position information of each user relative to the fan and the working state identification of each mobile terminal associated with the fan.
And in the air supply process of the fan, acquiring the position information of each user in at least two users relative to the fan and the working state identification of each mobile terminal associated with the fan. Each mobile terminal associated with the fan is connected with the Bluetooth module of the fan through the Bluetooth module, the mobile terminal acquires the working state identification, the working state identification is sent to the fan through the Bluetooth module, and the fan receives the working state identification sent by the mobile terminal. The working state identification is used for describing the working state of the mobile terminal, the working state of the mobile terminal comprises but is not limited to a screen-off dormant state and a screen-on working state, and the screen-on working state comprises but is not limited to a game state, a call state and an entertainment state. The mobile terminal comprises a smart phone, a smart watch and the like.
In one embodiment, the fan acquires an image of the environment around the fan through a camera to obtain a target image and acquire the focal length of the camera; determining the image distance of each user according to the target image, and determining the horizontal distance of each user relative to the fan according to the relation among the focal distance, the image distance and the object distance, the focal distance of the camera and the image distance of each user; determining a horizontal included angle between each user and the camera according to the image distance of each user and the focal length of the camera; establishing a rectangular coordinate system by taking the position of the camera as a coordinate origin, the forward direction of the camera as an X axis and the right direction of the camera as a Y axis; and determining the position coordinates of each user in the rectangular coordinate system according to the horizontal distance between each user and the fan and the horizontal included angle between each user and the camera, and taking the position coordinates of each user in the rectangular coordinate system as the position information of each user relative to the fan. The position of the user relative to the fan can be determined through the camera without the help of other equipment, and the position of the user is convenient to locate.
In one embodiment, an indoor positioning system acquires indoor positioning information of a fan and indoor positioning information of each of at least two users, and sends the indoor positioning information of the fan and the indoor positioning information of each user to the fan, wherein the fan and each user are located in the same indoor area; the fan receives the indoor positioning information of the fan and the indoor positioning information of each user sent by the indoor positioning system, and the position information of each user relative to the fan is determined according to the indoor positioning information of the fan and the indoor positioning information of each user. The indoor positioning system comprises but is not limited to an indoor positioning system based on Bluetooth positioning, an indoor positioning system based on wifi positioning, an indoor positioning system based on infrared positioning and an indoor positioning system based on sound wave positioning. The position information of the user relative to the fan can be accurately determined through the indoor positioning system.
And S102, planning a plurality of air supply tracks of the fan according to each piece of position information.
After the position information of each user relative to the fan is obtained, a plurality of air supply tracks of the fan are planned according to each position information. The air supply track comprises air supply position points corresponding to the position information, the number of the air supply position points in each air supply track is larger than or equal to half of the total number of users, the position information of one user corresponds to one air supply position point, and the air supply track is a rotating track of a fan head of the fan in the yaw direction.
In one embodiment, the fan calculates the position difference value of every two pieces of position information, and screens every piece of position information according to the position difference value of every two pieces of position information; according to the screened position information, marking air supply position points corresponding to each user in a preset air supply track so as to update the air supply track; and intercepting a plurality of air supply track sections containing the air supply position points from the updated air supply track, and taking each intercepted air supply track section as an air supply track of the fan to obtain a plurality of air supply tracks. The preset air supply track is an air supply track of the fan in the yaw direction, and the shape of the air supply track is circular or elliptical. The air supply track of the fan can be rapidly planned through the air supply track set in advance and the position information of each user, and the processing speed is improved.
Specifically, the fan acquires a mapping relation table between prestored position information and coordinates of an air supply position point, wherein the position information and the coordinates of the air supply position point have a corresponding relation; and inquiring the mapping relation table, acquiring the coordinates of the air supply position points corresponding to each position information, and marking the air supply position points corresponding to each user in a preset air supply track according to the coordinates of the air supply position points corresponding to each position information.
The screening mode of the position information is specifically as follows: and acquiring two pieces of position information of which the position difference value is smaller than or equal to a preset threshold value, and combining the two pieces of position information of which the position difference value is smaller than or equal to the preset threshold value to obtain new position information so as to realize the screening of the position information. Wherein, the merging mode can be as follows: the average position coordinates of the two pieces of position information are calculated and taken as new position information. It should be noted that the preset threshold may be set based on actual situations, and this application is not limited to this specifically.
And S103, selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending the air supply tracks to the target mobile terminal for display so as to be selected by a user.
After a plurality of air supply tracks are obtained through planning, one mobile terminal is selected as a target mobile terminal according to the working state identification of each mobile terminal, and the plurality of air supply tracks are sent to the target mobile terminal to be displayed so as to be selected by a user; the target mobile terminal obtains the selection operation of the user on the displayed air supply track, generates a corresponding air supply control instruction according to the selection operation, and sends the air supply control instruction to the fan.
Specifically, the fan counts the number of the working state identifiers in a preset working state identifier set, and determines whether the number is equal to 1; if the number is equal to 1, taking the mobile terminal corresponding to the working state identifier in the preset working state identifier set as a target mobile terminal; if the number is larger than 1, taking the mobile terminal corresponding to the working state identifier in the preset working state identifier set as a candidate mobile terminal; and acquiring the relative distance between each candidate mobile terminal and the fan, and taking the candidate mobile terminal with the minimum relative distance as a target mobile terminal, or acquiring the user use frequency of each candidate mobile terminal, and taking the candidate mobile terminal with the highest user use frequency as the target mobile terminal. It should be noted that the user usage frequency is a frequency at which the user uses the mobile terminal within a preset time before the current time, and the preset working state identifier set and the preset time may be set based on an actual situation, which is not specifically limited in this application. Optionally, the preset working state identifier is an identifier corresponding to the bright screen working state.
In one embodiment, after the target mobile terminal displays the air supply track, the target mobile terminal acquires the selection operation of the user on the displayed air supply track, and displays an adjustment page corresponding to the air supply track according to the selection operation; acquiring the adjustment operation of a user on the air supply track in the adjustment page, and adjusting the air supply track according to the adjustment operation; and after the air supply track is confirmed by the user, generating an air supply control instruction corresponding to the adjusted air supply track, and sending the air supply control instruction to the fan.
And step S104, receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
The fan receives an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executes the air supply operation corresponding to the air supply control instruction, namely the air supply track selected by the user is obtained from the air supply control instruction, and the fan head of the fan rotates in the yaw direction according to the air supply track, so that intelligent air supply can be realized for multiple people.
According to the air supply control method provided by the embodiment, the plurality of air supply tracks of the fan are planned through the position of each user relative to the fan, one mobile terminal is selected as the target mobile terminal through the working state identification of each mobile terminal related to the fan, the plurality of air supply tracks are sent to the target mobile terminal to be displayed, the air supply control command sent by the target mobile terminal based on the selection operation of the user on the displayed air supply tracks is received and the air supply operation corresponding to the air supply control command is executed, so that the fan intelligently supplies air to multiple people is realized, and the user experience is greatly improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another air supply control method according to an embodiment of the present disclosure.
As shown in fig. 3, the air blow control method includes steps S201 to S206.
Step S201, obtaining the position information of each user relative to the fan and the working state identification of each mobile terminal associated with the fan.
And in the air supply process of the fan, acquiring the position information of each user in at least two users relative to the fan and the working state identification of each mobile terminal associated with the fan. Each mobile terminal associated with the fan is connected with the Bluetooth module of the fan through the Bluetooth module, the mobile terminal acquires the working state identification, the working state identification is sent to the fan through the Bluetooth module, and the fan receives the working state identification sent by the mobile terminal.
And S202, planning a plurality of air supply tracks of the fan according to each piece of position information.
After the position information of each user relative to the fan is obtained, a plurality of air supply tracks of the fan are planned according to each position information. The air supply track comprises air supply position points corresponding to the position information, the number of the air supply position points in each air supply track is larger than or equal to half of the total number of users, the position information of one user corresponds to one air supply position point, and the air supply track is a rotating track of a fan head of the fan in the yaw direction.
And S203, selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending the air supply tracks to the target mobile terminal for display so as to be selected by a user.
After a plurality of air supply tracks are obtained through planning, one mobile terminal is selected as a target mobile terminal according to the working state identification of each mobile terminal, and the plurality of air supply tracks are sent to the target mobile terminal to be displayed so as to be selected by a user; the target mobile terminal obtains the selection operation of the user on the displayed air supply track, generates a corresponding air supply control instruction according to the selection operation, and sends the air supply control instruction to the fan.
And step S204, receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
The fan receives an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executes the air supply operation corresponding to the air supply control instruction, namely the air supply track selected by the user is obtained from the air supply control instruction, and the fan head of the fan rotates in the yaw direction according to the air supply track, so that intelligent air supply can be realized for multiple people.
Step S205, acquiring the relative height between each user and the fan, and determining the air supply range of the fan according to each relative height.
In the air supply process of the fan, the relative height of each user and the fan is obtained, and the air supply range of the fan is determined according to each relative height. Wherein, the air supply range is the air supply range of the fan in the vertical direction.
Specifically, acquiring a current height of the fan and height information of each of at least two users; and determining the height information of each user relative to the fan according to the current height of the fan and the height information of each user. The wearable device or the mobile phone of the user is in communication connection with the fan, the height information of the user is sent to the fan through the wearable device or the mobile phone, and the height information sent by the wearable device or the mobile phone is received by the fan.
In one embodiment, the fan counts the total number of users, and accumulates the relative height between each user and the fan to obtain the total relative height; and calculating the average relative height according to the total number of users and the total relative height, determining the air supply range of the fan according to the average relative height, namely acquiring a mapping relation table between the prestored relative height and the pitch angle of the fan head, inquiring the mapping relation table, acquiring the pitch angle corresponding to the average relative height, and taking the pitch angle as the pitch angle of the fan head, thereby determining the air supply range of the fan in the vertical direction.
For example, if the pitch angle of the fan head perpendicular to the horizontal plane is 0 °, when the height information is a negative value, that is, the height of the fan is greater than the height of the user, the pitch angle of the fan head at the air supply position point corresponding to the user is less than 0 °, that is, the fan head is deviated downward from the horizontal direction, and when the height information is a positive value, that is, the height of the fan is less than the height of the user, the pitch angle of the fan head at the air supply position point corresponding to the user is greater than 0 °, that is, the fan head is deviated upward from the horizontal direction. Referring to fig. 4, fig. 4 is a schematic view of an air blowing range of the fan in the vertical direction in the embodiment of the present application, as shown in fig. 4, when the height of the fan is greater than the height of the user, the head of the fan is deviated downward from the horizontal direction, the air blowing range is an air blowing area a, and the upper half of the user is located in the air blowing range.
In one embodiment, the fan acquires the relative height and the relative distance between each user and the fan, determines the air supply range of the fan according to the relative height and the relative distance between each user and the fan, namely, calculates the average relative height according to the relative height between each user and the fan, calculates the average relative distance according to the relative distance between each user and the fan, and determines the pitch angle of the fan head according to the average relative height and the average relative distance, thereby determining the air supply range of the fan in the vertical direction. For example, if the average relative height is h, the average relative distance is d, and the pitch angle is θ, the pitch angle of the fan head can be calculated according to the formula θ ═ arctan (h/d).
And step S206, air supply is carried out according to the air supply range and the air supply track in the air supply control command.
After the air supply range of the fan is determined. And air supply is carried out according to the air supply range and the air supply track in the air supply control command, namely, the fan head of the fan rotates in the yaw direction according to the air supply track, and simultaneously, the fan head rotates in the pitching direction according to the air supply range, so that the intelligent air supply can be carried out for multiple people.
In one embodiment, the fan acquires the relative distance between each user and the fan, and determines the air supply gear of each air supply position point on the air supply track in the air supply control instruction according to the relative distance between each user and the fan; and air supply is carried out according to the air supply track and the air supply gear of each air supply position point. The farther the user is from the fan, the higher the air blowing position, that is, the faster the air speed of the fan, and the closer the user is to the fan, the lower the air blowing position, that is, the slower the air speed of the fan. The air supply gear of the fan is adjusted through the distance between the fan and the user, air can be supplied to the user more intelligently, and user experience is improved.
Specifically, the fan acquires an image of the surrounding environment of the fan through a camera to obtain a target image and acquire the focal length of the camera; and determining the image distance of each user according to the target image, determining the horizontal distance of each user relative to the fan according to the relation among the focal distance, the image distance and the object distance, the focal distance of the camera and the image distance of each user, and taking the horizontal distance of each user relative to the fan as the distance information of each user relative to the fan.
Specifically, a mapping relation table of prestored distance information and air supply gears is obtained, wherein the distance information and the air supply gears have a corresponding relation; and determining the air supply gear of each air supply position point according to each distance information and the mapping relation table, namely inquiring the mapping relation table and obtaining the air supply gear corresponding to each distance information. It should be noted that the mapping relation table between the distance information and the air blowing gear may be set based on actual conditions, and the present application is not limited to this.
According to the air supply control method provided by the embodiment, a plurality of air supply tracks of the fan are planned through the position of each user relative to the fan, one mobile terminal is selected as a target mobile terminal through the working state identification of each mobile terminal related to the fan, the plurality of air supply tracks are sent to the target mobile terminal to be displayed, the air supply tracks are selected by the user, the air supply range of the fan is determined according to the height of each user relative to the fan, air supply is performed according to the air supply range and the air supply tracks selected by the user, the fan can supply air to multiple people intelligently, the air of the fan can be blown to each user, and the user experience is greatly improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of an air supply control system according to an embodiment of the present disclosure.
As shown in fig. 5, the blowing control system 300 includes: a plurality of mobile terminals 301, a fan 302, and an indoor positioning system 303, each of said mobile terminals 301 communicatively coupled to said fan 302, said indoor positioning system 303 communicatively coupled to said fan 302, wherein:
the indoor positioning system 303 is configured to obtain position information of each of at least two users relative to a fan, and send each of the position information to the fan, where the fan and each of the users are located in a same indoor area;
each mobile terminal 301 is configured to obtain a working state identifier, and send the working state identifier to the fan;
the fan 302 is configured to receive position information, relative to the fan, of each user sent by the indoor positioning system, and receive a working state identifier sent by each mobile terminal; planning a plurality of air supply tracks of the fan according to each piece of position information, wherein each air supply track comprises an air supply position point corresponding to each piece of position information; selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user; and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
Optionally, the fan 302 is further configured to:
acquiring indoor positioning information of the fan and indoor positioning information of each of at least two users, wherein the fan and each user are located in the same indoor area;
and determining the position information of each user relative to the fan according to the indoor positioning information of the fan and the indoor positioning information of each user.
Optionally, the fan 302 is further configured to:
calculating the position difference value of every two pieces of position information, and screening every piece of position information according to the position difference value of every two pieces of position information;
according to the screened position information, marking air supply position points corresponding to each user in a preset air supply track so as to update the air supply track;
and intercepting a plurality of air supply track sections containing the air supply position points from the updated air supply track, and taking each intercepted air supply track section as the air supply track of the fan to obtain a plurality of air supply tracks.
Optionally, the fan 302 is further configured to:
counting the number of the working state identifications in a preset working state identification set, and determining whether the number is equal to 1;
and if the number is equal to 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a target mobile terminal.
Optionally, the fan 302 is further configured to:
if the number is larger than 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a candidate mobile terminal;
and acquiring the relative distance between each candidate mobile terminal and the fan, and taking the candidate mobile terminal with the minimum relative distance as a target mobile terminal.
Optionally, the fan 302 is further configured to:
acquiring the relative height between each user and the fan, and determining the air supply range of the fan according to each relative height;
and air supply is carried out according to the air supply range and the air supply track in the air supply control instruction.
Optionally, the fan 302 is further configured to:
counting the total number of users, and accumulating the relative height between each user and the fan to obtain the total relative height;
and calculating the average relative height according to the total number of users and the total relative height, and determining the air supply range of the fan according to the average relative height.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the air supply control system described above may refer to the corresponding process in the foregoing embodiment of the air supply control method, and is not described herein again.
Referring to fig. 6, fig. 6 is a schematic block diagram of a fan according to an embodiment of the present disclosure.
As shown in fig. 6, the fan 400 includes a processor 402, a memory 403, which may include a non-volatile storage medium and an internal memory, and a communication interface 404, which are connected by a system bus 401.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the air supply control methods.
The processor is used to provide computing and control capabilities, supporting the operation of the entire fan.
The memory provides an environment for running a computer program in a non-volatile storage medium, which, when executed by the processor, causes the processor to perform any one of the air supply control methods.
The communication interface 404 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the fans to which the present application applies, and that a particular fan may include more or fewer components than those shown, or some components may be combined, or have a different arrangement of components.
It should be understood that the bus 401 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 403 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 402 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), Field-Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. 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:
acquiring position information of each user in at least two users relative to a fan and a working state identifier of each mobile terminal associated with the fan;
planning a plurality of air supply tracks of the fan according to each piece of position information; and
selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user;
and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
In one embodiment, the processor, in effecting obtaining the position information of each of the at least two users relative to the fan, is operative to effect:
acquiring indoor positioning information of the fan and indoor positioning information of each of at least two users, wherein the fan and each user are located in the same indoor area;
and determining the position information of each user relative to the fan according to the indoor positioning information of the fan and the indoor positioning information of each user.
In one embodiment, the processor, when implementing the planning of the plurality of blowing trajectories of the fan according to each of the position information, is configured to implement:
calculating the position difference value of every two pieces of position information, and screening every piece of position information according to the position difference value of every two pieces of position information;
according to the screened position information, marking air supply position points corresponding to each user in a preset air supply track so as to update the air supply track;
and intercepting a plurality of air supply track sections containing the air supply position points from the updated air supply track, and taking each intercepted air supply track section as the air supply track of the fan to obtain a plurality of air supply tracks.
In one embodiment, when the processor selects one of the mobile terminals as a target mobile terminal according to each of the working state identifiers, the processor is configured to:
counting the number of the working state identifications in a preset working state identification set, and determining whether the number is equal to 1;
and if the number is equal to 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a target mobile terminal.
In one embodiment, the processor, after implementing determining whether the number is equal to 1, is further configured to implement:
if the number is larger than 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a candidate mobile terminal;
and acquiring the relative distance between each candidate mobile terminal and the fan, and taking the candidate mobile terminal with the minimum relative distance as a target mobile terminal.
In one embodiment, after implementing the air supply operation corresponding to the air supply control instruction, the processor is further configured to implement:
acquiring the relative height between each user and the fan, and determining the air supply range of the fan according to each relative height;
and air supply is carried out according to the air supply range and the air supply track in the air supply control instruction.
In one embodiment, the processor, when determining the blowing range of the fan according to each of the height information, is configured to:
counting the total number of users, and accumulating the relative height between each user and the fan to obtain the total relative height;
and calculating the average relative height according to the total number of users and the total relative height, and determining the air supply range of the fan according to the average relative height.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and simplicity of description, the specific working process of the fan described above may refer to the corresponding process in the foregoing embodiment of the air supply control method, and details are not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of the air supply control method in the present application.
The computer readable storage medium may be an internal storage unit of the fan described in the foregoing embodiment, for example, a hard disk or a memory of the fan. The computer readable storage medium may also be an external storage device of the fan, such as a plug-in hard disk provided on the fan, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
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. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art 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 (9)
1. An air supply control method, characterized by comprising:
acquiring position information of each user in at least two users relative to a fan and a working state identifier of each mobile terminal associated with the fan;
calculating the position difference value of every two pieces of position information, and screening every piece of position information according to the position difference value of every two pieces of position information;
according to the screened position information, marking air supply position points corresponding to each user in a preset air supply track so as to update the preset air supply track;
intercepting a plurality of air supply track sections containing the air supply position points from the updated preset air supply track, and taking each intercepted air supply track section as an air supply track of the fan to obtain a plurality of air supply tracks;
selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user;
and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
2. The blowing control method according to claim 1, wherein the acquiring of the positional information of each of the at least two users with respect to the fan includes:
acquiring indoor positioning information of the fan and indoor positioning information of each of at least two users, wherein the fan and each user are located in the same indoor area;
and determining the position information of each user relative to the fan according to the indoor positioning information of the fan and the indoor positioning information of each user.
3. The air supply control method according to claim 1, wherein the selecting one of the mobile terminals as a target mobile terminal according to each of the operation state identifiers includes:
counting the number of the working state identifications in a preset working state identification set, and determining whether the number is equal to 1;
and if the number is equal to 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a target mobile terminal.
4. The air supply control method according to claim 3, wherein after determining whether the number is equal to 1, further comprising:
if the number is larger than 1, taking the mobile terminal corresponding to the working state identifier in a preset working state identifier set as a candidate mobile terminal;
acquiring the relative distance between each candidate mobile terminal and the fan, and taking the candidate mobile terminal with the minimum relative distance as a target mobile terminal; or
And acquiring the user use frequency of each candidate mobile terminal, and taking the candidate mobile terminal with the highest user use frequency as a target mobile terminal.
5. The air supply control method according to any one of claims 1 to 4, further comprising, after the air supply operation corresponding to the air supply control instruction is executed:
acquiring the relative height between each user and the fan, and determining the air supply range of the fan according to each relative height;
and air supply is carried out according to the air supply range and the air supply track in the air supply control instruction.
6. The blowing control method according to claim 5, wherein the determining a blowing range of the fan based on each of the relative heights includes:
counting the total number of users, and accumulating the relative height between each user and the fan to obtain the total relative height;
and calculating the average relative height according to the total number of users and the total relative height, and determining the air supply range of the fan according to the average relative height.
7. An air supply control system, characterized by comprising: a plurality of mobile terminals, a fan, and an indoor positioning system, each of the mobile terminals communicatively coupled to the fan, the indoor positioning system communicatively coupled to the fan, wherein:
the indoor positioning system is used for acquiring position information of each user relative to the fan and sending each position information to the fan, wherein the fan and each user are located in the same indoor area;
each mobile terminal is used for acquiring a working state identifier and sending the working state identifier to the fan;
the fan is used for receiving the position information of each user relative to the fan, which is sent by the indoor positioning system, and receiving the working state identification sent by each mobile terminal; calculating the position difference value of every two pieces of position information, and screening every piece of position information according to the position difference value of every two pieces of position information; according to the screened position information, marking air supply position points corresponding to each user in a preset air supply track so as to update the preset air supply track; intercepting a plurality of air supply track sections containing the air supply position points from the updated preset air supply track, and taking each intercepted air supply track section as an air supply track of the fan to obtain a plurality of air supply tracks; selecting one mobile terminal as a target mobile terminal according to each working state identifier, and sending a plurality of air supply tracks to the target mobile terminal for display so as to be selected by a user; and receiving an air supply control instruction sent by the target mobile terminal based on the selection operation of the user on the displayed air supply track, and executing the air supply operation corresponding to the air supply control instruction.
8. A fan, characterized in that the fan comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the air supply control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the air supply control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244438.3A CN112922885B (en) | 2019-12-06 | 2019-12-06 | Air supply control method, system, fan and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244438.3A CN112922885B (en) | 2019-12-06 | 2019-12-06 | Air supply control method, system, fan and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112922885A CN112922885A (en) | 2021-06-08 |
CN112922885B true CN112922885B (en) | 2022-08-02 |
Family
ID=76161886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911244438.3A Active CN112922885B (en) | 2019-12-06 | 2019-12-06 | Air supply control method, system, fan and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112922885B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634720A (en) * | 2012-08-21 | 2014-03-12 | 联想(北京)有限公司 | Playing control method and electronic equipment |
CN105509235B (en) * | 2015-12-17 | 2018-11-13 | 珠海格力电器股份有限公司 | Air conditioning system and air conditioning control method based on same |
CN107061339A (en) * | 2017-06-30 | 2017-08-18 | 广东美的环境电器制造有限公司 | Electric fan and its control method |
CN107654406B (en) * | 2017-10-10 | 2024-01-30 | 珠海格力电器股份有限公司 | Fan air supply control device, fan air supply control method and device |
CN208185032U (en) * | 2018-04-16 | 2018-12-04 | 福州大学 | A kind of adjustable height and the electric fan of 360 degree of air-supplies |
-
2019
- 2019-12-06 CN CN201911244438.3A patent/CN112922885B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112922885A (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107120813B (en) | Air conditioner air supply control method, electronic device and computer readable storage medium | |
US9801260B2 (en) | Techniques and graphical user interface for controlling solid-state luminaire with electronically adjustable light beam distribution | |
US10568179B2 (en) | Techniques and photographical user interface for controlling solid-state luminaire with electronically adjustable light beam distribution | |
CN107477771B (en) | Control method of air deflector, air conditioner, control device and storage medium | |
CN107153171B (en) | Indoor positioning method, device and system | |
CN106453896B (en) | Display lightness regulating method, the apparatus and system of terminal | |
CN103209290B (en) | PTZ camera head control system and method | |
CN106122060B (en) | Terminal, fan and the method for controlling fan | |
JP2011061247A (en) | Multi-remote control device | |
CN112922887B (en) | Fan air supply control method, system, fan and computer readable storage medium | |
CN113076007A (en) | Display screen visual angle adjusting method and device and storage medium | |
CN110366100A (en) | Localization method, positioning device, readable storage medium storing program for executing and the terminal device of terminal | |
CN112432325A (en) | Control method and control equipment of air conditioner | |
CN106126029B (en) | A kind of background picture switching method and mobile terminal | |
CN112922885B (en) | Air supply control method, system, fan and computer readable storage medium | |
CN113709302B (en) | Method and system for adjusting brightness of light-emitting device, electronic device and storage medium | |
JP2014078914A (en) | Communication device, control method thereof, and program | |
CN112922864B (en) | Fan air supply adjusting method, fan and computer readable storage medium | |
CN112922883A (en) | Fan blowing control method, system, fan and computer readable storage medium | |
CN104820562A (en) | Electronic equipment, image display method and device for the same | |
CN107390598B (en) | Device control method, electronic device, and computer-readable storage medium | |
EP2922370A2 (en) | Techniques and graphical user interface for controlling solid-state luminaire with electronically adjustable light beam distribution | |
CN112922886A (en) | Air supply adjusting method, system, fan and computer readable storage medium | |
CN110955485A (en) | Method and device for adjusting interface elements | |
CN112923526B (en) | Temperature adjusting method, fan, system and 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 |