[go: up one dir, main page]

CN115875813A - Air supply control method, air conditioner and storage medium - Google Patents

Air supply control method, air conditioner and storage medium Download PDF

Info

Publication number
CN115875813A
CN115875813A CN202211559861.4A CN202211559861A CN115875813A CN 115875813 A CN115875813 A CN 115875813A CN 202211559861 A CN202211559861 A CN 202211559861A CN 115875813 A CN115875813 A CN 115875813A
Authority
CN
China
Prior art keywords
user
archived
body temperature
air conditioner
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.)
Granted
Application number
CN202211559861.4A
Other languages
Chinese (zh)
Other versions
CN115875813B (en
Inventor
杨会敏
吴斌
刘光有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202211559861.4A priority Critical patent/CN115875813B/en
Publication of CN115875813A publication Critical patent/CN115875813A/en
Application granted granted Critical
Publication of CN115875813B publication Critical patent/CN115875813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The embodiment of the invention discloses an air supply control method, an air conditioner and a storage medium, wherein the method comprises the following steps: responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction; in a preset mode, acquiring a user face image through a camera, and performing face recognition on the user face image to obtain user information; and if the user information is confirmed to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy. The embodiment of the invention not only can identify whether the current user is a female user, but also can acquire the corresponding physiological cycle information when determining that the user is the archived female user information, and correspondingly control the air supply of the air conditioner according to the physiological cycle information and the first air supply strategy, thereby realizing the dynamic adjustment of the air supply mode by fully considering the physiological cycle of the female user.

Description

Air supply control method, air conditioner and storage medium
Technical Field
The invention relates to the technical field of smart home, in particular to an air supply control method, an air conditioner and a storage medium.
Background
With the development of air conditioning technology and the continuous change of user demands, various comfort functions such as air conditioning for the old and children are introduced. However, for women, the women are in a certain phase of the physiological cycle every day (a complete physiological cycle includes a menstrual period (low temperature period), an ovulation period (high temperature period), and a safety period), the physical state of the women in the whole physiological cycle is dynamically changed, and the requirements on the environment are also dynamically changed, but an air-conditioning operation mode or an air-conditioning product developed for the whole physiological cycle of the women is not available at present.
Disclosure of Invention
The embodiment of the invention provides an air supply control method, an air conditioner and a storage medium, and aims to solve the problem that the air conditioner in the prior art cannot dynamically adjust an air supply mode based on a physiological cycle of a female user.
In a first aspect, an embodiment of the present invention provides an air supply control method, which is applied to an air conditioner, where the air conditioner includes a camera; the air supply control method includes:
responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
in the preset mode, acquiring a user face image through the camera, and performing face recognition on the user face image to obtain user information;
and if the user information is confirmed to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
In a second aspect, an embodiment of the present invention further provides an air conditioner, which includes a camera; the air conditioner further includes:
the mode switching unit is used for responding to a preset mode starting instruction and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
the user information identification unit is used for acquiring a user face image through the camera in the preset mode and carrying out face identification on the user face image to obtain user information;
and the first air supply control unit is used for acquiring physiological cycle information corresponding to the user information if the user information is determined to be archived female user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
In a third aspect, an embodiment of the present invention further provides an air conditioner, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, where a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a processor, the method of the first aspect may be implemented.
The embodiment of the invention provides an air supply control method, an air conditioner and a storage medium, wherein the method comprises the following steps: responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction; in a preset mode, acquiring a user face image through a camera, and performing face recognition on the user face image to obtain user information; and if the user information is determined to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air conditioner to supply air according to the physiological cycle information and a preset first air supply strategy. The embodiment of the invention not only can identify whether the current user is a female user, but also can acquire the corresponding physiological cycle information when the user is determined to be the archived female user information, and correspondingly control the air conditioner to supply air according to the physiological cycle information and the first air supply strategy, thereby realizing the dynamic adjustment of the air supply mode by fully considering the physiological cycle of the female user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention, 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 view of an application scenario of an air supply control method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an air supply control method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an air conditioner in an air supply control method according to an embodiment of the present invention;
FIG. 4 is a sub-flow diagram of an air supply control method according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an air conditioner provided in an embodiment of the present invention;
fig. 6 is a schematic block diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the invention provides an air supply control method, an air conditioner and a storage medium.
The air supply control method in the embodiment of the invention is applied to an air conditioner, wherein one or more processors, a memory and one or more application programs are arranged in the air conditioner, and the one or more application programs are stored in the memory and are configured to be executed by the processor to realize the air supply control method.
As shown in fig. 1, fig. 1 is a schematic view of a scene of an air supply control method according to an embodiment of the present invention, where the scene of the air supply control method includes an air conditioner 100 and a target user 200, and an air supply control method and a storage medium corresponding to the air supply control method are integrated in the air conditioner 100 to execute steps of the air supply control method.
It should be understood that the air conditioner 100 and the devices included in the air conditioner 100 in the specific application scenario of the air supply control method shown in fig. 1 do not limit the embodiment of the present invention, that is, the number of devices and the types of devices included in the specific application scenario of the air supply control method, or the number of devices and the types of devices included in each device do not affect the overall implementation of the technical solution in the embodiment of the present invention, and can be calculated as equivalent replacements or derivatives of the technical solution claimed in the embodiment of the present invention.
The air conditioner in the embodiment of the invention is mainly used for: responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
in the preset mode, acquiring a user face image through the camera, and performing face recognition on the user face image to obtain user information;
and if the user information is confirmed to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
Those skilled in the art can understand that the application environment shown in fig. 1 is only one application scenario of the present invention, and does not constitute a limitation on the application scenario of the present invention, and other application environments may also include more or less air conditioners 100 than those shown in fig. 1, for example, only one air conditioner 100 is shown in fig. 1, and it is understood that a specific application scenario of the air supply control method may also include one or more air conditioners 100, and is not limited herein; the air conditioner 100 may further include a memory.
Fig. 2 is a flow chart illustrating an air supply control method according to an embodiment of the present invention. As shown in fig. 2, the method comprises the following steps S110-S130.
And S110, responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction.
In this embodiment, if the air conditioner A1 installed at the residence of the user a is taken as an example, if the user a can perform the man-machine interaction operation on the air conditioner A1 to start the preset mode (for example, the preset mode may be named as "care mode", "woman mode", etc.). After the operation is completed, the air conditioner A1 is switched to the preset mode and operated.
In an embodiment, the air conditioner further includes an infrared temperature sensor and a distance sensor, and before step S110, the method further includes:
acquiring a face image of an archiving user corresponding to a current archiving user through the camera;
carrying out face recognition on the face image of the archived user to obtain the face characteristics of the archived user and the gender information of the archived user;
detecting a man-machine distance between the current archiving user and the air conditioner through the distance sensor;
if the man-machine distance is smaller than a preset distance threshold value and the archived user gender information corresponds to a female user, acquiring a collected forehead temperature value corresponding to the current archived user through the infrared temperature sensor;
acquiring the current environment temperature, and determining a compensation temperature value based on the current environment temperature and the man-machine distance;
determining a basic body temperature value of a filed user according to the sum of the collected rated temperature value and the compensation temperature value;
and storing the archived user information consisting of the user ID corresponding to the facial features of the archived user, the gender information of the archived user, the basic body temperature value of the archived user and the body temperature acquisition date corresponding to the basic body temperature value of the archived user.
In this embodiment, in order to ensure that the air conditioner (e.g., the air conditioner A1 in the above example) can more accurately identify a specific user (e.g., the user a in the above example), when the air conditioner detects that the user is approaching the main body and operates the adjustment panel (including the display panel and the adjustment button, or the adjustment panel is changed to be the touch panel) on the main body, the camera may first collect the face image of the archiving user corresponding to the current archiving user (e.g., the user a).
Because the deep learning neural network model for face recognition is stored in the air conditioner, after the face image of the archived user is collected by the air conditioner, the face recognition (further comprising gender recognition) can be carried out on the face image of the archived user based on the deep learning neural network model, so that the face characteristics of the archived user and the gender information of the archived user can be obtained. At this time, the obtained face features of the archived user and the archived user gender information (if the user a is a woman, the archived user gender information corresponds to the woman) are both stored in a storage area (e.g., a memory) of the air conditioner. If the face image of the currently archived user, which is acquired this time, of the currently archived user is acquired for the first time, it indicates that the archived data has not been saved for the currently archived user in the air conditioner, at this time, an archiving area is newly created for the acquiring archived user, and the related user data (such as the face feature of the archived user, the gender information of the archived user, and the like) of the currently archived user is saved. If the face image of the current archiving user is not acquired for the first time, the current archiving user is the archived user, and then the data related to the current archiving user is acquired, and is continuously stored in the same storage area corresponding to the current archiving user in the air conditioner.
Since the air conditioner 100 is further provided with the distance sensor 102, as shown in fig. 3, the man-machine distance between the current archiving user and the air conditioner can be accurately detected by the distance sensor 102. The distance sensor is specifically arranged at the height position of 1.4-1.5 m of the air conditioner body, and can adopt an infrared slow reflection type distance measuring sensor or a laser distance measuring sensor to detect whether a person is in front of the air conditioner body 1.4-1.5 m and measure the man-machine distance.
Certainly, if the human-computer distance is too large, it is inconvenient to accurately acquire the forehead temperature of the user, so when it is determined that the human-computer distance is smaller than the preset distance threshold (for example, the distance threshold is set to 2m, and is not limited to 2m in specific implementation, or other distance values meeting the actual user requirements, such as 1m, 2.5m, and the like), and the gender information of the archived user corresponds to the female user, the acquired forehead temperature value corresponding to the current archived user is acquired through the infrared temperature sensor 103 arranged on the air conditioner 100, specifically please refer to fig. 3. The infrared temperature sensor 103 can be specifically an array infrared thermopile temperature sensor, and is arranged at a height position of 1.5-1.6 m (applicable to most of adult female heights, and capable of detecting the forehead temperature of a female user), the horizontal angle of the array infrared thermopile temperature sensor is more than 80 degrees, the vertical angle of the array infrared thermopile temperature sensor is more than 60 degrees, and a sensor array in the array infrared thermopile temperature sensor is more than 60 × 80 dot matrix, so that infrared temperature imaging with higher precision is realized.
When acquiring a collection forehead temperature value corresponding to a current file user through the infrared temperature sensor, the specific process is as follows:
1) Firstly, acquiring a head contour corresponding to the current file user through a camera, and identifying the position of the center of the forehead of the human body (namely the position of the forehead of the human body in a picture, and image coordinate recording or angle recording can be performed) on the basis of the head contour;
2) And then, the position of the center of the forehead of the human body is mapped to a temperature field obtained by an infrared temperature sensor, the temperature point of the position of the forehead of the human body is extracted, the temperature point is collected once every 20-100ms, the temperature point is continuously collected for a plurality of times (2-100 times) and the average value is calculated, and the average value is the collected forehead temperature value corresponding to the current file user. When the collected forehead temperature value corresponding to the current archiving user is not in the preset range (generally between 30 and 36 ℃), the collected forehead temperature value is invalid.
The acquired forehead temperature value corresponding to the current filed user cannot be directly used as the basic body temperature value of the user, and a certain compensation calculation is needed to obtain a more accurate basic body temperature value. Specifically, a current ambient temperature may be obtained by a temperature sensor further provided in the air conditioner, and a compensation temperature value may be determined based on the current ambient temperature and the man-machine distance. The air conditioner stores data of a plurality of human-computer distance-environment temperature-compensation temperature values in advance, namely the corresponding compensation temperature values can be inquired after the current environment temperature and the human-computer distance are known. And then summing the acquired rated temperature value and the compensation temperature value to obtain a basic body temperature value of the archiving user corresponding to the current archiving user.
When the user ID corresponding to the current archiving user is obtained (when the user ID is obtained based on the user face characteristics, the storage serial number in the user information archiving database in the air conditioner based on the user face characteristics can be used as the user ID), the archiving user gender information, the archiving user basic body temperature value and the body temperature acquisition date corresponding to the archiving user basic body temperature value are obtained, and the archiving user information corresponding to the current archiving user can be formed and stored.
In an embodiment, after saving the archived user information composed of the user ID corresponding to the archived user facial feature, the archived user gender information, and the archived user basic body temperature value, the method further comprises:
if the camera collects the face image corresponding to the current archived user, acquiring a time interval between the collection time of the face image and the acquisition time of the basic body temperature value of the archived user;
if the time interval is determined to be larger than or equal to a preset archiving time threshold value, and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user both belong to the same body temperature acquisition date, acquiring another basic body temperature value of the archiving user corresponding to the current archiving user, and updating the basic body temperature value of the archiving user by using the average value of the basic body temperature value of the archiving user and the basic body temperature value of the archiving user;
if the time interval is larger than or equal to the archiving time threshold value and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user do not belong to the same body temperature acquisition date, acquiring another archiving user basic body temperature value corresponding to the current archiving user and another body temperature acquisition date corresponding to the another archiving user basic body temperature value, and adding the another archiving user basic body temperature value and the another body temperature acquisition date into the archiving user information for storage.
In this embodiment, at least one archived user base body temperature value is acquired at a body temperature acquisition date corresponding to the archived user base body temperature value. If the user basic temperature value of the current archiving user is recorded according to at least the following two conditions in order to improve the accuracy of the basic temperature value of the archiving user corresponding to the current archiving user:
the first method is to determine that the time interval is greater than or equal to a preset archiving time threshold (for example, the archiving time threshold is set to 1h, although the specific implementation is not limited to 1h, and may also be other markets which can meet the actual use requirements, such as 2h, 4h, and the like), and when the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user both belong to the same body temperature acquisition date, it means that the current archiving user approaches the air conditioner multiple times within one day and acquires the basic body temperature values of other archiving users, and when a new basic body temperature value of another archiving user is acquired and the time interval is greater than or equal to the time threshold, the basic body temperature value of the archiving user is updated by the average value of the basic body temperature value of the other archiving user and the basic body temperature value of the archiving user. If the archiving time threshold is set to be 1h, the air conditioner acquires the basic body temperature values of other archiving users of the current archiving user for multiple times on the same day, averages the basic body temperature values of the archiving users and the initially acquired basic body temperature values of the archiving users, and updates the basic body temperature values of the archiving users with the acquired average value.
And the second method is that when the time interval is determined to be greater than or equal to the archiving time threshold and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user do not belong to the same body temperature acquisition date, the acquisition time of the face image is represented as belonging to the next day relative to the acquisition time of the basic body temperature value of the archiving user, another archiving user basic body temperature value corresponding to the current archiving user and another body temperature acquisition date of the basic body temperature value of the another archiving user are acquired by referring to the acquisition mode of acquiring the basic body temperature value of the archiving user in the previous day, and the another archiving user basic body temperature value and the another body temperature acquisition date are added into the archiving user information for storage. For example, when the basic body temperature value of the archive user is collected for 28 consecutive days, the basic body temperature value of the archive user corresponding to at least 28 days is stored in the air conditioner for the current archive user. Besides, the basic body temperature values of the archived users stored for the same user on different dates in the air conditioner are arranged and stored according to the sequence of the collection dates.
In an embodiment, after saving the archived user information comprising the user ID corresponding to the facial feature of the archived user, the archived user gender information, the archived user basic body temperature value, and the body temperature acquisition date corresponding to the archived user basic body temperature value, the method further comprises:
acquiring basic body temperature values of the archived users, which are stored in the archived user information storage according to the date sequence and correspond to the number of the first preset body temperature values, so as to form a basic body temperature value sequence;
and determining physiological cycle information corresponding to the archived user information based on the basic body temperature value sequence and a preset sliding window strategy.
In this embodiment, after obtaining basic body temperature values of the archived user, which are stored in the archived user information by the same user (e.g., user a in the above example and user a is a female user) in order of date and time and correspond to the number of the first preset body temperature values (e.g., the number of the first preset body temperature values is set to 28), and forming a basic body temperature value sequence of the user (if the number of the first preset body temperature values is set to 28, the basic body temperature value sequence includes the basic body temperature values of the 28 archived users), physiological cycle information corresponding to the archived user information may be determined based on the basic body temperature value sequence and a preset sliding window policy. Moreover, determining the physiological cycle information of the user based on the sequence of the plurality of basic body temperature values results in more accurate results because more data is referenced than obtaining the physiological cycle information of the user based on several basic body temperature values.
In an embodiment, the determining physiological cycle information corresponding to the archived user information based on the basic body temperature value sequence and a preset sliding window strategy includes:
obtaining iteration times i; wherein the initial value of i is 1, the value range of i is [1, N1], and N1 is the number of the first preset body temperature values;
acquiring the base body temperature values of the 1 st-bit archived users to the N2 nd-bit archived users in the base body temperature value sequence, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of the second preset body temperature values is one half of the number of the first preset body temperature values;
acquiring the archived user basic body temperature values from the (N2 + 1) th bit to the (N1) th bit in the basic body temperature value sequence, and summing to obtain a second temperature sum value; wherein,
acquiring and storing the ith ratio of the first temperature sum value to the second temperature sum value;
shifting the archived user basic temperature value with the 1 st bit ordered in the basic temperature value sequence to the last 1 bit of the basic temperature value sequence so as to update the basic temperature value sequence;
increasing i by 1 to update the value of i;
if the fact that i does not exceed N1 is determined, returning to the step of executing the obtaining iteration times i;
if i exceeds N1, acquiring the maximum value and the second largest value from the 1 st ratio to the N1 st ratio, determining the high-temperature period in the physiological cycle information according to the serial number value corresponding to the maximum value from the i th ratio to the N1 st ratio, and determining the low-temperature period in the physiological cycle information according to the serial number value corresponding to the second largest value from the i th ratio to the N1 st ratio.
In this embodiment, after obtaining the base body temperature value sequence corresponding to the currently archived user (user a in the above example), the high temperature period (i.e., ovulation period) and the low temperature period (i.e., menstruation period) in the physiological cycle information of the currently archived user can be determined in a sliding window manner. For example, if a basic body temperature value sequence includes 28 archived user basic body temperature values and is respectively recorded as T1-T28, the basic body temperature value sequence is most initially represented as [ T1, T2, T3, \8230;, T28], when the 1 st ratio is calculated in the 1 st round, the archived user basic body temperature values from the archived user basic body temperature value at the 1 st position to the archived user basic body temperature value at the 14 th position in the basic body temperature value sequence are obtained and summed to obtain a first temperature sum value, the user basic body temperature values from the archived user basic body temperature value at the 15 th position to the archived user basic body temperature value at the 28 th position in the basic body temperature value sequence are obtained and summed to obtain a second temperature sum value, and the result of dividing the first temperature sum value by the second temperature sum value is used as the 1 st ratio; then shifting T1 to the end of the sequence and shifting the other 27 archived user basal body temperature values forward by 1 bit to update the basal body temperature value sequence to [ T2, T3, \8230;, T28, T1] and calculate the 2 nd ratio therefrom; and by analogy, after 28 iterations, the 1 st ratio to the 28 th ratio can be obtained. And finally, determining the high-temperature period in the physiological cycle information by using the serial number value corresponding to the maximum value in the ratio from 1 st to 28 th, and determining the low-temperature period in the physiological cycle information by using the serial number value corresponding to the second largest value (namely the second largest ratio) in the ratio from 1 st to 28 th. And after the physiological cycle information corresponding to the current archiving user is determined, the physiological cycle information is stored in the air conditioner to be used as a reference parameter for controlling air supply according to the corresponding air supply strategy of the current archiving user.
And S120, acquiring a user face image through the camera in the preset mode, and performing face recognition on the user face image to obtain user information.
In this embodiment, as shown in fig. 3, since the air conditioner 100 is further provided with the camera 101 (i.e., the image collecting device, and the camera 101 is specifically arranged at a height position of 1.4m to 1.5m of the body of the air conditioner, and the horizontal angle of the camera is more than 80 °, and the vertical angle of the camera is more than 60 °), when a user approaches the air conditioner, the user face image can be collected by the camera first, and then the face recognition is performed on the user face image to obtain the user information. So that the air conditioner can determine which specific user is using the air conditioner based on the user information.
S130, if the user information is confirmed to be archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
In this embodiment, if the user face image corresponds to a user who is a archived user and corresponds to a female user, it indicates that the air conditioner can control the air supply of the air conditioner based on the first air supply strategy in the preset mode for the user. The air supply of the air conditioner is correspondingly controlled on the basis of the physiological cycle information and a preset first air supply strategy aiming at the archived female user information, the air supply is controlled by fully considering the current physical condition of the user, and the dynamic adjustment of the air supply mode on the basis of the physiological cycle of the female user is realized.
In one embodiment, as shown in fig. 4, step S130 includes:
s131, if the physiological cycle information is determined to correspond to the low-temperature period, acquiring a target area corresponding to the current position of the user, controlling the air conditioner to supply air at a preset adjusting temperature when the air conditioner is aligned to the target area, and controlling the air conditioner to supply air at a temperature set by the user when the air conditioner is not aligned to the target area;
and S132, if the physiological cycle information is determined to correspond to the high-temperature period, acquiring the temperature set by the user and controlling the air conditioner to supply air at the temperature set by the user.
In this embodiment, after the user information corresponding to the face image of the user and the physiological cycle information corresponding to the face image of the user are acquired, the low-temperature period (i.e., menstrual period), the high-temperature period (i.e., ovulation period), and the safe period of the user can be accurately known based on the physiological cycle information.
If the physiological cycle information is determined to correspond to the low-temperature period in the air conditioner, it is indicated that the area where the user is located corresponding to the face image of the user cannot send air-conditioning air with too low temperature, at this time, a target area corresponding to the current location of the user can be obtained through camera positioning, then the air conditioner is controlled to send air at a preset adjusting temperature when being aligned with the target area (if the air conditioner is used in a cooling mode at present, the preset adjusting temperature is 27-28 ℃, and if the air conditioner is used in a heating mode at present, the preset adjusting temperature is 22-24 ℃), and the air conditioner is controlled to send air at a user set temperature when being not aligned with the target area (if the air conditioner is used in a cooling mode of 26 ℃ originally set by the user, the air conditioner is controlled to send air when being aligned with the target area, the air conditioner is controlled to send air at the cooling mode of 26 ℃).
If the physiological cycle information is determined to correspond to the high temperature period, the female user needs constant air supply, so that the set temperature of the user is obtained, the air conditioner is controlled to supply air at the set temperature of the user, and if the user originally sets the air supply in the cooling mode of 26 ℃, the air conditioner is controlled to supply air at the cooling mode of 26 ℃ if the air conditioner is not aligned with the target area. Therefore, based on the accurate control of the air supply, the physiological cycle information of the user can be fully considered, and the air supply mode can be dynamically adjusted correspondingly.
In an embodiment, step S120 is followed by:
and if the user information is determined not to be the archived personnel information, correspondingly controlling the air supply of the air conditioner according to a preset second air supply strategy.
In this embodiment, if it is determined that the user information is not archived personal information, it indicates that the current user is not necessarily a female user, and the user does not have archived data in the air conditioner before, and at this time, the air supply of the air conditioner is directly controlled according to a second air supply strategy preset in the air conditioner. Specifically, if it is detected that the forehead temperature of the user is lower than 36.5 ℃ through the infrared temperature sensor, acquiring a target area corresponding to the current position of the user, controlling the air conditioner to supply air at a preset adjusting temperature when the air conditioner is aligned with the target area, and controlling the air conditioner to supply air at a temperature set by the user when the air conditioner is not aligned with the target area, which may specifically refer to the implementation manner of step S131; if it is detected that the forehead temperature of the user is higher than or equal to 36.5 ℃ by the infrared temperature sensor, acquiring a user-set temperature and controlling the air conditioner to supply air at the user-set temperature, which may be referred to in step S132.
In summary, in the embodiment, it can be recognized whether the current user is a female user, and when it is determined that the user is the archived female user information, the corresponding physiological cycle information is acquired, and the air conditioner is correspondingly controlled to supply air according to the physiological cycle information and the first air supply strategy, so that the air supply manner is dynamically adjusted in consideration of the physiological cycle of the female user.
Fig. 5 is a schematic block diagram of an air conditioner according to an embodiment of the present invention. Referring to fig. 5, the present invention also provides an air conditioner corresponding to the above air supply control method, and referring to fig. 5, the air conditioner 100 includes a mode switching unit 110, a user information identification unit 120, and a first air supply control unit 130.
The mode switching unit 110 is configured to switch the air conditioner to a preset mode corresponding to a preset mode starting instruction in response to the preset mode starting instruction.
In this embodiment, if the air conditioner A1 installed at the residence of the user a is taken as an example, if the user a can perform the man-machine interaction operation on the air conditioner A1 to start the preset mode (for example, the preset mode may be named as "care mode", "woman mode", etc.). When the operation is completed, the air conditioner A1 is switched to the preset mode and operated.
In one embodiment, the air conditioner further includes an infrared temperature sensor and a distance sensor, and the air conditioner 100 further includes:
the face image acquisition unit of the file user is used for acquiring the face image of the file user corresponding to the current file user through the camera;
the user identification unit is used for carrying out face identification on the face image of the archived user to obtain the face characteristics of the archived user and the gender information of the archived user;
the human-computer distance acquisition unit is used for detecting the human-computer distance between the current archiving user and the air conditioner through the distance sensor;
the forehead temperature value acquisition unit is used for acquiring an acquisition forehead temperature value corresponding to the current filed user through the infrared temperature sensor if the man-machine distance is smaller than a preset distance threshold value and the filed user gender information corresponds to the female user;
the compensation temperature value acquisition unit is used for acquiring the current environment temperature and determining a compensation temperature value based on the current environment temperature and the man-machine distance;
the archived user basic body temperature value acquisition unit is used for determining an archived user basic body temperature value according to the sum of the acquired rated temperature value and the compensation temperature value;
and the archived user information storage unit is used for storing archived user information consisting of the user ID corresponding to the facial features of the archived user, the archived user gender information, the archived user basic body temperature value and the body temperature acquisition date corresponding to the archived user basic body temperature value.
In this embodiment, in order to ensure that the air conditioner (e.g., the air conditioner A1 in the above example) can more accurately identify a specific user (e.g., the user a in the above example), when the air conditioner detects that the user is approaching the main body and operates the adjustment panel (including the display panel and the adjustment button, or the adjustment panel is changed to be the touch panel) on the main body, the camera may first collect the face image of the archiving user corresponding to the current archiving user (e.g., the user a).
Because the deep learning neural network model for face recognition is stored in the air conditioner, after the face image of the archived user is collected by the air conditioner, the face recognition (further comprising gender recognition) can be carried out on the face image of the archived user based on the deep learning neural network model, so that the face characteristics of the archived user and the gender information of the archived user can be obtained. At this time, the obtained face features of the archived user and the archived user gender information (if the user a is a woman, the archived user gender information corresponds to the woman) are both saved in a storage area (e.g., a memory) of the air conditioner. If the face image of the currently archived user, which is acquired this time, of the currently archived user is acquired for the first time, it indicates that the archived data has not been saved for the currently archived user in the air conditioner, at this time, an archiving area is newly created for the acquiring archived user, and the related user data (such as the face feature of the archived user, the gender information of the archived user, and the like) of the currently archived user is saved. If the face image of the current archived user is not acquired for the first time, the current archived user is the archived user, then the data related to the current archived user is acquired, and the data is continuously stored in the same storage area corresponding to the current archived user in the air conditioner.
Since the air conditioner 100 is further provided with the distance sensor 102, as shown in fig. 3, the man-machine distance between the current archiving user and the air conditioner can be accurately detected by the distance sensor 102. The distance sensor is specifically arranged at the height position of 1.4-1.5 m of the air conditioner body, and can adopt an infrared slow reflection type distance measuring sensor or a laser distance measuring sensor to detect whether a person is in front of the air conditioner body 1.4-1.5 m and measure the man-machine distance.
Certainly, if the human-computer distance is too large, it is inconvenient to accurately acquire the forehead temperature of the user, so when it is determined that the human-computer distance is smaller than the preset distance threshold (for example, the distance threshold is set to 2m, and is not limited to 2m in specific implementation, or other distance values meeting the actual user requirements, such as 1m, 2.5m, and the like), and the gender information of the archived user corresponds to the female user, the acquired forehead temperature value corresponding to the current archived user is acquired through the infrared temperature sensor 103 arranged on the air conditioner 100, specifically please refer to fig. 3. Wherein, infrared temperature sensor 103 specifically can adopt array infrared thermopile temperature sensor, set up in the high position of air conditioner fuselage 1.5m ~ 1.6m (applicable in most adult women height, can detect women user's forehead temperature), array infrared thermopile temperature sensor's horizontal angle is more than 80 and vertical angle is more than 60, the sensor array among the array infrared thermopile temperature sensor is more than 60 x 80 dot matrix to realize the infrared temperature formation of image of higher accuracy.
When acquiring a collection forehead temperature value corresponding to a current file user through the infrared temperature sensor, the specific process is as follows:
1) Firstly, acquiring a head contour corresponding to the current file user through a camera, and identifying the position of the center of the human forehead (namely the position of the human forehead in a picture, and image coordinate recording or angle recording can be performed) based on the head contour;
2) And then, the position of the center of the forehead of the human body is mapped to a temperature field obtained by an infrared temperature sensor, the temperature point of the position of the forehead of the human body is extracted, the temperature point is collected once every 20-100ms, the temperature point is continuously collected for a plurality of times (2-100 times) and the average value is calculated, and the average value is the collected forehead temperature value corresponding to the current file user. When the collected forehead temperature value corresponding to the current archiving user is not in the preset range (generally between 30 and 36 ℃), the collected forehead temperature value is invalid.
The acquired collected forehead temperature value corresponding to the current filed user cannot be directly used as the basic body temperature value of the user, and a certain compensation calculation is needed to obtain a more accurate basic body temperature value. Specifically, a current ambient temperature may be obtained by a temperature sensor further provided in the air conditioner, and a compensation temperature value may be determined based on the current ambient temperature and the man-machine distance. The air conditioner is pre-stored with data of a plurality of human-computer distance-environment temperature-compensation temperature values, namely, the corresponding compensation temperature values can be inquired after the current environment temperature and the human-computer distance are known. And then summing the acquired rated temperature value and the compensation temperature value to obtain a basic body temperature value of the archiving user corresponding to the current archiving user.
When the user ID corresponding to the current archiving user is obtained (when the user ID is obtained based on the user face characteristics, the storage serial number in the user information archiving database in the air conditioner based on the user face characteristics can be used as the user ID), the archiving user gender information, the archiving user basic body temperature value and the body temperature acquisition date corresponding to the archiving user basic body temperature value are obtained, and the archiving user information corresponding to the current archiving user can be formed and stored.
In an embodiment, the air conditioner 100 further includes:
the time interval determining unit is used for acquiring the time interval between the acquisition time of the face image and the acquisition time of the basic body temperature value of the archived user if the face image corresponding to the archived user is acquired by the camera;
an average temperature value obtaining and storing unit, configured to obtain another basic temperature value of the archive user corresponding to the current archive user if it is determined that the time interval is greater than or equal to a preset archive time threshold and the acquisition time of the face image and the acquisition time of the basic temperature value of the archive user both belong to the same body temperature acquisition date, and update the basic temperature value of the archive user with an average value of the basic temperature value of the other archive user and the basic temperature value of the archive user;
and the multi-temperature value acquisition and storage unit is used for acquiring another basic body temperature value of the archiving user corresponding to the current archiving user and another body temperature acquisition date corresponding to the basic body temperature value of the archiving user if the time interval is determined to be greater than or equal to the archiving time threshold and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user do not belong to the same body temperature acquisition date, and adding the basic body temperature value of the archiving user and the another body temperature acquisition date to the archiving user information for storage.
In this embodiment, at least one archived user base body temperature value was previously acquired on a body temperature acquisition date corresponding to the archived user base body temperature value. If the basic temperature value of the current filing user is more accurate, the basic temperature value of the current filing user can be recorded according to at least the following two situations:
the first method is to determine that the time interval is greater than or equal to a preset archiving time threshold (for example, the archiving time threshold is set to 1h, although the specific implementation is not limited to 1h, and may also be other markets which can meet the actual use requirements, such as 2h, 4h, and the like), and when the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user both belong to the same body temperature acquisition date, it means that the current archiving user approaches the air conditioner multiple times within one day and acquires the basic body temperature values of other archiving users, and when a new basic body temperature value of another archiving user is acquired and the time interval is greater than or equal to the time threshold, the basic body temperature value of the archiving user is updated by the average value of the basic body temperature value of the other archiving user and the basic body temperature value of the archiving user. If the archiving time threshold is set to be 1h, the air conditioner acquires the basic body temperature values of other archiving users of the current archiving user for multiple times on the same day, averages the basic body temperature values of the archiving users and the initially acquired basic body temperature values of the archiving users, and updates the basic body temperature values of the archiving users with the acquired average value.
And the second method is that when the time interval is determined to be greater than or equal to the archiving time threshold value and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user do not belong to the same body temperature acquisition date, the acquisition time of the face image is determined to belong to the next day relative to the acquisition time of the basic body temperature value of the archiving user, another archiving user basic body temperature value corresponding to the current archiving user and another body temperature acquisition date corresponding to the another archiving user basic body temperature value are acquired by referring to the acquisition mode of acquiring the basic body temperature value of the archiving user in the previous day, and the another archiving user basic body temperature value and the another body temperature acquisition date are added into the archiving user information for storage. For example, when the basic body temperature value of the archive user is collected for 28 consecutive days, the basic body temperature value of the archive user corresponding to at least 28 days is stored in the air conditioner. Besides, the basic body temperature values of the archived users stored for the same user on different dates in the air conditioner are arranged and stored according to the sequence of the collection dates.
In an embodiment, the air conditioner 100 further includes:
a basic body temperature value sequence acquiring unit, configured to acquire basic body temperature values of the archived users, which are stored in the archived user information storage according to the order of date and correspond to the number of the first preset body temperature values, so as to form a basic body temperature value sequence;
and the physiological cycle information determining unit is used for determining the physiological cycle information corresponding to the archived user information based on the basic body temperature value sequence and a preset sliding window strategy.
In this embodiment, after obtaining basic body temperature values of the archived user, which are stored in the archived user information by the same user (e.g., user a in the above example and user a is a female user) in order of date and time and correspond to the number of the first preset body temperature values (e.g., the number of the first preset body temperature values is set to 28), and forming a basic body temperature value sequence of the user (if the number of the first preset body temperature values is set to 28, the basic body temperature value sequence includes the basic body temperature values of the 28 archived users), physiological cycle information corresponding to the archived user information may be determined based on the basic body temperature value sequence and a preset sliding window policy. Moreover, determining the physiological cycle information of the user based on the sequence of the plurality of basic body temperature values results in more accurate results because more data is referenced than obtaining the physiological cycle information of the user based on several basic body temperature values.
In an embodiment, the physiological cycle information determining unit is specifically configured to:
obtaining iteration times i; wherein the initial value of i is 1, the value range of i is [1, N1], and N1 is the number of the first preset body temperature values;
acquiring the base body temperature values of the 1 st-bit archived users to the N2 nd-bit archived users in the base body temperature value sequence, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of the second preset body temperature values is one half of the number of the first preset body temperature values;
acquiring the archived user basic body temperature values from the (N2 + 1) th bit to the (N1) th bit in the basic body temperature value sequence, and summing to obtain a second temperature sum value; wherein,
acquiring and storing the ith ratio of the first temperature sum value to the second temperature sum value;
shifting the archived user basic temperature value with the 1 st bit ordered in the basic temperature value sequence to the last 1 bit of the basic temperature value sequence so as to update the basic temperature value sequence;
increasing i by 1 to update the value of i;
if the fact that i does not exceed N1 is determined, returning to the step of executing the obtaining iteration times i;
if i exceeds N1, acquiring the maximum value and the second largest value from the 1 st ratio to the N1 st ratio, determining the high-temperature period in the physiological cycle information according to the serial number value corresponding to the maximum value from the i th ratio to the N1 st ratio, and determining the low-temperature period in the physiological cycle information according to the serial number value corresponding to the second largest value from the i th ratio to the N1 st ratio.
In this embodiment, after obtaining the basic temperature value sequence corresponding to the current archiving user (user a in the above example), the high temperature period (i.e. ovulation period) and the low temperature period (i.e. menstruation period) in the physiological cycle information of the current archiving user can be determined in a sliding window manner. For example, if a basic body temperature value sequence includes 28 archived user basic body temperature values and is respectively recorded as T1-T28, the basic body temperature value sequence is most initially represented as [ T1, T2, T3, \8230;, T28], when the 1 st ratio is calculated in the 1 st round, the archived user basic body temperature values from the archived user basic body temperature value at the 1 st position to the archived user basic body temperature value at the 14 th position in the basic body temperature value sequence are obtained and summed to obtain a first temperature sum value, the user basic body temperature values from the archived user basic body temperature value at the 15 th position to the archived user basic body temperature value at the 28 th position in the basic body temperature value sequence are obtained and summed to obtain a second temperature sum value, and the result of dividing the first temperature sum value by the second temperature sum value is used as the 1 st ratio; then shifting T1 to the last bit of the sequence and shifting the other 27 archived user basal body temperature values forward by 1 bit to update the basal body temperature value sequence to [ T2, T3, \8230;, T28, T1] and calculate the 2 nd ratio; and by analogy, after 28 iterations, the 1 st to 28 th ratios can be obtained. And finally, determining the high-temperature period in the physiological cycle information by using the serial number value corresponding to the maximum value in the ratio from 1 st to 28 th, and determining the low-temperature period in the physiological cycle information by using the serial number value corresponding to the second largest value (namely, the second largest ratio) in the ratio from 1 st to 28 th. And after determining the physiological cycle information corresponding to the current archived user, storing the physiological cycle information in the air conditioner as a reference parameter for controlling air supply according to the corresponding air supply strategy of the current archived user.
And the user information identification unit 120 is configured to acquire a user face image through the camera in the preset mode, and perform face identification on the user face image to obtain user information.
In this embodiment, as shown in fig. 3, since the air conditioner 100 is further provided with the camera 101 (i.e., the image collecting device, and the camera 101 is specifically arranged at a height position of 1.4m to 1.5m of the body of the air conditioner, and the horizontal angle of the camera is more than 80 °, and the vertical angle of the camera is more than 60 °), when a user approaches the air conditioner, the user face image can be collected by the camera first, and then the face recognition is performed on the user face image to obtain the user information. So that the air conditioner can determine which specific user is using the air conditioner based on the user information.
And the first air supply control unit 130 is configured to, if it is determined that the user information is archived female user information, acquire physiological cycle information corresponding to the user information, and correspondingly control air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
In this embodiment, if the user face image corresponds to a user who is a archived user and corresponds to a female user, it indicates that the air conditioner can control the air supply of the air conditioner based on the first air supply strategy in the preset mode for the user. The air supply of the air conditioner is correspondingly controlled on the basis of the physiological cycle information and a preset first air supply strategy aiming at the archived female user information, the air supply is controlled by fully considering the current physical condition of the user, and the dynamic adjustment of the air supply mode on the basis of the physiological cycle of the female user is realized.
In an embodiment, the first blowing control unit 130 is specifically configured to:
if the physiological cycle information is determined to correspond to the low-temperature period, acquiring a target area corresponding to the current position of the user, controlling the air conditioner to supply air at a preset adjusting temperature when the air conditioner is aligned to the target area, and controlling the air conditioner to supply air at a temperature set by the user when the air conditioner is not aligned to the target area;
and if the physiological cycle information is determined to correspond to the high-temperature period, acquiring the set temperature of the user and controlling the air conditioner to supply air at the set temperature of the user.
In this embodiment, after the user information corresponding to the face image of the user and the physiological cycle information corresponding to the face image of the user are acquired, the low-temperature period (i.e., menstrual period), the high-temperature period (i.e., ovulation period), and the safe period of the user can be accurately known based on the physiological cycle information.
Then, if it is determined that the physiological cycle information corresponds to a low-temperature period in the air conditioner, it indicates that the area where the user face image corresponds to the user currently cannot send air-conditioning air with too low temperature, at this time, a target area corresponding to the user currently located position can be obtained through camera positioning, then the air conditioner is controlled to send air at a preset adjusting temperature when being aligned with the target area (the preset adjusting temperature is 27-28 ℃ if the air conditioner is currently used in a cooling mode, and the preset adjusting temperature is 22-24 ℃ if the air conditioner is currently used in a heating mode), and the air conditioner is controlled to send air at a user-set temperature when being misaligned with the target area (the air conditioner is controlled to send air at 26 ℃ when being misaligned with the target area if the air conditioner is originally set at 26 ℃ in a cooling mode).
If the physiological cycle information is determined to correspond to the high temperature period, the female user needs constant air supply, so that the set temperature of the user is obtained, the air conditioner is controlled to supply air at the set temperature of the user, and if the user originally sets the air supply in the cooling mode of 26 ℃, the air conditioner is controlled to supply air at the cooling mode of 26 ℃ if the air conditioner is not aligned with the target area. Therefore, based on the accurate control of the air supply, the physiological cycle information of the user can be fully considered, and the air supply mode can be correspondingly and dynamically adjusted.
In an embodiment, the air conditioner 100 further includes:
and the second air supply control unit is used for correspondingly controlling the air supply of the air conditioner according to a preset second air supply strategy if the user information is determined not to be the archived personnel information.
In this embodiment, if it is determined that the user information is not archived person information, it indicates that the current user is not necessarily a female user, and the user does not have archived data in the air conditioner before, and at this time, the air conditioner is directly controlled to supply air according to a second air supply policy preset in the air conditioner. Specifically, if it is detected that the forehead temperature of the user is lower than 36.5 ℃ through the infrared temperature sensor, acquiring a target area corresponding to the current position of the user, controlling the air conditioner to supply air at a preset adjusting temperature when the air conditioner is aligned with the target area, and controlling the air conditioner to supply air at a temperature set by the user when the air conditioner is not aligned with the target area, which may specifically refer to the implementation manner of step S131; if the infrared temperature sensor detects that the forehead temperature of the user is higher than or equal to 36.5 ℃, acquiring the set temperature of the user and controlling the air conditioner to supply air at the set temperature of the user, which may be referred to in step S132.
In summary, in this embodiment, it can be identified whether the current user is a female user, and when it is determined that the current user is female user information that has been filed, the corresponding physiological cycle information is obtained, and the air conditioner is controlled to supply air according to the physiological cycle information and the first air supply strategy, so that the air supply manner is dynamically adjusted in consideration of the physiological cycle of the female user.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the air supply control system and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-described air supply control system may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 6.
Referring to fig. 6, fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device integrates any air conditioner provided by the embodiment of the invention.
Referring to fig. 6, the computer device includes a processor 402, a memory, which may include a storage medium 403 and an internal memory 404, and a network interface 405 connected by a system bus 401.
The storage medium 403 may store an operating system 4031 and a computer program 4032. The computer program 4032 includes program instructions that, when executed, cause the processor 402 to perform a method of air supply control.
The processor 402 is used to provide computing and control capabilities to support the operation of the overall computer device.
The memory 404 provides an environment for running the computer program 4032 in the storage medium 403, and when the computer program 4032 is executed by the processor 402, the processor 402 may execute the air supply control method described above.
The network interface 405 is used for network communication with other devices. 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 aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 402 is configured to run the computer program 4032 stored in the memory to implement the steps of:
responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
in the preset mode, acquiring a user face image through the camera, and performing face recognition on the user face image to obtain user information;
and if the user information is determined to be archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
It should be understood that, in the embodiment of the present invention, the processor 402 may be a Central Processing Unit (CPU), and the processor 402 may also 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.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a volatile computer-readable storage medium or a non-volatile computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions. The program instructions, when executed by the processor, cause the processor to perform the steps of:
responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
in the preset mode, acquiring a user face image through the camera, and performing face recognition on the user face image to obtain user information;
and if the user information is confirmed to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
The storage medium may be a usb disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk or an optical disk, and various computer readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated in another system or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partly contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and 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 invention shall be subject to the protection scope of the claims.

