CN112855593A - Fan control method, fan, intelligent temperature control system and storage medium - Google Patents

Fan control method, fan, intelligent temperature control system and storage medium Download PDF

Info

Publication number
CN112855593A
CN112855593A CN201911184682.5A CN201911184682A CN112855593A CN 112855593 A CN112855593 A CN 112855593A CN 201911184682 A CN201911184682 A CN 201911184682A CN 112855593 A CN112855593 A CN 112855593A
Authority
CN
China
Prior art keywords
user
fan
thermal imaging
target image
temperature data
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.)
Pending
Application number
CN201911184682.5A
Other languages
Chinese (zh)
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 CN201911184682.5A priority Critical patent/CN112855593A/en
Publication of CN112855593A publication Critical patent/CN112855593A/en
Pending legal-status Critical Current

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
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • 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
    • F04D27/007Conjoint control of two or more different functions
    • 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
    • F04D27/008Stop safety or alarm devices, e.g. stop-and-go control; Disposition of check-valves

Abstract

The invention relates to the technical field of temperature control equipment, in particular to a fan control method, a fan, an intelligent temperature control system and a storage medium, wherein the control method comprises the following steps: acquiring current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently; if the user is determined to be in the sleep state currently, a shooting module of the fan is called to obtain a thermal imaging image containing the user; determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image; and adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan. According to the method and the device, the intelligent control of the fan is realized when the user is in the sleep state according to the thermal imaging image containing the user, so that the current temperature is suitable for the current state of the user, and the convenience and the flexibility of fan control are improved.

Description

