CN113639380B - Sleep control method and device of air conditioner, air conditioner and storage medium - Google Patents

Sleep control method and device of air conditioner, air conditioner and storage medium Download PDF

Info

Publication number
CN113639380B
CN113639380B CN202010346571.6A CN202010346571A CN113639380B CN 113639380 B CN113639380 B CN 113639380B CN 202010346571 A CN202010346571 A CN 202010346571A CN 113639380 B CN113639380 B CN 113639380B
Authority
CN
China
Prior art keywords
sleep
sleep stage
stage
user
air conditioner
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
Application number
CN202010346571.6A
Other languages
Chinese (zh)
Other versions
CN113639380A (en
Inventor
白韡
寇晖
谭志凯
黎景宇
姜丽蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN202010346571.6A priority Critical patent/CN113639380B/en
Publication of CN113639380A publication Critical patent/CN113639380A/en
Application granted granted Critical
Publication of CN113639380B publication Critical patent/CN113639380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control 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/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control 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/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • F24F11/66Sleep mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/80Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/20Feedback from users
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a sleep control method and device of an air conditioner, the air conditioner and a storage medium, wherein the sleep control method of the air conditioner comprises the following steps: determining a sleep stage to be entered, and acquiring body movement information of a user; determining sleep stage switching time based on the user body movement information and/or the sleep stage to be entered; and adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and a fragrance parameter. The invention ensures that the air conditioner adjusts the parameters of the environmental parameters at proper time, and avoids adverse effects on the sleep of the user.

Description

Sleep control method and device of air conditioner, air conditioner and storage medium
Technical Field
The invention relates to the technical field of air conditioner control, in particular to a sleep control method and device of an air conditioner, the air conditioner and a storage medium.
Background
With the popularization of air conditioners, the functions of the air conditioners are also increasingly widespread. The existing air conditioners generally have a sleep mode, which is an automatic control mode and is mainly used when a user sleeps.
The existing sleep mode control method comprises the following steps: when the indoor temperature reaches the preset temperature, the indoor temperature is automatically increased so as to avoid cold of the sleeping user due to too low temperature. However, when the indoor temperature reaches the preset temperature, the user does not necessarily sleep, and the control can cause that the user who does not sleep is more difficult to fall asleep because the indoor temperature is too high. Therefore, in the existing control method, the indoor temperature is used as a parameter for judging when to adjust the environment, which causes the air conditioner to adjust the environment at a wrong time and causes adverse effects on the sleep of the user.
Disclosure of Invention
The invention solves the problem that the existing control method takes the indoor temperature as a parameter for judging when to adjust the environment, which can cause the air conditioner to adjust the environment at wrong time and cause adverse effects on the sleep of users.
In order to solve the above problems, the present invention provides a sleep control method for an air conditioner, comprising:
determining a sleep stage to be entered, and acquiring body movement information of a user;
determining sleep stage switching time based on the user body movement information and/or the sleep stage to be entered;
and adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and a fragrance parameter.
The sleep stage where the user is located and the switching time of the sleep stage of the user are identified through the sleep stage to be entered and/or the body movement information of the user, namely the sleep state of the user is identified through the data of the user, so that the accurate environmental parameter adjusting time is determined, the air conditioner is ensured to adjust the environmental parameters at the proper time, the adverse effect on the sleep of the user is avoided, the sleep or waking of the user is invisibly promoted, and the good user experience is ensured.
Optionally, when the sleep stage to be entered is an awake stage, the determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered includes:
acquiring the body movement frequency variation trend of the current day from the user body movement information, and acquiring a current prediction rule, wherein the current prediction rule is determined based on the body movement frequency variation data recorded every day before the current day and the actual awakening time;
and predicting the switching time from the current sleep stage to the awakening stage based on the change trend of the number of body movements of the current day and the current prediction rule.
The method comprises the steps of determining the latest incidence relation between the change of the body movement times and the actual awakening time, namely a current prediction rule, based on the change of the body movement times and the actual awakening time data in the previous sleep cycle, predicting the awakening time of the sleep cycle by combining the change of the body movement times of the sleep cycle (the current day) based on the current prediction rule, establishing the incidence relation between the personal body movement times and the sleep stages of a user according to the unique personal sleep data and the body movement data of the user, and further predicting the awakening time so as to adjust environmental parameters in advance later and realize the guidance of the sleep rhythm of the user.
Optionally, the adjusting an environmental parameter according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameter includes a temperature parameter, an audio parameter, and a fragrance parameter, and includes:
and starting to adjust the environmental parameters before the preset duration of the sleep stage switching time, or starting to adjust the environmental parameters at the sleep stage switching time.
By starting to adjust the environment parameters before the preset duration of the sleep stage switching time, the environment can be adjusted to the state corresponding to the sleep stage to be entered before the sleep stage to be entered is really entered, and then the user is guided to enter the sleep stage to be entered. By starting to adjust the environmental parameters at the sleep stage switching time, the environmental parameters can be immediately adjusted after the user switches the sleep stage to be suitable for the current sleep stage.
Optionally, when the sleep stage to be entered is an awake stage, the starting to adjust the environmental parameter before the preset duration of the sleep stage switching time includes:
and before the preset duration of the sleep stage switching time, gradually reducing the room temperature to a first preset temperature, gradually increasing the audio volume to a first preset volume, and releasing a preset first type of fragrance.
The starting time of each environment type control is set before the preset duration of the sleep stage switching time, so that the control of each environment type can be started when the user is about to wake up but not wake up, the waking of the human body is promoted, the waking rhythm of the human body is guided and promoted, and the hysteresis of the environment control is avoided.
Optionally, the gradually decreasing the room temperature to the first preset temperature comprises:
acquiring the current actual indoor temperature, and calculating the temperature difference between the current actual indoor temperature and the first preset temperature;
calculating the ratio of a preset duration to the temperature difference, and determining the interval time and the adjustment amplitude for adjusting the indoor temperature based on the ratio;
and reducing the indoor temperature to a first preset temperature by the interval time and the adjustment amplitude.
The temperature adjustment amplitude and the interval time are determined based on the preset time length, the difference value between the current actual temperature and the first preset temperature, the indoor temperature can be uniformly adjusted to the target value, the speed is high, the discomfort of a user caused by temperature mutation is avoided, the indoor temperature can be adjusted to the full before the user wakes up, and the temperature is guaranteed to play a role in promoting the waking of the user.
Optionally, the determining the sleep stage to be entered includes, before acquiring the body movement information of the user:
and when a sleep mode starting instruction is received, controlling the air conditioner to enter a sleep mode, setting the current sleep stage of the user as a preparation sleep stage, and adjusting environmental parameters to be adaptive to the preparation sleep stage.
The air conditioner is controlled to switch between the sleep mode and the non-sleep mode by the sleep mode starting instruction, so that the air conditioner can be ensured to enter the sleep mode under the manual control or the timing control of a user, and the corresponding sleep control is carried out at a proper time.
Optionally, said adjusting environmental parameters to be appropriate for said preparation for sleep stage comprises:
lowering the room temperature to a second predetermined temperature, generating a sound of a predetermined frequency band, and releasing a predetermined second type of fragrance.
The body temperature of a human body is reduced by reducing the room temperature, and the sound environment and the aromatic environment are adjusted at the same time, so that the surrounding environment becomes an environment suitable for sleeping, and a user is promoted to fall asleep as soon as possible.
Optionally, the preset frequency band comprises at least one of 4096Hz, 4160Hz, and 4225Hz.
The user is promoted to fall asleep by generating sounds in a frequency band having a calming effect on the human body.
Optionally, when the sleep stage to be entered is a sound sleep stage, the determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered includes:
acquiring the number of body movements in the latest preset time period from the body movement information of the user;
judging whether the number of body movements in the latest preset time period is less than a preset number;
if yes, determining the current time as the switching time from the preparation sleep stage to the sound sleep stage.
The time of the user entering the deep sleep stage is determined according to the number of body movement times in the latest preset time period, the time of entering the deep sleep stage is judged according to the real-time body movement data, the accuracy of opportunity judgment can be ensured, and the sleeping surrounding environment of the user is controlled in real time, so that the surrounding environment is adjusted to be adaptive to the deep sleep stage.
Optionally, when the sleep stage to be entered is a sound sleep stage, the adjusting an environmental parameter according to the sleep stage to be entered and the sleep stage switching time includes:
and before the sleep stage switching time or the preset duration of the sleep stage switching time, raising the room temperature to a third preset temperature, muting and stopping releasing the aroma.
When the user is determined to enter the sound sleep stage, the surrounding environment is adjusted to be adaptive to the sound sleep stage, so that the user is kept in the sound sleep stage under the environment, the user is prevented from waking up or slightly sleeping due to inappropriate environment, and the user is ensured to have better sleep quality.
The present invention also provides a sleep control device of an air conditioner, including:
the acquisition unit is used for determining a sleep stage to be entered and acquiring the body movement information of the user;
a computing unit for determining sleep stage switching time based on the user movement information and/or the sleep stage to be entered;
and the control unit is used for adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and a fragrance parameter.
The invention also provides an air conditioner, which comprises a computer readable storage medium and a processor, wherein the computer readable storage medium is used for storing a computer program, and the computer program is read by the processor and runs to realize the sleep control method of the air conditioner.
Optionally, the air conditioner further comprises: sound devices and fragrance devices.
The present invention also provides a computer-readable storage medium storing a computer program, which when read and executed by a processor, implements the sleep control method of an air conditioner as described above.
Drawings
FIG. 1 is a schematic diagram of a sleep control method for an air conditioner according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a sleep control method of an air conditioner according to an embodiment of the present invention, in which step S30 is detailed;
FIG. 3 is a schematic diagram of another embodiment of a sleep control method for an air conditioner according to the present invention;
FIG. 4 is a schematic diagram of another embodiment of the sleep control method of an air conditioner according to the present invention, after step S30 is detailed;
FIG. 5 is a schematic view of a sleep control apparatus of an air conditioner according to an embodiment of the present invention;
fig. 6 is a schematic view of an air conditioner according to an embodiment of the present invention.
Description of the reference numerals:
101-acquisition unit, 102-calculation unit, 103-control unit, 201-computer-readable storage medium, 202-processor.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
The invention provides a sleep control method of an air conditioner. Fig. 1 is a schematic diagram of an embodiment of a sleep control method of an air conditioner according to the present invention. As shown in fig. 1, the sleep control method of the air conditioner includes:
step S20, determining a sleep stage to be entered, and acquiring body movement information of a user;
the method comprises the steps that a user starts to prepare to fall asleep in the evening and wakes up in the morning of the next day to serve as a sleep cycle, and the user sequentially goes through a preparation falling sleep stage, a deep sleep stage and an awakening stage in one sleep cycle. When the current sleep stage of the user is a preparation sleep stage, the sleep stage to be entered is a sound sleep stage, and when the current sleep stage is the sound sleep stage, the sleep stage to be entered is an awakening stage. In this embodiment, the wake-up phase is the last phase of a sleep cycle, after which there are no sleep phases to enter.
The air conditioner may preset a context between the sleep stages, that is, the sleep stage to be entered is a deep sleep stage when the current sleep stage of the user is a stage ready to fall asleep, and the sleep stage to be entered is an awake stage when the current sleep stage is a deep sleep stage, which may be set in a list form. Optionally, the current sleep stage of the user is determined, a preset list is queried, and the sleep stage to be entered is determined according to the current sleep stage. In this embodiment, the current sleep stage where the user is located may be a ready-to-fall-asleep stage or a deep-sleep stage, and the preset list stores sleep stages to be entered, i.e., a deep-sleep stage and an awake stage, which correspond to the ready-to-fall-asleep stage and the deep-sleep stage, respectively.
In an optional embodiment, the air conditioner sets a stage identifier to characterize a current sleep stage where the user is located, and when or after the sleep stage is switched, the stage identifier may be updated according to a context between sleep stages preset in the air conditioner, for example, the stage identifier of the air conditioner indicates a stage ready to fall asleep, which indicates that the current sleep stage where the user is located is the stage ready to fall asleep, and after the sleep stage switch is detected, the stage identifier is changed to a corresponding identifier of the stage ready to fall asleep. By acquiring the stage identifier, the sleep stage represented by the stage identifier is identified, and the sleep stage represented by the stage identifier is the current sleep stage.
The preparation falling asleep stage is the initial stage of the sleep cycle, and whether the preparation falling asleep stage is entered can be determined by judging whether a relevant instruction sent by a user is received (entering the preparation falling asleep stage or entering a sleep control mode). After receiving a relevant instruction sent by a user, the air conditioner judges that the user enters a sleep preparation stage, the current sleep stage is the sleep preparation stage, and the air conditioner performs environment control corresponding to the sleep preparation stage. Optionally, the user position, the user posture and the body movement frequency can also be detected by the air conditioner to judge whether the user enters the preparation sleeping stage or the air conditioner enters the sleep control mode. When the user position is detected to be in bed, the user posture is the lying posture, and the body movement frequency is lower than the body movement frequency of the preset normal activity, the user is judged to enter a preparation sleep stage or the air conditioner enters a sleep control mode.
After determining to enter the preparation-to-fall-asleep phase, the phase identification may be set to the preparation-to-fall-asleep phase. Optionally, the stage identifier may also be defined to represent a sleep stage to be entered by the user, after determining to enter the sleep-ready stage, according to a pre-set context between sleep stages, determining the sleep stage to be entered, i.e. a deep sleep stage, setting the stage identifier as the deep sleep stage, and at the sleep stage switching time determined by the air conditioner, updating the stage identifier to a next sleep stage of the deep sleep stage: a wake-up phase.
The waking stage is the last stage of a sleep cycle, so that after the air conditioner completes the adjustment of the environmental parameters corresponding to the waking stage, the environmental parameter control of the sleep cycle is completed.
And the air conditioner controls corresponding environmental parameters according to each sleep stage.
Optionally, the control mode of the air conditioner is divided into a sleep mode and a non-sleep mode, and in the sleep mode, the air conditioner automatically controls the corresponding environmental parameters according to each sleep stage. After completing the environmental parameter control of a sleep cycle, the air conditioner can maintain the environmental control corresponding to the awakening stage, and after waiting for the user to close the air conditioner or close the sleep mode, the normal control of the air conditioner is recovered, and the sleep mode can also be automatically stopped to recover the normal control of the air conditioner.
The user body movement information is obtained, the user body movement can be detected in real time, and whether the user body movement occurs or not can be detected through an infrared sensor or a microwave sensor and the like.
After detecting the body movement of the user, adding a body movement record to represent the occurrence of the body movement, wherein the form of the body movement record may be body movement occurrence time, if the body movement occurs in 1.
Based on the body movement record, user body movement information may be formed. The user body movement information may include the number of body movements within a preset time period, the preset time period may be a fixed time period, such as 0. The user movement information may further include a duration corresponding to the number of fixed movements, for example, a duration corresponding to 4 movements, a duration corresponding to 6 movements, and the like.
Step S30, determining sleep stage switching time based on the user body movement information and/or the sleep stage to be entered;
the sleep stage switching time, i.e. the timing at which the user switches between different sleep stages, includes the timing at which the user switches from the preparation-to-sleep stage to the sound-sleep stage, and the timing at which the user switches from the sound-sleep stage to the wake-up stage.
In one embodiment, the sleep stage switching time is determined based on user movement information. Specifically, two implementations may be included: 1. determining a sleep stage switching time based on a user body movement frequency over a period of time. The body movement frequency of the user is different under different sleep stages. The greater the user body movement frequency, the closer the user is to the waking stage or the stage of preparing to fall asleep, and the smaller the user body movement frequency, the closer the user is to the stage of falling asleep. Therefore, a frequency threshold value can be preset, when the body movement frequency of the user is greater than the frequency threshold value, the user is in an awakening stage or a sleep stage preparation, when the body movement frequency of the user is less than or equal to the frequency threshold value, the user is in a sound sleep stage, and the sleep stage switching time can be determined by judging the critical point of the body movement frequency change of the user and the front-back relation between the sleep stages. 2. And predicting when the user is in the sleep stage switching time based on the change trend of the body movement times of the user in a period of time.
In one embodiment, sleep stage switching times are determined based on the sleep stage to be entered. Specifically, sleep stage switching times corresponding to the respective sleep stages may be preset. For example, the sleep stage switching time from the preparation for sleep stage to the deep sleep stage is after a first duration (e.g., 30 min) of entering the preparation for sleep stage, and after a second duration (e.g., 7 h) of entering the preparation for sleep stage from the deep sleep stage to the wake stage; for another example, the sleep stage switching time from the preparation for falling asleep stage to the deep sleep stage is a preset first time (e.g., 0. The sleep stage switching time corresponding to each sleep stage can be set by the user, for example, if the user wants the air conditioner to perform a wake-up function similar to an alarm, the user can set the desired wake-up time as the sleep stage switching time from the sound sleep stage to the wake-up stage. The sleep stage switching time corresponding to each sleep stage can also be set by default by the system.
In another embodiment, the sleep stage switching time is determined based on the user movement information and the sleep stage to be entered. Specifically, the sleep stage switching time judging modes corresponding to the sound sleep stage and the waking stage are different, when the sleep stage switching time is determined, the sleep stage switching time judging mode is determined based on the stage type (sound sleep stage or waking stage) of the sleep stage to be entered, and then the sleep stage switching time entering the sleep stage to be entered is judged according to the user movement information. Optionally, the sleep stage switching time for entering the deep sleep stage is determined based on the body movement frequency of the user within a period of time, and the sleep stage switching time for entering the wake-up stage is predicted based on the body movement frequency variation trend of the user within a period of time.
And S40, adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and a fragrance parameter.
Specifically, it is determined when and how to adjust the environmental parameters based on the sleep stage to be entered, which determines a specific adjustment operation of the environmental parameters, and the sleep stage switching time, which determines the time of the adjustment of the environmental parameters.
The comfortable aromatic environment can relieve nerves, give users a good mental experience, and relax the physiology and the psychology of the users. The air conditioner can release corresponding fragrance with special effect according to the sleep stage of the user, such as fragrance with calming effect on the human body before sleep and fragrance with refreshing effect on the human body before the user wakes up. The air conditioner releases the aromatic into the indoor air, the temperature near the aromatic outlet has obvious effect on the diffusion speed of the aromatic, the higher the temperature is, the faster the diffusion speed of the aromatic is, and the aromatic concentration is stronger under the same release time. Therefore, the air conditioner can adjust the fragrance release rate or concentration by adjusting the temperature near the fragrance outlet.
The sleep stage where the user is located and the switching time of the sleep stage of the user are identified through the sleep stage to be entered and/or the body movement information of the user, namely the sleep state of the user is identified through the data of the user, so that the accurate environmental parameter adjusting time is determined, the air conditioner is ensured to adjust the environmental parameters at the proper time, the adverse effect on the sleep of the user is avoided, the sleep or wakefulness of the user is invisibly promoted, and the good user experience is ensured.
The air conditioner can enter the sleep mode at the time set by the user or the default time of the system, or execute the corresponding program of the sleep control method of the air conditioner when receiving the instruction sent by the user to enter the sleep mode, so as to realize the embodiment of the sleep control method of the air conditioner.
Optionally, as shown in fig. 2, when the sleep stage to be entered is an awake stage, step S30 includes:
step S300, obtaining the variation trend of the body movement times of the current day from the body movement information of the user;
the "current day" in this embodiment refers to a sleep cycle in which the air conditioner is currently controlled, for example, when the air conditioner enters a sleep mode from 00am at 8/1/0 in 2020 and 00am is actually awake at 8/1/8 in 2020, then 00am is a sleep cycle from 00 to 00 in 8/1/0 in 2020, and the time for executing the corresponding program in this embodiment is from 5 to 00am at 8/1/2020, then "current day" in this embodiment refers to 00am at 8/1/0 in 2020. In a sleep cycle, the times of physical movement are counted every preset time interval, for example, every 1 hour, the times of physical movement within the 1 hour are counted. The user body movement information includes the recorded body movement times in each preset time length in one sleep cycle, if the current time is 5. In this embodiment, the variation trend of the number of body movements may be expressed as: the body motion times in a plurality of time periods in one sleep cycle, which are recorded in chronological order, are, in the above example, 0.
Optionally, when the sleep stage to be entered is determined to be the wake stage, that is, the step S300 and the subsequent steps are executed, or after a certain duration, for example, 3 hours or 4 hours, when the sleep stage to be entered is determined to be the wake stage, the steps S300 to S302 are executed, so as to increase the data samples and improve the prediction accuracy. Optionally, it may also be determined when to predict the wake-up time according to historical data recorded before the current day, that is, when to perform steps S300-S302, specifically, an average value of actual wake-up times of preset days (e.g., 10 days and 20 days) before the current day may be calculated, and steps S300-S302 are performed before a certain duration of the average value, in an embodiment, the environmental parameter is adjusted before the preset duration of the sleep stage switching time, so that a "certain duration" in front of the certain duration of the average value is longer than the preset duration, and if the preset duration is 10 minutes, the certain duration is definitely longer than 10 minutes.
Step S301, obtaining a current prediction rule, wherein the current prediction rule is determined based on the change data of the times of physical movement recorded every day before the current day and the actual awakening time;
step S302, based on the variation trend of the times of physical movement on the current day and the current prediction rule, predicting the switching time from the current sleep stage to the wake-up stage.
The current prediction rule is determined based on historical data recorded in a sleep cycle prior to the current sleep cycle (i.e., the current day). Recording the change of the times of physical activity and the actual awakening time every day, establishing an association relation between the change of the times of physical activity and the awakening time based on the change of the times of physical activity and the actual awakening time every day, and obtaining a prediction rule which is the association relation between the change of the times of physical activity and the awakening time. And when the wake-up time is predicted on the same day, predicting the wake-up time on the same day according to the change of the movement times of the day and the incidence relation.
In an embodiment, in an initial state, the air conditioner does not collect user data yet, an initial prediction rule and statistical data are preset in the air conditioner, when a user uses the air conditioner for sleep control for the first time as shown in this embodiment, the air conditioner predicts the switching time from the current sleep stage to the wake-up stage (namely, wake-up time) based on the initial prediction rule and statistical data to obtain predicted wake-up time, meanwhile, the air conditioner also detects actual wake-up time, adjusts the prediction rule based on the difference between the predicted wake-up time and the actual wake-up time, adapts the adjusted prediction rule to the prediction of the wake-up time later, and repeats the step of adjusting the prediction rule based on the difference between the predicted wake-up time and the actual wake-up time after the daily predicted wake-up time and actual wake-up time are obtained in daily use, and as the use time goes on, the association between the prediction rule and the user is strengthened, and the prediction of the wake-up time based on the prediction rule is more accurate.
In an optional embodiment, the current prediction rule is expressed as an AI model with a learning function, and the change data of the number of physical activity times, the actual wake-up time and the predicted wake-up time recorded every day before the day are used as a training sample and a test sample of the AI model to train the AI model, so that the parameter optimization of the AI model is realized. The method specifically comprises the steps that model parameters are reversely calibrated by utilizing a loss function of an AI model based on a difference value between daily actual wake-up time and predicted wake-up time, along with the increase of the service time of the air conditioner, the number of times of physical activity changes and data related to the wake-up time are more and more, the parameters of the AI model are more and more accurate, and the output result of the AI model is more and more accurate. The prediction of the time of day's wake-up includes: and inputting the variation trend of the times of physical activity of the day into a preset AI model, and taking the output result of the AI model as the predicted wake-up time. The AI model has no information related to the change of the times of physical activity and the awakening time in the initial state, the model parameters are initial parameters which are default by the system, and as the service time of the air conditioner increases, the data related to the change of the times of physical activity and the awakening time collected by the air conditioner is more and more, and the prediction result of the AI model is more accurate.
The method comprises the steps of determining the latest incidence relation between the change of the body movement times and the actual awakening time, namely a current prediction rule, based on the change of the body movement times and the actual awakening time data in the previous sleep cycle, predicting the awakening time of the sleep cycle by combining the change of the body movement times of the sleep cycle (the current day) based on the current prediction rule, establishing the incidence relation between the personal body movement times and the sleep stages of a user according to the unique personal sleep data and the body movement data of the user, predicting the awakening time, adjusting the environmental parameters in advance in the subsequent period, and guiding the sleep rhythm of the user.
Optionally, step S40 includes:
step S400, beginning to adjust the environmental parameters before the preset duration of the sleep stage switching time, or step S410, beginning to adjust the environmental parameters at the sleep stage switching time.
And starting to adjust the environmental parameters before the preset duration of the sleep stage switching time, wherein the preset duration can be set by a user or can be set by default by a system. The corresponding preset time lengths of different environmental parameters can be different.
By starting to adjust the environmental parameters before the preset duration of the sleep stage switching time, the environment can be adjusted to the state corresponding to the sleep stage to be entered before the sleep stage to be entered is really entered, and then the user is guided to enter the sleep stage to be entered.
By starting to adjust the environmental parameters at the sleep stage switching time, the environmental parameters can be immediately adjusted after the user switches the sleep stage to be suitable for the current sleep stage.
Optionally, when the sleep stage to be entered is an awake stage, the step S400 includes:
and before the preset duration of the sleep stage switching time, gradually reducing the room temperature to a first preset temperature, gradually increasing the audio volume to a first preset volume, and releasing a preset first type of fragrance.
Before the user enters the awakening stage, the sleep stage switching time corresponding to the awakening stage can be determined, and before the user actually enters the awakening stage, the environment parameters can be adjusted to the state of promoting the awakening of the user, so that the user can be awakened more quickly. For adjusting the room temperature, the temperature is reduced according to the predicted awakening time to reach the comfortable temperature during awakening, because the body temperature of the human body is lower than the body temperature during activity when the human body sleeps, the indoor temperature is increased during the sleepy stage, and the body temperature is increased after the human body wakes up, the indoor temperature can be properly reduced, so that the indoor temperature is more comfortable. The sound volume of the surrounding environment has great influence on the sleep of the user, and when the sound volume is large, the effect of waking up the user can be achieved. The first type of fragrance is one that promotes human alertness, such as a jasmine fragrance. Alternatively, the rate of fragrance release may be varied gradually from slow to fast.
The parameter adjustment start times may be the same or different for the three environment types, such as room temperature, audio volume, and fragrance.
And when the preset time length is the same as the preset time length, adjusting parameters of all environment types and releasing the preset first type of fragrance are started before the sleep stage switching time, wherein the preset time length can be set by a user or can be set by default by a system. For example, the sleep stage switching time is 7.
When the environmental types are different, the corresponding advanced control duration, that is, the preset duration in this embodiment, may be set for the user, or may be set by default for the system. Alternatively, the fragrance environment and the room temperature may change at a slower speed, the parameter adjustment may start at an earlier time, the sound environment may change at a faster speed, and the parameter adjustment may start at a later time, for example, the sleep stage switching time is 7 00, the preset time period corresponding to the fragrance environment is 10 minutes, the preset time period corresponding to the room temperature environment is 8 minutes, and the preset time period corresponding to the sound environment is 5 minutes, that is, the parameter adjustment start times of the fragrance environment, the room temperature environment, and the sound environment are respectively 6.
And controlling the parameters corresponding to the environment types to gradually change to the target values at the parameter adjustment starting time corresponding to the environment types. The target value of the room temperature is a first preset temperature, and the target value of the audio volume is a first preset volume. The first preset temperature and the first preset volume may be set by a user or may be set by default by the system.
For the adjustment of the room temperature, the temperature may be decreased every set time, for example, every 2 minutes by 1 ℃, wherein the fixed time and the decreased temperature of the interval may be set by default or by a user.
Optionally, the gradually decreasing the room temperature to the first preset temperature includes:
acquiring the current actual indoor temperature, and calculating the temperature difference between the current actual indoor temperature and the first preset temperature; calculating the ratio of a preset duration to the temperature difference, and determining the interval time and the adjustment amplitude for adjusting the indoor temperature based on the ratio; and reducing the indoor temperature to a first preset temperature by the interval time and the adjustment amplitude.
The room temperature decrease rate (i.e., the interval time and the temperature decrease range of the temperature decrease) may be determined by calculating and dividing a quotient obtained by dividing a preset time corresponding to the room temperature by the temperature difference, for example, the preset time is 10 minutes, and the difference is 3 ℃, so that the room temperature decrease rate may be decreased by 1 ℃ every 3 minutes.
The temperature adjustment amplitude and the interval time are determined based on the preset time length, the difference value between the current actual temperature and the first preset temperature, the indoor temperature can be uniformly adjusted to the target value, the speed is high, the discomfort of a user caused by temperature mutation is avoided, the indoor temperature can be adjusted to the full before the user wakes up, and the temperature is guaranteed to play a role in promoting the waking of the user.
For the adjustment of the audio volume, a certain volume can be increased at intervals of set time until the volume is increased to the first preset volume, wherein the interval of set time can be set by a default of the system or can be set by a user.
Optionally, the gradually increasing the audio volume to a first preset volume comprises: acquiring the current actual audio volume, and calculating the volume difference between the current actual audio volume and the first preset volume; calculating the ratio of the preset duration to the volume difference, and determining the interval time and the adjustment amplitude of the volume adjustment based on the ratio; and increasing the audio volume to a first preset volume according to the interval time and the adjustment amplitude.
The setting time of the interval and the volume amplitude (i.e., the adjustment amplitude) that is increased each time can be determined based on the preset time corresponding to the audio volume and the difference between the first preset volume and the current actual volume, and specifically, the interval time of the volume increase and the amplitude (i.e., the adjustment amplitude) that is increased each time can be calculated and determined according to a quotient obtained by dividing the preset time corresponding to the audio volume by the volume difference, for example, the preset time is 10 minutes, and the brightness difference is 20, then 2 brightness values can be increased every 1 minute.
The volume adjustment amplitude and the interval time are determined based on the preset duration and the difference value between the current actual volume and the first preset volume, so that the ambient audio volume can be uniformly adjusted to a target value, the speed is high, the situation that the user is awakened due to sudden volume change is avoided, the situation that the ambient volume is adjusted completely before the user is awakened can be ensured as far as possible, and the promotion effect of the volume on the awakening of the user is ensured.
At the sleep stage switching time, the user may have awakened, and at this time, the adjustment of the parameters of each environment type is started, so that the control of each environment type is too delayed. Therefore, the starting time of each environment type control is set before the preset duration of the sleep stage switching time, so that the control of each environment type can be started when the user is about to wake up but not yet wake up, the waking of the human body is promoted, the waking rhythm of the human body is guided and promoted, and the hysteresis of the environment control is avoided.
Optionally, as shown in fig. 3, step S30 includes, before:
and S10, when a sleep mode starting instruction is received, controlling the air conditioner to enter a sleep mode, setting the current sleep stage of the user as a sleep preparation stage, and adjusting the environmental parameters to be adaptive to the sleep preparation stage.
The air conditioner has a sleep mode and a non-sleep mode, and in the sleep mode, the air conditioner can promote the sleep quality of the user by controlling the sleep environment of the user. The air conditioner can enter the sleep mode after receiving the sleep mode starting instruction.
The sleep mode starting instruction can be sent by a user through an air conditioner remote controller, can also be sent through a button on a panel of the air conditioner, and can also be sent by the user through intelligent equipment. Optionally, the user may also preset a sleep mode start time in the air conditioner, so that the internal timer of the air conditioner automatically counts time, and when the sleep mode start time is reached, the sleep mode start instruction is triggered.
The air conditioner can also judge whether the user is in a sleep preparation stage or not by detecting the body movement information of the user, and if so, a sleep mode starting instruction is generated.
And after receiving the sleep mode starting instruction, the air conditioner is controlled to enter the sleep mode.
After the air conditioner enters the sleep mode, the air conditioner sets the current sleep stage as the preparation sleep stage and adjusts the environment to the state corresponding to the preparation sleep stage, so that the indoor environment is favorable for the user to sleep. Wherein, the air conditioner prestores the corresponding environmental parameters of the preparation falling asleep stage.
The air conditioner is controlled to switch between the sleep mode and the non-sleep mode by the sleep mode starting instruction, so that the air conditioner can be ensured to enter the sleep mode under the manual control or the timing control of a user, and the corresponding sleep control is carried out at a proper time.
Optionally, said adjusting environmental parameters to be appropriate for said preparation for sleep stage comprises:
lowering the room temperature to a second predetermined temperature, generating a sound of a predetermined frequency band, and releasing a predetermined second fragrance.
When a human body falls asleep, the moderate low temperature can reduce the internal temperature of the human body, reduce the metabolism speed of the human body, promote the falling asleep of the human body and be beneficial to sleep. The second preset temperature may be a default setting of the system or may be set by the user.
The preset frequency band is a frequency band with a calming effect on a human body, and the human body is promoted to sleep by generating sound of the preset frequency band. In addition, the volume of the sound of the surrounding environment has a great influence on the sleep of the user, and in the sleeping process, if the volume of the sound of the surrounding environment is great, a certain interference may be caused to the user, and the user may need a long time to successfully fall asleep. Therefore, the sound volume is set to a lower volume.
Optionally, the preset frequency band comprises at least one of 4096Hz, 4160Hz, and 4225Hz.
The second type of fragrance is preset to be a fragrance with calming effect on human body, such as lavender fragrance.
The body temperature of a human body is reduced by reducing the room temperature, and the sound environment and the aromatic environment are adjusted at the same time, so that the surrounding environment becomes an environment suitable for sleeping, and a user is promoted to fall asleep as soon as possible.
Alternatively, as shown in fig. 4, when the sleep stage to be entered is a sound sleep stage, the step S30 includes:
step S310, obtaining the number of body movements in the latest preset time period from the body movement information of the user;
the number of body movements is counted at intervals of a preset time period, for example, at intervals of 15 minutes, which means that the number of body movements within the 15 minutes is counted.
And when the sleep stage to be entered is a sound sleep stage, counting the body movement times at intervals of a preset time period, and judging whether the air conditioner enters the sound sleep stage currently or not based on the body movement times obtained by current counting, namely based on the body movement times obtained in the latest preset time period.
Step S311, judging whether the number of body movements in the latest preset time period is less than a preset number;
the smaller the user's body movement frequency, the more asleep the user sleeps, the more likely it is in a deep sleep stage.
In this embodiment, when the number of body movements of the user in the last preset time period is smaller than the preset number, it is determined that the user has entered the deep sleep stage, and otherwise, it is determined that the user has not entered the deep sleep stage.
In step S312, if yes, the current time is determined as the switching time from the preparation sleep stage to the sound sleep stage.
The current time refers to the current time, the current time is used as the switching time from the sleep preparation stage to the sound sleep stage, and the adjustment operation of the environmental parameters is carried out at the current time.
The time of the user entering the deep sleep stage is determined according to the number of times of body movement in the latest preset time period, the time of entering the deep sleep stage is judged according to the real-time body movement data, the accuracy of opportunity judgment can be ensured, and the ambient environment of the user during sleep is controlled in real time, so that the ambient environment is adjusted to be adaptive to the deep sleep stage.
Optionally, when the sleep stage to be entered is a deep sleep stage, the step S40 includes:
and before the sleep stage switching time or the preset duration of the sleep stage switching time, raising the room temperature to a third preset temperature, muting and stopping releasing the fragrance.
At this time, the user is asleep, and does not need to promote sleep nor waking any more, and therefore, the muting is controlled and the release of fragrance is stopped.
The body temperature during activity is higher than that during sleep, and the body temperature is lower in the deep sleep stage, so that the indoor temperature is slightly increased, and the problem that the user cannot sleep further due to the low body temperature is avoided.
Alternatively, the third preset temperature may be 1-2 ° higher than the preset comfort temperature of the air conditioner, for example, the comfort temperature of a person while moving is 25-26 °, and the third preset temperature may be set to 28 °. The preset comfortable temperature refers to the comfortable temperature of people during activities in the current outdoor environment, the temperature of the people is lower than the temperature of the people during activities when the people are asleep, and the room temperature can be adjusted to be the proper temperature by increasing the indoor temperature by 1-2 degrees, so that the sleep of the user is facilitated. In addition, the more the air conditioner is heated, the more the indoor temperature is brought closer to the preset constant temperature, and the more the air conditioner is power-saving.
When the user is determined to enter the deep sleep stage, the surrounding environment is adjusted to be adaptive to the deep sleep stage, so that the user is kept in the deep sleep stage under the environment, the user is prevented from waking up or sleeping shallowly due to inappropriate environment, and the user is ensured to have better sleep quality.
The control method can be executed after the air conditioner is started or after the sleep mode is started (the sleep mode can be started manually by a user or the air conditioner automatically identifies and starts the sleep mode).
After the air conditioner is started or after the sleep mode of the air conditioner is started, the user body movement information is detected through the microwave sensor, and the sleep stage of the user is judged according to the user body movement information, wherein the sleep stage of the user is divided into three types, namely, when the user falls asleep, and the user wakes up. The stage of sleep-in can be obtained by analyzing the user movement information, and can also be manually started by the user (a sleep mode starting instruction can be provided, and the stage can be more intelligent).
When the user is in the stage of falling asleep at present, controlling the indoor temperature to be reduced, generating sound with a calming effect and releasing fragrance with the calming effect; when the user is in a sound sleep stage, controlling the indoor temperature to rise and mute and stopping releasing fragrance; and predicting the awakening time, and controlling the indoor temperature to gradually decrease, the sound volume to gradually increase and the awakening fragrance to start releasing at a preset time before the predicted awakening time.
The invention also provides a sleep control device of the air conditioner. Fig. 5 is a schematic diagram of an embodiment of the control device. As shown in fig. 5, the control device includes:
the acquisition unit is used for determining a sleep stage to be entered and acquiring body movement information of a user;
a computing unit for determining sleep stage switching time based on the user movement information and/or the sleep stage to be entered;
and the control unit is used for adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and a fragrance parameter.
Optionally, when the sleep stage to be entered is an awake stage, the computing unit is further configured to obtain a movement number variation trend of the current day from the user movement information; acquiring a current prediction rule, wherein the current prediction rule is determined based on the change data of the number of body movements recorded every day before the current day and the actual wake-up time; and predicting the switching time from the current sleep stage to the wake-up stage based on the body movement frequency variation trend of the current day and the current prediction rule.
Optionally, the control unit is further configured to start adjusting the environmental parameter before a preset duration of the sleep stage switching time, or start adjusting the environmental parameter at the sleep stage switching time.
Optionally, when the sleep stage to be entered is an awake stage, the control unit is further configured to gradually decrease the room temperature to a first preset temperature, gradually increase the audio volume to a first preset volume, and release a preset first type of fragrance before a preset duration of the sleep stage switching time.
Optionally, the control unit is further configured to, when performing the gradual decrease from the room temperature to a first preset temperature, perform: acquiring the current actual indoor temperature, and calculating the temperature difference between the current actual indoor temperature and the first preset temperature; calculating the ratio of the preset time length to the temperature difference value, and determining the interval time and the adjustment amplitude for adjusting the indoor temperature based on the ratio; and reducing the indoor temperature to a first preset temperature by the interval time and the adjustment amplitude.
Optionally, the control unit is further configured to, before the determining of the sleep stage to be entered and acquiring the body movement information of the user, perform: receiving a sleep mode starting instruction, wherein the sleep mode starting instruction is sent by a user or triggered by a timer of the air conditioner; and controlling the air conditioner to enter a sleep mode, setting the current sleep stage of the user as a sleep preparation stage, and adjusting the environmental parameters to be suitable for the sleep preparation stage.
Optionally, the control unit is further configured to lower the room temperature to a second predetermined temperature, generate a sound in a predetermined frequency band, and release a predetermined second type of fragrance.
Optionally, the preset frequency band comprises at least one of 4096Hz, 4160Hz, and 4225Hz.
Optionally, when the sleep stage to be entered is a sound sleep stage, the computing unit is further configured to obtain the number of body movements within a latest preset time period from the body movement information of the user; judging whether the number of body movements in the latest preset time period is less than a preset number; if yes, determining the current time as the switching time from the preparation sleep stage to the sound sleep stage.
Optionally, when the sleep stage to be entered is a sound sleep stage, the control unit is further configured to increase the room temperature to a third preset temperature, mute, and stop releasing the fragrance before the sleep stage switching time or the preset duration of the sleep stage switching time.
The invention also provides an air conditioner. Fig. 6 is a schematic diagram of an embodiment of the air conditioner, and as shown in fig. 6, the air conditioner includes a computer-readable storage medium 201 storing a computer program and a processor 202, and the computer program is read by the processor 202 and executed to implement the sleep control method of the air conditioner according to the above embodiments.
The air conditioner also comprises a body movement detection device, which can be an infrared sensor or a microwave sensor, the body movement detection device can be arranged on the air conditioner, can also be arranged independently of the air conditioner, and can be in wired or wireless connection communication with the air conditioner. After the body movement detection device detects the body movement of the user, the body movement data of the user is sent to the processor 202 of the air conditioner, the processor 202 of the air conditioner performs corresponding processing on the body movement data of the user, user body movement information is generated, and the user body movement information is stored.
Optionally, the air conditioner further comprises a fragrance device for containing fragrance, and the fragrance device can be arranged inside the air conditioner and communicated with the air duct of the air conditioner, so that the fragrance in the fragrance device and other sleep-assisting substances are brought out of the air conditioner by the air in the air duct of the air conditioner and blown into the room.
The fragrance device may be provided with an opening part which is opened and closed, the opening part is communicated with an air duct of the air conditioner, the opening part of the fragrance device is opened when the fragrance is released, and the opening part of the fragrance device is closed when the release of the fragrance is stopped. The fragrance storage device is internally provided with various fragrances, and different fragrances can have different effects, such as jasmine fragrance for promoting the sobering of a human body, lavender fragrance for calming the human body and the like.
Optionally, the air conditioner further comprises a speaker for generating a voice signal, and an equalizer for adjusting a frequency characteristic of the voice signal generated by the speaker, which may be used to emphasize a specific frequency band having a calming effect on a human body, such as 4096Hz, 4160Hz, 4225Hz.
The present invention also provides a computer-readable storage medium, which stores a computer program, and when the computer program is read and executed by a processor, the computer program implements the sleep control method of the air conditioner according to the above embodiments. Those skilled in the art will appreciate that all or part of the steps in the method according to the above embodiments may be implemented by hardware related to instructions of a program, and the program may be stored in the computer readable storage medium.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.

Claims (11)

1. A sleep control method of an air conditioner is characterized by comprising the following steps:
determining a sleep stage to be entered, and acquiring body movement information of a user;
determining sleep stage switching time based on the user body movement information and/or the sleep stage to be entered;
when the sleep stage to be entered is an awake stage, the determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered includes:
acquiring the body movement frequency variation trend of the current day from the user body movement information, and acquiring a current prediction rule, wherein the current prediction rule is determined based on the body movement frequency variation data recorded every day before the current day and the actual awakening time;
predicting the switching time from the current sleep stage to the awakening stage based on the body movement frequency variation trend of the current day and the current prediction rule;
and adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and an aroma parameter, and when the sleep stage to be entered is an awakening stage, the room temperature is gradually reduced to a first preset temperature, the audio volume is gradually increased to a first preset volume and a preset first type of aroma is released before the preset time of the sleep stage switching time.
2. The sleep control method of an air conditioner as claimed in claim 1, wherein the gradually lowering the room temperature to the first preset temperature comprises:
acquiring the current actual indoor temperature, and calculating the temperature difference between the current actual indoor temperature and the first preset temperature;
calculating the ratio of the preset time length to the temperature difference value, and determining the interval time and the adjustment amplitude for adjusting the indoor temperature based on the ratio;
and reducing the indoor temperature to a first preset temperature by the interval time and the adjustment amplitude.
3. The sleep control method of an air conditioner according to claim 1, wherein the determining a sleep stage to be entered and before acquiring the user movement information comprises:
and when a sleep mode starting instruction is received, controlling the air conditioner to enter a sleep mode, setting the current sleep stage where the user is positioned as a sleep preparation stage, and adjusting the environmental parameters to be adaptive to the sleep preparation stage.
4. The sleep control method of an air conditioner according to claim 3, wherein the adjusting the environmental parameter to be suitable for the sleep preparation stage includes:
lowering the room temperature to a second predetermined temperature, generating a sound of a predetermined frequency band, and releasing a predetermined second fragrance.
5. The sleep control method of an air conditioner according to claim 4, wherein the preset frequency band includes at least one of 4096Hz, 4160Hz, and 4225Hz.
6. The sleep control method of an air conditioner as claimed in claim 1, wherein the determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered when the sleep stage to be entered is a deep sleep stage comprises:
acquiring the number of body movements in the latest preset time period from the body movement information of the user;
judging whether the number of body movements in the latest preset time period is less than a preset number;
if so, determining the current time as the switching time from the preparation sleep stage to the sound sleep stage.
7. The sleep control method of an air conditioner as set forth in claim 1, wherein when the sleep stage to be entered is a deep sleep stage, the adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time includes:
and before the sleep stage switching time or the preset duration of the sleep stage switching time, raising the room temperature to a third preset temperature, muting and stopping releasing the fragrance.
8. A sleep control apparatus of an air conditioner, comprising:
an acquisition unit (101) for determining a sleep stage to be entered and acquiring user movement information;
a calculation unit (102) for determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered;
when the sleep stage to be entered is an awake stage, the determining a sleep stage switching time based on the user movement information and/or the sleep stage to be entered includes:
acquiring the body movement frequency variation trend of the current day from the user body movement information, and acquiring a current prediction rule, wherein the current prediction rule is determined based on the body movement frequency variation data recorded every day before the current day and the actual awakening time;
predicting the switching time from the current sleep stage to the awakening stage based on the change trend of the number of body movement times of the current day and the current prediction rule;
and the control unit (103) is used for adjusting environmental parameters according to the sleep stage to be entered and the sleep stage switching time, wherein the environmental parameters comprise a temperature parameter, an audio parameter and an aroma parameter, and when the sleep stage to be entered is an awakening stage, the room temperature is gradually reduced to a first preset temperature, the audio volume is gradually increased to a first preset volume and a preset first type of aroma is released before the preset duration of the sleep stage switching time.
9. An air conditioner, characterized by comprising a computer-readable storage medium (201) storing a computer program and a processor (202), the computer program being read and executed by the processor (202) to implement the sleep control method of the air conditioner according to any one of claims 1 to 7.
10. The air conditioner according to claim 9, further comprising: sound devices and fragrance devices.
11. A computer-readable storage medium, characterized in that it stores a computer program which, when read and executed by a processor, implements a sleep control method of an air conditioner according to any one of claims 1 to 7.
CN202010346571.6A 2020-04-27 2020-04-27 Sleep control method and device of air conditioner, air conditioner and storage medium Active CN113639380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010346571.6A CN113639380B (en) 2020-04-27 2020-04-27 Sleep control method and device of air conditioner, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010346571.6A CN113639380B (en) 2020-04-27 2020-04-27 Sleep control method and device of air conditioner, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN113639380A CN113639380A (en) 2021-11-12
CN113639380B true CN113639380B (en) 2023-04-07

Family

ID=78415203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010346571.6A Active CN113639380B (en) 2020-04-27 2020-04-27 Sleep control method and device of air conditioner, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN113639380B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114484814B (en) * 2022-01-04 2024-08-16 青岛海尔空调器有限总公司 Method and device for controlling air conditioner voice, air conditioner and storage medium
CN114704930B (en) * 2022-03-31 2023-09-22 珠海格力电器股份有限公司 Control method of air conditioner and air conditioner

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678294A (en) * 2017-11-06 2018-02-09 钟永松 A kind of smart home sleep environment control system
CN110193127A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of music assisting sleep

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678294A (en) * 2017-11-06 2018-02-09 钟永松 A kind of smart home sleep environment control system
CN110193127A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of music assisting sleep

Also Published As

Publication number Publication date
CN113639380A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN109386940B (en) Device and method for improving sleep comfort degree and air conditioner
CN109506342B (en) air conditioner control method and device and air conditioner
US20210225488A1 (en) Optimal Sleep Phase Selection System
EP3316765B1 (en) Sleep monitoring
CN107743289B (en) Intelligent sound box control method in intelligent household scene
CN104748303B (en) Air-conditioner control method, device and system based on wearable device
CN104848473B (en) Air-conditioner control method, device and system based on wearable device
CN113639380B (en) Sleep control method and device of air conditioner, air conditioner and storage medium
CN103673196A (en) Air conditioner and control method thereof
CN103673194A (en) Air conditioner and control method thereof
CN114151912A (en) Air conditioner control method and device and air conditioner
CN105805898A (en) Air conditioner and sound sleep mode control method thereof
CN113710967A (en) Environment control system and environment control method
CN103673197A (en) Air conditioner and control method thereof
CN106765971A (en) Air-conditioner control method and device
CN111964224B (en) Air conditioning system control, device and air conditioning system
CN103673195A (en) Air conditioner and control method thereof
CN113639378A (en) Sleep control method and device of air conditioner, air conditioner and storage medium
CN109924948A (en) A kind of intelligent pillow control method and system
CN113641114A (en) Environment control method and system for intelligent getting-up scene
CN113639379A (en) Sleep control method and device of air conditioner, air conditioner and storage medium
CN113639376B (en) Sleep control method and device of air conditioner, air conditioner and storage medium
CN113883669A (en) Sleep-assisting control method and device for air conditioner, electronic equipment and storage medium
CN113639377B (en) Sleep control method and device for air conditioner, air conditioner and storage medium
CN202734166U (en) Air conditioner

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