WO2023159958A1 - Wake-up method of smart home system, wake-up apparatus, and smart home system - Google Patents

Wake-up method of smart home system, wake-up apparatus, and smart home system Download PDF

Info

Publication number
WO2023159958A1
WO2023159958A1 PCT/CN2022/122828 CN2022122828W WO2023159958A1 WO 2023159958 A1 WO2023159958 A1 WO 2023159958A1 CN 2022122828 W CN2022122828 W CN 2022122828W WO 2023159958 A1 WO2023159958 A1 WO 2023159958A1
Authority
WO
WIPO (PCT)
Prior art keywords
temperature
duration
sound
wake
frequency
Prior art date
Application number
PCT/CN2022/122828
Other languages
French (fr)
Chinese (zh)
Inventor
于佳鑫
陈会敏
Original Assignee
青岛海尔空调器有限总公司
青岛海尔空调电子有限公司
海尔智家股份有限公司
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 青岛海尔空调器有限总公司, 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调器有限总公司
Publication of WO2023159958A1 publication Critical patent/WO2023159958A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/372Analysis of electroencephalograms
    • A61B5/374Detecting the frequency distribution of signals, e.g. detecting delta, theta, alpha, beta or gamma waves
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of smart home, for example, it relates to a method for waking up a smart home system, a device for waking up and a smart home system.
  • the air conditioner in the smart home system can be used to create a temperature suitable for sleep
  • the fresh air fan in the smart home system can be used to create the air freshness required for sleep
  • white noise can be used to block other noises during sleep.
  • a comfortable wake-up experience can also enable users to face the high-intensity and high-stress work or study of the day with a better attitude.
  • most of the current wake-up methods are awakened by an alarm, which easily wakes up the user during sleep, and easily causes the user to have negative emotions.
  • some existing technologies create a comfortable wake-up environment by adjusting indoor temperature, air freshness, etc., in anticipation of bringing a good wake-up experience to the user.
  • Adjusting the indoor temperature, alarm, etc. to wake up the user is to stimulate the user through the change of the external environment, which will easily cause the user to be woken up under the stress response, and the user's wake-up experience is poor.
  • Embodiments of the present application provide a method for waking up a smart home system, a waking device, and a smart home system, so as to improve a user's waking experience.
  • the wake-up method of the smart home system includes: obtaining the set wake-up time; at the first moment before the set wake-up time, continuously playing the first sound of the first duration; After completion, detect the first user state; if the first user state indicates that the user is not awakened, then continue to play the second sound for the second duration, and adjust the indoor temperature from the first temperature to the second sound within the second duration.
  • the first frequency of the first sound corresponds to the light sleep period in the sleep cycle
  • the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle
  • the second duration is longer than The first time length
  • the sum of the first time length and the second time length is less than or equal to the set time length
  • the set time length is the time length between the first moment and the set wake-up time, so The absolute value of the temperature difference between the first temperature and the second temperature is within the set temperature range.
  • the determination of the first frequency includes: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
  • the determination of the second frequency includes: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
  • determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high in the second brainwave frequency range; From the start time to the end time, more than two frequencies from the lowest to the highest are sequentially determined as the second frequency.
  • adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: when determining more than two frequencies ranging from low to high as the second frequency, obtaining the The frequency number of the second frequency; the temperature difference between the first temperature and the second temperature is divided into the same temperature segment as the frequency number; the second duration is divided into the frequency number The same time period; wherein, the time period corresponds to the temperature period one by one; according to each time period and its corresponding temperature period, the temperature change rate of each temperature period is determined; the air conditioner is controlled according to the temperature change rate of all temperature periods , making the temperature change curve of the indoor temperature adjusted from the first temperature to the second temperature follow the temperature change curves of all temperature segments.
  • adjusting the indoor temperature from the first temperature to the second temperature includes: increasing the first temperature to the second temperature, or decreasing the first temperature to the second temperature. Second temperature.
  • the method for waking up the smart home system further includes: detecting a second user state; if the second user state indicates that the user is not awakened, then start the vibration device , and vibrate continuously for the third duration.
  • the wake-up method of the smart home system further includes: detecting a third user state; if the third user state indicates that the user is not awakened, then in the fourth Adjust the playback volume of the third sound from the lowest set value to the highest set value within the duration; Adjust from the highest set value to the lowest set value within the fifth time period.
  • the playing volume of the second sound is greater than the playing volume of the first sound.
  • the wake-up device of the smart home system includes an obtaining module, a first playing module, a first detecting module and a second playing module; the obtaining module is configured to obtain the set wake-up time; the first playing module It is configured to continuously play the first sound of the first duration at the first moment before the set wake-up time; the first detection module is configured to detect the first user status after the first sound is played ; The second playback module is configured to continue playing the second sound for a second duration if the first user status indicates that the user is not awakened, and adjust the indoor temperature by the first temperature within the second duration to the second temperature; wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, and the second duration greater than the first time length, the sum of the first time length and the second time length is less than or equal to the set time length, and the set time length is the time length between the first moment and the set wake-up time, The absolute
  • the smart home system includes the wake-up device for the smart home system provided in the foregoing embodiments.
  • the wake-up method, wake-up device, and smart home system provided in the embodiments of the present application can achieve the following technical effects:
  • the first sound of the first frequency corresponding to the light sleep period is played, so as to assist the user's sleep cycle to switch from the deep sleep period to the light sleep period, and then the second sound of the second frequency corresponding to the falling asleep period is played, which is convenient Assist the user to enter the falling asleep period, and adjust the indoor temperature during the falling asleep period, so that the temperature change will further stimulate the user, so as to prevent the user from further switching back to the light sleep period from the falling asleep period, and help the user to turn from the falling asleep period to the awake state.
  • This method of waking up the user conforms to the switching process of the sleep cycle, makes the process of waking up the user more in line with the natural waking up process, reduces the stress response after the user is woken up, and can provide the user with a better waking up experience.
  • FIG. 1 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of a traditional wake-up device for a smart home provided by an embodiment of the present application
  • Fig. 6 is a schematic diagram of a wake-up device for a smart home system provided by an embodiment of the present application.
  • A/B means: A or B.
  • a and/or B means: A or B, or, A and B, these three relationships.
  • correspondence may refer to an association relationship or a binding relationship, and the correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
  • the stress response includes physiological responses and Psychological reactions, etc.
  • Physiological reactions include sympathetic nerve excitement, increased heart rate, etc.
  • psychological reactions include emotional reactions and self-defense reactions. Among them, psychological reactions are more likely to lead to inability to cope with a day's study, work or life with a better attitude.
  • the wake-up method of the smart home system does not directly wake up the user through the stimulation of the external environment, but assists the user to adjust the sleep state through the stimulation of the external environment, so that the process of waking up the user is more in line with the natural waking process. Reducing the stress response after the user wakes up can provide the user with a better wake-up experience.
  • Fig. 1 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
  • the wake-up method of the smart home system includes:
  • the wake-up time setting refers to the time the user plans to wake up, which can be manually set by the user. For example, if the user manually sets the wake-up time at 6:00 in the morning, then the wake-up time is set at 6:00; it can be set by the smart home system according to the user
  • the set wake-up time determined by the schedule for example, if the user arranges the current travel, the set wake-up time set by the smart home system can be 6:00, 7:00 or 8:00, or the user arranges to report work on the day and set
  • the starting time of the early morning meeting is set, the interval between the set wake-up time set by the smart home system and the starting time of the early morning meeting is greater than or equal to the sum of the washing time and commuting time, or the user arranges a business trip on the same day and sets If the departure time of the train is known, the set wake-up time set by the smart home system is one or two hours earlier than the departure time of the train.
  • the first duration may correspond to a light sleep period in the sleep cycle, for example, the first duration may be 3-15 min, for example, the first duration may be 3 min, 5 min, 10 min or 15 min.
  • the first sound may be a natural sound, such as ocean waves, waterfalls, and the like.
  • the first frequency of the first sound corresponds to the light sleep period in the sleep cycle.
  • the sleep cycle usually includes the period of falling asleep, light sleep, deep sleep, deep sleep and rapid eye movement. During the sleep process of the personnel, they will switch between the above-mentioned periods; in each period of the sleep cycle, the personnel Physical activity, consciousness activity, and brain wave waveforms are all different.
  • the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, which means that the first sound of the first frequency is used to stimulate the user, and the user's sleep cycle is easily switched to the light sleep period; it can be obtained by experiment
  • the corresponding relationship between the first frequency of the first sound and the light sleep period in the sleep cycle, and the corresponding relationship is stored in the database. At the first moment before the set wake-up time, by querying the database, the corresponding relationship with sleep can be obtained.
  • the first frequency corresponding to the light sleep stage in the cycle, and play the first sound at the first frequency.
  • the determination of the first frequency may include: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
  • the first brain wave frequency range corresponding to the light sleep period is 4-7 Hz
  • the first frequency can be any frequency in the first brain wave frequency range, for example, the first frequency can be 4 Hz, 5 Hz, 6 Hz or 7Hz.
  • the first user state is used to represent the sleep state of the user; the wearable device can detect the first user state.
  • the current brain wave of the user can be detected by the brain wave detection device, and the first user state corresponding to the current brain wave can be determined according to the corresponding relationship between the brain wave and the user state. For example, when the frequency of the current brain wave is 0.5-3 Hz, the first user state is determined to be deep sleep or deep sleep; when the frequency of the current brain wave is 4-7 Hz, the first user state is determined to be It is a light sleep period; when the frequency of the current brain wave is 8-13 Hz (for example, 8 Hz, 9 Hz or 10 Hz), it is determined that the user's state is the falling asleep period.
  • the current activity intensity of the user can also be detected by the smart bracelet, and the first user state corresponding to the current activity intensity can be determined according to the corresponding relationship between the activity intensity and the user state. For example, when the current activity intensity belongs to the first activity intensity range, the first user state is determined as a deep sleep period or a deep sleep period; when the current activity intensity belongs to the second activity intensity range, the first user state is determined as is a light sleep period; in the case that the current activity intensity belongs to the third activity intensity range, the first user state is determined as the falling asleep period; wherein, the activity intensity represented by the first activity intensity range is weaker than that indicated by the second activity intensity range The intensity of activity indicated; the intensity of activity indicated by the second range of activity intensity is weaker than the intensity of activity indicated by the third range of activity intensity.
  • the first user status can be obtained.
  • the second frequency of the second sound corresponds to the period of falling asleep in the sleep cycle
  • the second duration is longer than the first duration
  • the sum of the first duration and the second duration is less than or equal to the set duration
  • the preset duration is from the first moment to The time length between the wake-up times is set
  • the absolute value of the temperature difference between the first temperature and the second temperature is within the set temperature range.
  • the second duration corresponds to the falling asleep period in the sleep cycle.
  • the second duration may be 5 minutes to 30 minutes, for example, the second duration may be 5 minutes, 10 minutes, 15 minutes, 20 minutes or 30 minutes.
  • the set duration between the first moment and the set wake-up time may be 20 minutes to 1 hour, for example, the set duration may be 20 minutes, 30 minutes, 40 minutes, 50 minutes or 1 hour.
  • the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, which refers to stimulating the user with the second sound of the second frequency, and the user's sleep cycle is easily switched to the falling asleep period;
  • the corresponding relationship between the second frequency and the falling asleep period in the sleep cycle and store the corresponding relationship in the database. If the first user state indicates that the user is not awakened, by querying the database, obtain the second frequency corresponding to the falling asleep period, and A second sound is played at a second frequency.
  • the determination of the second frequency may include: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
  • the second brain wave frequency range corresponding to the falling asleep period is 8-13 Hz
  • the second frequency can be any frequency in the second brain wave frequency range, for example, the second frequency can be 8 Hz, 9 Hz, 10 Hz, 11 Hz, 12Hz or 13Hz.
  • the second sound and the first sound can be the same type of sound.
  • the second sound is also a natural sound (sea waves, waterfall sounds), and the playback volume of the second sound is greater than that of the first sound.
  • the playing volume of sound can be 45 ⁇ 50 decibels.
  • the set temperature range is used to indicate the stimulation degree of the temperature change to the user.
  • the set temperature range may be [1°C, 1.5°C].
  • the set temperature ranges listed here are only used to illustrate the set temperature ranges, and do not constitute specific limitations on the set temperature ranges. Those skilled in the art can determine the settings that meet the actual situation according to the specific meaning of the set temperature ranges. temperature range.
  • adjusting the indoor temperature from the first temperature to the second temperature includes: raising the first temperature to the second temperature, or lowering the first temperature to the second temperature.
  • the first sound of the first frequency corresponding to the light sleep period is played first, so as to assist the user's sleep cycle to switch from the deep sleep period to the light sleep period, and then Play the second sound of the second frequency corresponding to the falling asleep period, so as to assist the user to enter the falling asleep period, and adjust the indoor temperature during the falling asleep period, so that the temperature change will further stimulate the user, so as to prevent the user from further switching back to the light level from the falling asleep period
  • the sleep period is conducive to turning the user from falling asleep to the awake state.
  • This method of waking up the user conforms to the switching process of the sleep cycle, making the process of waking up the user more in line with the natural waking process, and reducing the user's stress after being woken up. It can provide users with a better wake-up experience.
  • white noise is played during the user's sleep process to shield the noise generated by the external environment during the user's sleep process and improve the user's sleep quality.
  • the second frequency is further described below:
  • determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high within the second brainwave frequency range; from the start moment to the end moment of the second duration, the Two or more frequencies from the lowest to the highest are sequentially determined as the second frequency.
  • the two frequencies from low to high, 8Hz and 9Hz at the beginning of the second duration, determine the lower 8Hz as the second frequency; at the middle moment of the second duration, The higher 9Hz is determined as the second frequency until the end moment of the second duration; wherein, the middle moment of the second duration refers to the moment when the second duration is divided into two equal durations.
  • the second brain wave range determine the three frequencies from low to high, 8Hz, 9Hz, and 10Hz, and at the beginning of the second duration, determine the lowest 8Hz as the second frequency; in 1/3 of the second duration time, the middle value 9Hz is determined as the second frequency; at 2/3 of the second duration, the highest 10Hz is turned on as the second frequency until the end of the second duration; among them, 1/3 of the second duration And at the 2/3 moment, the second duration is divided into three equal durations.
  • the determined second duration is more in line with the process of the user transitioning from the sleeping state to the awake state, thereby improving the user's wake-up experience.
  • the air conditioner adjusts the indoor temperature
  • its adjustment rate is related to the cooling capacity/heating capacity of the air conditioner and the volume of the room.
  • the above-mentioned adjustment of the indoor temperature from the first temperature to the second temperature within the second period of time is by default relative to the room volume.
  • the air conditioner has the cooling/heating capacity to adjust the indoor temperature from the first temperature to the second temperature within the second time period, that is, the time required for the air conditioner to adjust the indoor temperature from the first temperature to the second temperature may be less than or equal to the second Two hours.
  • adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: in the case of determining more than two frequencies ranging from low to high as the second frequency, obtaining the number of frequencies of the second frequency ; Divide the temperature difference between the first temperature and the second temperature into the same temperature segment as the frequency number; divide the second duration into the same time segment as the frequency segment; wherein, the duration segment corresponds to the temperature segment one by one; According to each time segment and its corresponding temperature segment, determine the temperature change rate of each temperature segment; control the air conditioner according to the temperature change rate of all temperature segments, so that the indoor temperature is adjusted from the first temperature to the temperature change of the second temperature The curve follows the temperature change curve of all temperature segments.
  • the second frequency is 8Hz and 9Hz
  • the number of frequencies is 2
  • the second duration is divided into two time periods: from the start moment to the middle moment, from the middle moment to the end moment; from the first temperature to the second
  • the temperature variation difference is divided into two temperature segments: the first temperature to the average value of the first temperature and the second temperature, and the first temperature to the second average value to the second temperature.
  • the second frequency of the second sound is 8Hz
  • the air conditioner adjusts the indoor temperature from the first temperature to the average value of the first temperature and the second temperature (the temperature adjustment time is less than or equal to the initial moment to the middle moment); from the middle moment to the end moment, the second frequency of the second sound is 9Hz, and the air conditioner adjusts the indoor temperature from the average value of the first temperature and the second temperature to the second temperature (the temperature adjustment time is less than or equal to the duration from the middle moment to the end moment).
  • the second frequency of the second sound is 8 Hz
  • the air conditioner adjusts the indoor temperature from the first temperature to the first intermediate temperature (the temperature adjustment time is less than or equal to the initial moment to the first intermediate temperature). time duration); from the first intermediate moment to the second intermediate moment, the second frequency of the second sound is 9Hz, and the air conditioner adjusts the indoor temperature from the first intermediate temperature to the second intermediate temperature (the temperature adjustment duration is less than or equal to the first duration from the middle moment to the second middle moment); from the second middle moment to the end moment, the second frequency of the second sound is 10 Hz, and the air conditioner adjusts the indoor temperature from the second middle temperature to the second temperature (the temperature adjustment duration is less than or equal to The duration from the second intermediate moment to the end moment).
  • the aforementioned starting moment refers to the starting moment of the second duration
  • the aforementioned ending moment refers to the ending moment of the second duration
  • the stimulation of the user by the second frequency of the second sound is combined with the stimulation of the user by the change of the indoor temperature.
  • appropriately increase the stimulation of indoor temperature changes to the user increase the response degree of the user's nerve center to temperature stimulation, and make the larger nerve center response appear in the sleep stage when the user is closer to waking, on the one hand, reduce the user's excessive stress.
  • it can wake up the user relatively smoothly, and finally enable the user to obtain a better wake-up experience.
  • FIG. 2 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
  • the wake-up method of the smart home system includes:
  • the second user state is the same as the first user state, and may represent the sleep state of the user.
  • the detection method of the second user state is similar or the same as the detection method of the first user state, which will not be repeated here.
  • the vibration device here can be a wearable device, such as a smart bracelet.
  • the third duration may be 5-15 minutes, for example, the third duration may be 5 minutes, 10 minutes or 15 minutes.
  • Fig. 3 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
  • the wake-up method of the smart home system includes:
  • the third user state is the same as the first user state, and may represent the sleep state of the user.
  • the detection method of the third user state is similar or the same as the detection method of the first user state, which will not be repeated here.
  • the fourth duration and the fifth duration may be 3 minutes to 10 minutes, for example, the fourth duration or the fifth duration may be 3 minutes, 4 minutes, 5 minutes, 7 minutes or 10 minutes.
  • the fourth duration and the fifth duration may or may not be equal, and no specific limitation is made here.
  • the third sound may be played by the smart terminal, for example, the first sound may be played by an alarm, or may be played by a mobile phone.
  • Fig. 4 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
  • the wake-up method of the smart home system includes:
  • the fourth user state is still used to represent the sleep state of the user, which is similar or the same as the detection method of the first user state, and will not be repeated here.
  • Emergency contacts are pre-set. For example, people who are close to the user can send an early warning to the emergency contact by making the phone of the emergency contact emit a sound or a pop-up window.
  • Fig. 5 is a schematic diagram of a conventional wake-up device for a smart home provided by an embodiment of the present application.
  • the wake-up of the smart home system can be realized through software, hardware or a combination of the two.
  • the wake-up device of the smart home system includes an obtaining module 51, a first playing module 52, a first detecting module 53 and a second playing module 54; the obtaining module 51 is configured to obtain the set wake-up time; the first playing The module 52 is configured to continuously play the first sound of the first duration at the first moment before the set wake-up time; the first detection module 53 is configured to detect the first user state after the first sound is played; the second The playback module 54 is configured to continue playing the second sound for a second duration if the first user status indicates that the user is not awakened, and adjust the indoor temperature from the first temperature to the second temperature within the second duration;
  • the first frequency of a sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep
  • the determination of the first frequency includes: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
  • the determination of the second frequency includes: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
  • determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high within the second brainwave frequency range; from the start moment to the end moment of the second duration, the Two or more frequencies from the lowest to the highest are sequentially determined as the second frequency.
  • adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: in the case of determining more than two frequencies ranging from low to high as the second frequency, obtaining the number of frequencies of the second frequency ; Divide the temperature difference between the first temperature and the second temperature into the same temperature segment as the frequency number; divide the second duration into the same time segment as the frequency segment; wherein, the duration segment corresponds to the temperature segment one by one; According to each time segment and its corresponding temperature segment, determine the temperature change rate of each temperature segment; control the air conditioner according to the temperature change rate of all temperature segments, so that the indoor temperature is adjusted from the first temperature to the temperature change of the second temperature The curve follows the temperature change curve of all temperature segments.
  • adjusting the indoor temperature from the first temperature to the second temperature includes: increasing the first temperature to the second temperature, or decreasing the first temperature to the second temperature.
  • the environmental device of the smart home system further includes a second detection module and a vibration control module; the second detection module is configured to detect the state of the second user after playing the second sound for a second duration continuously; the vibration control module is It is configured that if the second user state indicates that the user is not awakened, then start the vibration device and continue to vibrate for a third duration.
  • the environmental device of the smart home system further includes a third detection module and a volume control module;
  • the third detection module is configured to detect the third user status after playing the second sound for a second duration;
  • the volume control module is It is configured to adjust the play volume of the third sound from the lowest set value to the highest set value within the fourth duration if the third user status indicates that the user is not awakened; and when the play volume of the third sound reaches the highest set value After the value is set, the playback volume of the third sound is adjusted from the highest set value to the lowest set value within the fifth duration.
  • the playing volume of the second sound is greater than the playing volume of the first sound.
  • the device for waking up the smart home system includes a processor and a memory storing program instructions, and the processor is configured to execute the method for waking up the smart home system provided in the foregoing embodiments when executing the program instructions.
  • Fig. 6 is a schematic diagram of a wake-up device for a smart home system provided by an embodiment of the present application. As shown in Figure 6, the wake-up device of the smart home system includes:
  • a processor (processor) 61 and a memory (memory) 62 may also include a communication interface (Communication Interface) 63 and a bus 64. Wherein, the processor 61 , the communication interface 63 , and the memory 62 can communicate with each other through the bus 64 .
  • the communication interface 63 can be used for information transmission.
  • the processor 61 can invoke logic instructions in the memory 62 to execute the method for waking up the smart home system provided in the foregoing embodiments.
  • logic instructions in the memory 62 can be implemented in the form of software function units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 62 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present application.
  • the processor 61 executes the function application and data processing by running the software programs, instructions and modules stored in the memory 62, that is, implements the methods in the above method embodiments.
  • the memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the terminal device, and the like.
  • the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory.
  • An embodiment of the present application provides a smart home system, including the wake-up device for the smart home system provided in the foregoing embodiments.
  • An embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured to execute the method for waking up a smart home system provided in the foregoing embodiments.
  • An embodiment of the present application provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by the computer, the computer is made to execute the information provided in the foregoing embodiments.
  • a wake-up method for a smart home system includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by the computer, the computer is made to execute the information provided in the foregoing embodiments.
  • the above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present application can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to make a computer device (which can be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present application.
  • the aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc, etc.
  • the term “comprise” and its variants “comprises” and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these.
  • an element qualified by the statement “comprising a " does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element.
  • what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other.
  • the relevant part can refer to the description of the method part.
  • the disclosed methods and products can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of units may only be a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment.
  • each functional unit in the embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Psychology (AREA)
  • Manufacturing & Machinery (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Quality & Reliability (AREA)
  • Psychiatry (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Electric Clocks (AREA)

Abstract

A wake-up method of a smart home system, a wake-up apparatus, and a smart home system, relating to the technical field of smart homes, and capable of improving the wake-up experience of users. The wake-up method comprises: obtaining a set get-up time (S101); continuously playing back a first sound of a first duration at a first time before the set get-up time (S102); detecting a first user state after playback of the first sound is completed (S103); and if the first user state indicates that a user is not woken up, continuously playing back a second sound of a second duration, and adjusting the room temperature from a first temperature to a second temperature within the second duration (S104). A first frequency of the first sound corresponds to a light sleep period in a sleep period, a second frequency of the second sound corresponds to a fall-asleep period in the sleep period, the second duration is longer than the first duration, the sum of the first duration and the second duration is less than or equal to a set duration, the set duration is a duration from the first time to the set get-up time, and the absolute value of a temperature difference value between the first temperature and the second temperature is within a set temperature range.

Description

智能家居系统的唤醒方法、唤醒装置和智能家居系统Wake-up method of smart home system, wake-up device and smart home system
本申请基于申请号为202210167905.2、申请日为2022年2月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202210167905.2 and a filing date of February 23, 2022, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及智能家居技术领域,例如涉及一种智能家居系统的唤醒方法、唤醒装置和智能家居系统。The present application relates to the technical field of smart home, for example, it relates to a method for waking up a smart home system, a device for waking up and a smart home system.
背景技术Background technique
目前社会生活的工作、学习压力大,睡眠质量差是大多数人不得不面临的问题。为提高睡眠质量,可通过智能家居系统中的空调营造适合睡眠的温度,通过智能家居系统中的新风机营造睡眠时所需的空气清新度,或者,通过白噪音屏蔽睡眠过程中其他噪音。At present, the work and study pressure of social life is high, and poor sleep quality is a problem that most people have to face. In order to improve the quality of sleep, the air conditioner in the smart home system can be used to create a temperature suitable for sleep, the fresh air fan in the smart home system can be used to create the air freshness required for sleep, or white noise can be used to block other noises during sleep.
伴随着良好的睡眠质量,舒适的唤醒体验也可使用户以较佳心态迎接一天中的高强度、高压力的工作或学习。然而,目前的唤醒方式大多为通过闹铃唤醒,这种唤醒方式容易使用户在睡眠中惊醒,容易使用户产生负面情绪。对此,一些现有技术通过调整室内温度、空气清新度等营造舒适的起床环境,以期待为用户带来良好的唤醒体验。Along with good sleep quality, a comfortable wake-up experience can also enable users to face the high-intensity and high-stress work or study of the day with a better attitude. However, most of the current wake-up methods are awakened by an alarm, which easily wakes up the user during sleep, and easily causes the user to have negative emotions. In this regard, some existing technologies create a comfortable wake-up environment by adjusting indoor temperature, air freshness, etc., in anticipation of bringing a good wake-up experience to the user.
在实现本申请实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiment of the present application, it is found that there are at least the following problems in the related art:
通过调整室内温度、闹铃等唤醒方式,均属于通过外界环境的变化对用户进行刺激,容易导致用户在应激反应下被唤醒,用户的唤醒体验较差。Adjusting the indoor temperature, alarm, etc. to wake up the user is to stimulate the user through the change of the external environment, which will easily cause the user to be woken up under the stress response, and the user's wake-up experience is poor.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本申请实施例提供了一种智能家居系统的唤醒方法、唤醒装置和智能家居系统,以提高用户的唤醒体验。Embodiments of the present application provide a method for waking up a smart home system, a waking device, and a smart home system, so as to improve a user's waking experience.
在一些实施例中,智能家居系统的唤醒方法包括:获得设定起床时刻;在所述设定起床时刻前的第一时刻,持续播放第一时长的第一声音;在所述第一声音播放完毕后,检测第一用户状态;如果所述第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声 音,并在所述第二时长内将室内温度由第一温度调整至第二温度;其中,所述第一声音的第一频率与睡眠周期中的浅度睡眠期对应,所述第二声音的第二频率与睡眠周期中的入睡期对应,所述第二时长大于所述第一时长,所述第一时长与所述第二时长之和小于或等于设定时长,所述设定时长为所述第一时刻至所述设定起床时刻之间的时长,所述第一温度与所述第二温度的温度差值的绝对值在设定温度范围内。In some embodiments, the wake-up method of the smart home system includes: obtaining the set wake-up time; at the first moment before the set wake-up time, continuously playing the first sound of the first duration; After completion, detect the first user state; if the first user state indicates that the user is not awakened, then continue to play the second sound for the second duration, and adjust the indoor temperature from the first temperature to the second sound within the second duration. second temperature; wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, and the second duration is longer than The first time length, the sum of the first time length and the second time length is less than or equal to the set time length, and the set time length is the time length between the first moment and the set wake-up time, so The absolute value of the temperature difference between the first temperature and the second temperature is within the set temperature range.
可选地,所述第一频率的确定,包括:获得所述浅度睡眠期对应的第一脑电波频率范围,根据所述第一脑电波频率范围确定所述第一频率。Optionally, the determination of the first frequency includes: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
可选地,所述第二频率的确定,包括:获得所述入睡期对应的第二脑电波频率范围,根据所述第二脑电波频率范围确定所述第二频率。Optionally, the determination of the second frequency includes: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
可选地,根据所述第二脑电波频率范围确定所述第二频率,包括:在所述第二脑电波频率范围内确定由低至高的两个以上的频率;由所述第二时长的起始时刻至结束时刻,将由低至高的两个以上的频率依次确定为所述第二频率。Optionally, determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high in the second brainwave frequency range; From the start time to the end time, more than two frequencies from the lowest to the highest are sequentially determined as the second frequency.
可选地,在所述第二时长内将室内温度由第一温度调整至第二温度,包括:在将由低至高的两个以上的频率确定为所述第二频率的情况下,获得所述第二频率的频率数量;将所述第一温度至所述第二温度之间的温度差值划分为与所述频率数量相同的温度段;将所述第二时长划分为与所述频率数量相同的时长段;其中,时长段与温度段一一对应;根据每个时长段及其对应的温度段,确定每个温度段的温度变化速率;根据全部温度段的温度变化速率对空调进行控制,使室内温度由所述第一温度调整至所述第二温度的温度变化曲线跟随全部温度段的温度变化曲线。Optionally, adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: when determining more than two frequencies ranging from low to high as the second frequency, obtaining the The frequency number of the second frequency; the temperature difference between the first temperature and the second temperature is divided into the same temperature segment as the frequency number; the second duration is divided into the frequency number The same time period; wherein, the time period corresponds to the temperature period one by one; according to each time period and its corresponding temperature period, the temperature change rate of each temperature period is determined; the air conditioner is controlled according to the temperature change rate of all temperature periods , making the temperature change curve of the indoor temperature adjusted from the first temperature to the second temperature follow the temperature change curves of all temperature segments.
可选地,将室内温度由所述第一温度调整至所述第二温度,包括:将所述第一温度提高至所述第二温度,或者,将所述第一温度降低至所述第二温度。Optionally, adjusting the indoor temperature from the first temperature to the second temperature includes: increasing the first temperature to the second temperature, or decreasing the first temperature to the second temperature. Second temperature.
可选地,在持续播放第二时长的第二声音之后,所述智能家居系统的唤醒方法还包括:检测第二用户状态;如果所述第二用户状态表示用户未被唤醒,则启动振动设备,持续振动第三时长。Optionally, after playing the second sound for a second duration, the method for waking up the smart home system further includes: detecting a second user state; if the second user state indicates that the user is not awakened, then start the vibration device , and vibrate continuously for the third duration.
可选地,在持续播放第二时长的第二声音之后,所述智能家居系统的唤醒方法还包括:检测第三用户状态;如果所述第三用户状态表示用户未被唤醒,则在第四时长内将第三声音的播放音量由最低设定值调整至最高设定值;并在所述第三声音的播放音量达到所述最高设定值后,将所述第三声音的播放音量在第五时长内由最高设定值调整至最低设定值。Optionally, after continuously playing the second sound for a second duration, the wake-up method of the smart home system further includes: detecting a third user state; if the third user state indicates that the user is not awakened, then in the fourth Adjust the playback volume of the third sound from the lowest set value to the highest set value within the duration; Adjust from the highest set value to the lowest set value within the fifth time period.
可选地,所述第二声音的播放音量大于所述第一声音的播放音量。Optionally, the playing volume of the second sound is greater than the playing volume of the first sound.
在一些实施例中,智能家居系统的唤醒装置包括获得模块、第一播放模块、第一检测模块和第二播放模块;所述获得模块被配置为获得设定起床时刻;所述第一播放模块被配 置为在所述设定起床时刻前的第一时刻,持续播放第一时长的第一声音;所述第一检测模块被配置为在所述第一声音播放完毕后,检测第一用户状态;所述第二播放模块被配置为如果所述第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在所述第二时长内将室内温度由第一温度调整至第二温度;其中,所述第一声音的第一频率与睡眠周期中的浅度睡眠期对应,所述第二声音的第二频率与睡眠周期中的入睡期对应,所述第二时长大于所述第一时长,所述第一时长与所述第二时长之和小于或等于设定时长,所述设定时长为所述第一时刻至所述设定起床时刻之间的时长,所述第一温度与所述第二温度的温度差值的绝对值在设定温度范围内。In some embodiments, the wake-up device of the smart home system includes an obtaining module, a first playing module, a first detecting module and a second playing module; the obtaining module is configured to obtain the set wake-up time; the first playing module It is configured to continuously play the first sound of the first duration at the first moment before the set wake-up time; the first detection module is configured to detect the first user status after the first sound is played ; The second playback module is configured to continue playing the second sound for a second duration if the first user status indicates that the user is not awakened, and adjust the indoor temperature by the first temperature within the second duration to the second temperature; wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, and the second duration greater than the first time length, the sum of the first time length and the second time length is less than or equal to the set time length, and the set time length is the time length between the first moment and the set wake-up time, The absolute value of the temperature difference between the first temperature and the second temperature is within a set temperature range.
在一些实施例中,智能家居系统包括前述实施例提供的智能家居系统的唤醒装置。In some embodiments, the smart home system includes the wake-up device for the smart home system provided in the foregoing embodiments.
本申请实施例提供的智能家居系统的唤醒方法、唤醒装置和智能家居系统,可以实现以下技术效果:The wake-up method, wake-up device, and smart home system provided in the embodiments of the present application can achieve the following technical effects:
首先播放与浅度睡眠期对应的第一频率的第一声音,便于辅助用户的睡眠周期由熟睡期切换至浅度睡眠期,之后再播放与入睡期对应的第二频率的第二声音,便于辅助用户进入入睡期,并在入睡期调整室内温度,使温度变化对用户产生进一步的刺激,以避免用户由入睡期进一步切换回浅度睡眠期,有利于使用户由入睡期转为清醒状态,这种唤醒用户的方法符合睡眠周期的切换过程,使用户被唤醒的过程更贴合自然苏醒的过程,减少用户被唤醒后产生的应激反应,可为用户提供较佳的唤醒体验。First, the first sound of the first frequency corresponding to the light sleep period is played, so as to assist the user's sleep cycle to switch from the deep sleep period to the light sleep period, and then the second sound of the second frequency corresponding to the falling asleep period is played, which is convenient Assist the user to enter the falling asleep period, and adjust the indoor temperature during the falling asleep period, so that the temperature change will further stimulate the user, so as to prevent the user from further switching back to the light sleep period from the falling asleep period, and help the user to turn from the falling asleep period to the awake state. This method of waking up the user conforms to the switching process of the sleep cycle, makes the process of waking up the user more in line with the natural waking up process, reduces the stress response after the user is woken up, and can provide the user with a better waking up experience.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the corresponding drawings, and these exemplifications and drawings do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings are not limited to scale and in which:
图1是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图;FIG. 1 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application;
图2是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图;FIG. 2 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application;
图3是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图;FIG. 3 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application;
图4是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图;FIG. 4 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application;
图5是本申请实施例提供的一种智能家居传统的唤醒装置的示意图;FIG. 5 is a schematic diagram of a traditional wake-up device for a smart home provided by an embodiment of the present application;
图6是本申请实施例提供的一种智能家居系统的唤醒装置的示意图。Fig. 6 is a schematic diagram of a wake-up device for a smart home system provided by an embodiment of the present application.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so as to describe embodiment of the disclosed embodiment herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
术语“对应”可以指的是一种关联关系或绑定关系,A与B相对应指的是A与B之间是一种关联关系或绑定关系。The term "correspondence" may refer to an association relationship or a binding relationship, and the correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
在用户睡眠过程中,直接被外界环境变化的刺激而唤醒,例如通过热度刺激,或者,温度变化刺激,或者,通过闹铃进行唤醒,容易使用户产生应激反应,应激反应包括生理反应以及心理反应等,生理反应包括交感神经兴奋、心率加快等,心理反应包括情绪反应与自我防御反应等,其中,心理反应更容易导致无法以较佳的心态应对一天的学习、工作或生活。During the user's sleep, the user is directly awakened by the stimulus of the change of the external environment, such as thermal stimulation, or temperature change stimulation, or awakened by the alarm, which is easy to cause the user to have a stress response. The stress response includes physiological responses and Psychological reactions, etc. Physiological reactions include sympathetic nerve excitement, increased heart rate, etc., and psychological reactions include emotional reactions and self-defense reactions. Among them, psychological reactions are more likely to lead to inability to cope with a day's study, work or life with a better attitude.
本申请实施例提供的智能家居系统的唤醒方法,并非通过外界环境的刺激直接唤醒用户,而是通过外界环境的刺激辅助用户调整睡眠状态,使用户被唤醒的过程更贴合自然苏醒的过程,减少用户唤醒后产生的应激反应,可为用户提供较佳的唤醒体验。The wake-up method of the smart home system provided by the embodiment of the present application does not directly wake up the user through the stimulation of the external environment, but assists the user to adjust the sleep state through the stimulation of the external environment, so that the process of waking up the user is more in line with the natural waking process. Reducing the stress response after the user wakes up can provide the user with a better wake-up experience.
图1是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图,该智能家居系统的唤醒方法可通过智能家居系统的服务器执行。Fig. 1 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
结合图1所示,智能家居系统的唤醒方法包括:As shown in Figure 1, the wake-up method of the smart home system includes:
S101、获得设定起床时刻。S101. Obtain a set wake-up time.
设定起床时刻指的是用户计划要起床的时刻,可以是用户手动设定的,例如用户手动设定早上6:00起床,那么设定起床时刻为6:00;可以是智能家居系统根据用户日程安排确定的设定起床时刻,例如,用户安排当前外出旅游,则智能家居系统设置的设定起床 时刻可以是6:00、7:00或8:00,或者,用户安排当天汇报工作并设置了早上提前开会的开始时刻,则智能家居系统设置的设定起床时刻与早上提前开会的开始时刻之间的间隔时长为大于或等于洗漱时长与通勤时长之和,或者,用户安排当天出差并设置了列车出发时刻,智能家居系统设置的设定起床时刻比列车出发时刻提前一个小时或两个小时。The wake-up time setting refers to the time the user plans to wake up, which can be manually set by the user. For example, if the user manually sets the wake-up time at 6:00 in the morning, then the wake-up time is set at 6:00; it can be set by the smart home system according to the user The set wake-up time determined by the schedule, for example, if the user arranges the current travel, the set wake-up time set by the smart home system can be 6:00, 7:00 or 8:00, or the user arranges to report work on the day and set If the starting time of the early morning meeting is set, the interval between the set wake-up time set by the smart home system and the starting time of the early morning meeting is greater than or equal to the sum of the washing time and commuting time, or the user arranges a business trip on the same day and sets If the departure time of the train is known, the set wake-up time set by the smart home system is one or two hours earlier than the departure time of the train.
上述内容示例性地列举了设定起床时刻的几种获得方式,仅用于示例性说明设定起床时刻的含义及其获得方式,在具体应用中,本领域技术人员可根据实际情况确定符合实际情况的设定起床时刻。The above content exemplarily lists several ways of obtaining the wake-up time, which are only used to illustrate the meaning of setting the wake-up time and how to obtain them. In specific applications, those skilled in the art can determine the actual time according to the actual situation. Situation setting wake-up time.
S102、在设定起床时刻前的第一时刻,持续播放第一时长的第一声音。S102. At the first moment before the set wake-up time, continuously play the first sound for the first duration.
第一时长可与睡眠周期中的浅度睡眠期对应,例如,第一时长可为3~15min,例如,第一时长可为3min、5min、10min或15min。The first duration may correspond to a light sleep period in the sleep cycle, for example, the first duration may be 3-15 min, for example, the first duration may be 3 min, 5 min, 10 min or 15 min.
在具体应用中,第一声音可以是自然界声音,例如海浪、瀑布声等。In a specific application, the first sound may be a natural sound, such as ocean waves, waterfalls, and the like.
其中,第一声音的第一频率与睡眠周期中的浅度睡眠期对应。Wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle.
睡眠周期通常包括入睡期、浅度睡眠期、熟睡期、深度睡眠期以及快速眼动期,在人员睡眠过程中,会在上述几个时期中不停切换;在睡眠周期的每个时期,人员肢体活动、意识活动以及脑电波波形均不同。第一声音的第一频率与睡眠周期中的浅度睡眠期对应,指的是利用第一频率的第一声音刺激用户,用户的睡眠周期容易切换至浅度睡眠期;可利用试验的方式获得第一声音的第一频率与睡眠周期中的浅度睡眠期的对应关系,并将该对应关系存储在数据库中,在设定起床时刻前的第一时刻,通过查询数据库,即可获得与睡眠周期中的浅度睡眠期对应的第一频率,并以第一频率播放第一声音。The sleep cycle usually includes the period of falling asleep, light sleep, deep sleep, deep sleep and rapid eye movement. During the sleep process of the personnel, they will switch between the above-mentioned periods; in each period of the sleep cycle, the personnel Physical activity, consciousness activity, and brain wave waveforms are all different. The first frequency of the first sound corresponds to the light sleep period in the sleep cycle, which means that the first sound of the first frequency is used to stimulate the user, and the user's sleep cycle is easily switched to the light sleep period; it can be obtained by experiment The corresponding relationship between the first frequency of the first sound and the light sleep period in the sleep cycle, and the corresponding relationship is stored in the database. At the first moment before the set wake-up time, by querying the database, the corresponding relationship with sleep can be obtained. The first frequency corresponding to the light sleep stage in the cycle, and play the first sound at the first frequency.
进一步地,第一频率的确定,可包括:获得浅度睡眠期对应的第一脑电波频率范围,根据第一脑电波频率范围确定第一频率。Further, the determination of the first frequency may include: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
例如,浅度睡眠期对应的第一脑电波频率范围为4~7Hz,那么,第一频率可为第一脑电波频率范围中任一频率,例如,第一频率可为4Hz、5Hz、6Hz或7Hz。For example, the first brain wave frequency range corresponding to the light sleep period is 4-7 Hz, then the first frequency can be any frequency in the first brain wave frequency range, for example, the first frequency can be 4 Hz, 5 Hz, 6 Hz or 7Hz.
S103、在第一声音播放完毕后,检测第一用户状态。S103. Detect the state of the first user after the first sound is played.
其中,第一用户状态用于表示用户的睡眠状态;可通过可穿戴设备检测第一用户状态。Wherein, the first user state is used to represent the sleep state of the user; the wearable device can detect the first user state.
例如,可通过脑电波检测装置检测用户的当前脑电波,并依据脑电波与用户状态的对应关系,确定与当前脑电波对应的第一用户状态。例如,在当前脑电波的频率在0.5~3Hz的情况下,将第一用户状态确定为熟睡期或深度睡眠期;在当前脑电波的频率在4~7Hz的情况下,将第一用户状态确定为浅度睡眠期;在当前脑电波的频率在8~13Hz(例如8Hz、9Hz或10Hz)的情况下,确定用户状态为入睡期。For example, the current brain wave of the user can be detected by the brain wave detection device, and the first user state corresponding to the current brain wave can be determined according to the corresponding relationship between the brain wave and the user state. For example, when the frequency of the current brain wave is 0.5-3 Hz, the first user state is determined to be deep sleep or deep sleep; when the frequency of the current brain wave is 4-7 Hz, the first user state is determined to be It is a light sleep period; when the frequency of the current brain wave is 8-13 Hz (for example, 8 Hz, 9 Hz or 10 Hz), it is determined that the user's state is the falling asleep period.
还可通过智能手环检测用户的当前活动强度,并依据活动强度与用户状态的对应关 系,确定与当前活动强度对应的第一用户状态。例如,在当前活动强度属于第一活动强度范围的情况下,将第一用户状态确定为熟睡期或深度睡眠期;在当前活动强度属于第二活动强度范围的情况下,将第一用户状态确定为浅度睡眠期;在当前活动强度属于第三活动强度范围的情况下,将第一用户状态确定为入睡期;其中,第一活动强度范围所表示的活动强度弱于第二活动强度范围所表示的活动强度;第二活动强度范围所表示的活动强度弱于第三活动强度范围所表示的活动强度。The current activity intensity of the user can also be detected by the smart bracelet, and the first user state corresponding to the current activity intensity can be determined according to the corresponding relationship between the activity intensity and the user state. For example, when the current activity intensity belongs to the first activity intensity range, the first user state is determined as a deep sleep period or a deep sleep period; when the current activity intensity belongs to the second activity intensity range, the first user state is determined as is a light sleep period; in the case that the current activity intensity belongs to the third activity intensity range, the first user state is determined as the falling asleep period; wherein, the activity intensity represented by the first activity intensity range is weaker than that indicated by the second activity intensity range The intensity of activity indicated; the intensity of activity indicated by the second range of activity intensity is weaker than the intensity of activity indicated by the third range of activity intensity.
通过上述技术方案,即可获得第一用户状态。Through the above technical solution, the first user status can be obtained.
S104、如果第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在第二时长内将室内温度由第一温度调整至第二温度。S104. If the first user status indicates that the user is not awakened, continue playing the second sound for a second duration, and adjust the indoor temperature from the first temperature to the second temperature within the second duration.
其中,第二声音的第二频率与睡眠周期中的入睡期对应,第二时长大于第一时长,第一时长与第二时长之和小于或等于设定时长,设定时长为第一时刻至设定起床时刻之间的时长,第一温度与第二温度的温度差值的绝对值在设定温度范围内。Wherein, the second frequency of the second sound corresponds to the period of falling asleep in the sleep cycle, the second duration is longer than the first duration, the sum of the first duration and the second duration is less than or equal to the set duration, and the preset duration is from the first moment to The time length between the wake-up times is set, and the absolute value of the temperature difference between the first temperature and the second temperature is within the set temperature range.
第二时长与睡眠周期中的入睡期对应。第二时长可为5min~30min,例如,第二时长可为5min、10min、15min、20min或30min。The second duration corresponds to the falling asleep period in the sleep cycle. The second duration may be 5 minutes to 30 minutes, for example, the second duration may be 5 minutes, 10 minutes, 15 minutes, 20 minutes or 30 minutes.
第一时刻与设定起床时刻之间的设定时长可为20min~1h,例如,设定时长可为20min、30min、40min、50min或1h。The set duration between the first moment and the set wake-up time may be 20 minutes to 1 hour, for example, the set duration may be 20 minutes, 30 minutes, 40 minutes, 50 minutes or 1 hour.
第二声音的第二频率与睡眠周期中的入睡期对应,指的是利用第二频率的第二声音刺激用户,用户的睡眠周期容易切换至入睡期;可利用试验的方式获得第二声音的第二频率与睡眠周期中的入睡期的对应关系,并将该对应关系存储在数据库,如果第一用户状态表示用户未被唤醒,在通过查询数据库,获得与入睡期对应的第二频率,并以第二频率播放第二声音。The second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, which refers to stimulating the user with the second sound of the second frequency, and the user's sleep cycle is easily switched to the falling asleep period; The corresponding relationship between the second frequency and the falling asleep period in the sleep cycle, and store the corresponding relationship in the database. If the first user state indicates that the user is not awakened, by querying the database, obtain the second frequency corresponding to the falling asleep period, and A second sound is played at a second frequency.
进一步地,第二频率的确定,可包括:获得入睡期对应的第二脑电波频率范围,根据第二脑电波频率范围确定第二频率。Further, the determination of the second frequency may include: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
例如,入睡期对应的第二脑电波频率范围为8~13Hz,那么,第二频率可为第二脑电波频率范围中任一频率,例如,第二频率可为8Hz、9Hz、10Hz、11Hz、12Hz或13Hz。For example, the second brain wave frequency range corresponding to the falling asleep period is 8-13 Hz, then the second frequency can be any frequency in the second brain wave frequency range, for example, the second frequency can be 8 Hz, 9 Hz, 10 Hz, 11 Hz, 12Hz or 13Hz.
在具体应用中,第二声音与第一声音可为同类型的声音,例如第二声音也为自然界声音(海浪、瀑布声),第二声音的播放音量大于第一声音的播放音量,第二声音的播放音量可为45~50分贝。In a specific application, the second sound and the first sound can be the same type of sound. For example, the second sound is also a natural sound (sea waves, waterfall sounds), and the playback volume of the second sound is greater than that of the first sound. The playing volume of sound can be 45~50 decibels.
设定温度范围用于表示温度变化对用户的刺激程度,设定温度范围的平均值越大,则表示温度变化对用户的刺激程度越大,设定温度范围的平均值越小,则表示温度变化对用户的刺激程度小。例如,设定温度范围可为[1℃,1.5℃]。这里列举的设定温度范围仅用于 对设定温度范围进行示例性说明,不对设定温度范围构成具体限定,本领域技术人员可根据设定温度范围的具体含义,确定符合实际情况的设定温度范围。The set temperature range is used to indicate the stimulation degree of the temperature change to the user. The larger the average value of the set temperature range is, the greater the stimulation degree of the temperature change is to the user. The smaller the average value of the set temperature range is, the temperature Changes are less irritating to users. For example, the set temperature range may be [1°C, 1.5°C]. The set temperature ranges listed here are only used to illustrate the set temperature ranges, and do not constitute specific limitations on the set temperature ranges. Those skilled in the art can determine the settings that meet the actual situation according to the specific meaning of the set temperature ranges. temperature range.
具体地,将室内温度由第一温度调整至第二温度,包括:将第一温度提高至第二温度,或者,将第一温度降低至第二温度。Specifically, adjusting the indoor temperature from the first temperature to the second temperature includes: raising the first temperature to the second temperature, or lowering the first temperature to the second temperature.
在本申请实施例提供的智能家居系统的唤醒方法中,首先播放与浅度睡眠期对应的第一频率的第一声音,便于辅助用户的睡眠周期由熟睡期切换至浅度睡眠期,之后再播放与入睡期对应的第二频率的第二声音,便于辅助用户进入入睡期,并在入睡期调整室内温度,使温度变化对用户产生进一步的刺激,以避免用户由入睡期进一步切换回浅度睡眠期,有利于使用户由入睡期转为清醒状态,这种唤醒用户的方法符合睡眠周期的切换过程,使用户被唤醒的过程更贴合自然苏醒的过程,减少用户被唤醒后产生的应激反应,可为用户提供较佳的唤醒体验。In the wake-up method of the smart home system provided by the embodiment of the present application, the first sound of the first frequency corresponding to the light sleep period is played first, so as to assist the user's sleep cycle to switch from the deep sleep period to the light sleep period, and then Play the second sound of the second frequency corresponding to the falling asleep period, so as to assist the user to enter the falling asleep period, and adjust the indoor temperature during the falling asleep period, so that the temperature change will further stimulate the user, so as to prevent the user from further switching back to the light level from the falling asleep period The sleep period is conducive to turning the user from falling asleep to the awake state. This method of waking up the user conforms to the switching process of the sleep cycle, making the process of waking up the user more in line with the natural waking process, and reducing the user's stress after being woken up. It can provide users with a better wake-up experience.
另外,在一些具体应用中,在用户睡眠过程中,播放白噪声,以屏蔽在用户睡眠过程中外界环境产生的噪音,提高用户的睡眠质量。In addition, in some specific applications, white noise is played during the user's sleep process to shield the noise generated by the external environment during the user's sleep process and improve the user's sleep quality.
以下再对第二频率进行进一步说明:The second frequency is further described below:
可选地,根据第二脑电波频率范围确定第二频率,包括:在第二脑电波频率范围内确定由低至高的两个以上的频率;由第二时长的起始时刻至结束时刻,将由低至高的两个以上的频率依次确定为第二频率。Optionally, determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high within the second brainwave frequency range; from the start moment to the end moment of the second duration, the Two or more frequencies from the lowest to the highest are sequentially determined as the second frequency.
例如,在第二脑电波范围内确定8Hz、9Hz这两个由低至高的频率,在第二时长的起始时刻,将较低的8Hz确定为第二频率;在第二时长的中间时刻,将较高的9Hz确定为第二频率,直至第二时长的结束时刻;其中,第二时长的中间时刻,指的是将第二时长划分两个等时长的时刻。For example, in the range of the second brain wave, determine the two frequencies from low to high, 8Hz and 9Hz, at the beginning of the second duration, determine the lower 8Hz as the second frequency; at the middle moment of the second duration, The higher 9Hz is determined as the second frequency until the end moment of the second duration; wherein, the middle moment of the second duration refers to the moment when the second duration is divided into two equal durations.
或者,在第二脑电波范围确定8Hz、9Hz、10Hz这三个由低至高的频率,在第二时长的起始时刻,将最低的8Hz确定为第二频率;在第二时长的1/3时刻,将中间值9Hz确定为第二频率;在第二时长的2/3时刻,最高的10Hz却开为第二频率,直至第二时长的结束时刻;其中,第二时长的1/3时刻以及2/3时刻,将第二时长划分为三个等时长。Or, in the second brain wave range, determine the three frequencies from low to high, 8Hz, 9Hz, and 10Hz, and at the beginning of the second duration, determine the lowest 8Hz as the second frequency; in 1/3 of the second duration time, the middle value 9Hz is determined as the second frequency; at 2/3 of the second duration, the highest 10Hz is turned on as the second frequency until the end of the second duration; among them, 1/3 of the second duration And at the 2/3 moment, the second duration is divided into three equal durations.
这样,确定的第二时长更加符合用户由睡眠状态转换为清醒状态的过程,提高了用户的唤醒体验。In this way, the determined second duration is more in line with the process of the user transitioning from the sleeping state to the awake state, thereby improving the user's wake-up experience.
以下再对将室内温度有第一温度调整至第二温度进行说明:The adjustment of the indoor temperature from the first temperature to the second temperature will be described below:
在空调调节室内温度的过程中,其调节速率与空调的制冷能力/制热能力以及房间体积相关,上述在第二时长内将室内温度由第一温度调整至第二温度,默认相对房间体积,空调具备在第二时长内将室内温度由第一温度调整至第二温度的制冷能力/制热能力,即,空 调将室内温度由第一温度调整至第二温度所需时长可小于或等于第二时长。When the air conditioner adjusts the indoor temperature, its adjustment rate is related to the cooling capacity/heating capacity of the air conditioner and the volume of the room. The above-mentioned adjustment of the indoor temperature from the first temperature to the second temperature within the second period of time is by default relative to the room volume. The air conditioner has the cooling/heating capacity to adjust the indoor temperature from the first temperature to the second temperature within the second time period, that is, the time required for the air conditioner to adjust the indoor temperature from the first temperature to the second temperature may be less than or equal to the second Two hours.
以下再结合变化的第二频率,对将室内温度有第一温度调整至第二温度进行说明:The adjustment of the indoor temperature from the first temperature to the second temperature will be described below in combination with the changed second frequency:
可选地,在第二时长内将室内温度由第一温度调整至第二温度,包括:在将由低至高的两个以上的频率确定为第二频率的情况下,获得第二频率的频率数量;将第一温度至第二温度之间的温度差值划分为与频率数量相同的温度段;将第二时长划分为与频率数量相同的时长段;其中,时长段与温度段一一对应;根据每个时长段及其对应的温度段,确定每个温度段的温度变化速率;根据全部温度段的温度变化速率对空调进行控制,使室内温度由第一温度调整至第二温度的温度变化曲线跟随全部温度段的温度变化曲线。Optionally, adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: in the case of determining more than two frequencies ranging from low to high as the second frequency, obtaining the number of frequencies of the second frequency ; Divide the temperature difference between the first temperature and the second temperature into the same temperature segment as the frequency number; divide the second duration into the same time segment as the frequency segment; wherein, the duration segment corresponds to the temperature segment one by one; According to each time segment and its corresponding temperature segment, determine the temperature change rate of each temperature segment; control the air conditioner according to the temperature change rate of all temperature segments, so that the indoor temperature is adjusted from the first temperature to the temperature change of the second temperature The curve follows the temperature change curve of all temperature segments.
例如,在第二频率为8Hz和9Hz的情况下,频率数量为2,将第二时长划分为两个时间段:起始时刻至中间时刻,中间时刻至结束时刻;将第一温度至第二温度的变化差值划分为两个温度段:第一温度至第一温度和第二温度的平均值,第一温度至第二的平均值至第二温度。那么,在起始时刻至中间时刻,第二声音的第二频率为8Hz,空调将室内温度由第一温度调整至第一温度和第二温度的平均值(温度调整时长小于或等于起始时刻至中间时刻的时长);在中间时刻至结束时刻,第二声音的第二频率为9Hz,空调将室内温度由第一温度和第二温度的平均值,调整至第二温度(温度调整时长小于或等于中间时刻至结束时刻的时长)。For example, in the case that the second frequency is 8Hz and 9Hz, the number of frequencies is 2, and the second duration is divided into two time periods: from the start moment to the middle moment, from the middle moment to the end moment; from the first temperature to the second The temperature variation difference is divided into two temperature segments: the first temperature to the average value of the first temperature and the second temperature, and the first temperature to the second average value to the second temperature. Then, from the initial moment to the middle moment, the second frequency of the second sound is 8Hz, and the air conditioner adjusts the indoor temperature from the first temperature to the average value of the first temperature and the second temperature (the temperature adjustment time is less than or equal to the initial moment to the middle moment); from the middle moment to the end moment, the second frequency of the second sound is 9Hz, and the air conditioner adjusts the indoor temperature from the average value of the first temperature and the second temperature to the second temperature (the temperature adjustment time is less than or equal to the duration from the middle moment to the end moment).
再例如,在第二频率为8Hz、9Hz和10Hz的情况下,频率数量为3,将第二时长划分为三个时间段:起始时刻至第一中间时刻,第一中间时刻至第二中间时刻,第二中间时刻至结束时刻,第一中间时刻=(起始时刻+结束时刻)/3,第二中间时刻=(起始时刻+结束时刻)×2/3;将第一温度值第二温度的变化差值划分为三个温度段:第一温度至第一中间温度,第一中间温度至第二中间温度,第二中间温度至第二温度,第一中间温度=(第一温度+第二温度)/3,第二中间温度=(第一温度+第二温度)×2/3。那么,在起始时刻至第一中间时刻,第二声音的第二频率为8Hz,空调将室内温度由第一温度调整至第一中间温度(温度调整时长小于或等于起始时刻至第一中间时刻的时长);在第一中间时刻至第二中间时刻,第二声音的第二频率为9Hz,空调将室内温度由第一中间温度调整至第二中间温度(温度调整时长小于或等于第一中间时刻至第二中间时刻的时长);第二中间时刻至结束时刻,第二声音的第二频率为10Hz,空调将室内温度由第二中间温度调整至第二温度(温度调整时长小于或等于第二中间时刻至结束时刻的时长)。For another example, in the case where the second frequency is 8Hz, 9Hz and 10Hz, the number of frequencies is 3, and the second duration is divided into three time periods: from the start moment to the first middle moment, and from the first middle moment to the second middle moment Time, from the second intermediate time to the end time, the first intermediate time=(start time+end time)/3, the second middle time=(start time+end time)×2/3; The variation difference of two temperatures is divided into three temperature sections: the first temperature to the first intermediate temperature, the first intermediate temperature to the second intermediate temperature, the second intermediate temperature to the second temperature, the first intermediate temperature=(first temperature +second temperature)/3, the second intermediate temperature=(first temperature+second temperature)×2/3. Then, from the initial moment to the first intermediate moment, the second frequency of the second sound is 8 Hz, and the air conditioner adjusts the indoor temperature from the first temperature to the first intermediate temperature (the temperature adjustment time is less than or equal to the initial moment to the first intermediate temperature). time duration); from the first intermediate moment to the second intermediate moment, the second frequency of the second sound is 9Hz, and the air conditioner adjusts the indoor temperature from the first intermediate temperature to the second intermediate temperature (the temperature adjustment duration is less than or equal to the first duration from the middle moment to the second middle moment); from the second middle moment to the end moment, the second frequency of the second sound is 10 Hz, and the air conditioner adjusts the indoor temperature from the second middle temperature to the second temperature (the temperature adjustment duration is less than or equal to The duration from the second intermediate moment to the end moment).
上述的起始时刻指的是第二时长的起始时刻,上述的结束时刻指的是第二时长的结束时刻。The aforementioned starting moment refers to the starting moment of the second duration, and the aforementioned ending moment refers to the ending moment of the second duration.
在上述技术方案中,将第二声音的第二频率对用户的刺激,与室内温度的变化对用户 的刺激相结合,第二频率越高,便于辅助用户进入更接近清醒的睡眠阶段,这种情况下,适当提高室内温度变化对用户的刺激,提高用户神经中枢对温度刺激的反应程度,使较大的神经中枢反映出现在用户更接近于清醒的睡眠阶段,一方面减少用户出现过度的应激反应,另一方面可比较顺利地唤醒用户,最终使用户获得较佳的唤醒体验。In the above technical solution, the stimulation of the user by the second frequency of the second sound is combined with the stimulation of the user by the change of the indoor temperature. The higher the second frequency is, the easier it is to assist the user to enter the sleep stage closer to awake. Under certain circumstances, appropriately increase the stimulation of indoor temperature changes to the user, increase the response degree of the user's nerve center to temperature stimulation, and make the larger nerve center response appear in the sleep stage when the user is closer to waking, on the one hand, reduce the user's excessive stress. On the other hand, it can wake up the user relatively smoothly, and finally enable the user to obtain a better wake-up experience.
图2是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图,该智能家居系统的唤醒方法可通过智能家居系统的服务器执行。FIG. 2 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
结合图2所示,智能家居系统的唤醒方法包括:As shown in Figure 2, the wake-up method of the smart home system includes:
S201、获得设定起床时刻。S201. Obtain a set wake-up time.
S202、在设定起床时刻前的第一时刻,持续播放第一时长的第一声音。S202. At the first moment before the set wake-up time, continuously play the first sound of the first duration.
S203、在第一声音播放完毕后,检测第一用户状态。S203. Detect the state of the first user after the first sound is played.
S204、如果第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在第二时长内将室内温度由第一温度调整至第二温度。S204. If the first user status indicates that the user is not awakened, continue playing the second sound for a second duration, and adjust the indoor temperature from the first temperature to the second temperature within the second duration.
S205、检测第二用户状态。S205. Detect the state of the second user.
第二用户状态与第一用户状态相同,可表示用户的睡眠状态。第二用户状态的检测方式与第一用户状态的检测方式类似或相同,这里不再一一赘述。The second user state is the same as the first user state, and may represent the sleep state of the user. The detection method of the second user state is similar or the same as the detection method of the first user state, which will not be repeated here.
S206、如果第二用户状态表示用户未被唤醒,则启动振动设备,持续振动第三时长。S206. If the second user status indicates that the user has not been awakened, start the vibration device and keep vibrating for a third duration.
这里的振动设备可以是可穿戴设备,例如智能手环。第三时长可以是5~15min,例如,第三时长可以是5min、10min或15min。The vibration device here can be a wearable device, such as a smart bracelet. The third duration may be 5-15 minutes, for example, the third duration may be 5 minutes, 10 minutes or 15 minutes.
采用上述技术方案,进一步确保唤醒用户。By adopting the above technical solution, it is further guaranteed to wake up the user.
图3是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图,该智能家居系统的唤醒方法可通过智能家居系统的服务器执行。Fig. 3 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
结合图3所示,智能家居系统的唤醒方法包括:As shown in Figure 3, the wake-up method of the smart home system includes:
S301、获得设定起床时刻。S301. Obtain the set wake-up time.
S302、在设定起床时刻前的第一时刻,持续播放第一时长的第一声音。S302. At the first moment before the set wake-up time, continuously play the first sound of the first duration.
S303、在第一声音播放完毕后,检测第一用户状态。S303. Detect the state of the first user after the first sound is played.
S304、如果第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在第二时长内将室内温度由第一温度调整至第二温度。S304. If the first user state indicates that the user is not awakened, continue playing the second sound for a second duration, and adjust the indoor temperature from the first temperature to the second temperature within the second duration.
S305、检测第三用户状态。S305. Detect the state of the third user.
第三用户状态与第一用户状态相同,可表示用户的睡眠状态。第三用户状态的检测方式与第一用户状态的检测方式类似或相同,这里不再一一赘述。The third user state is the same as the first user state, and may represent the sleep state of the user. The detection method of the third user state is similar or the same as the detection method of the first user state, which will not be repeated here.
S306、如果第三用户状态表示用户未被唤醒,则在第四时长内将第三声音的播放音量 由最低设定值调整至最高设定值;并在音量达到最高设定值后,在第五时长内由最高设定值调整至最低设定值。S306. If the third user state indicates that the user is not awakened, adjust the playing volume of the third sound from the lowest set value to the highest set value within the fourth duration; Adjust from the highest setting value to the lowest setting value within five hours.
第四时长和第五时长可以是3min~10min,例如,第四时长或第五时长可为3min、4min、5min、7min或10min。第四时长和第五时长可相等,也可不相等,这里不做具体限定。The fourth duration and the fifth duration may be 3 minutes to 10 minutes, for example, the fourth duration or the fifth duration may be 3 minutes, 4 minutes, 5 minutes, 7 minutes or 10 minutes. The fourth duration and the fifth duration may or may not be equal, and no specific limitation is made here.
第三声音可以是智能终端播放的,例如,第一声音可以是闹铃播放的,可以是手机播放的。The third sound may be played by the smart terminal, for example, the first sound may be played by an alarm, or may be played by a mobile phone.
采用上述技术方案,进一步确保唤醒用户。By adopting the above technical solution, it is further guaranteed to wake up the user.
图4是本申请实施例提供的一种智能家居系统的唤醒方法的流程示意图,该智能家居系统的唤醒方法可通过智能家居系统的服务器执行。Fig. 4 is a schematic flowchart of a method for waking up a smart home system provided by an embodiment of the present application, and the method for waking up the smart home system can be executed by a server of the smart home system.
结合图4所示,智能家居系统的唤醒方法包括:As shown in Figure 4, the wake-up method of the smart home system includes:
S401、获得设定起床时刻。S401. Obtain the set wake-up time.
S402、在设定起床时刻前的第一时刻,持续播放第一时长的第一声音。S402. At the first moment before the set wake-up time, continuously play the first sound for the first duration.
S403、在第一声音播放完毕后,检测第一用户状态。S403. Detect the state of the first user after the first sound is played.
S404、如果第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在第二时长内将室内温度由第一温度调整至第二温度。S404. If the first user status indicates that the user is not awakened, continue playing the second sound for a second duration, and adjust the indoor temperature from the first temperature to the second temperature within the second duration.
S405、检测第二用户状态。S405. Detect the state of the second user.
S406、如果第二用户状态表示用户未被唤醒,则启动振动设备,持续振动第三时长。S406. If the second user status indicates that the user is not awakened, start the vibration device and keep vibrating for a third duration.
S407、检测第三用户状态。S407. Detect the state of the third user.
S408、如果第三用户状态表示用户未被唤醒,则在第四时长内将第三声音的播放音量由最低设定值调整至最高设定值;并在第三声音的播放音量达到最高设定值后,将第三声音的播放音量在第五时长内由最高设定值调整至最低设定值。S408. If the third user status indicates that the user is not awakened, adjust the playback volume of the third sound from the lowest set value to the highest set value within the fourth duration; and when the third sound playback volume reaches the highest set value After the value is set, the playback volume of the third sound is adjusted from the highest set value to the lowest set value within the fifth duration.
采用上述技术方案,进一步确保唤醒用户。By adopting the above technical solution, it is further guaranteed to wake up the user.
进一步地,在一些应用场景中,在将第三声音的播放音量在第五时长内由最高设定值调整至最低设定值之后,继续检测第四用户状态,如果第四用户状态表示用户未被唤醒,则向紧急联系人发出预警。第四用户状态仍用于表示用户的睡眠状态,与第一用户状态的检测方式类似或相同,这里不再一一赘述。Further, in some application scenarios, after adjusting the playback volume of the third sound from the highest set value to the lowest set value within the fifth duration, continue to detect the fourth user state, if the fourth user state indicates that the user has not If awakened, an early warning is sent to emergency contacts. The fourth user state is still used to represent the sleep state of the user, which is similar or the same as the detection method of the first user state, and will not be repeated here.
紧急联系人为预先设置的,例如与用户关系密切的人,可通过使紧急联系人的手机发出声音、弹窗等方式,向紧急联系人发出预警。Emergency contacts are pre-set. For example, people who are close to the user can send an early warning to the emergency contact by making the phone of the emergency contact emit a sound or a pop-up window.
图5是本申请实施例提供的一种智能家居传统的唤醒装置的示意图。该智能家居系统的唤醒可通过软件、硬件或二者结合的形式实现。结合图5所示,智能家居系统的唤醒装置包括获得模块51、第一播放模块52、第一检测模块53和第二播放模块54;获得模块 51被配置为获得设定起床时刻;第一播放模块52被配置为在设定起床时刻前的第一时刻,持续播放第一时长的第一声音;第一检测模块53被配置为在第一声音播放完毕后,检测第一用户状态;第二播放模块54被配置为如果第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在第二时长内将室内温度由第一温度调整至第二温度;其中,第一声音的第一频率与睡眠周期中的浅度睡眠期对应,第二声音的第二频率与睡眠周期中的入睡期对应,第二时长大于第一时长,第一时长与第二时长之和小于或等于设定时长,设定时长为第一时刻至设定起床时刻之间的时长,第一温度与第二温度的温度差值的绝对值在设定温度范围内。Fig. 5 is a schematic diagram of a conventional wake-up device for a smart home provided by an embodiment of the present application. The wake-up of the smart home system can be realized through software, hardware or a combination of the two. As shown in FIG. 5 , the wake-up device of the smart home system includes an obtaining module 51, a first playing module 52, a first detecting module 53 and a second playing module 54; the obtaining module 51 is configured to obtain the set wake-up time; the first playing The module 52 is configured to continuously play the first sound of the first duration at the first moment before the set wake-up time; the first detection module 53 is configured to detect the first user state after the first sound is played; the second The playback module 54 is configured to continue playing the second sound for a second duration if the first user status indicates that the user is not awakened, and adjust the indoor temperature from the first temperature to the second temperature within the second duration; The first frequency of a sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, the second duration is longer than the first duration, and the sum of the first duration and the second duration Less than or equal to the set time length, the set time length is the time length between the first moment and the set wake-up time, and the absolute value of the temperature difference between the first temperature and the second temperature is within the set temperature range.
可选地,第一频率的确定,包括:获得浅度睡眠期对应的第一脑电波频率范围,根据第一脑电波频率范围确定第一频率。Optionally, the determination of the first frequency includes: obtaining a first brainwave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brainwave frequency range.
可选地,第二频率的确定,包括:获得入睡期对应的第二脑电波频率范围,根据第二脑电波频率范围确定第二频率。Optionally, the determination of the second frequency includes: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
可选地,根据第二脑电波频率范围确定第二频率,包括:在第二脑电波频率范围内确定由低至高的两个以上的频率;由第二时长的起始时刻至结束时刻,将由低至高的两个以上的频率依次确定为第二频率。Optionally, determining the second frequency according to the second brainwave frequency range includes: determining more than two frequencies from low to high within the second brainwave frequency range; from the start moment to the end moment of the second duration, the Two or more frequencies from the lowest to the highest are sequentially determined as the second frequency.
可选地,在第二时长内将室内温度由第一温度调整至第二温度,包括:在将由低至高的两个以上的频率确定为第二频率的情况下,获得第二频率的频率数量;将第一温度至第二温度之间的温度差值划分为与频率数量相同的温度段;将第二时长划分为与频率数量相同的时长段;其中,时长段与温度段一一对应;根据每个时长段及其对应的温度段,确定每个温度段的温度变化速率;根据全部温度段的温度变化速率对空调进行控制,使室内温度由第一温度调整至第二温度的温度变化曲线跟随全部温度段的温度变化曲线。Optionally, adjusting the indoor temperature from the first temperature to the second temperature within the second time period includes: in the case of determining more than two frequencies ranging from low to high as the second frequency, obtaining the number of frequencies of the second frequency ; Divide the temperature difference between the first temperature and the second temperature into the same temperature segment as the frequency number; divide the second duration into the same time segment as the frequency segment; wherein, the duration segment corresponds to the temperature segment one by one; According to each time segment and its corresponding temperature segment, determine the temperature change rate of each temperature segment; control the air conditioner according to the temperature change rate of all temperature segments, so that the indoor temperature is adjusted from the first temperature to the temperature change of the second temperature The curve follows the temperature change curve of all temperature segments.
可选地,将室内温度由第一温度调整至第二温度,包括:将第一温度提高至第二温度,或者,将第一温度降低至第二温度。Optionally, adjusting the indoor temperature from the first temperature to the second temperature includes: increasing the first temperature to the second temperature, or decreasing the first temperature to the second temperature.
可选地,智能家居系统的环境装置还包括第二检测模块和振动控制模块;第二检测模块被配置为在持续播放第二时长的第二声音之后,检测第二用户状态;振动控制模块被配置为如果第二用户状态表示用户未被唤醒,则启动振动设备,持续振动第三时长。Optionally, the environmental device of the smart home system further includes a second detection module and a vibration control module; the second detection module is configured to detect the state of the second user after playing the second sound for a second duration continuously; the vibration control module is It is configured that if the second user state indicates that the user is not awakened, then start the vibration device and continue to vibrate for a third duration.
可选地,智能家居系统的环境装置还包括第三检测模块和音量控制模块;第三检测模块被配置为在持续播放第二时长的第二声音之后,检测第三用户状态;音量控制模块被配置为如果第三用户状态表示用户未被唤醒,则在第四时长内将第三声音的播放音量由最低设定值调整至最高设定值;并在第三声音的播放音量达到最高设定值后,将第三声音的播放音量在第五时长内由最高设定值调整至最低设定值。Optionally, the environmental device of the smart home system further includes a third detection module and a volume control module; the third detection module is configured to detect the third user status after playing the second sound for a second duration; the volume control module is It is configured to adjust the play volume of the third sound from the lowest set value to the highest set value within the fourth duration if the third user status indicates that the user is not awakened; and when the play volume of the third sound reaches the highest set value After the value is set, the playback volume of the third sound is adjusted from the highest set value to the lowest set value within the fifth duration.
可选地,第二声音的播放音量大于第一声音的播放音量。Optionally, the playing volume of the second sound is greater than the playing volume of the first sound.
在一些实施例中,智能家居系统的唤醒装置包括处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行前述实施例提供的智能家居系统的唤醒方法。In some embodiments, the device for waking up the smart home system includes a processor and a memory storing program instructions, and the processor is configured to execute the method for waking up the smart home system provided in the foregoing embodiments when executing the program instructions.
图6是本申请实施例提供的一种智能家居系统的唤醒装置的示意图。结合图6所示,智能家居系统的唤醒装置包括:Fig. 6 is a schematic diagram of a wake-up device for a smart home system provided by an embodiment of the present application. As shown in Figure 6, the wake-up device of the smart home system includes:
处理器(processor)61和存储器(memory)62,还可以包括通信接口(Communication Interface)63和总线64。其中,处理器61、通信接口63、存储器62可以通过总线64完成相互间的通信。通信接口63可以用于信息传输。处理器61可以调用存储器62中的逻辑指令,以执行前述实施例提供的智能家居系统的唤醒方法。A processor (processor) 61 and a memory (memory) 62 may also include a communication interface (Communication Interface) 63 and a bus 64. Wherein, the processor 61 , the communication interface 63 , and the memory 62 can communicate with each other through the bus 64 . The communication interface 63 can be used for information transmission. The processor 61 can invoke logic instructions in the memory 62 to execute the method for waking up the smart home system provided in the foregoing embodiments.
此外,上述的存储器62中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 62 can be implemented in the form of software function units and can be stored in a computer-readable storage medium when sold or used as an independent product.
存储器62作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本申请实施例中的方法对应的程序指令/模块。处理器61通过运行存储在存储器62中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的方法。The memory 62, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 61 executes the function application and data processing by running the software programs, instructions and modules stored in the memory 62, that is, implements the methods in the above method embodiments.
存储器62可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the terminal device, and the like. In addition, the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory.
本申请实施例提供了一种智能家居系统,包含前述实施例提供的智能家居系统的唤醒装置。An embodiment of the present application provides a smart home system, including the wake-up device for the smart home system provided in the foregoing embodiments.
本申请实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令设置为执行前述实施例提供的智能家居系统的唤醒方法。An embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured to execute the method for waking up a smart home system provided in the foregoing embodiments.
本申请实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行前述实施例提供的智能家居系统的唤醒方法。An embodiment of the present application provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by the computer, the computer is made to execute the information provided in the foregoing embodiments. A wake-up method for a smart home system.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本申请实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或一个以上指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请实施例中方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、 随机读取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present application can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to make a computer device (which can be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present application. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本申请的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and accompanying drawings sufficiently illustrate the embodiments of the present application to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element qualified by the statement "comprising a ..." does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. A skilled person may use different methods for each specific application to realize the described functions, but such realization should not be regarded as exceeding the scope of the embodiments of the present application. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本申请实施例中的各功能单元可以集成在一个 处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本申请实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,模块、程序段或代码的一部分包含一个或一个以上用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures show the architecture, functions and operations of possible implementations of the systems, methods and computer program products according to the embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Claims (10)

  1. 一种智能家居系统的唤醒方法,其特征在于,包括:A method for waking up a smart home system, comprising:
    获得设定起床时刻;Obtain the set wake-up time;
    在所述设定起床时刻前的第一时刻,持续播放第一时长的第一声音;At the first moment before the set wake-up time, the first sound of the first duration is continuously played;
    在所述第一声音播放完毕后,检测第一用户状态;After the first sound is played, detect the first user status;
    如果所述第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在所述第二时长内将室内温度由第一温度调整至第二温度;If the first user status indicates that the user is not awakened, then continue to play the second sound for a second duration, and adjust the indoor temperature from the first temperature to the second temperature within the second duration;
    其中,所述第一声音的第一频率与睡眠周期中的浅度睡眠期对应,所述第二声音的第二频率与睡眠周期中的入睡期对应,所述第二时长大于所述第一时长,所述第一时长与所述第二时长之和小于或等于设定时长,所述设定时长为所述第一时刻至所述设定起床时刻之间的时长,所述第一温度与所述第二温度的温度差值的绝对值在设定温度范围内。Wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, and the second duration is longer than the first duration, the sum of the first duration and the second duration is less than or equal to the set duration, the preset duration is the duration between the first moment and the set wake-up time, the first temperature The absolute value of the temperature difference from the second temperature is within the set temperature range.
  2. 根据权利要求1所述的唤醒方法,其特征在于,The wake-up method according to claim 1, characterized in that,
    所述第一频率的确定,包括:获得所述浅度睡眠期对应的第一脑电波频率范围,根据所述第一脑电波频率范围确定所述第一频率;The determination of the first frequency includes: obtaining a first brain wave frequency range corresponding to the light sleep period, and determining the first frequency according to the first brain wave frequency range;
    所述第二频率的确定,包括:获得所述入睡期对应的第二脑电波频率范围,根据所述第二脑电波频率范围确定所述第二频率。The determination of the second frequency includes: obtaining a second brainwave frequency range corresponding to the falling asleep period, and determining the second frequency according to the second brainwave frequency range.
  3. 根据权利要求2所述的唤醒方法,其特征在于,根据所述第二脑电波频率范围确定所述第二频率,包括:The wake-up method according to claim 2, wherein determining the second frequency according to the second brain wave frequency range includes:
    在所述第二脑电波频率范围内确定由低至高的两个以上的频率;determining more than two frequencies from low to high within the second brain wave frequency range;
    由所述第二时长的起始时刻至结束时刻,将由低至高的两个以上的频率依次确定为所述第二频率。From the start moment to the end moment of the second duration, more than two frequencies from low to high are sequentially determined as the second frequency.
  4. 根据权利要求3所述的唤醒方法,其特征在于,在所述第二时长内将室内温度由第一温度调整至第二温度,包括:The method for waking up according to claim 3, wherein adjusting the indoor temperature from the first temperature to the second temperature within the second duration includes:
    在将由低至高的两个以上的频率确定为所述第二频率的情况下,获得所述第二频率的频率数量;In the case that more than two frequencies from low to high are determined as the second frequency, obtaining the number of frequencies of the second frequency;
    将所述第一温度至所述第二温度之间的温度差值划分为与所述频率数量相同的温度段;dividing the temperature difference between the first temperature and the second temperature into the same number of temperature segments as the frequency;
    将所述第二时长划分为与所述频率数量相同的时长段;其中,时长段与温度段一一对应;Dividing the second duration into duration segments equal to the number of frequencies; wherein, the duration segments correspond to the temperature segments one-to-one;
    根据每个时长段及其对应的温度段,确定每个温度段的温度变化速率;According to each time period and its corresponding temperature period, determine the temperature change rate of each temperature period;
    根据全部温度段的温度变化速率对空调进行控制,使室内温度由所述第一温度调整至所述第二温度的温度变化曲线跟随全部温度段的温度变化曲线。The air conditioner is controlled according to the temperature change rates of all temperature segments, so that the temperature change curve of the indoor temperature adjusted from the first temperature to the second temperature follows the temperature change curves of all temperature segments.
  5. 根据权利要求4所述的唤醒方法,其特征在于,将室内温度由所述第一温度调整至所述第二温度,包括:The wake-up method according to claim 4, wherein adjusting the indoor temperature from the first temperature to the second temperature comprises:
    将所述第一温度提高至所述第二温度,或者,将所述第一温度降低至所述第二温度。The first temperature is increased to the second temperature, or the first temperature is decreased to the second temperature.
  6. 根据权利要求1至5任一项所述的唤醒方法,其特征在于,在持续播放第二时长的第二声音之后,所述唤醒方法还包括:The wake-up method according to any one of claims 1 to 5, characterized in that, after continuously playing the second sound for a second duration, the wake-up method further comprises:
    检测第二用户状态;Detect the second user status;
    如果所述第二用户状态表示用户未被唤醒,则启动振动设备,持续振动第三时长。If the second user status indicates that the user is not awakened, start the vibration device and continue to vibrate for a third duration.
  7. 根据权利要求1至5任一项所述的唤醒方法,其特征在于,在持续播放第二时长的第二声音之后,所述唤醒方法还包括:The wake-up method according to any one of claims 1 to 5, characterized in that, after continuously playing the second sound for a second duration, the wake-up method further comprises:
    检测第三用户状态;Detect the third user status;
    如果所述第三用户状态表示用户未被唤醒,则在第四时长内将第三声音的播放音量由最低设定值调整至最高设定值;并在所述第三声音的播放音量达到所述最高设定值后,将所述第三声音的播放音量在第五时长内由最高设定值调整至最低设定值。If the third user status indicates that the user is not awakened, then within the fourth duration, the playback volume of the third sound is adjusted from the lowest set value to the highest set value; and when the playback volume of the third sound reaches the set value After setting the highest set value, adjust the playback volume of the third sound from the highest set value to the lowest set value within the fifth duration.
  8. 根据权利要求1至5任一项所述的唤醒方法,其特征在于,所述第二声音的播放音量大于所述第一声音的播放音量。The method for waking up according to any one of claims 1 to 5, wherein the play volume of the second sound is greater than the play volume of the first sound.
  9. 一种智能家居系统的唤醒装置,其特征在于,包括:A wake-up device for a smart home system, characterized in that it includes:
    获得模块,被配置为获得设定起床时刻;an obtaining module configured to obtain the set wake-up time;
    第一播放模块,被配置为在所述设定起床时刻前的第一时刻,持续播放第一时长的第一声音;The first playback module is configured to continuously play the first sound of the first duration at the first moment before the set wake-up time;
    第一检测模块,被配置为在所述第一声音播放完毕后,检测第一用户状态;The first detection module is configured to detect the state of the first user after the first sound is played;
    第二播放模块,被配置为如果所述第一用户状态表示用户未被唤醒,则持续播放第二时长的第二声音,并在所述第二时长内将室内温度由第一温度调整至第二温度;The second playing module is configured to continuously play the second sound for a second duration if the first user status indicates that the user is not awakened, and adjust the indoor temperature from the first temperature to the second duration within the second duration. two temperature;
    其中,所述第一声音的第一频率与睡眠周期中的浅度睡眠期对应,所述第二声音的第二频率与睡眠周期中的入睡期对应,所述第二时长大于所述第一时长,所述第一时长与所述第二时长之和小于或等于设定时长,所述设定时长为所述第一时刻至所述设定起床时刻之间的时长,所述第一温度与所述第二温度的温度差值的绝对值在设定温度范围内。Wherein, the first frequency of the first sound corresponds to the light sleep period in the sleep cycle, the second frequency of the second sound corresponds to the falling asleep period in the sleep cycle, and the second duration is longer than the first duration, the sum of the first duration and the second duration is less than or equal to the set duration, the preset duration is the duration between the first moment and the set wake-up time, the first temperature The absolute value of the temperature difference from the second temperature is within the set temperature range.
  10. 一种智能家居系统,其特征在于,包括如权利要求9所述的智能家居系统的 唤醒装置。A kind of smart home system, is characterized in that, comprises the wake-up device of smart home system as claimed in claim 9.
PCT/CN2022/122828 2022-02-23 2022-09-29 Wake-up method of smart home system, wake-up apparatus, and smart home system WO2023159958A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210167905.2 2022-02-23
CN202210167905.2A CN114647197A (en) 2022-02-23 2022-02-23 Awakening method and awakening device of intelligent home system and intelligent home system

Publications (1)

Publication Number Publication Date
WO2023159958A1 true WO2023159958A1 (en) 2023-08-31

Family

ID=81993115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/122828 WO2023159958A1 (en) 2022-02-23 2022-09-29 Wake-up method of smart home system, wake-up apparatus, and smart home system

Country Status (2)

Country Link
CN (1) CN114647197A (en)
WO (1) WO2023159958A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114647197A (en) * 2022-02-23 2022-06-21 青岛海尔空调器有限总公司 Awakening method and awakening device of intelligent home system and intelligent home system
CN115185196B (en) * 2022-09-09 2022-12-09 深圳市心流科技有限公司 Intelligent equipment control method based on sleep state, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11223689A (en) * 1998-02-06 1999-08-17 Seiko Precision Inc Alarm clock
CN104460331A (en) * 2014-11-13 2015-03-25 福建省科正智能科技有限公司 Intelligent and healthy awakening system
CN107126615A (en) * 2017-04-20 2017-09-05 重庆邮电大学 Music induced hypnotic method and system based on EEG signals
CN109316170A (en) * 2018-11-16 2019-02-12 武汉理工大学 Brain wave assisting sleep and wake-up system based on deep learning
CN111028908A (en) * 2020-01-07 2020-04-17 百度在线网络技术(北京)有限公司 Sleep state monitoring method, device, equipment and computer readable storage medium
CN111282126A (en) * 2020-01-19 2020-06-16 珠海格力电器股份有限公司 Sleep wake-up method and device
CN114647197A (en) * 2022-02-23 2022-06-21 青岛海尔空调器有限总公司 Awakening method and awakening device of intelligent home system and intelligent home system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11223689A (en) * 1998-02-06 1999-08-17 Seiko Precision Inc Alarm clock
CN104460331A (en) * 2014-11-13 2015-03-25 福建省科正智能科技有限公司 Intelligent and healthy awakening system
CN107126615A (en) * 2017-04-20 2017-09-05 重庆邮电大学 Music induced hypnotic method and system based on EEG signals
CN109316170A (en) * 2018-11-16 2019-02-12 武汉理工大学 Brain wave assisting sleep and wake-up system based on deep learning
CN111028908A (en) * 2020-01-07 2020-04-17 百度在线网络技术(北京)有限公司 Sleep state monitoring method, device, equipment and computer readable storage medium
CN111282126A (en) * 2020-01-19 2020-06-16 珠海格力电器股份有限公司 Sleep wake-up method and device
CN114647197A (en) * 2022-02-23 2022-06-21 青岛海尔空调器有限总公司 Awakening method and awakening device of intelligent home system and intelligent home system

Also Published As

Publication number Publication date
CN114647197A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
WO2023159958A1 (en) Wake-up method of smart home system, wake-up apparatus, and smart home system
KR102356890B1 (en) Method and Apparatus for controlling temperature adjustment device
US20210225488A1 (en) Optimal Sleep Phase Selection System
CN111282126A (en) Sleep wake-up method and device
CN112312801B (en) Home automation system with sleep improvement feature
CN104873040B (en) A kind of sleep regulation method, system and intelligent pillow
KR101687321B1 (en) Apparatus for inducing sleep and sleep management system comprising the same
CN112641424B (en) Sleep monitoring method, device, equipment and storage medium
US7608041B2 (en) Monitoring and control of sleep cycles
CN110313901A (en) A kind of Sleep-Monitoring method, apparatus and electronic equipment
CN105318503A (en) Control system and method for fan and air conditioner
CN105422492B (en) The control system of fan and the control method of fan
CN114251817B (en) Method and device for controlling air conditioner and air conditioner
CN105423485A (en) Control system for fan and air conditioner and control method for fan and air conditioner
CN209301455U (en) A kind of intelligent music eyeshade
WO2023010859A1 (en) Method and apparatus for air conditioner control, and air conditioner
CN112689219A (en) Method, apparatus, wireless headset and computer readable storage medium for managing sleep
WO2023082625A1 (en) Schedule-based control method and apparatus for air conditioning device, and air conditioning device
CN115814232A (en) Sleep aiding method and device for sleep pillow
CN117715675A (en) Providing external stimulus to aid sleep
US20220105307A1 (en) Methods for managing the transition from sleep to final wake
CN105317722A (en) Control system for fan and control method for fan
WO2018147455A1 (en) Wake-up method and device using same
CN110420373A (en) Sleep training method, device, computer equipment and storage medium
Nansen et al. Senses and Sensors of Sleep

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22928221

Country of ref document: EP

Kind code of ref document: A1