Fan control method, fan, intelligent temperature control system and storage medium
Technical Field
The invention relates to the technical field of temperature control equipment, in particular to a fan control method, a fan, an intelligent temperature control system and a storage medium.
Background
The temperature control device is widely used in daily life, for example, electric appliances such as an electric fan, an air conditioner and the like, the traditional electric appliances such as the electric fan, the air conditioner and the like can only control the wind gear and the on and off through keys on the electric appliance body or a remote controller, and can only perform periodic cycle according to a fixed rotating speed or a certain specific mode after setting a wind gear, so that the flexibility of adjustment is poor, and the use is very inconvenient. When the user enters the sleep state, the temperature control device cannot be set in time to reach the optimum temperature, and discomfort is likely to be brought to the user.
Therefore, how to improve the intelligence of the temperature control device is an urgent technical problem to be solved in the industry.
Disclosure of Invention
The main purpose of the present application is to provide a fan control method, a fan, an intelligent temperature control system, and a storage medium, which implement intelligent control of the fan when a user is in a sleep state so that the current temperature is suitable for the current state of the user according to a thermal imaging image when the user enters the sleep state, and improve convenience and flexibility of fan control.
In a first aspect, the present application provides a fan control method, where the fan includes a camera module and a rotating motor for driving fan blades, the fan control method includes:
acquiring current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently;
if the user is determined to be in the sleep state currently, calling the shooting module to obtain a thermal imaging image containing the user;
determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image;
and adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan.
In a second aspect, the present application further provides a fan, including a camera module, a rotating motor, a memory, and a processor;
the shooting module is used for shooting a thermal imaging image containing a user;
the rotating motor is used for adjusting the wind speed of the fan;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the steps of the fan control method as described above when executing the computer program.
In a third aspect, the present application further provides an intelligent temperature control system, including: the temperature control device comprises a fan and a temperature control device in communication connection with the fan, wherein the temperature control device comprises an air conditioner;
the fan is used for realizing the steps of the fan control method, generating a corresponding working instruction according to the current body temperature data of the user, and sending the working instruction to the temperature control device, wherein the working instruction comprises an opening instruction, a closing instruction, a heating instruction and a cooling instruction.
The temperature control device is used for receiving the working instruction and carrying out corresponding operation according to the working instruction, wherein the operation comprises opening, closing, heating and cooling.
In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, wherein: if the computer program is executed by a processor, the steps of the fan control method as described above are implemented.
The application provides a fan control method, a fan, an intelligent temperature control system and a storage medium, wherein the method comprises the steps of firstly obtaining current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently; after determining that the user is in a sleep state at present, calling a shooting module arranged on the fan to acquire a thermal imaging image containing the user; then determining the current body temperature data of the user according to the corresponding color of the target image area in the thermal imaging image based on the corresponding relationship between the color and the temperature of the thermal imaging image; and finally, adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan. The application realizes that the fan is controlled when the user is in the sleep state so that the current temperature is suitable for the current state of the user, and the convenience and the flexibility of fan control are improved.
Drawings
Fig. 1 is a schematic block diagram of a fan according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method for controlling a fan according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a usage scenario of a fan control method according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of substeps for adjusting the rotational speed of the rotary motor to adjust the wind speed of the fan based on the current body temperature data of the user;
FIG. 5 is a schematic view of a usage scenario of an intelligent temperature control system according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a fan 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.
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 according to an embodiment of the present disclosure. The fan in the embodiment of the present application will be described below with reference to fig. 1.
As shown in fig. 1, the fan 10 includes a rotary motor 11, a fan rotor 12, a vertical rod 13, and a base 14. Wherein, fan turn round 12 is equipped with flabellum 120, and rotating electrical machines 11 is used for driving flabellum 120 to rotate so that the air flows, is equipped with on the pole setting 13 and shoots module 15 and function control module 16, can carry out the thermal imaging image collection who contains the user through shooting module 15 to send the thermal imaging image who gathers for function control module 16.
It is understood that the fan 10 may be a table fan, a floor fan, a wall fan, etc. The air supply of the fan 10 may be normal temperature air or cold air.
In some embodiments, the shooting module 15 may include a thermal imaging camera, and the like, and may also include other devices or systems capable of shooting thermal imaging images, and the function control module 16 is electrically connected to the shooting module 15 for processing the thermal imaging images shot by the shooting module 15.
It should be noted that the function control module 16 may include a processor and a memory. The memory is used for storing the thermal imaging image and the computer program, and the processor can be electrically connected with the rotating motor 11 and used for controlling the working state of the rotating motor 11, such as controlling the rotating motor 11 to adjust the rotating speed of the fan blade 120 so as to change the fan speed.
In the fan 10, the photographing module 15 is configured to collect a thermal image including a user and send the collected thermal image to the function control module 16. A processor in the function control module 16 processes the acquired thermal imaging image and identifies a target image area in the thermal imaging image; determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image; according to the current body temperature data of the user, the rotating speed of the rotating motor 11 is adjusted to adjust the wind speed of the fan, the fan is controlled when the user is in a sleep state, so that the current temperature is suitable for the current state of the user, and the convenience and flexibility of fan control are improved.
It will be appreciated that the fan 10 of FIG. 1 and the above-described nomenclature for the various components of the fan 10 are for identification purposes only and do not limit the application embodiments accordingly.
Referring to fig. 2 and fig. 3, fig. 2 is a schematic flow chart of a fan control method according to an embodiment of the present disclosure, and fig. 3 is a schematic usage scenario diagram of the fan control method according to the embodiment of the present disclosure.
As shown in fig. 2, the fan control method includes the steps of:
s101, obtaining current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently;
step S102, if the user is determined to be in the sleep state at present, the shooting module is called to obtain a thermal imaging image containing the user;
s103, determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image;
and step S104, adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan.
The embodiment of the application provides a fan control method, which realizes that a fan is controlled when a user is in a sleep state so that the current temperature is suitable for the current state of the user by means of thermal imaging images including the user, and improves convenience and flexibility of fan control.
The following describes in detail the steps of implementing the fan control step by step in the embodiment of the present application:
step S101, obtaining current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently.
Illustratively, the fan is communicatively coupled to a wearable device of the user. The wearable device obtains the current human body sign data of the user and sends the human body sign data to the fan. And the fan receives the current human body sign data of the user, analyzes the current human body sign data of the user and determines whether the user enters a sleep state currently.
In some embodiments, the obtaining current human body sign data of at least one user and analyzing the human body sign data to determine whether the user is currently in a sleep state specifically includes the following steps:
receiving a user heart rate sent by the wearable device, and analyzing the user heart rate to judge whether the user is in a sleep state currently.
Specifically, the heart rate of a person in a sleeping state is greatly different from that of the person in a waking state, so that whether the user enters the sleeping state currently can be judged according to the heart rate of the user. Illustratively, the heart rate at rest for normal persons is about 60-80 times/min for men and about 70-90 times/min for women; the heart rate is reduced when the patient is asleep, with 50-70 times/min for men and 60-70 times/min for women. Therefore, when the user is a male, the heart rate is reduced from the interval of 60-80 times/min to the interval of 50-70 times/min and is stabilized at the interval of 50-70 times/min, the user can be determined to be in the sleep state currently; when the user is female, the heart rate is reduced from the interval of 70-90 times/min to the interval of 60-70 times/min, and is stabilized in the interval of 60-70 times/min, the user can be determined to be in the sleep state currently.
And step S102, if the user is determined to be in the sleep state currently, calling the shooting module to acquire a thermal imaging image containing the user.
When a user enters a sleep state, the fan cannot be regulated and controlled in time according to the requirement of the user, so that the situations of over-strong air supply or insufficient air supply of the fan and the like easily occur. In some embodiments, the fan is provided with a camera module for taking a thermographic image, which may include a thermographic camera, but may also include other devices or systems capable of taking a thermographic image. And when the user is judged to be in the sleep state currently, the shooting module is called regularly according to a preset time interval so as to acquire the thermal imaging image containing the user.
Step S103, determining the current body temperature data of the user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image.
The different colors on the thermographic image represent the different temperatures of the object under test. In this embodiment, the target image area in the thermal imaging image corresponds to an area where the user is located, so that the current body temperature data corresponding to the user can be determined according to the color corresponding to the target image area in the thermal imaging image.
In some embodiments, before determining the current body temperature data of the user according to the color corresponding to the target image region in the thermal imaging image, the method further includes: a target image region in the thermographic image is determined.
Illustratively, the determining the target image area in the thermal imaging image specifically includes the following steps:
a1, extracting human body contour information of a user in the thermal imaging image;
and A2, determining a target image area where the user is located in the thermal imaging image according to the human body contour information.
Illustratively, the step of extracting the human body contour information of the user in the thermal imaging image comprises: determining a pseudo color interval corresponding to the temperature range of the human body according to the corresponding relation between the preset temperature range and the pseudo color interval; determining an image of a false color in the thermal imaging image in a false color interval corresponding to the temperature range of the human body as a thermal imaging person image of the user; and extracting the human body outline information of the user according to the thermal imaging person image of the user.
Specifically, the corresponding relationship between the temperature range and the pseudo color interval may be preset, where the corresponding relationship may be that one temperature value corresponds to one pseudo color, and one temperature range corresponds to one pseudo color interval, for example: and the temperature range of 36 ℃ corresponds to dark red, the temperature range of 37 ℃ corresponds to red, the temperature range of 38 ℃ corresponds to dark red, and the like, so that the false color interval corresponding to the temperature range of the human body can be determined to be dark red to dark red according to the corresponding relation between the preset temperature range and the false color interval. And then determining the image of the false color in the thermal imaging image in the false color interval corresponding to the temperature range of the human body as the thermal imaging person image of the user, namely determining the image of the false color in the thermal imaging image in the false color interval from dark red to dark red as the thermal imaging image of the user.
After the thermal imaging character image of the user is determined, determining the position information of the thermal imaging character image, and determining the coordinate value of the edge pixel point of the thermal imaging character image from the position information of the thermal imaging character image; obtaining human body contour information of the thermal imaging character image according to the coordinate values of the edge pixel points, namely the human body contour information of a user; and finally, determining a target image area where the user is located in the thermal imaging image according to the human body contour information.
In the embodiment of the invention, the pseudo color interval corresponding to the temperature range of the human body can be determined by acquiring the corresponding relation between the pre-defined temperature range and the preset temperature range and the pseudo color interval, and further the position information of the thermal imaging person image in the thermal imaging image is determined; extracting human body contour information of the thermal imaging figure image, namely human body contour information of a user according to the position information of the thermal imaging figure image; and determining a target image area where the user is located in the thermal imaging image according to the human body contour information, and finally determining the current body temperature data of the user according to the target image area, so that the interference caused by the ambient temperature is avoided, and the error of fan control is reduced.
In some embodiments, the determining the current body temperature data of the user according to the color corresponding to the target image area in the thermal imaging image specifically includes: step S1031 to step S1033.
Step S1031, based on a preset picture division rule, dividing the target image region into a plurality of pixel blocks, where each pixel block includes at least one pixel point.
For example, in order to increase the reading rate of the thermal imaging image information, that is, the reading rate of the target image area information, a block reading method is adopted, that is, the target image area is divided into a plurality of pixel blocks according to a preset picture division rule, wherein the pixel blocks include at least one pixel.
Step S1032 determines temperature data corresponding to each of the pixel blocks according to the color of each of the pixel blocks based on a correspondence between the color and the temperature of the thermal imaging image.
Exemplarily, firstly, a mapping relation table between preset thermal imaging image colors and temperatures is obtained, and a corresponding relation between the thermal imaging image colors and the temperatures is obtained; and then determining temperature data corresponding to each pixel block in the target image area according to the color of each pixel block in the target image area based on the corresponding relation between the colors and the temperatures of the thermal imaging image.
And step S1033, determining the current body temperature data of the user according to the temperature data.
Exemplarily, a temperature set corresponding to the target image area, that is, a temperature set of the current body temperature of the user, is generated according to the temperature data corresponding to each pixel block; and then determining the current body temperature data of the user according to the temperature set of the current body temperature of the user.
In some embodiments, the determining the current body temperature data of the user according to the temperature set of the current body temperature of the user includes the following steps:
selecting highest temperature data from the temperature set of the current body temperature of the user, and taking the highest temperature data as the current body temperature data of the user;
or averaging all the temperature data recorded in the temperature set of the current body temperature of the user to obtain an average temperature, and taking the average temperature as the current body temperature data of the user.
And step S104, adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan.
The method comprises the steps of firstly presetting a corresponding relation between body temperature data and air supply speed, then determining the air supply speed corresponding to the current body temperature data of a user according to the corresponding relation, and finally adjusting the rotating speed of a rotating motor according to the air supply speed corresponding to the current body temperature data of the user so as to adjust the air speed of a fan.
In some embodiments, as shown in fig. 4, the adjusting the rotation speed of the rotating motor according to the current body temperature data of the user to adjust the wind speed of the fan specifically includes: step S1041 to step S1043.
And S1041, acquiring mapping relation data between preset body temperature data and the wind speed of the fan.
For example, a mapping relation table between body temperature data and the wind speed of the fan may be preset, and the mapping relation data between the body temperature data and the wind speed of the fan may be recorded in the mapping relation table. The mapping table may be stored in a memory of the fan or on a device communicatively interconnected to the fan.
Step S1042, determining the wind speed of the fan corresponding to the current body temperature data according to the mapping relation data.
The mapping relation data represents the corresponding relation between the body temperature data and the wind speed of the fan, and the wind speed of the air supply required by the current state of the user is determined according to the current body temperature data, namely the wind speed corresponding to the current body temperature data of the user is determined.
And S1043, adjusting the rotating speed of the rotating motor according to the wind speed corresponding to the current body temperature data.
The different rotating speeds of the rotating motor and the air supply speed have a direct proportion relation, namely the faster the rotating speed of the rotating motor is, the faster the corresponding air supply speed is, so that the air supply speed of the fan can be controlled by adjusting the rotating speed of the rotating motor, and the air speed corresponding to the current body temperature data can be obtained by adjusting the rotating speed of the rotating motor.
In some embodiments, after the fan performs air supply, the method specifically includes step S201 and step S202.
Step S201, determining the azimuth information of the target image area according to the thermal imaging image.
Exemplarily, after determining the target image area in the thermal imaging image by using the image recognition technology; focus aggregation is carried out on each target image area respectively to obtain a plurality of focal length change data of the thermal imaging camera; according to a plurality of focal length change data of the thermal imaging camera, respectively determining the distance information between the thermal imaging camera and each target image area, thereby determining the azimuth information of the target image area, wherein the focal length change data is the change information of the focal length of the thermal imaging camera.
And S202, adjusting the air supply range of the fan according to the azimuth information of the target image area.
And adjusting the air supply range of the fan according to the azimuth information of the user so that the user is in the air supply range of the fan, namely adjusting the air supply range of the fan according to the azimuth information of the target image area so that the user is in the air supply range of the fan.
In some embodiments, the determining the orientation information of the target image region in the thermal imaging image specifically includes the following steps:
if the number of target image areas in the thermal imaging map is multiple, acquiring azimuth information of each target image area, and determining leftmost azimuth information and rightmost azimuth information in the multiple azimuth information;
in some embodiments, the adjusting the blowing range of the fan according to the azimuth information of the target image area specifically includes the following steps:
and adjusting the air supply range of the fan according to the leftmost bit information and the rightmost bit information so as to supply air to the target image areas.
For example, if there is one target image area in the thermal imaging map, that is, there is one user appearing in the thermal imaging map, the orientation information of the user is determined, and the air blowing range of the fan is adjusted so that the user is within the air blowing range. However, sometimes there may be more than one target image area in the thermal imaging map, that is, there may be more than one user appearing in the thermal imaging map, for example, the thermal imaging map includes user a and user B, so it is necessary to adjust the blowing range of the fan so that user a and user B are both in the blowing range. Specifically, the leftmost bit information and the rightmost bit information in the azimuth information may be determined from the azimuth information of the target image area corresponding to the user a and the user B, and the air blowing range of the fan may be adjusted according to the leftmost bit information and the rightmost bit information, so that both the user a and the user B are within the air blowing range.
In the fan control method provided by the above embodiment, the current human body sign data of at least one user is acquired, and the human body sign data is analyzed to determine whether the user is currently in a sleep state; after determining that the user is in a sleep state at present, calling a shooting module arranged on the fan to acquire a thermal imaging image containing the user; then determining the current body temperature data of the user according to the corresponding color of the target image area in the thermal imaging image based on the corresponding relationship between the color and the temperature of the thermal imaging image; finally, according to the current body temperature data of the user, the rotating speed of the rotating motor is adjusted to adjust the wind speed of the fan, the fan is controlled when the user is in a sleep state, so that the current temperature is suitable for the current state of the user, and convenience and flexibility of fan control are improved.
Further, based on the above embodiment, an intelligent temperature control system is provided. Referring to fig. 5, fig. 5 is a schematic block diagram of an intelligent temperature control system according to an embodiment of the present disclosure.
As shown in fig. 5, the intelligent temperature control system includes: fan and temperature regulating device, wherein:
the fan is communicated and interconnected with the temperature control device, and the temperature control device comprises an air conditioner;
the fan is used for realizing the steps of the fan control method, generating a corresponding working instruction according to the current body temperature data of the user, and sending the working instruction to a temperature control device in communication connection with the fan, wherein the working instruction comprises an opening instruction, a closing instruction, a heating instruction and a cooling instruction.
The temperature control device is used for receiving the working instruction and carrying out corresponding operation according to the working instruction, wherein the operation comprises opening, closing, heating and cooling.
For example, when the fan cannot meet the current temperature requirement of the user, that is, cannot reach the optimum temperature, a corresponding working instruction may be generated according to the current body temperature data of the user, where the working instruction is used to control a temperature control device communicatively interconnected with the fan to perform a corresponding operation, where the temperature control device includes an air conditioner, and the working instruction includes an opening instruction, a closing instruction, a warming instruction, and a cooling instruction, and the operation includes opening, closing, warming, and cooling. Whether the fan and the temperature control device are started or stopped is determined by current body temperature data of a user, so that the fan and the temperature control device can be in a starting state or a closing state at the same time, or the fan is in a starting state and the temperature control device is in a closing state, or the fan is in a closing state and the temperature control device is in a starting state.
For example, when the fan cannot meet the current cooling requirement of the user, a cooling instruction is generated according to the current body temperature data of the user, and the cooling instruction is sent to an air conditioner which is in communication interconnection with the fan, wherein the cooling instruction comprises the cooling temperature of the air conditioner and an air supply mode. And the fan executes corresponding cooling operation according to the cooling instruction. And when the fan judges that the current state of the user does not need to use other temperature control devices according to the current body temperature data of the user, sending a closing instruction to the temperature control device in the working state so as to close the temperature control device.
Referring to fig. 6, fig. 6 is a schematic block diagram of a fan according to an embodiment of the present disclosure. The fan includes a camera module, a rotating motor, a memory, and a processor, wherein the camera module, the rotating motor, the memory, and the processor are connected by a bus, such as an I2C (Inter-integrated Circuit) bus.
The shooting module is used for shooting a thermal imaging image containing a user; the rotating motor is used for adjusting the wind speed of the fan.
The memory may include a non-volatile storage medium that may store an operating system and a computer program, and an internal memory. The computer program includes program instructions that, when executed, cause a processor to perform any of the fan control methods.
The processor is used to provide computational and control capabilities to support the operation of the entire fan.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, which when executed by the processor, causes the processor to perform any of the fan control methods.
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 Processor 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.
In one embodiment, when the processor is configured to run a computer program stored in a memory to implement the fan control method, the following steps are specifically implemented:
acquiring current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently;
if the user is determined to be in the sleep state currently, calling the shooting module to obtain a thermal imaging image containing the user;
determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image;
and adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan.
In one embodiment, the processor is configured to, before performing the determining of the current body temperature data of the user according to the color corresponding to the target image area in the thermal imaging image, perform:
extracting human body contour information of a user in the thermal imaging image;
and determining a target image area where the user is located in the thermal imaging image according to the human body contour information.
In one embodiment, the processor, when implementing the determining of the current body temperature data of the user according to the color corresponding to the target image area in the thermal imaging image, is configured to implement:
dividing the target image area into a plurality of pixel blocks based on a preset picture division rule, wherein each pixel block comprises at least one pixel point;
based on the corresponding relation between the colors and the temperatures of the thermal imaging images, obtaining temperature data corresponding to each pixel block according to the color of each pixel block;
and determining the current body temperature data of the user according to the temperature data.
In one embodiment, the processor, when implementing the adjusting of the rotation speed of the rotating motor according to the current body temperature data of the user, is configured to implement:
acquiring mapping relation data between preset body temperature data and the wind speed of the fan;
determining the wind speed of the fan corresponding to the current body temperature data according to the mapping relation data;
and adjusting the rotating speed of the rotating motor according to the wind speed corresponding to the current body temperature data.
In one embodiment, the processor, when implementing the fan control method, is configured to implement:
determining orientation information of the target image area according to the thermal imaging image;
and adjusting the air supply range of the fan according to the azimuth information of the target image area.
In one embodiment, the processor, in effecting said determining orientation information for the target image region in the thermographic image, is adapted to effect:
if the number of the target image areas in the thermal imaging map is multiple, acquiring azimuth information of each target image area, and determining the leftmost position information and the rightmost position information in the multiple azimuth information.
In one embodiment, the processor, when implementing the adjusting of the blowing range of the fan according to the azimuth information of the target image area, is configured to implement:
and adjusting the air supply range of the fan according to the leftmost bit information and the rightmost bit information so as to supply air to the target image areas.
In an embodiment, the processor is configured to, when implementing the acquiring of the current human body sign data of at least one user, analyze the human body sign data to determine whether the user is currently in a sleep state, implement:
receiving a user heart rate sent by the wearable device, and analyzing the user heart rate to judge whether the user is in a sleep state currently.
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 fan described above may refer to the corresponding process in the foregoing embodiment of the fan control method, and is 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 fan control method of 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 Media 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 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 (10)

