CN115875813B - Air supply control method, air conditioner and storage medium - Google Patents
Air supply control method, air conditioner and storage medium Download PDFInfo
- Publication number
- CN115875813B CN115875813B CN202211559861.4A CN202211559861A CN115875813B CN 115875813 B CN115875813 B CN 115875813B CN 202211559861 A CN202211559861 A CN 202211559861A CN 115875813 B CN115875813 B CN 115875813B
- Authority
- CN
- China
- Prior art keywords
- user
- body temperature
- air conditioner
- archiving
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000036760 body temperature Effects 0.000 claims description 227
- 210000001061 forehead Anatomy 0.000 claims description 37
- 230000001815 facial effect Effects 0.000 claims description 7
- 230000003821 menstrual periods Effects 0.000 claims description 7
- 230000000624 ovulatory effect Effects 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 description 13
- 238000001816 cooling Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004378 air conditioning Methods 0.000 description 6
- 238000013459 approach Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000013135 deep learning Methods 0.000 description 4
- 210000003128 head Anatomy 0.000 description 4
- 238000003062 neural network model Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000016087 ovulation Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient 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; under a preset mode, acquiring a user face image through a camera, and carrying out face recognition on the user face image to acquire user information; if the user information is 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 determining that the user is the archived female user information, and correspondingly controls 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.
Description
Technical Field
The invention relates to the technical field of intelligent home, in particular to an air supply control method, an air conditioner and a storage medium.
Background
Along with the development of air conditioning technology and the continuous change of user demands, various comfort functions such as air conditioning for the aged and children are introduced. However, for females, the female body state is dynamically changed in the whole physiological cycle (a complete physiological cycle includes menstrual period (low temperature period), ovulatory period (high temperature period) and safe period), and the environmental requirements are also dynamically changed, but no air-conditioning operation mode or air-conditioning product is developed for the whole physiological cycle of females 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 an air conditioner in the prior art cannot dynamically adjust an air supply mode based on the 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 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 the preset mode, acquiring a user face image through the camera, and carrying out face recognition on the user face image to acquire user information;
If the user information is 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.
In a second aspect, an embodiment of the present invention further provides an air conditioner, which includes a camera; the air conditioner further includes:
A mode switching unit for switching the air conditioner to a preset mode corresponding to a preset mode starting instruction in response to the preset mode starting instruction;
The user information identification unit is used for acquiring a user face image through the camera under the preset mode, and carrying out face recognition on the user face image to obtain user information;
And the first air supply control unit is used for acquiring the physiological cycle information corresponding to the user information if the user information is determined to be the archived female user information, and correspondingly controlling the air conditioner to supply air 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 described in the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the method of the first aspect.
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; under a preset mode, acquiring a user face image through a camera, and carrying out face recognition on the user face image to acquire user information; if the user information is 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 determining that the user is the archived female user information, and correspondingly controls 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 required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of 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 schematic flow chart of a method for controlling air supply according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an air conditioner according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the 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, one or more processors, a memory and one or more application programs are arranged in the air conditioner, wherein the one or more application programs are stored in the memory and are configured to be executed by the processors to realize the air supply control method.
As shown in fig. 1, fig. 1 is a schematic view of a scenario of an air supply control method according to an embodiment of the present invention, where the scenario of the air supply control method includes an air conditioner 100 and a target user 200, and the air conditioner 100 is integrated with an air supply control method, and a storage medium corresponding to the air supply control method is used 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 are not limited to the embodiments 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 embodiments of the present invention, and may be calculated as equivalent replacement or derivation of the technical solution claimed in the embodiments 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 carrying out face recognition on the user face image to acquire user information;
If the user information is 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.
It will be appreciated by those skilled in the art that the application environment shown in fig. 1 is merely an application scenario of the present invention, and is not limited to the application scenario of the present invention, and other application environments may further include more or fewer air conditioners 100 than those shown in fig. 1, for example, only one air conditioner 100 is shown in fig. 1, and it will be appreciated that a specific application scenario of the air supply control method may further include one or more air conditioners 100, which is not limited herein; the air conditioner 100 may further include a memory therein.
Fig. 2 is a flow chart of an air supply control method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S130.
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 disposed at the residence of the user a is taken as an example, if the user a can perform man-machine interaction operation on the air conditioner A1 to turn on the preset mode (for example, the preset mode may be named as "care mode", "female mode", etc.). When 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 the step S110 further includes:
acquiring face images of an archiving user corresponding to the current archiving user through the camera;
performing face recognition on the face image of the archiving user to obtain the face characteristics of the archiving user and the gender information of the archiving user;
detecting the 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 and the archived user gender information corresponds to a female user, acquiring an acquisition 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 an archived user base body temperature value according to the sum of the acquired forehead temperature value and the compensated temperature value;
and storing the 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 (such as the air conditioner A1 in the above example) can more accurately identify the specific user (such as the user a in the above example), when the air conditioner detects that the user approaches the body and operates the adjusting panel (including the display panel and the adjusting key, or changes the adjusting panel to be a touch panel) on the body, the camera is used to collect the face image of the archiving user corresponding to the current archiving user (such as the user a).
Because the deep learning neural network model for face recognition is stored in the air conditioner, after the air conditioner collects the face images of the archiving user, face recognition (further comprising sex recognition) can be carried out on the face images of the archiving user based on the deep learning neural network model, so that the face characteristics of the archiving user and the sex information of the archiving user are obtained. At this time, the obtained facial features of the archiving user and the gender information of the archiving user (if the user a is female, the gender information of the archiving user corresponds to female) are both stored in a storage area (such as a memory) of the air conditioner. If the face image of the current archiving user is acquired for the first time, the fact that the archiving data of the current archiving user is not saved in the air conditioner before is indicated, at the moment, an archiving area is newly built for the current archiving user, and relevant user data (such as facial features of the archiving user, gender information of the archiving user and the like) of the current archiving user are 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 the data are 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 human-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 m-1.5 m of the air conditioner body, and can be an infrared slow reflection type distance measuring sensor or a laser distance measuring sensor, so as to be used for detecting whether a person is right in front of the air conditioner body 1.4 m-1.5 m and measuring the distance between the person and the machine.
Of course, if the man-machine distance is too large, it is inconvenient to accurately collect the forehead temperature of the user, so when it is determined that the man-machine distance is smaller than the preset distance threshold (for example, the distance threshold is set to 2m, the implementation is not limited to 2m, other distance values meeting the actual user needs, such as 1m, 2.5m, etc.), and the archived user gender information corresponds to the female user, the collected forehead temperature value corresponding to the current archived user is obtained through the infrared temperature sensor 103 set on the air conditioner 100, please refer to fig. 3 specifically. The infrared temperature sensor 103 may be an array infrared thermopile temperature sensor, which is disposed at a height position of 1.5 m-1.6 m of the air conditioner body (applicable to most adult female heights, and can detect forehead temperature of female users), wherein a horizontal angle of the array infrared thermopile temperature sensor is above 80 ° and a vertical angle of the array infrared thermopile temperature sensor is above 60 ° and a sensor array in the array infrared thermopile temperature sensor is above 60×80 dot matrix, so as to realize infrared temperature imaging with higher precision.
When acquiring the acquisition forehead temperature value corresponding to the current archiving user through the infrared temperature sensor, the specific process is as follows:
1) Firstly, acquiring a head outline corresponding to the current archiving user through a camera, and identifying the position of the center of the forehead of the human body based on the head outline (namely, the position of the forehead of the human body in a picture can be recorded by image coordinates or angles);
2) Then, the position of the forehead of the human body is reflected to a temperature field acquired by an infrared temperature sensor, the temperature point of the forehead of the human body is extracted, the temperature point is acquired once every 20-100ms, the temperature point is continuously acquired for a plurality of times (which can be 2-100 times), and an average value is calculated, wherein the average value is an acquired forehead temperature value corresponding to a current archiving user. When the collected forehead temperature value corresponding to the current archiving user is not in the preset range (generally 30-36 ℃), the collected forehead temperature value is invalid.
The acquired collected forehead temperature value corresponding to the current archiving user cannot be directly used as the user base body temperature value, and a certain compensation calculation is needed to obtain a more accurate base body temperature value. Specifically, a temperature sensor further arranged in the air conditioner can firstly acquire the current environment temperature, and a compensation temperature value is determined based on the current environment temperature and the man-machine distance. The data of a plurality of man-machine spacing-environment temperature-compensation temperature values are prestored in the air conditioner, namely, the corresponding compensation temperature values can be inquired after the current environment temperature and the man-machine spacing are known. And then, summing the acquired forehead temperature value and the compensation temperature value to obtain an archiving user basic body temperature value 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 feature, the storage serial number in the user information archiving database in the air conditioner can be used as the user ID based on the user face feature), the archiving user sex information, the archiving user basic body temperature value and the body temperature acquisition date corresponding to the archiving user basic body temperature value can be formed into the archiving user information corresponding to the current archiving user and stored.
In an embodiment, after the saving of the archived user information consisting of the user ID corresponding to the archived user face feature, the archived user gender information, and the archived user base body temperature value, the method further comprises:
If the camera acquires the face image corresponding to the current archiving user, acquiring a time interval between acquisition time of the face image and acquisition time of the archiving user basic body temperature value;
If the time interval is 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 archiving user basic body temperature value all belong to the same body temperature acquisition date, acquiring another archiving user basic body temperature value corresponding to the current archiving user, and updating the archiving user basic body temperature value by using the average value of the another archiving user basic body temperature value and the archiving user basic body temperature value;
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 archiving user basic body temperature value 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 of 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 was previously obtained on a body temperature acquisition date corresponding to the archived user base body temperature value. If, in order to improve the accuracy of the user base body temperature value corresponding to the current archive user, the user base body temperature value of the current archive user can be recorded in at least two cases:
The first method is that when it is determined 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, of course, the specific implementation is not limited to 1h, other markets that can meet the actual use requirement can be also used, such as 2h, 4h, etc.), and the acquisition time of the face image and the acquisition time of the archiving user basic body temperature value all belong to the same body temperature acquisition date, the current archiving user is indicated to approach an air conditioner for many times in a day and acquire other multiple archiving user basic body temperature values of the current archiving user, and each time a new basic body temperature value of another archiving user is acquired and the time interval is greater than or equal to the archiving time threshold, the archiving user basic body temperature value is updated by the average value of the basic body temperature value of the other archiving user and the archiving user basic body temperature value. If the archiving time threshold is set to 1h, the air conditioner acquires a plurality of other archiving user basic body temperature values of the current archiving user for a plurality of times on the same day, averages the archiving user basic body temperature values and the archiving user basic body temperature values which are acquired initially, and updates the archiving user basic body temperature values by the obtained average value.
And secondly, when 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 archiving user basic body temperature value do not belong to the same body temperature acquisition date, the acquisition time of the face image is represented to belong to the next day relative to the acquisition time of the archiving user basic body temperature value, another archiving user basic body temperature value corresponding to the current archiving user is acquired by referring to the acquisition mode of the archiving user basic body temperature value acquired in the previous day, and another body temperature acquisition date of the archiving user basic body temperature value is acquired, and the another archiving user basic body temperature value and the another body temperature acquisition date are added to the archiving user information for storage. For example, when the archived user base body temperature values are collected on 28 consecutive days, then at least 28 days of the respective archived user base body temperature values are stored in the air conditioner for the current archived user. In addition, the base body temperature values of the archive users stored for the same user on different dates are arranged and stored according to the sequence of the acquisition dates in the air conditioner.
In an embodiment, after the saving of the archived user information consisting of the user ID corresponding to the archived user face 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 the basic body temperature values of the archive users, which are stored according to the sequence of the dates and correspond to the number of the first preset body temperature values, in the storage of the archive user information so as to form a basic body temperature value sequence;
and determining physiological cycle information corresponding to the archived user information based on the base body temperature value sequence and a preset sliding window strategy.
In this embodiment, when the same user (user a in the above example and when the user a is a female user) is obtained, the base body temperature values of the archive user corresponding to the first preset body temperature value number (for example, the first preset body temperature value number is set to 28) are stored in the archive user information according to the chronological order, and a base body temperature value sequence of the user is formed (if the first preset body temperature value number is set to 28, the base body temperature value sequence includes 28 base body temperature values of the archive user), and then physiological cycle information corresponding to the archive user information can be determined based on the base body temperature value sequence and a preset sliding window policy. In addition, compared with the process of acquiring the physiological cycle information of the user based on a plurality of basic body temperature values, the physiological cycle information of the user is determined based on a sequence consisting of a plurality of basic body temperature values, and the obtained result is more accurate because the obtained result refers to more data.
In an embodiment, the determining, based on the base body temperature value sequence and a preset sliding window policy, physiological cycle information corresponding to the archived user information includes:
acquiring 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 archiving user from the 1 st position to the N2 nd position in the sequence of the base body temperature values, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of second preset body temperature values is one half of the number of first preset body temperature values;
Acquiring the basis body temperature values of the user, which are ordered from the N2+1st to the N1 st, from the basis body temperature value sequence, and summing the basis body temperature values to obtain a second temperature sum value; wherein,
Acquiring and storing an ith ratio of the first temperature sum value to the second temperature sum value;
Shifting the 1 st ordered archive user base body temperature value in the base body temperature value sequence to the last 1 st of the base body temperature value sequence to update the base body temperature value sequence;
Adding 1 to the i to update the value of i;
If the i is determined not to exceed N1, returning to the step of acquiring the iteration number i;
If it is determined that i exceeds N1, the maximum value and the next largest value in the 1 st ratio to the N1 st ratio are obtained, the high-temperature period in the physiological cycle information is determined according to the serial number value corresponding to the maximum value in the i st ratio to the N1 st ratio, and the low-temperature period in the physiological cycle information is determined according to the serial number value corresponding to the next largest value in the i st ratio to the N1 st ratio.
In this embodiment, after the base body temperature value sequence corresponding to the current archiving user (such as user a in the above example) is obtained, a sliding window manner is used to determine the high temperature period (i.e. ovulatory period) and the low temperature period (i.e. menstrual period) in the physiological cycle information in the current archiving user. For example, 28 archived user basic body temperature values are included in a basic body temperature value sequence and are respectively recorded as T1-T28, the most initial representation of the basic body temperature value sequence is [ T1, T2, T3, … …, T28], when the 1 st round of calculating the 1 st ratio is performed, the first temperature sum value is obtained by obtaining the archived user basic body temperature values from the 1 st to the 14 th in the sequence of the basic body temperature values, the second temperature sum value is obtained by obtaining the archived user basic body temperature values from the 15 th to the 28 th in the sequence of the basic body temperature values and summing, and the result of dividing the first temperature sum value by the second temperature sum value is taken as the 1 st ratio; then shifting T1 to the end of the sequence and shifting the base body temperature values of the other 27 archiving users forward by 1 bit to update the base body temperature value sequence to be [ T2, T3, … …, T28, T1] and calculating the 2 nd ratio according to the base body temperature value sequence; and by analogy, the 1 st ratio to the 28 th ratio can be obtained after the iteration is performed for 28 times. And finally, determining a high-temperature period in the physiological cycle information by using a serial number value corresponding to the maximum value in the 1 st ratio to the 28 th ratio, and determining a low-temperature period in the physiological cycle information by using a serial number value corresponding to the next-largest value (namely, the second largest ratio) in the 1 st ratio to the 28 th ratio. When 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 aiming at the current archiving user.
And S120, acquiring a user face image through the camera under the preset mode, and carrying out face recognition on the user face image to acquire user information.
In this embodiment, as shown in fig. 3, since the camera 101 (that is, the image acquisition device is further disposed on the air conditioner 100, and the camera 101 is specifically disposed at a height position of 1.4 m-1.5 m of the body of the air conditioner, and the horizontal angle of the camera is more than 80 ° and the vertical angle is more than 60 °), when a user approaches the air conditioner, a face image of the user can be acquired by the camera, and then face recognition is performed on the face image of the user to obtain user information. So that the air conditioner can determine which specific user is using the air conditioner based on the user information.
And S130, if the user information is the archived female user information, acquiring the 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.
In this embodiment, if the user corresponding to the face image of the user is an archived user and corresponds to a female user, it indicates that the air conditioner can control the air conditioner to supply air to the user based on the first air supply policy in the preset mode. Because the air conditioner is correspondingly controlled to supply air according to the archived female user information based on the physiological cycle information and a preset first air supply strategy, the air supply is controlled by fully considering the current physical condition of the user, and the dynamic air supply mode adjustment based on 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 a low-temperature period, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when aiming at the target area, and the air conditioner is controlled to supply air at a user set temperature when not aiming at the target area;
and S132, if the physiological cycle information is determined to correspond to a high-temperature period, acquiring a user set temperature and controlling the air conditioner to supply air at the user set temperature.
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 obtained, 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.
And then, if the physiological cycle information is determined to correspond to the low-temperature period in the air conditioner, the fact that the area where the user face image corresponds to the user currently cannot send out air-conditioning air with excessively low temperature is indicated, at this time, a target area corresponding to the position where the user currently is located can be obtained through camera positioning, then the air conditioner is controlled to send out air with preset adjusting temperature when the air conditioner is aligned to the target area (if the air conditioner is currently used in a cooling mode, the preset adjusting temperature is 27-28 ℃, if the air conditioner is currently used in a heating mode, the preset adjusting temperature is 22-24 ℃), and the air conditioner is controlled to send out air with user set temperature when the air conditioner is not aligned to the target area (if the air conditioner is originally set to send out air with 26 ℃ by the user, and then the air conditioner is controlled to send out air with 26 ℃ in the cooling mode when the air conditioner is not aligned to the target area).
If the physiological cycle information is determined to correspond to the high-temperature period, the female user is required to supply air constantly, so that the user set temperature is obtained, the air conditioner is controlled to supply air at the user set temperature, if the user originally sets the cooling mode to supply air at 26 ℃, the air conditioner is controlled to supply air at 26 ℃ in the cooling mode when the target area is not aligned. 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, step S120 further includes:
And if the user information is not the archived personnel information, correspondingly controlling the air conditioner to supply air according to a preset second air supply strategy.
In this embodiment, if it is determined that the user information is not the archived personnel information, it indicates that the current user is not necessarily a female user, and the user has no 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 the infrared temperature sensor detects that the user forehead temperature is lower than 36.5 ℃, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when the air conditioner is aligned to the target area, and the air conditioner is controlled to supply air at a user setting temperature when the air conditioner is not aligned to the target area, and the implementation of step S131 can be referred to specifically; if the infrared temperature sensor detects that the user forehead temperature is higher than or equal to 36.5 ℃, the user set temperature is obtained and the air conditioner is controlled to supply air at the user set temperature, and the embodiment of step S132 can be referred to specifically.
In summary, the embodiment not only can identify whether the current user is a female user, but also obtains the corresponding physiological cycle information when determining that the user is the archived female user information, and correspondingly controls 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.
Fig. 5 is a schematic block diagram of an air conditioner according to an embodiment of the present invention. As shown in fig. 5, the present invention also provides an air conditioner corresponding to the above air supply control method, referring to fig. 5, the air conditioner 100 includes a mode switching unit 110, a user information identifying 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 start instruction in response to the preset mode start instruction.
In this embodiment, if the air conditioner A1 disposed at the residence of the user a is taken as an example, if the user a can perform man-machine interaction operation on the air conditioner A1 to turn on the preset mode (for example, the preset mode may be named as "care mode", "female 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 archiving user face image acquisition unit is used for acquiring the archiving user face image corresponding to the current archiving user through the camera;
the user identification unit is used for carrying out face identification on the face image of the archiving user to obtain the face characteristics of the archiving user and the gender information of the archiving user;
The human-machine distance acquisition unit is used for detecting the human-machine 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 acquired forehead temperature value corresponding to the current archiving user through the infrared temperature sensor if the human-computer distance is smaller than a preset distance threshold and the archiving 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 archiving user basic body temperature value acquisition unit is used for determining an archiving user basic body temperature value according to the sum of the acquired forehead temperature value and the compensation temperature value;
And the archiving user information storage unit is used for storing archiving user information consisting of a user ID corresponding to the facial features of the archiving user, the gender information of the archiving user, the basic body temperature value of the archiving user and the body temperature acquisition date corresponding to the basic body temperature value of the archiving user.
In this embodiment, in order to ensure that the air conditioner (such as the air conditioner A1 in the above example) can more accurately identify the specific user (such as the user a in the above example), when the air conditioner detects that the user approaches the body and operates the adjusting panel (including the display panel and the adjusting key, or changes the adjusting panel to be a touch panel) on the body, the camera is used to collect the face image of the archiving user corresponding to the current archiving user (such as the user a).
Because the deep learning neural network model for face recognition is stored in the air conditioner, after the air conditioner collects the face images of the archiving user, face recognition (further comprising sex recognition) can be carried out on the face images of the archiving user based on the deep learning neural network model, so that the face characteristics of the archiving user and the sex information of the archiving user are obtained. At this time, the obtained facial features of the archiving user and the gender information of the archiving user (if the user a is female, the gender information of the archiving user corresponds to female) are both stored in a storage area (such as a memory) of the air conditioner. If the face image of the current archiving user is acquired for the first time, the fact that the archiving data of the current archiving user is not saved in the air conditioner before is indicated, at the moment, an archiving area is newly built for the current archiving user, and relevant user data (such as facial features of the archiving user, gender information of the archiving user and the like) of the current archiving user are 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 the data are 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 human-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 m-1.5 m of the air conditioner body, and can be an infrared slow reflection type distance measuring sensor or a laser distance measuring sensor, so as to be used for detecting whether a person is right in front of the air conditioner body 1.4 m-1.5 m and measuring the distance between the person and the machine.
Of course, if the man-machine distance is too large, it is inconvenient to accurately collect the forehead temperature of the user, so when it is determined that the man-machine distance is smaller than the preset distance threshold (for example, the distance threshold is set to 2m, the implementation is not limited to 2m, other distance values meeting the actual user needs, such as 1m, 2.5m, etc.), and the archived user gender information corresponds to the female user, the collected forehead temperature value corresponding to the current archived user is obtained through the infrared temperature sensor 103 set on the air conditioner 100, please refer to fig. 3 specifically. The infrared temperature sensor 103 may be an array infrared thermopile temperature sensor, which is disposed at a height position of 1.5 m-1.6 m of the air conditioner body (applicable to most adult female heights, and can detect forehead temperature of female users), wherein a horizontal angle of the array infrared thermopile temperature sensor is above 80 ° and a vertical angle of the array infrared thermopile temperature sensor is above 60 ° and a sensor array in the array infrared thermopile temperature sensor is above 60×80 dot matrix, so as to realize infrared temperature imaging with higher precision.
When acquiring the acquisition forehead temperature value corresponding to the current archiving user through the infrared temperature sensor, the specific process is as follows:
1) Firstly, acquiring a head outline corresponding to the current archiving user through a camera, and identifying the position of the center of the forehead of the human body based on the head outline (namely, the position of the forehead of the human body in a picture can be recorded by image coordinates or angles);
2) Then, the position of the forehead of the human body is reflected to a temperature field acquired by an infrared temperature sensor, the temperature point of the forehead of the human body is extracted, the temperature point is acquired once every 20-100ms, the temperature point is continuously acquired for a plurality of times (which can be 2-100 times), and an average value is calculated, wherein the average value is an acquired forehead temperature value corresponding to a current archiving user. When the collected forehead temperature value corresponding to the current archiving user is not in the preset range (generally 30-36 ℃), the collected forehead temperature value is invalid.
The acquired collected forehead temperature value corresponding to the current archiving user cannot be directly used as the user base body temperature value, and a certain compensation calculation is needed to obtain a more accurate base body temperature value. Specifically, a temperature sensor further arranged in the air conditioner can firstly acquire the current environment temperature, and a compensation temperature value is determined based on the current environment temperature and the man-machine distance. The data of a plurality of man-machine spacing-environment temperature-compensation temperature values are prestored in the air conditioner, namely, the corresponding compensation temperature values can be inquired after the current environment temperature and the man-machine spacing are known. And then, summing the acquired forehead temperature value and the compensation temperature value to obtain an archiving user basic body temperature value 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 feature, the storage serial number in the user information archiving database in the air conditioner can be used as the user ID based on the user face feature), the archiving user sex information, the archiving user basic body temperature value and the body temperature acquisition date corresponding to the archiving user basic body temperature value can be formed into the archiving user information corresponding to the current archiving user and stored.
In one embodiment, the air conditioner 100 further includes:
The time interval determining unit is used for acquiring a time interval between acquisition time of the face image and acquisition time of the base body temperature value of the archiving user if the camera acquires the face image corresponding to the current archiving user;
The average temperature value obtaining and storing unit is used for obtaining another archiving user basic body temperature value corresponding to the current archiving user if the time interval is greater than or equal to a preset archiving time threshold value and the acquisition time of the face image and the acquisition time of the archiving user basic body temperature value all belong to the same body temperature acquisition date, and updating the archiving user basic body temperature value by the average value of the another archiving user basic body temperature value and the archiving user basic body temperature value;
and the multi-temperature value acquisition and storage unit is used for acquiring another archive user basic body temperature value corresponding to the current archive user and another body temperature acquisition date corresponding to the another archive user basic body temperature value if the time interval is larger than or equal to the archive time threshold and the acquisition time of the face image and the acquisition time of the archive user basic body temperature value do not belong to the same body temperature acquisition date, and increasing the another archive user basic body temperature value and the another body temperature acquisition date to the archive user information for storage.
In this embodiment, at least one archived user base body temperature value was previously obtained on a body temperature acquisition date corresponding to the archived user base body temperature value. If, in order to improve the accuracy of the user base body temperature value corresponding to the current archive user, the user base body temperature value of the current archive user can be recorded in at least two cases:
The first method is that when it is determined 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, of course, the specific implementation is not limited to 1h, other markets that can meet the actual use requirement can be also used, such as 2h, 4h, etc.), and the acquisition time of the face image and the acquisition time of the archiving user basic body temperature value all belong to the same body temperature acquisition date, the current archiving user is indicated to approach an air conditioner for many times in a day and acquire other multiple archiving user basic body temperature values of the current archiving user, and each time a new basic body temperature value of another archiving user is acquired and the time interval is greater than or equal to the archiving time threshold, the archiving user basic body temperature value is updated by the average value of the basic body temperature value of the other archiving user and the archiving user basic body temperature value. If the archiving time threshold is set to 1h, the air conditioner acquires a plurality of other archiving user basic body temperature values of the current archiving user for a plurality of times on the same day, averages the archiving user basic body temperature values and the archiving user basic body temperature values which are acquired initially, and updates the archiving user basic body temperature values by the obtained average value.
And secondly, when 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 archiving user basic body temperature value do not belong to the same body temperature acquisition date, the acquisition time of the face image is represented to belong to the next day relative to the acquisition time of the archiving user basic body temperature value, another archiving user basic body temperature value corresponding to the current archiving user is acquired by referring to the acquisition mode of the archiving user basic body temperature value acquired in the previous day, and another body temperature acquisition date of the archiving user basic body temperature value is acquired, and the another archiving user basic body temperature value and the another body temperature acquisition date are added to the archiving user information for storage. For example, when the archived user base body temperature values are collected on 28 consecutive days, then at least 28 days of the respective archived user base body temperature values are stored in the air conditioner for the current archived user. In addition, the base body temperature values of the archive users stored for the same user on different dates are arranged and stored according to the sequence of the acquisition dates in the air conditioner.
In one embodiment, the air conditioner 100 further includes:
The basic body temperature value sequence acquisition unit is used for acquiring the basic body temperature values of the archive users which are stored according to the sequence of the dates in the storage of the archive user information and correspond to the first preset body temperature values to form a basic body temperature value sequence;
And the physiological cycle information determining unit is used for 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, when the same user (user a in the above example and when the user a is a female user) is obtained, the base body temperature values of the archive user corresponding to the first preset body temperature value number (for example, the first preset body temperature value number is set to 28) are stored in the archive user information according to the chronological order, and a base body temperature value sequence of the user is formed (if the first preset body temperature value number is set to 28, the base body temperature value sequence includes 28 base body temperature values of the archive user), and then physiological cycle information corresponding to the archive user information can be determined based on the base body temperature value sequence and a preset sliding window policy. In addition, compared with the process of acquiring the physiological cycle information of the user based on a plurality of basic body temperature values, the physiological cycle information of the user is determined based on a sequence consisting of a plurality of basic body temperature values, and the obtained result is more accurate because the obtained result refers to more data.
In an embodiment, the physiological cycle information determining unit is specifically configured to:
acquiring 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 archiving user from the 1 st position to the N2 nd position in the sequence of the base body temperature values, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of second preset body temperature values is one half of the number of first preset body temperature values;
Acquiring the basis body temperature values of the user, which are ordered from the N2+1st to the N1 st, from the basis body temperature value sequence, and summing the basis body temperature values to obtain a second temperature sum value; wherein,
Acquiring and storing an ith ratio of the first temperature sum value to the second temperature sum value;
Shifting the 1 st ordered archive user base body temperature value in the base body temperature value sequence to the last 1 st of the base body temperature value sequence to update the base body temperature value sequence;
Adding 1 to the i to update the value of i;
If the i is determined not to exceed N1, returning to the step of acquiring the iteration number i;
If it is determined that i exceeds N1, the maximum value and the next largest value in the 1 st ratio to the N1 st ratio are obtained, the high-temperature period in the physiological cycle information is determined according to the serial number value corresponding to the maximum value in the i st ratio to the N1 st ratio, and the low-temperature period in the physiological cycle information is determined according to the serial number value corresponding to the next largest value in the i st ratio to the N1 st ratio.
In this embodiment, after the base body temperature value sequence corresponding to the current archiving user (such as user a in the above example) is obtained, a sliding window manner is used to determine the high temperature period (i.e. ovulatory period) and the low temperature period (i.e. menstrual period) in the physiological cycle information in the current archiving user. For example, 28 archived user basic body temperature values are included in a basic body temperature value sequence and are respectively recorded as T1-T28, the most initial representation of the basic body temperature value sequence is [ T1, T2, T3, … …, T28], when the 1 st round of calculating the 1 st ratio is performed, the first temperature sum value is obtained by obtaining the archived user basic body temperature values from the 1 st to the 14 th in the sequence of the basic body temperature values, the second temperature sum value is obtained by obtaining the archived user basic body temperature values from the 15 th to the 28 th in the sequence of the basic body temperature values and summing, and the result of dividing the first temperature sum value by the second temperature sum value is taken as the 1 st ratio; then shifting T1 to the last position of the sequence and shifting the base body temperature values of the other 27 archiving users forward by 1 position to update the base body temperature value sequence to be [ T2, T3, … …, T28, T1] and calculating the 2 nd ratio according to the base body temperature value sequence; and by analogy, the 1 st ratio to the 28 th ratio can be obtained after the iteration is performed for 28 times. And finally, determining a high-temperature period in the physiological cycle information by using a serial number value corresponding to the maximum value in the 1 st ratio to the 28 th ratio, and determining a low-temperature period in the physiological cycle information by using a serial number value corresponding to the next-largest value (namely, the second largest ratio) in the 1 st ratio to the 28 th ratio. When 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 aiming at the current archiving user.
The user information identifying unit 120 is configured to acquire a user face image through the camera in the preset mode, and perform face recognition on the user face image to obtain user information.
In this embodiment, as shown in fig. 3, since the camera 101 (that is, the image acquisition device is further disposed on the air conditioner 100, and the camera 101 is specifically disposed at a height position of 1.4 m-1.5 m of the body of the air conditioner, and the horizontal angle of the camera is more than 80 ° and the vertical angle is more than 60 °), when a user approaches the air conditioner, a face image of the user can be acquired by the camera, and then face recognition is performed on the face image of the user to obtain user information. So that the air conditioner can determine which specific user is using the air conditioner based on the user information.
The first air supply control unit 130 is configured to obtain physiological cycle information corresponding to the user information if the user information is determined to be archived female user information, and correspondingly control air supply of the air conditioner according to the physiological cycle information and a preset first air supply policy.
In this embodiment, if the user corresponding to the face image of the user is an archived user and corresponds to a female user, it indicates that the air conditioner can control the air conditioner to supply air to the user based on the first air supply policy in the preset mode. Because the air conditioner is correspondingly controlled to supply air according to the archived female user information based on the physiological cycle information and a preset first air supply strategy, the air supply is controlled by fully considering the current physical condition of the user, and the dynamic air supply mode adjustment based on the physiological cycle of the female user is realized.
In one embodiment, the first air supply control unit 130 is specifically configured to:
If the physiological cycle information is determined to correspond to a low-temperature period, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when aiming at the target area, and the air conditioner is controlled to supply air at a user set temperature when not aiming at the target area;
And if the physiological cycle information is determined to correspond to the high-temperature period, acquiring a user set temperature and controlling the air conditioner to supply air at the user set temperature.
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 obtained, 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.
And then, if the physiological cycle information is determined to correspond to the low-temperature period in the air conditioner, the fact that the area where the user face image corresponds to the user currently cannot send out air-conditioning air with excessively low temperature is indicated, at this time, a target area corresponding to the position where the user currently is located can be obtained through camera positioning, then the air conditioner is controlled to send out air with preset adjusting temperature when the air conditioner is aligned to the target area (if the air conditioner is currently used in a cooling mode, the preset adjusting temperature is 27-28 ℃, if the air conditioner is currently used in a heating mode, the preset adjusting temperature is 22-24 ℃), and the air conditioner is controlled to send out air with user set temperature when the air conditioner is not aligned to the target area (if the air conditioner is originally set to send out air with 26 ℃ by the user, and then the air conditioner is controlled to send out air with 26 ℃ in the cooling mode when the air conditioner is not aligned to the target area).
If the physiological cycle information is determined to correspond to the high-temperature period, the female user is required to supply air constantly, so that the user set temperature is obtained, the air conditioner is controlled to supply air at the user set temperature, if the user originally sets the cooling mode to supply air at 26 ℃, the air conditioner is controlled to supply air at 26 ℃ in the cooling mode when the target area is not aligned. 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 one embodiment, the air conditioner 100 further includes:
And the second air supply control unit is used for correspondingly controlling the air conditioner to supply air 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 the archived personnel information, it indicates that the current user is not necessarily a female user, and the user has no 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 the infrared temperature sensor detects that the user forehead temperature is lower than 36.5 ℃, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when the air conditioner is aligned to the target area, and the air conditioner is controlled to supply air at a user setting temperature when the air conditioner is not aligned to the target area, and the implementation of step S131 can be referred to specifically; if the infrared temperature sensor detects that the user forehead temperature is higher than or equal to 36.5 ℃, the user set temperature is obtained and the air conditioner is controlled to supply air at the user set temperature, and the embodiment of step S132 can be referred to specifically.
In summary, the embodiment not only can identify whether the current user is a female user, but also obtains the corresponding physiological cycle information when determining that the user is the archived female user information, and correspondingly controls 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.
It should be noted that, as those skilled in the art can clearly understand, 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, the description is omitted herein.
The air supply control system described above 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 equipment integrates any air conditioner provided by the embodiment of the invention.
With reference to fig. 6, the computer device includes a processor 402, a memory, and a network interface 405, which are connected by a system bus 401, wherein the memory may include a storage medium 403 and an internal memory 404.
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 controlling air delivery.
The processor 402 is used to provide computing and control capabilities to support the operation of the overall computer device.
The internal memory 404 provides an environment for the execution of a computer program 4032 in the storage medium 403, which computer program 4032, when executed by the processor 402, causes the processor 402 to perform the blower control method described above.
The network interface 405 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
Wherein the processor 402 is configured to execute a 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 carrying out face recognition on the user face image to acquire user information;
If the user information is 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.
It should be appreciated that in embodiments of the invention, the processor 402 may be a Central processing unit (Central ProcessingUnit, CPU), the processor 402 may also be other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (application specific IntegratedCircuit, ASIC), off-the-shelf programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program includes program instructions that can be stored in a storage medium that is either 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 includes 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 carrying out face recognition on the user face image to acquire user information;
If the user information is 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 storage medium may be a U-disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that may store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the 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 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 several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above 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, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
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 combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform 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 certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (9)
1. The 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 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 the preset mode, acquiring a user face image through the camera, and carrying out face recognition on the user face image to acquire user information;
If the user information is 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 controlling the air supply of the air conditioner according to the physiological cycle information and the preset first air supply strategy includes:
If the physiological cycle information is determined to correspond to a low-temperature period, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when aiming at the target area, and the air conditioner is controlled to supply air at a user set temperature when not aiming at the target area;
If the physiological cycle information is determined to correspond to a high-temperature period, acquiring a user set temperature and controlling the air conditioner to supply air at the user set temperature; wherein the low temperature period is used for indicating menstrual period and the high temperature period is used for indicating ovulatory period.
2. The method of claim 1, wherein the air conditioner further comprises an infrared temperature sensor and a distance sensor;
The method further comprises the steps of, before the air conditioner is switched to a preset mode corresponding to the preset mode starting instruction in response to the preset mode starting instruction:
acquiring face images of an archiving user corresponding to the current archiving user through the camera;
performing face recognition on the face image of the archiving user to obtain the face characteristics of the archiving user and the gender information of the archiving user;
detecting the 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 and the archived user gender information corresponds to a female user, acquiring an acquisition 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 an archived user base body temperature value according to the sum of the acquired forehead temperature value and the compensated temperature value;
and storing the 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.
3. The method of claim 2, wherein after said saving archived user information consisting of a user ID corresponding to said archived user face feature, said archived user gender information, and said archived user base body temperature value, said method further comprises:
If the camera acquires the face image corresponding to the current archiving user, acquiring a time interval between acquisition time of the face image and acquisition time of the archiving user basic body temperature value;
If the time interval is 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 archiving user basic body temperature value all belong to the same body temperature acquisition date, acquiring another archiving user basic body temperature value corresponding to the current archiving user, and updating the archiving user basic body temperature value by using the average value of the another archiving user basic body temperature value and the archiving user basic body temperature value;
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 archiving user basic body temperature value 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 of 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 the saving of the archived user information consisting of the user ID corresponding to the archived user face 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 the basic body temperature values of the archive users, which are stored according to the sequence of the dates and correspond to the number of the first preset body temperature values, in the storage of the archive user information so as to form a basic body temperature value sequence;
and determining physiological cycle information corresponding to the archived user information based on the base body temperature value sequence and a preset sliding window strategy.
5. The method of claim 4, wherein the determining physiological cycle information corresponding to the archived user information based on the base body temperature value sequence and a preset sliding window policy comprises:
acquiring 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 archiving user from the 1 st position to the N2 nd position in the sequence of the base body temperature values, and summing to obtain a first temperature sum value; wherein N2 is the number of second preset body temperature values, and the number of second preset body temperature values is one half of the number of first preset body temperature values;
Acquiring the basis body temperature values of the user, which are ordered from the N2+1st to the N1 st, from the basis body temperature value sequence, and summing the basis body temperature values to obtain a second temperature sum value; wherein,
Acquiring and storing an ith ratio of the first temperature sum value to the second temperature sum value;
Shifting the 1 st ordered archive user base body temperature value in the base body temperature value sequence to the last 1 st of the base body temperature value sequence to update the base body temperature value sequence;
Adding 1 to the i to update the value of i;
If the i is determined not to exceed N1, returning to the step of acquiring the iteration number i;
If it is determined that i exceeds N1, the maximum value and the next largest value in the 1 st to N1 st ratio are obtained, the high-temperature period in the physiological cycle information is determined by the serial number value corresponding to the maximum value in the 1 st to N1 st ratio, and the low-temperature period in the physiological cycle information is determined by the serial number value corresponding to the next largest value in the 1 st to N1 st ratio.
6. The method according to any one of claims 1-5, wherein in the preset mode, a user face image is acquired by the camera, and after the user face image is subjected to face recognition to obtain user information, the method further comprises:
And if the user information is not the archived personnel information, correspondingly controlling the air conditioner to supply air according to a preset second air supply strategy.
7. An air conditioner is characterized by comprising a camera; the air conditioner further includes:
A mode switching unit for switching the air conditioner to a preset mode corresponding to a preset mode starting instruction in response to the preset mode starting instruction;
The user information identification unit is used for acquiring a user face image through the camera under the preset mode, and carrying out face recognition on the user face image to obtain user information;
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 the archived female 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 first air supply control unit is specifically configured to:
If the physiological cycle information is determined to correspond to a low-temperature period, a target area corresponding to the current position of the user is obtained, the air conditioner is controlled to supply air at a preset adjusting temperature when aiming at the target area, and the air conditioner is controlled to supply air at a user set temperature when not aiming at the target area;
If the physiological cycle information is determined to correspond to a high-temperature period, acquiring a user set temperature and controlling the air conditioner to supply air at the user set temperature; wherein the low temperature period is used for indicating menstrual period and the high temperature period is used for indicating ovulatory period.
8. An air conditioner, characterized in that the air conditioner comprises a memory storing at least one instruction; and
A processor executing instructions stored in the memory to implement the method of any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: the computer readable storage medium having stored therein at least one instruction for execution by a processor in a computer device to implement the method of any of claims 1-6.
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 CN115875813A (en) | 2023-03-31 |
| CN115875813B true 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 (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110207338A (en) * | 2019-05-20 | 2019-09-06 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR0182725B1 (en) * | 1996-09-13 | 1999-05-01 | 삼성전자주식회사 | Human body detection device of air conditioner |
| JP5300602B2 (en) * | 2008-10-31 | 2013-09-25 | 三菱電機株式会社 | Air conditioner |
| JP5865784B2 (en) * | 2012-06-05 | 2016-02-17 | 日立アプライアンス株式会社 | Air conditioner |
| WO2016192179A1 (en) * | 2015-06-05 | 2016-12-08 | 宁波奥克斯空调有限公司 | Air conditioner detection device and control method |
| JP6340344B2 (en) * | 2015-06-30 | 2018-06-06 | 日立ジョンソンコントロールズ空調株式会社 | Air conditioner and control method of air conditioner |
| CN106679098A (en) * | 2016-12-30 | 2017-05-17 | 广东美的制冷设备有限公司 | Control method and control device for air conditioner, and air conditioner |
| WO2018120717A1 (en) * | 2016-12-30 | 2018-07-05 | 广东美的制冷设备有限公司 | Method and device for controlling air conditioner |
| CN109059176B (en) * | 2018-07-27 | 2020-12-22 | 广东美的制冷设备有限公司 | Air conditioner, and control method and control device thereof |
| CN109140665A (en) * | 2018-08-31 | 2019-01-04 | 珠海格力电器股份有限公司 | Method and device for controlling air conditioner and air conditioner device |
| US11655995B2 (en) * | 2019-05-02 | 2023-05-23 | Lg Electronics Inc. | Method of controlling operation of air conditioner by analyzing user's behavior pattern and air conditioner |
| CN112444318B (en) * | 2019-08-30 | 2022-04-29 | 梅州市青塘实业有限公司 | Method, device, thermometer and storage medium for non-contact body temperature measurement |
| 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 |
| CN114001446B (en) * | 2020-07-28 | 2022-11-11 | 广东美的制冷设备有限公司 | Air conditioner control method, air conditioner and computer readable storage medium |
| CN112503741B (en) * | 2020-12-03 | 2021-12-14 | 珠海格力电器股份有限公司 | Air conditioning equipment and its control method, device and storage medium |
| KR102458065B1 (en) * | 2021-03-08 | 2022-10-25 | 인트플로우 주식회사 | Apparatus and method for measuring body temperature by recognizing the face |
-
2022
- 2022-12-06 CN CN202211559861.4A patent/CN115875813B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110207338A (en) * | 2019-05-20 | 2019-09-06 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115875813A (en) | 2023-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108571804B (en) | Air conditioner, parameter adjusting method and device thereof and readable storage medium | |
| 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 | |
| WO2023015875A1 (en) | Method and apparatus for controlling air conditioner, and air conditioner | |
| CN110308661B (en) | Intelligent device control method and device based on machine learning | |
| CN112254283A (en) | Control method and device of intelligent air conditioner, storage medium and system | |
| CN111594999A (en) | Air conditioner, control method and device thereof and air conditioning system | |
| WO2022267472A1 (en) | Control method and apparatus for air conditioner, and air conditioner | |
| CN110207338A (en) | Air conditioner control method and device, storage medium and air conditioner | |
| CN110186161A (en) | Default parameters update method, air-conditioning Learning Control Method and air conditioner | |
| CN115875813B (en) | Air supply control method, air conditioner and storage medium | |
| JPWO2018179289A1 (en) | Area-specific environmental management system, method and program | |
| CN114964506A (en) | Intelligent control method and system for indoor human thermal comfort based on infrared thermal imaging | |
| CN113834196A (en) | Method and device for controlling air conditioner, air conditioner | |
| US20220253062A1 (en) | Moving body control system | |
| JP2006336875A (en) | Air conditioning control system | |
| WO2023071222A1 (en) | Air conditioner control method and apparatus, and air conditioner | |
| CN110864402A (en) | Air conditioner, air conditioner control method based on cold and heat feeling detection and storage medium | |
| CN113924039B (en) | System for estimating thermal comfort | |
| CN114608172B (en) | Method and device for controlling air conditioner, air conditioner, and storage medium | |
| CN115316963B (en) | A comparative judgment method based on multiple temperature values of nursing environment and its application system | |
| CN111895609A (en) | Drive-by-wire controller control method, drive-by-wire controller control device, storage medium and drive-by-wire controller | |
| CN120743694B (en) | A method for displaying a computing device model, a computing device, and a terminal device. | |
| CN117989701B (en) | Air conditioner control method and device, air conditioner and computer readable storage medium | |
| 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 |