Claims (10)

1. An air supply control method is applied to an air conditioner and is characterized in that the air conditioner comprises a camera; the air supply control method includes:
responding to a preset mode starting instruction, and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
in the preset mode, acquiring a user face image through the camera, and performing face recognition on the user face image to obtain user information;
and if the user information is confirmed to be the archived female user information, acquiring physiological cycle information corresponding to the user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
2. The method of claim 1, wherein the air conditioner further comprises an infrared temperature sensor and a distance sensor;
before the responding to a preset mode starting instruction and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction, the method further comprises:
acquiring a face image of an archiving user corresponding to a current archiving user through the camera;
carrying out face recognition on the face image of the archived user to obtain the face characteristics of the archived user and the gender information of the archived user;
detecting a man-machine distance between the current archiving user and the air conditioner through the distance sensor;
if the man-machine distance is smaller than a preset distance threshold value and the archived user gender information corresponds to a female user, acquiring a collected forehead temperature value corresponding to the current archived user through the infrared temperature sensor;
acquiring a current environment temperature, and determining a compensation temperature value based on the current environment temperature and the man-machine distance;
determining a basic body temperature value of a filed user according to the sum of the collected rated temperature value and the compensation temperature value;
and storing the archived user information consisting of the user ID corresponding to the facial features of the archived user, the gender information of the archived user, the basic body temperature value of the archived user and the body temperature acquisition date corresponding to the basic body temperature value of the archived user.
3. The method of claim 2, wherein after saving the archived user information comprising the user ID corresponding to the facial feature of the archived user, the archived user gender information, and the archived user base body temperature value, the method further comprises:
if the camera collects the face image corresponding to the current archived user, acquiring a time interval between the collection time of the face image and the acquisition time of the basic body temperature value of the archived user;
if the time interval is determined to be larger than or equal to a preset archiving time threshold value, and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user belong to the same body temperature acquisition date, acquiring another basic body temperature value of the archiving user corresponding to the current archiving user, and updating the basic body temperature value of the archiving user according to the average value of the basic body temperature value of the other archiving user and the basic body temperature value of the archiving user;
if the time interval is larger than or equal to the archiving time threshold value and the acquisition time of the face image and the acquisition time of the basic body temperature value of the archiving user do not belong to the same body temperature acquisition date, acquiring another archiving user basic body temperature value corresponding to the current archiving user and another body temperature acquisition date corresponding to the another archiving user basic body temperature value, and adding the another archiving user basic body temperature value and the another body temperature acquisition date into the archiving user information for storage.
4. The method of claim 2, wherein after saving archived user information consisting of the user ID corresponding to the archived user facial feature, the archived user gender information, the archived user base body temperature value, and the body temperature acquisition date corresponding to the archived user base body temperature value, the method further comprises:
acquiring basic body temperature values of the archived users, which are stored in the archived user information storage according to the date sequence and correspond to the number of the first preset body temperature values, so as to form a basic body temperature value sequence;
and determining physiological cycle information corresponding to the archived user information based on the basic body temperature value sequence and a preset sliding window strategy.
5. The method of claim 4, wherein determining the physiological cycle information corresponding to the archived user information based on the base body temperature value sequence and a preset sliding window strategy comprises:
obtaining iteration times i; wherein the initial value of i is 1, the value range of i is [1, N1], and N1 is the number of the first preset body temperature values;
acquiring the base body temperature values of the 1 st-bit archived users to the N2 nd-bit archived users in the base body temperature value sequence, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of the second preset body temperature values is one half of the number of the first preset body temperature values;
acquiring the archived user basic body temperature values from the (N2 + 1) th bit to the (N1) th bit in the basic body temperature value sequence, and summing to obtain a second temperature sum value; wherein,
acquiring and storing the ith ratio of the first temperature sum value to the second temperature sum value;
shifting the archived user basic temperature value with the 1 st bit ordered in the basic temperature value sequence to the last 1 bit of the basic temperature value sequence so as to update the basic temperature value sequence;
increasing i by 1 to update the value of i;
if the fact that i does not exceed N1 is determined, returning to the step of obtaining the iteration number i;
if the i exceeds the N1, acquiring the maximum value and the second largest value of the 1 st ratio to the N1 st ratio, determining the high-temperature period in the physiological cycle information according to the serial number value corresponding to the maximum value of the 1 st ratio to the N1 st ratio, and determining the low-temperature period in the physiological cycle information according to the serial number value corresponding to the second largest value of the 1 st ratio to the N1 st ratio.
6. The method according to any one of claims 1-5, wherein the correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy comprises:
if the physiological cycle information is determined to correspond to the low-temperature period, acquiring a target area corresponding to the current position of the user, controlling the air conditioner to supply air at a preset adjusting temperature when the air conditioner is aligned to the target area, and controlling the air conditioner to supply air at a temperature set by the user when the air conditioner is not aligned to the target area;
and if the physiological cycle information is determined to correspond to the high-temperature period, acquiring the set temperature of the user and controlling the air conditioner to supply air at the set temperature of the user.
7. The method according to any one of claims 1 to 5, wherein in the preset mode, after the user face image is acquired through the camera and is subjected to face recognition to obtain user information, the method further comprises:
and if the user information is determined not to be the archived personnel information, correspondingly controlling the air supply of the air conditioner according to a preset second air supply strategy.
8. An air conditioner is characterized by comprising a camera; the air conditioner further includes:
the mode switching unit is used for responding to a preset mode starting instruction and switching the air conditioner to a preset mode corresponding to the preset mode starting instruction;
the user information identification unit is used for acquiring a user face image through the camera in the preset mode and carrying out face identification on the user face image to obtain user information;
and the first air supply control unit is used for acquiring physiological cycle information corresponding to the user information if the user information is determined to be archived female user information, and correspondingly controlling the air supply of the air conditioner according to the physiological cycle information and a preset first air supply strategy.
9. An air conditioner, characterized in that, the air conditioner comprises a memory for storing at least one instruction; and
a processor executing instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: the computer-readable storage medium has stored therein at least one instruction that is executable by a processor in a computer device to implement the method of any one of claims 1-7.
CN202211559861.4A 2022-12-06 2022-12-06 Air supply control method, air conditioner and storage medium Active CN115875813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211559861.4A CN115875813B (en) 2022-12-06 2022-12-06 Air supply control method, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211559861.4A CN115875813B (en) 2022-12-06 2022-12-06 Air supply control method, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN115875813A true CN115875813A (en) 2023-03-31
CN115875813B CN115875813B (en) 2024-07-19