1. A fan control method, wherein the fan includes a camera module and a rotary motor for driving fan blades, the fan control method comprising:
acquiring current human body sign data of at least one user, and analyzing the human body sign data to judge whether the user is in a sleep state currently;
if the user is determined to be in the sleep state currently, calling the shooting module to obtain a thermal imaging image containing the user;
determining current body temperature data of a user according to the color corresponding to the target image area in the thermal imaging image based on the corresponding relation between the color and the temperature of the thermal imaging image;
and adjusting the rotating speed of the rotating motor according to the current body temperature data of the user so as to adjust the wind speed of the fan.
2. The fan control method according to claim 1, wherein before determining the current body temperature data of the user according to the color corresponding to the target image area in the thermal imaging image, the method further comprises:
extracting human body contour information of a user in the thermal imaging image;
and determining a target image area where the user is located in the thermal imaging image according to the human body contour information.
3. The fan control method of claim 1, wherein determining the current body temperature data of the user according to the color corresponding to the target image area in the thermographic image comprises:
dividing the target image area into a plurality of pixel blocks based on a preset picture division rule, wherein each pixel block comprises at least one pixel point;
based on the corresponding relation between the colors and the temperatures of the thermal imaging images, obtaining temperature data corresponding to each pixel block according to the color of each pixel block;
and determining the current body temperature data of the user according to the temperature data.
4. The fan control method of claim 3, wherein said adjusting the rotational speed of the rotary motor based on the current body temperature data of the user comprises:
acquiring mapping relation data between preset body temperature data and the wind speed of the fan;
determining the wind speed of the fan corresponding to the current body temperature data according to the mapping relation data;
and adjusting the rotating speed of the rotating motor according to the wind speed corresponding to the current body temperature data.
5. The fan control method as claimed in claim 1, further comprising:
determining orientation information for the target image region in the thermographic image;
and adjusting the air supply range of the fan according to the azimuth information of the target image area.
6. The fan control method of claim 5, wherein said determining orientation information for the target image area in the thermographic image comprises:
if the number of target image areas in the thermal imaging map is multiple, acquiring azimuth information of each target image area, and determining leftmost azimuth information and rightmost azimuth information in the multiple azimuth information;
the adjusting the air supply range of the fan according to the azimuth information of the target image area comprises the following steps:
and adjusting the air supply range of the fan according to the leftmost bit information and the rightmost bit information so as to supply air to the target image areas.
7. The fan control method according to claim 1, wherein the acquiring current human body sign data of at least one user, and analyzing the human body sign data to determine whether the user is currently in a sleep state comprises:
receiving a user heart rate sent by the wearable device, and analyzing the user heart rate to judge whether the user is in a sleep state currently.
8. A fan is characterized by comprising a shooting module, a rotating motor, a memory and a processor;
the shooting module is used for shooting a thermal imaging image containing a user;
the rotating motor is used for adjusting the wind speed of the fan;
the memory is used for storing a computer program;
the processor for executing the computer program and implementing the fan control method according to any one of claims 1 to 7 when executing the computer program.
9. An intelligent temperature control system, characterized in that intelligent temperature control system includes:
the temperature control device comprises a fan and a temperature control device in communication connection with the fan, wherein the temperature control device comprises an air conditioner;
the fan is used for realizing the steps of the fan control method according to any one of claims 1 to 7, generating a corresponding working instruction according to the current body temperature data of the user, and sending the working instruction to the temperature control device, wherein the working instruction comprises an opening instruction, a closing instruction, a heating instruction and a cooling instruction.
The temperature control device is used for receiving the working instruction and carrying out corresponding operation according to the working instruction, wherein the operation comprises opening, closing, heating and cooling.
10. A computer-readable storage medium storing a computer program, characterized in that: the computer program, when executed by a processor, implements the fan control method of any of claims 1-7.
CN201911184682.5A 2019-11-27 2019-11-27 Fan control method, fan, intelligent temperature control system and storage medium Pending CN112855593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184682.5A CN112855593A (en) 2019-11-27 2019-11-27 Fan control method, fan, intelligent temperature control system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184682.5A CN112855593A (en) 2019-11-27 2019-11-27 Fan control method, fan, intelligent temperature control system and storage medium

