CN117553406A - Air conditioner control method and device, electronic equipment, storage medium and air conditioner - Google Patents
Air conditioner control method and device, electronic equipment, storage medium and air conditioner Download PDFInfo
- Publication number
- CN117553406A CN117553406A CN202210928401.8A CN202210928401A CN117553406A CN 117553406 A CN117553406 A CN 117553406A CN 202210928401 A CN202210928401 A CN 202210928401A CN 117553406 A CN117553406 A CN 117553406A
- Authority
- CN
- China
- Prior art keywords
- human body
- sleep
- air conditioner
- state
- condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000007958 sleep Effects 0.000 claims abstract description 87
- 230000002618 waking effect Effects 0.000 claims abstract description 31
- 230000007704 transition Effects 0.000 claims description 16
- 230000036772 blood pressure Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 11
- 230000033001 locomotion Effects 0.000 claims description 10
- 230000029058 respiratory gaseous exchange Effects 0.000 claims description 10
- 230000036760 body temperature Effects 0.000 claims description 9
- 230000036578 sleeping time Effects 0.000 claims description 8
- 230000003860 sleep quality Effects 0.000 abstract description 3
- 238000004378 air conditioning Methods 0.000 abstract description 2
- 230000036544 posture Effects 0.000 description 39
- 210000001508 eye Anatomy 0.000 description 8
- 230000008859 change Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 238000000222 aromatherapy Methods 0.000 description 5
- 206010062519 Poor quality sleep Diseases 0.000 description 4
- 230000036391 respiratory frequency Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000004461 rapid eye movement Effects 0.000 description 3
- 230000000241 respiratory effect Effects 0.000 description 3
- 230000004622 sleep time Effects 0.000 description 3
- 206010029412 Nightmare Diseases 0.000 description 2
- 210000005252 bulbus oculi Anatomy 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002040 relaxant effect Effects 0.000 description 2
- 230000004617 sleep duration Effects 0.000 description 2
- 230000035922 thirst Effects 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000004424 eye movement Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004060 metabolic process Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/0205—Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/0205—Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
- A61B5/02055—Simultaneously evaluating both cardiovascular condition and temperature
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/61—Control or safety arrangements characterised by user interfaces or communication using timers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/65—Electronic processing for selecting an operating mode
- F24F11/66—Sleep mode
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/80—Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/64—Airborne particle content
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/65—Concentration of specific substances or contaminants
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/65—Concentration of specific substances or contaminants
- F24F2110/66—Volatile organic compounds [VOC]
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/80—Electric charge
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2120/00—Control inputs relating to users or occupants
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2130/00—Control inputs relating to environmental factors not covered by group F24F2110/00
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Combustion & Propulsion (AREA)
- Chemical & Material Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Animal Behavior & Ethology (AREA)
- Molecular Biology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Medical Informatics (AREA)
- Physiology (AREA)
- Signal Processing (AREA)
- Surgery (AREA)
- Heart & Thoracic Surgery (AREA)
- Biomedical Technology (AREA)
- Pathology (AREA)
- Human Computer Interaction (AREA)
- Pulmonology (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention provides an air conditioner control method and device, electronic equipment, a storage medium and an air conditioner, and relates to the technical field of air conditioning. The method comprises the following steps: acquiring a sleeping state of a human body; and judging whether a midway waking condition is met or not under the condition that the sleeping state of the human body is converted from the sleeping state to the waking state, if so, acquiring human body posture information, and executing a sleeping aiding instruction under the condition that the human body is represented by the human body posture information to be in the sleeping state. The air conditioner control method, the device, the electronic equipment, the storage medium and the air conditioner can relax and assist sleep when a user is ready to sleep, so that the sleep speed of the user is accelerated, the sleep quality of the user is improved, the user is helped to sleep again after waking halfway, and the intelligent sleep assisting of the air conditioner is realized.
Description
Technical Field
The present invention relates to the field of air conditioning technologies, and in particular, to an air conditioner control method and apparatus, an electronic device, a storage medium, and an air conditioner.
Background
With the development of technology and the improvement of living standard of people, an air conditioner gradually becomes an indispensable household appliance in people's life.
Air conditioners currently on the market have increasingly rich functions such as sleep modes for a user's sleep scenario. However, the existing air conditioner has a single control mode of the sleep mode, and is mostly adjusted based on the operation time. When a user wakes in the middle of the sleep process due to night, thirst, nightmare and the like, the existing air conditioner is difficult to flexibly control the running state according to the actual state of the user, the user is promoted to fall asleep quickly, the control efficiency of the air conditioner is affected, the intelligent and automatic implementation of the air conditioner is not facilitated, and the user experience is affected.
Disclosure of Invention
The invention provides an air conditioner control method, an air conditioner control device, electronic equipment, a storage medium and an air conditioner, which are used for solving the technical problems that in the prior art, the air conditioner is difficult to accurately judge the state of a user and the user is promoted to fall asleep quickly.
In a first aspect, the present invention provides a control method of an air conditioner, including:
acquiring a sleeping state of a human body;
judging whether a midway waking condition is met or not under the condition that the human body falls asleep and transits from a sleep state to a waking state; if so, acquiring human body posture information, and executing a sleep aiding instruction under the condition that the human body posture information represents that the human body is in a sleep-entering posture.
According to the control method of the air conditioner provided by the invention, the method for acquiring the sleeping state of the human body comprises the following steps:
determining the sleeping state of the human body according to the biological information of the user;
wherein the user biological information comprises one or more of heart rate, respiration, body temperature, blood pressure, motion information and eye information.
According to the air conditioner control method provided by the invention, the judging whether the midway waking condition is met comprises the following steps:
acquiring sleeping time length of a human body and outdoor environment brightness;
and if the sleeping time length of the human body is smaller than the first preset time length and/or the outdoor environment brightness is smaller than the preset brightness, confirming that the midway waking condition is met.
According to the air conditioner control method provided by the invention, the judging whether the midway waking condition is met or not further comprises the following steps:
acquiring the transition time length between the sleep state and the awake state;
and if the transition time length is smaller than a second preset time length, confirming that the midway waking condition is met.
According to the air conditioner control method provided by the invention, the execution result of the sleep aiding instruction comprises the following steps:
and adjusting the target temperature of the air conditioner to be a preset temperature, wherein the preset temperature is smaller than the set temperature of the air conditioner.
According to the air conditioner control method provided by the invention, after executing the sleep aiding instruction under the condition that the human body posture information indicates that the human body is in a sleep-entering posture, the air conditioner control method further comprises the following steps:
and stopping executing the sleep aiding instruction when the human body falls asleep state is converted from the awake state to the sleep state.
In a second aspect, the present invention also provides an air conditioner control device, including:
the acquisition unit is used for acquiring the sleeping state of the human body;
and the judging unit is used for judging whether the midway waking condition is met or not under the condition that the human body falls asleep and is converted from the sleep state to the waking state, if so, acquiring human body posture information, and executing a sleep aiding instruction under the condition that the human body is in the sleep state by the human body posture information.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the air conditioner control method according to the first aspect when executing the program.
In a fourth aspect, the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the air conditioner control method according to the first aspect.
In a fifth aspect, the present invention provides an air conditioner comprising the air conditioner control device as described in the third aspect.
According to the air conditioner control method, the device, the electronic equipment, the storage medium and the air conditioner, provided by the invention, by acquiring the sleeping state of the human body, under the condition that the sleeping state of the human body is converted from the sleeping state to the awake state, judging whether the intermediate awake condition is met, and confirming whether a user wakes in the middle of sleeping, so that the air conditioner is beneficial to further controlling the running state of the air conditioner according to the user state; by acquiring the human body posture information under the condition that the midway waking condition is met, executing the sleep aiding instruction under the condition that the human body posture information represents that the human body is in the sleep-in posture, relaxing and sleep aiding when the user is ready to sleep are achieved, the sleep-in speed of the user is accelerated, the sleep quality of the user is improved, the user is helped to sleep again after being conscious midway, and intelligent sleep aiding of the air conditioner is achieved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an air conditioner control method provided by the invention;
fig. 2 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. 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.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
The air conditioner control method provided by the embodiment of the invention comprises the following steps:
s10: acquiring the sleeping state of the human body.
It can be appreciated that the sleeping state of the human body can be obtained through the intelligent wearable device, and the sleeping state of the human body can also be obtained through a detection device installed in an indoor environment (for example, installed on an indoor unit), for example, the sleeping state of the human body can be detected through a radar.
The sleep-in state includes at least a sleep state and an awake state. In particular, sleep states may also include periods of light sleep, deep sleep, and rapid eye movement.
In step S10, the actual sleeping status of the user is determined by acquiring the sleeping status of the human body, so that the next control is conveniently and pertinently performed.
S20: judging whether a midway waking condition is satisfied or not under the condition that the sleeping state of the human body is converted from the sleeping state to the waking state; if so, acquiring human body posture information, and executing a sleep aiding instruction under the condition that the human body posture information represents that the human body is in a sleep-entering posture.
The execution result of the sleep-aiding instruction comprises controlling the electronic aromatherapy to start or play sleep-aiding audio.
When the human body falls asleep and changes from sleep state to awake state, the user may be naturally awake, or may suddenly wake halfway due to night, thirst, nightmare, etc. After detecting that the human body falls asleep and changes from the sleep state to the awake state, judging whether a midway awake condition is satisfied, and confirming whether the user is midway awake.
If the middle wakefulness condition is met, the human body posture information is acquired, and whether the user needs to fall asleep again is confirmed. Specifically, the human body posture information is obtained through a camera, a radar and other detection devices installed in an indoor environment, and the human body posture information can include a movable posture, a sitting posture, a standing posture, a sleeping posture and the like. In a specific embodiment, when the human body is in a lying position on the bed and is in a closed-eye state, the displacement amount is small, and the human body is confirmed to be in a sleeping position. If the midway waking condition is not met, the user is confirmed to be naturally awake, the current running state of the air conditioner is maintained, or the air conditioner is controlled to execute any running logic aiming at the human body after waking in the prior art.
Under the condition that the human body posture information indicates that the human body is in a sleeping posture, a sleeping aiding instruction is executed, and a user is helped to fall asleep quickly. The electronic aromatherapy can be installed in an indoor unit of the air conditioner, can also be arranged at other positions of the indoor environment, is in communication connection with a controller of the air conditioner, sends opening information to the electronic aromatherapy to execute a sleep aiding instruction, and is automatically opened after receiving the opening information to release the aromatherapy to the indoor environment. The playing device for playing the sleep-aiding audio can also be arranged in an indoor unit of the air conditioner or at other positions in an indoor environment, the playing device is in communication connection with a controller of the air conditioner, the controller sends starting information to the playing device to execute a sleep-aiding instruction, and the playing device is automatically started after receiving the starting information and plays sleep-aiding audio such as white noise, light music and the like.
According to the air conditioner control method provided by the invention, by acquiring the sleep state of the human body, under the condition that the sleep state of the human body is converted from the sleep state to the awake state, whether the midway awake condition is met is judged, whether the user wakes midway during sleep is confirmed, and the operation state of the air conditioner is further controlled according to the user state; by acquiring the human body posture information under the condition that the midway waking condition is met, executing the sleep aiding instruction under the condition that the human body posture information represents that the human body is in the sleep-in posture, relaxing and sleep aiding when the user is ready to sleep are achieved, the sleep-in speed of the user is accelerated, the sleep quality of the user is improved, the user is helped to sleep again after being conscious midway, and intelligent sleep aiding of the air conditioner is achieved.
Specifically, the step S10 of acquiring the sleeping state of the human body specifically includes:
and determining the sleeping state of the human body according to the biological information of the user. Wherein the user biological information comprises one or more of heart rate, respiration, body temperature, blood pressure, motion information and eye information.
For example, the heart rate information of the user is acquired through the intelligent wearable device of the intelligent bracelet, so that the heart rate can be acquired in real time, and the heart rate can be acquired once every other period of time. And when the heart rate of the user is in the awake heart rate range or the heart rate variation of the user exceeds a preset threshold value, judging that the user is in an awake state. Alternatively, the heart rate of the user may also be acquired by radar, millimeter wave sensor, pulse oxygen monitor, or the like. Because the human heart rate is lower in the sleep state and higher in the awake state, the human sleep state can be accurately judged by detecting the heart rate information of the user.
By way of example, the respiration information of the user is acquired by a sleep respiration detector, millimeter wave sensor, sound sensor, or the like, and may include the respiration rate, the respiration amplitude, and the number of breaths. The breathing information can be acquired in real time, or can be acquired once every other time. The human body in the sleep state has lower respiratory frequency, smaller respiratory amplitude and lower respiratory frequency, while the human body in the awake state has higher respiratory frequency, larger respiratory amplitude and higher respiratory frequency, so that the human body in the sleep state can be accurately judged by detecting the respiratory information of the user.
Illustratively, the body temperature information of the user is acquired by an infrared sensing device, a thermal image sensor, or the like. The body temperature information can be acquired in real time, or can be acquired once every other time. The basic metabolism rate of the human body is obviously reduced in the sleep state, and the body temperature is lower than that in the awake state, so that the human body sleep state can be accurately judged by detecting the body temperature information of the user.
Illustratively, the blood pressure information of the user is acquired by a blood pressure sensor or the like. The blood pressure can be obtained in real time or once every other time. Because the blood pressure of the human body in the sleep state is low and the blood pressure of the human body in the awake state is high, the human body in the sleep state can be accurately judged by detecting the blood pressure of the user.
Illustratively, motion information of a user is acquired by an image pickup device or the like, and the motion information includes information such as motion amplitude, motion change speed, and the like. And when the action amplitude and/or the action change speed of the user exceed the preset threshold value, judging that the user is in an awake state.
Illustratively, the eye information of the user is acquired by an image pickup device or the like, and the eye information includes whether the eyes are open, the eyeball movement frequency, and the like. When the human body is about to wake, the eyeball movement frequency can be increased, and the human body enters a rapid eye movement period, so that the human body can be accurately judged to fall asleep by detecting the eye information of the user.
Preferably, the sleeping state of the human body is comprehensively judged according to the heart rate, the breathing, the body temperature, the blood pressure, the action information and the eye information of the user, so that the detection reliability is improved.
The reference values of the biological information of the user corresponding to the sleeping state and the awake state of the user may be different, optionally, the identity information of the user is obtained through the image capturing device, the identity information includes age, gender and the like, and the reference value of the biological information of the user is determined according to the identity information of the user, so that the sleeping state of the human body of the user is accurately judged.
Further, in step S20, it is determined whether or not the intermediate awake condition is satisfied, including:
acquiring sleeping time length of a human body and outdoor environment brightness; if the sleeping time length of the human body is smaller than the first preset time length and/or the outdoor environment brightness is smaller than the preset brightness, confirming that the midway waking condition is met.
When the sleeping state of the human body is converted from the sleeping state to the awake state, the human body is likely to be naturally awake and not to fall asleep any more, and the user state can be judged more accurately by judging whether the midway awake condition is met or not.
The detection device or the intelligent wearing device is provided with a timer, when the user is detected to start to fall asleep, the timer starts to count, and when the human body falls asleep state is converted into an awake state, the timer pauses to count and records the current reading as the human body sleep duration. And comparing the sleeping time length of the human body with the first preset time length to judge whether the sleeping of the user is sufficient or not, and further confirming whether the user is awake halfway or not.
In a specific embodiment, the first preset duration is 6 hours, and when the sleep duration of the human body is less than 6 hours, the condition of waking halfway is confirmed to be met.
The outdoor unit of the air conditioner is provided with a brightness detection device for detecting the brightness of the outdoor environment. When the outdoor environment brightness is greater than or equal to the preset brightness, the current time period is a daytime time period; when the outdoor environment brightness is less than the preset brightness, the current period is a night period.
When the sleeping state of the human body is converted from the sleeping state to the awake state, if the outdoor environment brightness is smaller than the preset brightness, the current period is a night period, and the user is judged to be in the midway awake state and needs to fall asleep again.
Alternatively, the time of the current region may also be acquired in real time, and based on the current time, it is determined whether the human body is in a daytime period or a night time period when the state of falling asleep is shifted from the sleep state to the awake state.
The method comprises the steps of determining that a midway waking condition is met when one of a sleep time length of a human body is smaller than a first preset time length and an outdoor environment brightness is smaller than a preset brightness is met, and determining that the midway waking condition is met when the sleep time length of the human body is smaller than the first preset time length and the outdoor environment brightness is smaller than the preset brightness is met.
Further, in step S20, it is determined whether or not the intermediate awake condition is satisfied, and the method further includes:
acquiring transition time between a sleep state and an awake state;
and if the transition time length is smaller than the second preset time length, confirming that the midway waking condition is met.
The sleep state is different from the user biological information corresponding to the awake state, and generally comprises a light sleep period, a deep sleep period and a rapid eye movement period, the user biological information corresponding to each stage is also different, a user biological information change curve is obtained through a detection device or an intelligent wearing device, and the transition state between the sleep state and the awake state is monitored based on the user biological information change curve so as to obtain the transition time between the sleep state and the awake state. When the transition time between the sleep state and the awake state is less than the second preset time, the user biological information change curve may be represented by a sudden increase in the user biological information change rate, at which time the user rapidly transitions from the sleep state to the awake state, and the user may wake in the middle of sleep. In an alternative embodiment, the duration of the fast eye movement period before the awake state is taken as the transition duration between the sleep state and the awake state.
Optionally, if the sleep time length of the human body is smaller than at least one of the first preset time length and the outdoor environment brightness is smaller than the preset brightness, if the transition time length between the sleep state and the awake state is smaller than the second preset time length, the midway awake condition is satisfied. Alternatively, it may be confirmed that the halfway awake condition is satisfied only in the case where the transition period between the sleep state and the awake state is smaller than the second preset period.
The air conditioner control method provided by the embodiment of the invention, the execution result of the sleep aiding instruction further comprises: and adjusting the target temperature of the air conditioner to be a preset temperature, wherein the preset temperature is smaller than the set temperature of the air conditioner.
The set temperature of the air conditioner is the temperature set by a user through a remote controller, an APP, a voice assistant and the like, and the target temperature is the target value for adjusting the indoor environment temperature of the air conditioner. Under the general situation, the target temperature of the air conditioner is the set temperature, and under the condition that the midway wakefulness condition is confirmed to be met, if the human body posture information indicates that the user is in a sleeping posture, the user has the requirement of falling asleep again, and the target temperature of the air conditioner is adjusted to be the lower preset temperature, so that the heart rate of the user is reduced, and the user is helped to fall asleep quickly.
In a specific embodiment, the difference between the set temperature and the preset temperature is 2 ℃ to 4 ℃.
In the air conditioner control method provided by the embodiment of the invention, after executing the sleep aiding instruction in the case that the human body posture information indicates that the human body is in the sleep-entering posture in step S20, the air conditioner control method further comprises the following steps:
s30: in the case where the human body falls asleep state transitions from the awake state to the sleep state, execution of the sleep-aiding instruction is stopped.
In step S30, when the user wakes up halfway and falls asleep again, the human body falls asleep state is changed from the awake state to the sleep state, and execution of the sleep-aiding instruction is stopped at this time, so as to save energy.
Specifically, the instruction for stopping execution of the sleep aiding instruction is specifically embodied as follows: and controlling the electronic aromatherapy to be closed, stopping playing sleep-aiding audio and adjusting the target temperature of the air conditioner to be the set temperature.
The air conditioner control device provided by the invention is described below, and the air conditioner control device described below and the air conditioner control method described above can be referred to correspondingly.
The air conditioner control device comprises an acquisition unit and a judgment unit. The acquisition unit is used for acquiring the sleeping state of the human body; the judging unit is used for judging whether the midway waking condition is met or not under the condition that the human body falls asleep and is converted from the sleeping state to the waking state, if so, the human body posture information is obtained, and the sleep assisting instruction is executed under the condition that the human body posture information represents that the human body falls asleep.
The acquisition unit determines the sleeping state of the human body according to the biological information of the user. Wherein the user biological information comprises one or more of heart rate, respiration, body temperature, blood pressure, motion information and eye information.
And the judging unit judges that the midway waking condition is met under the condition that the sleeping time length of the human body is smaller than the first preset time length and/or the outdoor environment brightness is smaller than the preset brightness. Optionally, the mid-way awake condition further includes a transition period between the sleep state and the awake state being less than a second preset period.
The execution result of the sleep aiding instruction further comprises: and adjusting the target temperature of the air conditioner to be a preset temperature, wherein the preset temperature is smaller than the set temperature of the air conditioner.
The judging unit stops executing the sleep-aiding instruction in a case where the human body falls asleep state transitions from an awake state to a sleep state.
The present invention also provides an electronic device, fig. 2 illustrates a schematic physical structure of the electronic device, and as shown in fig. 2, the electronic device may include: processor 210, communication interface 220, memory 230, and communication bus 240, wherein processor 210, communication interface 220, and memory 230 communicate with each other via communication bus 240. The processor 210 may invoke logic instructions in the memory 230 to perform an air conditioner control method comprising: acquiring a sleeping state of a human body; and under the condition that the human body falls asleep and is converted from the sleep state to the awake state, judging whether a midway awake condition is met, if so, acquiring human body posture information, and executing a sleep assisting instruction under the condition that the human body posture information represents that the human body falls asleep.
Further, the logic instructions in the memory 230 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, 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 server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the air conditioner control method provided by the above methods, the method comprising: acquiring a sleeping state of a human body; and under the condition that the human body falls asleep and is converted from the sleep state to the awake state, judging whether a midway awake condition is met, if so, acquiring human body posture information, and executing a sleep assisting instruction under the condition that the human body posture information represents that the human body falls asleep.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the air conditioner control method provided by the above methods, the method comprising: acquiring a sleeping state of a human body; and under the condition that the human body falls asleep and is converted from the sleep state to the awake state, judging whether a midway awake condition is met, if so, acquiring human body posture information, and executing a sleep assisting instruction under the condition that the human body posture information represents that the human body falls asleep.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The invention also provides an air conditioner, comprising the air conditioner control device provided by the embodiment, so as to execute an air conditioner control method, wherein the method comprises the following steps: acquiring a sleeping state of a human body; and under the condition that the human body falls asleep and is converted from the sleep state to the awake state, judging whether a midway awake condition is met, if so, acquiring human body posture information, and executing a sleep assisting instruction under the condition that the human body posture information represents that the human body falls asleep.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. An air conditioner control method, comprising:
acquiring a sleeping state of a human body;
judging whether a midway waking condition is met or not under the condition that the human body falls asleep and transits from a sleep state to a waking state; if so, acquiring human body posture information, and executing a sleep aiding instruction under the condition that the human body posture information represents that the human body is in a sleep-entering posture.
2. The method for controlling an air conditioner according to claim 1, wherein the step of acquiring the sleep state of the human body comprises the steps of:
determining the sleeping state of the human body according to the biological information of the user;
wherein the user biological information comprises one or more of heart rate, respiration, body temperature, blood pressure, motion information and eye information.
3. The air conditioner control method according to claim 2, wherein the determining whether the halfway awake condition is satisfied includes:
acquiring sleeping time length of a human body and outdoor environment brightness;
and if the sleeping time length of the human body is smaller than the first preset time length and/or the outdoor environment brightness is smaller than the preset brightness, confirming that the midway waking condition is met.
4. The air conditioner control method according to claim 3, wherein the determining whether the halfway awake condition is satisfied further comprises:
acquiring the transition time length between the sleep state and the awake state;
and if the transition time length is smaller than a second preset time length, confirming that the midway waking condition is met.
5. The method according to claim 1, wherein the execution result of the sleep-aiding instruction includes:
and adjusting the target temperature of the air conditioner to be a preset temperature, wherein the preset temperature is smaller than the set temperature of the air conditioner.
6. The method according to claim 1, wherein, in a case where the human body posture information indicates that the human body is in a sleep-in posture, after executing the sleep-aiding instruction, further comprising:
and stopping executing the sleep aiding instruction when the human body falls asleep state is converted from the awake state to the sleep state.
7. An air conditioner control device, comprising:
the acquisition unit is used for acquiring the sleeping state of the human body;
and the judging unit is used for judging whether the midway waking condition is met or not under the condition that the human body falls asleep and is converted from the sleep state to the waking state, if so, acquiring human body posture information, and executing a sleep aiding instruction under the condition that the human body is in the sleep state by the human body posture information.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the air conditioner control method according to any one of claims 1 to 6 when executing the program.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the air conditioner control method according to any one of claims 1 to 6.
10. An air conditioner comprising the air conditioner control device according to claim 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210928401.8A CN117553406A (en) | 2022-08-03 | 2022-08-03 | Air conditioner control method and device, electronic equipment, storage medium and air conditioner |
PCT/CN2023/078058 WO2024027141A1 (en) | 2022-08-03 | 2023-02-24 | Air conditioner control method and apparatus, electronic device, storage medium and air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210928401.8A CN117553406A (en) | 2022-08-03 | 2022-08-03 | Air conditioner control method and device, electronic equipment, storage medium and air conditioner |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117553406A true CN117553406A (en) | 2024-02-13 |
Family
ID=89813430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210928401.8A Pending CN117553406A (en) | 2022-08-03 | 2022-08-03 | Air conditioner control method and device, electronic equipment, storage medium and air conditioner |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117553406A (en) |
WO (1) | WO2024027141A1 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4980410B2 (en) * | 2009-10-29 | 2012-07-18 | 三菱電機株式会社 | Air conditioner and air conditioning system |
KR102206459B1 (en) * | 2013-09-17 | 2021-01-21 | 엘지전자 주식회사 | An Air-Conditioner AND A Controlling Method |
CN108136152A (en) * | 2016-05-12 | 2018-06-08 | 深圳市赛亿科技开发有限公司 | A kind of sleeping system |
CN111578476B (en) * | 2020-04-21 | 2021-12-21 | 青岛海尔空调器有限总公司 | Air conditioner control method and system |
CN112880119A (en) * | 2021-01-21 | 2021-06-01 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
CN113883668B (en) * | 2021-09-13 | 2023-06-23 | Tcl空调器(中山)有限公司 | Sleep aiding method and device for air conditioner, air conditioner and storage medium |
CN114234410A (en) * | 2021-11-16 | 2022-03-25 | 青岛海尔空调器有限总公司 | Method and device for controlling air conditioner and air conditioner |
-
2022
- 2022-08-03 CN CN202210928401.8A patent/CN117553406A/en active Pending
-
2023
- 2023-02-24 WO PCT/CN2023/078058 patent/WO2024027141A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024027141A1 (en) | 2024-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11786172B2 (en) | Method, device and storage medium for sleep monitoring | |
CN105997004B (en) | A kind of method and sleep monitoring device of sleep prompting | |
KR100682896B1 (en) | Apparatus and method for generating an alarm for rising | |
CN107875496A (en) | A kind of intelligent sleep management eye-shade device and its control method | |
CN109259952A (en) | Sleep monitoring system and Sleep-Monitoring method based on the sleep monitoring system | |
JP2008525055A (en) | Audio signal reproduction system and method | |
KR20180083188A (en) | Environment control method using wearable device with bio signal measurement and IoT(Internet of Things) | |
CN113639449B (en) | Method and device for controlling air conditioner and air conditioner | |
CN112932225B (en) | Intelligent awakening pillow and awakening method based on intelligent awakening pillow | |
CN113952589A (en) | Intelligent mattress with sleep adjusting function | |
CN111358448A (en) | Sleep regulation method and device | |
CN109782620A (en) | Intelligent curtain and its control method, device and computer readable storage medium | |
CN110934566A (en) | Intelligent detection, automatic sleep-aiding and emergency alarm device | |
WO2022010573A1 (en) | Using ambient light sensors and ambient audio sensors to determine sleep quality | |
CN108175921A (en) | The method and apparatus that human body wakes up | |
CN112190419A (en) | Sleep management method and device | |
CN113639380B (en) | Sleep control method and device of air conditioner, air conditioner and storage medium | |
CN117553406A (en) | Air conditioner control method and device, electronic equipment, storage medium and air conditioner | |
CN111726271B (en) | Electrical equipment configuration method under night condition and intelligent home system | |
JP2006043304A (en) | Sleep cycle controlling apparatus and program | |
CN114177473B (en) | Awakening and hypnotizing method based on intelligent equipment and central control console | |
CN111316623A (en) | Alarm clock ringing method and system of intelligent terminal | |
CN114777309A (en) | Air conditioner control method and device, electronic equipment and air conditioner | |
JP2013061111A (en) | Air conditioning control system | |
CN112294283A (en) | Vital sign detection system and corresponding control method |
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 |