Family

ID=85766237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211559861.4A Active CN115875813B (en) 2022-12-06 2022-12-06 Air supply control method, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN115875813B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980021088A (en) * 1996-09-13 1998-06-25 김광호 Human body detection device of air conditioner
JP2010133692A (en) * 2008-10-31 2010-06-17 Mitsubishi Electric Corp Air conditioner
JP2013253717A (en) * 2012-06-05 2013-12-19 Hitachi Appliances Inc Air conditioner and method of controlling the air conditioner
WO2016192179A1 (en) * 2015-06-05 2016-12-08 宁波奥克斯空调有限公司 Air conditioner detection device and control method
JP2017015288A (en) * 2015-06-30 2017-01-19 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Air conditioner and method for controlling air conditioner
WO2018120715A1 (en) * 2016-12-30 2018-07-05 广东美的制冷设备有限公司 Method and device for controlling air conditioner, and air conditioner
WO2018120717A1 (en) * 2016-12-30 2018-07-05 广东美的制冷设备有限公司 Method and device for controlling air conditioner
CN109059176A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Air regulator and its control method and control device
CN109140665A (en) * 2018-08-31 2019-01-04 珠海格力电器股份有限公司 Method and device for controlling air conditioner and air conditioner device
CN110207338A (en) * 2019-05-20 2019-09-06 珠海格力电器股份有限公司 Air conditioner control method and device, storage medium and air conditioner
CN111237992A (en) * 2020-01-16 2020-06-05 青岛海尔空调器有限总公司 Air conditioner control method and air conditioner
CN111442459A (en) * 2020-03-17 2020-07-24 海信(山东)空调有限公司 Control method of air conditioner, storage medium and air conditioner
WO2021036073A1 (en) * 2019-08-30 2021-03-04 梅州市青塘实业有限公司 Contactless body temperature measurement method and apparatus, thermometer and storage medium
CN112503741A (en) * 2020-12-03 2021-03-16 珠海格力电器股份有限公司 Equipment control method, device, equipment and storage medium
US20210381717A1 (en) * 2019-05-02 2021-12-09 Lg Electronics Inc. Method of controlling operation of air conditioner by analyzing user's behavior pattern and air conditioner
CN114001446A (en) * 2020-07-28 2022-02-01 广东美的制冷设备有限公司 Air conditioner control method, air conditioner and computer readable storage medium
US20220283043A1 (en) * 2021-03-08 2022-09-08 Intflow Inc. Apparatus and method for measuring body temperature by recognizing the face

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980021088A (en) * 1996-09-13 1998-06-25 김광호 Human body detection device of air conditioner
JP2010133692A (en) * 2008-10-31 2010-06-17 Mitsubishi Electric Corp Air conditioner
JP2013253717A (en) * 2012-06-05 2013-12-19 Hitachi Appliances Inc Air conditioner and method of controlling the air conditioner
WO2016192179A1 (en) * 2015-06-05 2016-12-08 宁波奥克斯空调有限公司 Air conditioner detection device and control method
JP2017015288A (en) * 2015-06-30 2017-01-19 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Air conditioner and method for controlling air conditioner
WO2018120715A1 (en) * 2016-12-30 2018-07-05 广东美的制冷设备有限公司 Method and device for controlling air conditioner, and air conditioner
WO2018120717A1 (en) * 2016-12-30 2018-07-05 广东美的制冷设备有限公司 Method and device for controlling air conditioner
CN109059176A (en) * 2018-07-27 2018-12-21 广东美的制冷设备有限公司 Air regulator and its control method and control device
CN109140665A (en) * 2018-08-31 2019-01-04 珠海格力电器股份有限公司 Method and device for controlling air conditioner and air conditioner device
US20210381717A1 (en) * 2019-05-02 2021-12-09 Lg Electronics Inc. Method of controlling operation of air conditioner by analyzing user's behavior pattern and air conditioner
CN110207338A (en) * 2019-05-20 2019-09-06 珠海格力电器股份有限公司 Air conditioner control method and device, storage medium and air conditioner
WO2021036073A1 (en) * 2019-08-30 2021-03-04 梅州市青塘实业有限公司 Contactless body temperature measurement method and apparatus, thermometer and storage medium
CN111237992A (en) * 2020-01-16 2020-06-05 青岛海尔空调器有限总公司 Air conditioner control method and air conditioner
CN111442459A (en) * 2020-03-17 2020-07-24 海信(山东)空调有限公司 Control method of air conditioner, storage medium and air conditioner
CN114001446A (en) * 2020-07-28 2022-02-01 广东美的制冷设备有限公司 Air conditioner control method, air conditioner and computer readable storage medium
CN112503741A (en) * 2020-12-03 2021-03-16 珠海格力电器股份有限公司 Equipment control method, device, equipment and storage medium
US20220283043A1 (en) * 2021-03-08 2022-09-08 Intflow Inc. Apparatus and method for measuring body temperature by recognizing the face

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
任雁: "Simulation Study of Human Thermal Response in a Long-term Radiant Floor Cooling Environment", 制冷技术, vol. 39, no. 6, 30 April 2019 (2019-04-30), pages 62 - 69 *
李莉: "个性化室内温度模糊控制系统的设计与研究", 江苏理工大学学报(自然科学版), no. 03, 15 May 2001 (2001-05-15), pages 33 - 37 *
赵悦;王冬梅;罗建;刘小焦;: "基于不同温度传感器的温度检测系统", 成都大学学报(自然科学版), no. 03, 30 September 2011 (2011-09-30), pages 45 - 49 *