Publications (1)

Publication Number Publication Date
CN112855593A true CN112855593A (en) 2021-05-28

Family

ID=75985818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184682.5A Pending CN112855593A (en) 2019-11-27 2019-11-27 Fan control method, fan, intelligent temperature control system and storage medium

Country Status (1)

Country Link
CN (1) CN112855593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114061051A (en) * 2021-11-02 2022-02-18 青岛海尔空调器有限总公司 Method and device for controlling air conditioner and air conditioner

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202520595U (en) * 2012-01-17 2012-11-07 河海大学 Intelligent electric fan self-adaptive to sleep of human body
CN103954016A (en) * 2014-05-21 2014-07-30 珠海格力电器股份有限公司 Control method and control system of air conditioner as well as air conditioner
CN105650020A (en) * 2016-02-29 2016-06-08 广东美的环境电器制造有限公司 Fan and control system and method for fan
CN107061339A (en) * 2017-06-30 2017-08-18 广东美的环境电器制造有限公司 Electric fan and its control method
CN107271044A (en) * 2017-05-03 2017-10-20 北京海顿中科技术有限公司 A kind of thermal imaging device for detecting temperature and method
CN108088036A (en) * 2017-12-25 2018-05-29 佛山市中格威电子有限公司 The blowing device control system of child intelligence monitoring based on thermal imaging
CN109654672A (en) * 2018-11-13 2019-04-19 珠海格力电器股份有限公司 A kind of air conditioning control method and air-conditioning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202520595U (en) * 2012-01-17 2012-11-07 河海大学 Intelligent electric fan self-adaptive to sleep of human body
CN103954016A (en) * 2014-05-21 2014-07-30 珠海格力电器股份有限公司 Control method and control system of air conditioner as well as air conditioner
CN105650020A (en) * 2016-02-29 2016-06-08 广东美的环境电器制造有限公司 Fan and control system and method for fan
CN107271044A (en) * 2017-05-03 2017-10-20 北京海顿中科技术有限公司 A kind of thermal imaging device for detecting temperature and method
CN107061339A (en) * 2017-06-30 2017-08-18 广东美的环境电器制造有限公司 Electric fan and its control method
CN108088036A (en) * 2017-12-25 2018-05-29 佛山市中格威电子有限公司 The blowing device control system of child intelligence monitoring based on thermal imaging
CN109654672A (en) * 2018-11-13 2019-04-19 珠海格力电器股份有限公司 A kind of air conditioning control method and air-conditioning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114061051A (en) * 2021-11-02 2022-02-18 青岛海尔空调器有限总公司 Method and device for controlling air conditioner and air conditioner
CN114061051B (en) * 2021-11-02 2023-01-13 青岛海尔空调器有限总公司 Method and device for controlling air conditioner and air conditioner

Similar Documents

Publication Publication Date Title
CN112855594A (en) Air supply control method, fan and computer readable storage medium
CN108006889B (en) Air conditioner control method and device
CN110017587B (en) Operation control method, operation control device, air conditioner and computer readable storage medium
CN112101115B (en) Temperature control method and device based on thermal imaging, electronic equipment and medium
CN114237069A (en) Indoor environment control method, device, system and storage medium
CN111442465A (en) Air conditioner control method and device, air conditioner and computer storage medium
CN112855593A (en) Fan control method, fan, intelligent temperature control system and storage medium
CN112855595B (en) Fan control method, fan and storage medium
CN112254283A (en) Control method and device of intelligent air conditioner, storage medium and system
CN113251645A (en) Control method and control device for mobile air conditioner and mobile air conditioner
CN113701231A (en) Bathroom heater control method, bathroom heater and computer readable storage medium
CN112902321A (en) Control method for air supply device, air supply system, and storage medium
CN112015094A (en) Method and device for temperature regulation and storage medium
CN112989870A (en) Fan control method, fan and computer readable storage medium
US11830200B2 (en) Ambient temperature reporting through infrared facial recognition
CN111240217B (en) State detection method and device, electronic equipment and storage medium
CN112696372A (en) Fan adjusting method, fan and storage medium
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
CN112944640B (en) Air supply adjusting method, system, fan and computer readable storage medium
CN113932428B (en) Control method, control device and server for household appliances
CN113485146B (en) Control method and control device for household appliance and household appliance
CN113342093B (en) Temperature control method, device and system of electric heating sterilization equipment and storage medium
CN112983871A (en) Fan control method, fan and computer readable storage medium
CN112922875B (en) Method for adjusting wind speed of fan, fan and computer readable storage medium
CN112943664B (en) Fan control method, system, fan 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528