Also Published As

Publication number Publication date
CN115875813B (en) 2024-07-19

Similar Documents

Publication Publication Date Title
CN112856771B (en) Control method and control device for air conditioner and air conditioner
WO2023015875A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
US11248820B2 (en) Air conditioning control device to control air conditioner based on comfortable skin temperature range
CN113137723A (en) Method and device for controlling air conditioner and air conditioner
WO2022267472A1 (en) Control method and apparatus for air conditioner, and air conditioner
CN112254283A (en) Control method and device of intelligent air conditioner, storage medium and system
CN113251611A (en) Control method and device for environment purification equipment and environment purification equipment
CN113160260B (en) Head-eye double-channel intelligent man-machine interaction system and operation method
CN110207338A (en) Air conditioner control method and device, storage medium and air conditioner
CN114811833A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113375312A (en) Method, device and equipment for air conditioner control
JP2018161462A (en) Information processing method, information processing device, and program
WO2021022675A1 (en) Method for controlling air conditioner, wearable device and air conditioner
CN114964506A (en) Intelligent control method and system for indoor human thermal comfort based on infrared thermal imaging
CN115593178A (en) Vehicle-mounted air conditioner control method, device, vehicle and storage medium
CN115875813A (en) Air supply control method, air conditioner and storage medium
JPWO2018179289A1 (en) Area-specific environmental management system, method and program
CN113834196A (en) Method and device for controlling air conditioner, air conditioner
CN115235067A (en) Air conditioner control method, device, equipment and storage medium
CN117234099B (en) A home control method and system combined with wearable devices
CN114608172B (en) Method and device for controlling air conditioner, air conditioner, and storage medium
WO2023159948A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN115240367A (en) UWB (ultra wide band) intelligent positioning based user management early warning method and system
CN114704939B (en) Method, device, air conditioner and storage medium for air conditioning control
CN114608121B (en) Method and device for controlling air conditioner, air conditioner, 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