WO2024087952A1 - Temperature adjustment method, system and electronic device - Google Patents

Temperature adjustment method, system and electronic device Download PDF

Info

Publication number
WO2024087952A1
WO2024087952A1 PCT/CN2023/120038 CN2023120038W WO2024087952A1 WO 2024087952 A1 WO2024087952 A1 WO 2024087952A1 CN 2023120038 W CN2023120038 W CN 2023120038W WO 2024087952 A1 WO2024087952 A1 WO 2024087952A1
Authority
WO
WIPO (PCT)
Prior art keywords
sleep
user
temperature
temperature control
time
Prior art date
Application number
PCT/CN2023/120038
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 WO2024087952A1 publication Critical patent/WO2024087952A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M21/02Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/65Concentration of specific substances or contaminants
    • F24F2110/66Volatile organic compounds [VOC]

Definitions

  • the present application relates to the field of computers, and in particular, to a temperature regulation method, system and electronic device.
  • sleep-wake rhythm generated by the body's internal biological clock is inconsistent with the desired sleep-wake rhythm, the body will develop a sleep rhythm disorder. Sleep rhythm disorders are often manifested as easy to fall asleep during the day, but difficult to fall asleep during the normal sleep period at night.
  • Temperature control devices such as air conditioners can adjust the ambient temperature during sleep
  • wearable devices such as smart watches can monitor the user's sleep data. It is worth considering improving the user's sleep quality by changing the ambient temperature.
  • the present application provides a temperature regulation method, system and electronic device, which determine a temperature control scheme by utilizing the user's sleep history data. With the temperature control scheme, the user can fall asleep at a more appropriate time, which is conducive to guiding the user to adjust the sleep rhythm and improve the user's sleep quality.
  • a temperature regulation method is provided, which is applied to a control host, comprising: the control host receives a user's sleep history data; the control host displays a first prompt message, the first prompt message is used to prompt the activation of a temperature control scheme, the temperature control scheme is determined according to the sleep history data, and the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
  • control host can use the user's sleep history data to determine a temperature control solution that can be used to adjust the user's sleep rhythm, which is conducive to active intervention in the user's sleep process, thereby adjusting the user's sleep rhythm and improving the user's sleep quality.
  • the control host in response to a first operation of the user, displays the temperature control scheme display interface; in response to a second operation of the user, the control host controls the temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
  • the second operation is an authorization operation of the user.
  • the second operation is an operation of the user modifying and confirming the temperature control plan.
  • the control host can show the temperature control plan to the user, and control the temperature control device to execute the temperature control plan on the premise that the user confirms to execute the temperature control plan. Executing the corresponding temperature control plan after obtaining the user's confirmation instruction is more conducive to the user's management of the operating status of the temperature control device than the plan that is directly executed without confirmation, and is conducive to the efficiency of the control host obtaining the user's control command during the execution of the temperature control plan.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the recommended bedtime is determined based on effective sleep duration on weekdays and effective sleep duration on weekends.
  • This technical solution provides a recommended bedtime in the temperature control solution. After reading the recommended bedtime, the user falls asleep at that time, which helps to compensate for the user's lack of sleep and adjust the user's sleep rhythm.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration may be referred to as a temperature guidance time period, and the first duration is used to adjust the user's sleep rhythm according to the ambient temperature.
  • a certain temperature rise interval is set before the recommended bedtime, which is helpful to enhance the user's sleepiness, thereby helping the user to fall asleep better and adjusting the user's sleep rhythm.
  • the first duration is determined according to a degree of lag in the user's sleep rhythm.
  • the degree of lag in the user's sleep rhythm can be determined based on the user's social jet lag and the user's effective sleep duration on weekdays.
  • the social jet lag can be determined based on the user's bedtime on rest days, bedtime on weekdays, effective sleep duration on rest days, and effective sleep duration on weekdays.
  • the length of the temperature rise interval before falling asleep is determined according to the lag of the user's sleep rhythm.
  • Different temperature control plans can be formulated for users with different sleep rhythms, which is conducive to improving the applicability of this technical solution.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • the melatonin level in the human body generally rises significantly in the period before falling asleep.
  • the significant increase in melatonin level can be understood as the body's sleepiness.
  • the second duration is approximately two hours.
  • the ambient temperature is increased only in the period before sleep when the melatonin level in the user's body rises significantly, which is equivalent to increasing the user's sleepiness when the user feels sleepy, which is conducive to the user falling asleep better and achieving the purpose of adjusting the user's sleep rhythm.
  • this temperature control solution will not affect the user's perceived temperature during the awake time, and will not affect the efficiency and accuracy of the temperature control device in adjusting the ambient temperature during the user's awake time.
  • the control host in response to a third operation of the user, displays a second prompt message, and the second prompt message is used to prompt the need to exit the temperature control scheme, and the third operation is used to adjust the working state of the temperature control device, and the temperature control device is used to adjust the ambient temperature.
  • the working state of the temperature control device may refer to the on or off state of the temperature control device, or the value of the temperature set by the temperature control device, or the attributes of the functions such as the wind speed and operation mode of the temperature control device and the state of the switch.
  • the third operation is an operation in which a user adjusts the working state of the temperature adjustment device through a control host or a control panel of the temperature adjustment device.
  • a user confirmation operation is set for protection of the temperature control solution, which is beneficial to improving the reliability of the implementation of the temperature control solution and the effect of the present technical solution in regulating the user's sleep rhythm.
  • control host displays a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
  • the user after executing the temperature control scheme, the user can be shown the sleep status after the temperature control scheme is enabled, which is beneficial for the user to obtain feedback information on the temperature control scheme's adjustment results for the sleep rhythm.
  • the user can determine whether to continue to execute the temperature control scheme based on the feedback information.
  • the user's sleep rhythm returns to normal, or when the temperature control scheme cannot adjust the user's sleep rhythm, the user can stop executing the temperature control scheme, which is beneficial for the user to understand their own physical health status, and to seek other more effective adjustment measures in a timely manner, which is beneficial to the user's physical health.
  • the sleep history data includes the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays; the recommended time to fall asleep is determined based on the effective sleep time on weekdays and the effective sleep time on rest days; the degree of lag of the sleep rhythm is determined based on the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays.
  • a temperature regulation method is provided, which is applied to a sleep monitoring device, comprising: the sleep monitoring device monitors the user's sleep history data; and the sleep monitoring device sends the sleep history data to a control host.
  • a temperature control method is provided, which is applied to a temperature control device, comprising: the temperature control device receives a temperature control scheme sent by a control host; and the temperature control device adjusts the ambient temperature according to the temperature control scheme.
  • the temperature adjustment device receives first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
  • the temperature adjustment device receives second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
  • the temperature adjustment device in response to a fourth operation of the user, sends a signal to the control host.
  • the machine sends a request message, where the request message is used to request to exit the execution of the temperature control scheme.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration is determined according to the degree of lag of the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • a temperature control system comprising: a sleep monitoring device, used to obtain a user's sleep history data, the sleep monitoring device is also used to send the sleep history data to a control host; the control host is used to determine a temperature control plan based on the sleep history data, the control host is also used to send the temperature control plan to the temperature control device; the temperature control device is used to adjust the ambient temperature according to the sleep temperature control plan; wherein the temperature control plan is used to adjust the user's sleep rhythm through the ambient temperature.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration is determined according to the degree of lag of the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • the sleep history data includes the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays; the recommended time to fall asleep is determined based on the effective sleep time on weekdays and the effective sleep time on rest days; the degree of lag of the sleep rhythm is determined based on the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays.
  • an electronic device comprising a processor and a memory, wherein the memory stores one or more computer programs, and the one or more computer programs include instructions.
  • the processor When the instructions are executed by the processor, the processor is used to: receive a user's sleep history data; the processor is also used to: display a first prompt message, wherein the first prompt message is used to prompt the activation of a temperature control scheme, wherein the temperature control scheme is determined based on the sleep history data, and wherein the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
  • the processor in response to a first operation of the user, is also used to: display the temperature control scheme display interface; in response to a second operation of the user, the processor is also used to: control a temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration is determined according to the degree of lag in the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • the processor in response to a third operation of the user, is also used to: display a second prompt message, the second prompt message being used to prompt the need to exit the temperature control scheme, the third operation being used to adjust the working state of the temperature control device, and the temperature control device being used to adjust the ambient temperature.
  • the processor is further used to: display a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
  • an electronic device comprising a processor and a memory, wherein the memory stores one or more computer programs, and the one or more computer programs include instructions.
  • the processor is used to: monitor the user's sleep history data; the processor is also used to: send the sleep history data to a control host.
  • an electronic device including a processor and a memory, the memory storing one or more computer programs, the one or more computer programs including instructions, when the instructions are executed by the processor, the processor is used to: receive a temperature control plan sent by a control host; the processor is also used to: adjust the ambient temperature according to the sleep temperature plan.
  • the processor is further used to: receive first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
  • the processor is further used to: receive second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
  • the processor in response to a fourth operation of the user, is further used to: send a request message to the control host, where the request message is used to request to exit the temperature control scheme.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration is determined according to the degree of lag in the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • a temperature adjustment device comprising an acquisition unit and a processing unit, wherein the acquisition unit is used to: receive a user's sleep history data; the processing unit is used to: display a first prompt message, wherein the first prompt message is used to prompt the activation of a temperature control scheme, wherein the temperature control scheme is determined based on the sleep history data, and wherein the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
  • the processing unit in response to a first operation of the user, is also used to display the temperature control scheme display interface; in response to a second operation of the user, the processing unit is also used to: control a temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  • the first duration is determined based on the degree of lag in the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • the processing unit in response to a third operation of the user, is also used to: display a second prompt message, the second prompt message being used to prompt the need to exit the temperature control scheme, the third operation being used to adjust the working state of the temperature control device, and the temperature control device being used to adjust the ambient temperature.
  • the processing unit is further used to: display a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
  • a temperature regulating device comprising an acquisition unit and a processing unit, wherein the processing unit is used to monitor the user's sleep history data; and the acquisition unit is used to send the sleep history data to a control host.
  • a temperature adjustment device comprising an acquisition unit and a processing unit, wherein the acquisition unit is used to: receive a temperature control scheme sent by a control host; and the processing unit is used to: adjust the ambient temperature according to the sleep temperature scheme.
  • the acquisition unit is further used to: receive first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
  • the acquisition unit is further used to: receive second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
  • the acquisition unit in response to a fourth operation of the user, is further used to: send a request message to the control host, where the request message is used to request to exit the temperature control scheme.
  • the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  • the environment In conjunction with the tenth aspect, in certain implementations of the tenth aspect, within a first period of time before the recommended sleeping time, the environment The temperature gradually rises.
  • the first duration is determined based on the degree of lag in the user's sleep rhythm.
  • the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  • a computer program product comprising a computer program code, and when the computer program code is run on a computer, the method in the first aspect or any possible implementation thereof is executed.
  • a computer program product which includes a computer program code.
  • the computer program code runs on a computer, the method in the second aspect or any possible implementation thereof is executed.
  • a computer program product which includes a computer program code, and when the computer program code is run on a computer, the method in the third aspect or any possible implementation thereof is executed.
  • a computer-readable storage medium wherein computer instructions are stored in the computer-readable medium.
  • the method in the first aspect or any possible implementation thereof is executed.
  • a computer-readable storage medium in which computer instructions are stored.
  • the method in the second aspect or any possible implementation thereof is executed.
  • a computer-readable storage medium in which computer instructions are stored.
  • the method in the third aspect or any possible implementation thereof is executed.
  • a chip comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the first aspect or any possible implementation thereof.
  • a chip comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the second aspect or any possible implementation thereof.
  • a chip comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the third aspect or any possible implementation thereof.
  • FIG1 is a schematic diagram of a hardware architecture of an electronic device applicable to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a software architecture of an electronic device applicable to an embodiment of the present application.
  • FIG. 3 is a temperature regulation method provided in an embodiment of the present application.
  • 4 to 10 are schematic diagrams of graphical user interfaces provided in embodiments of the present application.
  • FIG. 11 is a schematic diagram of changes in human melatonin levels within 24 hours provided in an embodiment of the present application.
  • 12 to 23 are schematic diagrams of graphical user interfaces provided in embodiments of the present application.
  • FIG. 24 is a schematic diagram of changes in a user's sleeping condition provided in an embodiment of the present application.
  • Figure 25 is a schematic diagram of a temperature adjustment device provided in an embodiment of the present application.
  • FIG. 26 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character "/” generally indicates that the objects associated before and after are in an "or” relationship.
  • references to "one embodiment” or “some embodiments” etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application.
  • the phrases “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean “one or more but not all embodiments", unless otherwise specified.
  • the terms “include”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized.
  • the method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
  • FIG1 shows a schematic diagram of the structure of an electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller a memory
  • video codec a digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be set in the processor 110.
  • the power management module 141 and the charging management module 140 can also be set in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
  • the mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the mobile communication module 150.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some functional modules of the mobile communication module 150 can be set in the processor 110.
  • at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
  • the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage device (universal flash storage, UFS) etc.
  • a non-volatile memory such as at least one disk storage device, a flash memory device, a universal flash storage device (universal flash storage, UFS) etc.
  • the electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • the key 190 includes a power key, a volume key, etc.
  • the key 190 may be a mechanical key or a touch key.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
  • phone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), and the like.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
  • FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application.
  • the layered architecture divides the software into several layers, each layer has a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
  • Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • human sleep is also affected by sleep drive.
  • the human body's biological clock generally oscillates in a cycle of about 24 hours.
  • Sleep drive is related to many factors, such as historical sleep (sleep debt), exercise, skin temperature, etc. Appropriate skin temperature will produce a sleep drive that is beneficial to improving the body.
  • adjusting the indoor environment such as light, temperature, sound, etc.
  • creating a good sleeping environment is beneficial to improving the quality of sleep.
  • the present application provides an ambient temperature control method, which can determine the appropriate sleeping time for the user in combination with the user's historical sleep data, and is conducive to guiding the user to sleep by adjusting the ambient temperature, and is conducive to adjusting the user's body rhythm. The following is further described in detail in combination with Figures 3 to 20.
  • FIG3 shows a temperature control method provided in an embodiment of the present application.
  • the method can use the sleep information of the user obtained by the sleep monitoring device to determine the temperature control scheme, and enable the temperature adjustment device to control the temperature in the bedroom according to the temperature control scheme.
  • the sleep monitoring device sends sleep history information, and correspondingly, the control host receives the sleep history information.
  • Sleep monitoring equipment refers to equipment that can be used to monitor the user's sleep data, such as one or more of a variety of equipment such as wearable devices, smart pillows, radar equipment, etc.
  • the sleep monitoring equipment can obtain the user's sleep data by monitoring the user's physiological parameters during sleep (such as heart rate, breathing rate, etc.).
  • sleep data can also be referred to as sleep information, sleep history data, sleep history information, sleep status information, etc.
  • the user's sleep data can be used to reflect the user's sleep status within a certain period of time.
  • the user's sleep data may include the user's sleep time, sleep time, sleep duration, deep sleep ratio, light sleep ratio, rapid eye movement (REM) ratio, and other information.
  • the user's sleep data can be used to analyze the user's sleep habits (such as the average time to fall asleep, the average duration of sleep, etc.), so as to provide users with some suggestions related to sleep and daily routines to a certain extent.
  • the control host can also be called the whole house control host, which can be used to refer to an electronic device that can control other electronic devices in the room (house) that establish a communication connection with the control host.
  • the control host can be an electronic device, or in other words, the data processing function, communication function, user interface display function, and user input function of the control host can be integrated on the same electronic device, such as the electronic device containing multiple hardware shown in Figure 1 above (for example, a smart phone, a tablet computer).
  • Another possible implementation method is that the communication function of the control host, the display function of the user interface and the function of obtaining user input can be respectively implemented by multiple electronic devices.
  • the data processing function and communication function of the control host are integrated on the router
  • the display function of the user interface is implemented by the smart TV
  • the function of obtaining user input can be implemented by the smart phone.
  • mutual communication can be established between two or more of the router, the smart TV and the smart phone.
  • the functions of the control host may also be integrated into the aforementioned sleep monitoring device.
  • the aforementioned smart watch may include the communication function, display function, input and output functions of the control host.
  • control host may also be integrated into multiple electronic devices controlled by the control host, for example, the functions of the control host may be integrated into an air conditioner, a speaker, and so on.
  • control host the sleep monitoring device and the temperature control device described below can be an electronic device, that is, the functions of these devices or devices can be integrated into one device.
  • a central air conditioner with a radar function can be used to monitor the user's sleep device, so that the user's sleep data acquisition, processing and utilization can be completed on the same device.
  • the sleep monitoring device can establish a communication connection with the control host, thereby realizing the transmission of information between the sleep monitoring device and the control host.
  • a communication connection can be established between the sleep monitoring device and the control host.
  • a smart watch and a smart phone can be connected via Bluetooth
  • a smart pillow and a router can be connected via a wireless LAN.
  • the sleep data monitored by the sleep monitoring device can be transmitted to the control host via Bluetooth and/or a wireless LAN.
  • the sleep monitoring device sending the sleep history information to the control host may refer to the reading and calling of data from different storage locations by the same electronic device.
  • control host determines a temperature control solution.
  • control host After receiving the sleep history information sent by the sleep monitoring device, the control host can determine the temperature based on the user's sleep history information. Control plan.
  • This temperature control solution can be used to adjust the temperature in the user's bedroom before and after the sleeping period.
  • the temperature control scheme can be used to control one or more of the temperature in the bedroom before the user goes to sleep (or called ambient temperature, indoor temperature, etc.), the temperature in the bedroom after getting up, the temperature in the bedroom during sleep, etc.
  • the temperature control scheme can raise the temperature in the bedroom to a first threshold within an appropriate time before the user falls asleep to enhance the user's sleepiness, thereby regulating the user's sleep rhythm (biological clock) to a certain extent and improving the user's sleep quality.
  • the temperature control scheme can lower the temperature in the bedroom for a period of time after the user falls asleep, and raise the temperature in the bedroom for a period of time before the user is about to go to sleep, thereby improving the user's sleep quality to a certain extent.
  • the temperature control scheme may also be used to prompt the user with a recommended bedtime.
  • the recommended bedtime may be determined based on the user's sleep duration on weekdays and sleep duration on weekends.
  • the temperature control solution may also be used to determine the maximum value and the minimum value of the ambient temperature in the bedroom of the user before and after the sleeping period.
  • the maximum value of the bedroom temperature can also be called the upper limit of the temperature control device, and the minimum value of the bedroom temperature can also be called the lower limit of the temperature control device.
  • the maximum value of the bedroom temperature and the minimum value of the bedroom temperature can be determined based on the user's usage habits of the temperature control device. For example, the maximum value and the minimum value of the temperature control device set by the user and the changes in the room temperature within a natural month can be recorded to determine the range of bedroom temperatures that the user is accustomed to.
  • the maximum and minimum values of the bedroom temperature determined by the temperature control device may be different for different users, different seasons, and different geographical locations.
  • the range of bedroom temperature values may also be determined based on other factors such as the environment outside the bedroom and different users.
  • control host can be an electronic device or a combination of different functions of multiple electronic devices.
  • control host sends a temperature control plan, and correspondingly, the temperature adjustment device receives the temperature control plan.
  • a temperature regulating device may also be referred to as a temperature control device, which refers to an electronic device that can be used to regulate room temperature, such as an air conditioner, a heater, a humidifier, etc.
  • the temperature regulating device can establish a communication connection with the control host, so that, through the communication connection, the temperature regulating device can receive the temperature control scheme sent by the control host.
  • the temperature adjustment device may be an air conditioner
  • the control host may be a smart phone.
  • An infrared connection is established between the air conditioner and the smart phone, and through the infrared connection, the smart phone can send a temperature control plan to the air conditioner.
  • the temperature adjustment device is an air conditioner
  • the communication function of the control host is implemented by a router
  • the display function of the control host is implemented by a smart phone.
  • a wireless LAN connection is established between the router and the smart phone, and a wireless LAN connection is also established between the router and the air conditioner.
  • the smart phone can obtain the user's operation and send the temperature control plan to the router, which is then forwarded to the air conditioner by the router, so that the air conditioner can obtain the temperature control plan.
  • control host may also send other information or commands to the temperature adjustment device.
  • the control host can send a command to the temperature adjustment device to suspend the execution of the temperature control scheme; when the temperature control scheme is suspended, the control host can also send a command to the temperature adjustment device to continue the execution of the temperature control scheme.
  • the temperature regulating device when the temperature regulating device can control the operation mode and operation method through multiple control switches, for example, the temperature regulating device includes a first control panel, the first control panel can be used to control the temperature regulating device, and the aforementioned control host can also control the temperature regulating device.
  • the temperature regulating device can send a message to the control host that the temperature control plan has been suspended.
  • the temperature regulating device that receives the temperature control scheme may parse and process the temperature control scheme to obtain executable control commands. According to the control commands, the temperature regulating device executes the temperature control scheme.
  • the temperature control device can convert this information into executable commands.
  • protection measures for the execution of the temperature control scheme can be set. For example, it can be limited that the temperature set by the temperature control device cannot be manually changed during the execution of the temperature control scheme. Or, during the execution of the temperature control scheme, only certain authorized users can manually change the temperature of the temperature control device. Only restricted users can pause or stop the execution of the temperature control plan.
  • the control host can parse the temperature control scheme to obtain multiple control commands for the user to control the temperature adjustment device, and the multiple control commands can establish a corresponding relationship with time. For example, the first control command needs to be sent at a first time, and the second control command needs to be sent at a second time. That is, the parsing process of the temperature control scheme can also be completed by the control host.
  • the control host completes the analysis and processing of the control scheme without making changes to the temperature control equipment, which is beneficial to improving the compatibility of the technical solution and expanding the application scope of the technical solution.
  • control host and the temperature control device can be the same electronic device.
  • sending and receiving of information between the control host and the temperature control device can be understood as the reading, writing and calling of data and information on different storage spaces in the same electronic device.
  • FIG. 3 describes in detail the information flow relationship between multiple devices in the temperature adjustment method provided by the embodiment of the present application, or the process of the mutual cooperation and coordination between multiple devices to achieve the function of adjusting the bedroom temperature before and after the user's sleep period.
  • the following further introduces the temperature adjustment method provided by the embodiment of the present application from the user's perspective.
  • the smart watch 400 represents the above-mentioned sleep monitoring device
  • the smart phone 500 represents the above-mentioned control host
  • the air conditioner represents the above-mentioned temperature adjustment device. It should be understood that the following embodiments are only exemplary descriptions and do not constitute limitations on this application.
  • the sleep monitoring equipment can be one or more of a variety of devices such as wearable devices (such as smart bracelets, smart watches, etc.), smart pillows, smart mattresses, radar equipment, etc.
  • the function of monitoring the user's sleep conditions can be completed by a single device or by a combination of multiple devices.
  • Monitoring the user's sleep status through multiple methods or multiple devices is conducive to obtaining more comprehensive and accurate sleep data, which is conducive to improving the feasibility and accuracy of the subsequent temperature control solution based on the sleep data.
  • Monitoring the user's sleep status through a single device can reduce the amount of calculation of the device in the subsequent temperature control solution process to a certain extent, which is conducive to improving the efficiency of the device outputting the temperature control solution.
  • the user can directly view the sleep data that can reflect the user's sleep condition monitored by the aforementioned device on the sleep monitoring device, or the sleep monitoring device can also analyze and process the monitored sleep data and determine the user's sleep condition based on the analysis and processing results.
  • Sleep data can also be called sleep information, sleep history data, sleep history information, sleep condition information, etc.
  • the user's sleep data can be used to reflect the user's sleep condition within a certain period of time.
  • the user's sleep data may include the user's sleep time, sleep time, sleep duration, deep sleep ratio, light sleep ratio, rapid eye movement (REM) ratio, and other information.
  • the sleep monitoring device can inform the user of the user's sleep status in the form of a notification.
  • the notification sent by the sleep monitoring device can also prompt the user whether to turn on the "sleep aid" function.
  • the sleep monitoring device may be a smart watch 400, which may analyze and process the monitored user sleep data and determine the user's sleep condition.
  • the smart watch 400 may issue a notification 401, which may be used to prompt the user to pay attention to the sleep condition and give suggestions for improving the sleep quality and sleep condition (for example, the smart watch 400 may suggest that the user turn on the "sleep aid" function).
  • the smart watch 400 may also display a function option 402, and when the user clicks on the function option 402, the smart watch 400 may further display detailed information about the user's sleep condition to the user, such as sleep duration, deep sleep ratio, etc.
  • a communication connection may be provided between the smart phone 500 and the smart watch 400, and the smart phone 500 may view, manage, and process the user data monitored by the smart watch 400.
  • the sleep monitoring device is a smart watch 400, and the smart watch 400 may transmit the monitored sleep data of the user to the smart phone 500, and the smart phone 500 may analyze and process the sleep data obtained from the smart watch 400 to obtain information that may reflect the sleep quality and sleep status of the user.
  • the smart phone 500 may display a first prompt control 501, which may be used to prompt the user of his sleep status.
  • the prompt control may also give suggestions to improve the user's sleep quality (for example, the smart watch 400 may suggest that the user turn on the "sleep aid" function).
  • the first prompt control 501 may also include a first function option 502 and a second function option 503.
  • the smart phone 500 A detailed page about suggestions for improving sleep quality can be opened (for example, the smartphone 500 can jump to or open an interface for enabling the "sleep assistance"function); when the user clicks on the second function option 503, the smartphone 500 can display a detailed page of the user's sleep data (for example, the page shown in Figure 6).
  • Figure 6 exemplarily provides a first page 601 that displays the user's sleep data in detail.
  • the first page 601 can be used to display the user's sleep status and suggestion information for improving sleep, wherein the sleep status may include information such as sleep duration, deep sleep time, light sleep time, rapid eye movement time, etc., and the suggestion information may include prompt information for turning on the auxiliary sleep function, prompt information for adjusting living habits, etc.
  • the first page 601 may also display function prompt information 602, which is used to prompt the user whether to enable a function that can be used to improve sleep quality.
  • function prompt information 602 may be used to prompt whether the "sleep assistance" function is enabled.
  • the first page 601 may also display a function entry 603 (or a function activation link 603), which may be an entry for activating a function for improving the user's sleep quality.
  • a function entry 603 or a function activation link 603
  • the smart phone 500 may jump to or display an activation page for the function.
  • the sleep monitoring device or the electronic device used to manage the sleep monitoring device can proactively send a notification message to the user to remind the user of the sleep quality, so that the user can understand his or her sleep condition.
  • the user can be provided with an access to auxiliary functions (such as sleep assistance functions) that can improve the user's sleep quality, which is beneficial to improving the user's sleep quality and the user's physical health.
  • the user may also actively turn on the aforementioned "sleep assistance" function.
  • the sleep monitoring device is a smart watch 400
  • the smart phone 500 can receive, process and analyze the monitoring data about the user's sleep obtained by the smart watch 400.
  • FIG. 7 shows a second page 701 for the smart phone 500 to manage the smart watch 400.
  • the second page 701 can be used to display the relevant functions of the smart watch 400, such as battery power, message notification function, weather push function, sleep assistance function, etc.
  • the relevant functions of the smart watch 400 can be functions that the smart watch 400 has alone, or the relevant functions of the smart watch 400 can also be functions that require the smart watch 400 to cooperate with other devices, electrical appliances, etc. to be realized.
  • the smart phone 500 can jump to or open the corresponding function page. For example, when the user clicks on the "Sleep Assist" function entry 702, the smart phone 500 can jump to the page shown in FIG. 8.
  • Providing an entry for enabling a function in the management page of an electronic device related to the function is helpful in improving the correlation between the electronic device and the function, improving the efficiency of users in enabling the function, simplifying the complexity of operating the electronic device, and realizing centralized management of multiple electronic devices.
  • a third page 801 for turning on the "sleep aid” function is shown as an example.
  • the third page 801 includes a first switch 802 that can turn on or off the "sleep aid” function.
  • the first switch 802 can be turned off by default.
  • the smart phone 500 can guide the user to complete operations such as configuration and permission management of the function.
  • a one-button switch can be set, which is conducive to the management of multiple devices that collaborate with each other and improves the management efficiency of the equipment.
  • FIG9 shows an authorization prompt control 901 displayed by the smartphone 500 after the aforementioned “Sleep Assistance” function is turned on.
  • the authorization prompt control 901 can be used to prompt the user: turning on the “Sleep Assistance” function requires obtaining the user’s sleep data. If the user agrees to obtain the sleep data, the smartphone 500 can guide the user to further set up and turn on the “Sleep Assistance” function; if the user does not agree to obtain the sleep data, the smartphone 500 can display a prompt message of “Insufficient authority, unable to turn on the Sleep Assistance” function to prompt that the “Sleep Assistance” function failed to be turned on.
  • the user can enable the "sleep aid" function through multiple entrances, and the aforementioned authorization prompt control 901 can be displayed on the page shown in Figure 5, Figure 6 or Figure 8.
  • the function can be turned on after obtaining the user's authorization. This is conducive to ensuring the user's privacy and facilitating the rational use of user data.
  • the smart phone 500 can display the fourth page 1001 as shown in Figure 10.
  • the fourth page 1001 can also be used to show the user the temperature control plan to be executed.
  • the fourth page 1001 can also obtain the data and information input by the user for setting the temperature control plan.
  • the fourth page 1001 may include a graphic display area 1002, which may be used to communicate The relationship between bedroom temperature and time in the temperature control solution is shown to users through curves, icons, graphics, etc.
  • the graphic display area 1002 can display the temperature control scheme to the user in the form of a curve.
  • the graphic display area 1002 can display the guide interval (or referred to as the preparatory interval, preparation interval, guide time period, etc.) for guiding the user to enter the sleep state, and the graphic display area 1002 can also be used to display the sleep interval in which the user is in the sleep state.
  • the graphic display area 1002 can also be used to display the relationship curve/broken line of the corresponding relationship between the bedroom temperature and time in the guide interval, and the graphic display area 1002 can also be used to display the relationship curve/broken line of the corresponding relationship between the bedroom temperature and time in the sleep interval.
  • the graphic display area 1002 can also be used to display the start time, start temperature, end time, and end temperature of the guide interval, as well as the start time, start temperature, end time, and end temperature of the sleep interval.
  • the fourth page 1001 may also include a data display area 1003, which may be used to display data information of one or more characteristic points in the temperature control scheme.
  • the data information of the one or more characteristic points may include one or more of the following: sleeping time ts, waking time te, expected sleeping time te-ts, sleeping temperature guidance time ⁇ t2, maximum sleeping room temperature Wg, and minimum sleeping room temperature Wd.
  • the data display area 1003 can intuitively display key node information in the temperature control solution to the user.
  • the aforementioned temperature control scheme may be provided with a default scheme, or a recommended scheme.
  • the recommended scheme may include data information of one or more characteristic points in the aforementioned temperature control scheme, that is, the data of one or more characteristic points in the temperature control scheme may have a default value or a recommended value.
  • a method for determining the default value of the above feature point data is provided below.
  • one or more of the following sleep data of the user can be obtained: average sleep time on rest days (sleep onset freeday, SOF), average sleep time on weekdays (sleep onset workday, SOW), average effective sleep duration on rest days (sleep duration freeday, SDF), average effective sleep duration on weekdays (sleep duration workday, SDW), median sleep time on rest days (middle sleep time freeday, MSF) and median sleep time on weekdays (middle sleep time workday, MSW).
  • MSFsc median sleep time freeday after sleep compensated
  • the recommended bedtime and recommended wake-up time in the graphic display area 1002 can be calculated, that is, the default value of the bedtime ts and the default value of the wake-up time te in the data display area, as well as the default value of the expected sleep duration te-ts.
  • the time span of the guidance interval in the graphic display area 1002 (or called the sleep temperature advance time (time advance, T_adv)) or the default value ⁇ t1 of the sleep temperature guidance duration in the data display area 1003 can be determined according to the change of melatonin level in the human body.
  • FIG11 exemplarily provides a curve chart of the change of melatonin level in the human body in one day.
  • the melatonin level in the human body In the wake zone (non-sleep time period), the melatonin level in the human body is relatively low, and in the sleep zone (sleep time period), the melatonin level in the human body is relatively high.
  • the melatonin level in the human body gradually increases.
  • point A and point B on the curve (within the time interval of ⁇ t2), the increase in melatonin level in the human body is more obvious.
  • the time span of the guidance interval or the default value ⁇ t1 of the sleep temperature guidance time in the data display area 1003 is determined according to the length of the time period when the melatonin level in the human body rises significantly (denoted as ⁇ t2). Specifically, ⁇ t1 is less than or equal to At ⁇ t2.
  • the time span of the guidance interval or the default value ⁇ t1 of the sleeping temperature guidance time in the data display area 1003 needs to be determined according to the length of the time period when the melatonin level in the human body rises significantly (denoted as ⁇ t2), and can also be determined in combination with the user's historical sleep conditions and the lag of the sleep rhythm. In other words, it can be determined in combination with the user's sleep data obtained by the aforementioned sleep monitoring device.
  • the user's sleep rhythm can be determined based on the sleep data obtained by the sleep monitoring device. Specifically, as described above, the user's SLJ and SDW can be determined based on the sleep data, and the user's sleep rhythm can be determined based on the relationship between SLJ and a first preset threshold and/or the relationship between SDW and a second preset threshold.
  • the user's sleep rhythm can be considered normal; when user 1 ⁇ SLJ ⁇ 2 and SDW ⁇ 7, the user's sleep rhythm can be considered slightly delayed; when user 2 ⁇ SLJ ⁇ 3 and SDW ⁇ 7, the user's sleep rhythm can be considered moderately delayed; when user SLJ>3 and SDW ⁇ 7, the user's sleep rhythm can be considered severely delayed.
  • T_adv the time span of the guidance interval
  • T_adv the time span of the guidance interval
  • T_adv the time span of the guidance interval
  • the temperature in the temperature control scheme can be determined based on the user's usage habits of the temperature control device.
  • the temperature control device can obtain the highest temperature and the lowest temperature set by the user using the temperature control device in a natural month, as well as the highest room temperature and the lowest room temperature when the temperature control device is in operation in the natural month, to determine the highest sleeping room temperature Wg and the lowest sleeping room temperature Wd in the temperature control scheme.
  • the ambient temperature in the temperature control solution, can be determined based on the user's input data. For example, in the input area 1003 shown in FIG10 , input items for the maximum sleeping room temperature and the minimum sleeping room temperature are provided, and the user can enter the corresponding values in the input area 1003 .
  • a guidance interval is set, and the length of the temperature guidance interval can be determined according to the user's historical sleep conditions, which is conducive to improving the user's sleep rhythm lag through temperature regulation and improving the user's sleep quality.
  • the length of the guidance interval is determined in combination with the relationship between the change of melatonin levels in the human body over time, which is conducive to more reasonably guiding the user to enter the sleep state and improving the user's sleep condition.
  • the aforementioned smart phone 500 can display a recommendation prompt control 1301 as shown in Figure 13, and the recommendation prompt control 1301 can be used to prompt the user that the recommended temperature control scheme has been configured for the user.
  • the recommendation prompt control 1301 can also be used to prompt the user that the recommended temperature control scheme can be changed.
  • the user can also adjust the temperature control scheme or the user can customize the temperature control scheme.
  • the following further describes how the user adjusts the temperature control scheme.
  • the user may adjust the temperature control scheme through the graphic display area 1002 as shown in FIG. 10 .
  • an adjustment point may be provided on the curve, and the adjustment point may be used by the user to adjust the temperature control scheme.
  • the user may drag the adjustment point along the direction of the temperature coordinate axis, thereby changing the temperature corresponding to the temperature end point of the guide interval in the temperature control scheme.
  • the user may drag the adjustment point along the direction of the time axis, thereby changing the time to fall asleep and the time to get up (the time to wake up) in the temperature control scheme.
  • prompt information can also be displayed on the graphic display area 1002, and the prompt information is used to prompt the user to manually adjust the time and temperature information in the temperature control solution.
  • the smart phone 500 can continuously obtain the moving direction and distance of the adjustment point in the direction of the temperature coordinate axis and the moving direction and distance in the direction of the time coordinate axis, thereby determining the temperature and time information of the adjustment point.
  • the data of the characteristic points of the changed scheme will also be synchronized to the data display area 1003.
  • the sleep temperature guidance time and the maximum sleep room temperature in the data display area 1003 can be synchronized and updated.
  • the user can adjust the temperature control scheme directly in the graphic display area 1002 .
  • the user can intuitively feel the changes in the temperature control scheme, which is conducive to improving the efficiency of the user-defined temperature control scheme.
  • the user may adjust the temperature control scheme through the data display area 1003 as shown in FIG. 10 .
  • the data of the characteristic points of each temperature control scheme can be set with a manual input entry 1004.
  • the smart phone 500 can display the first input control 1401 shown in FIG. 14 or the second input control 1501 shown in FIG. 15 and similar input controls. Through these input controls, the smart phone 500 can obtain the data of the characteristic points input by the user.
  • these input controls can also prompt the user to enter the appropriate range of the current input item, or when the value of the data entered by the user deviates from the default value determined according to the user's sleep condition by a large margin, the smart phone 500 can send a prompt message to the user to prompt the user to adjust the input data to an appropriate range.
  • the second input control 1501 may display that the recommended temperature guidance duration for falling asleep is between 50 and 60 minutes.
  • the above input controls can also be displayed when the user first turns on the "Sleep Assist" function to configure a default temperature control plan for the user.
  • the smart phone 500 may display a confirmation prompt control 1601 as shown in FIG. 16, and the confirmation prompt control 1601 may include a save function option 1602 and a restore recommended scheme function option 1603.
  • the smart phone 500 in response to the user's operation, the smart phone 500 generates a temperature control scheme to be executed based on the current information of the temperature control scheme.
  • the smart phone 500 restores the temperature control scheme changed by the user to the recommended temperature control scheme, or in other words, restores the value of the characteristic point on the temperature control scheme input by the user to the default value.
  • the user can use the recommended temperature control scheme as the temperature control scheme to be executed, and the user can also use the temperature control scheme set by himself as the temperature control scheme to be executed.
  • the smart phone 500 obtains the information of the temperature control scheme displayed in the current fourth page 1001, and sends the information of the current temperature control scheme to the temperature control device, so that the temperature control device can adjust the ambient temperature in the bedroom according to the received temperature control scheme.
  • the smart phone 500 when the user clicks on the above-mentioned "Confirm Execution" function option 1005, in response to the user's operation, the smart phone 500 can display a confirmation prompt control 1701 as shown in Figure 17, and the confirmation prompt control 1701 can be used to obtain the user's secondary confirmation indication.
  • the smart phone 500 can obtain the user's secondary confirmation indication and send the temperature control plan to the temperature control device.
  • the confirmation prompt control 1701 may also be used to prompt the user that the temperature control device cannot be manually adjusted during the execution of the temperature control scheme.
  • the temperature control device can parse the sleep temperature control scheme to determine the method for executing the sleep temperature control scheme. For example, by parsing the sleep temperature control scheme, the start time and start temperature of the guide interval, the end time and end temperature of the guide interval, etc. can be obtained. The time point for starting the temperature adjustment and the end temperature to be adjusted are set according to the parsed result and the current bedroom temperature.
  • the user may manually adjust the temperature control device, and the process of manual adjustment by the user in this case is described in detail below in conjunction with Figures 18 to 20.
  • the following description takes the temperature control device as an air conditioner as an example.
  • FIG18 exemplarily provides a schematic diagram of a display area of a control panel of an air conditioner.
  • the display area of the control panel of the air conditioner can display the current operating mode, temperature, wind speed, prompt information and other contents of the air conditioner.
  • the operating mode display area can display an icon 1801 or text indicating "sleep assistance mode”
  • the temperature display area can display an icon 1802 or text indicating that the temperature cannot be manually adjusted
  • the prompt information display area can display a prompt message "You need to exit the current operating mode before you can manually adjust the temperature.”
  • the content of the prompt information can be displayed only when the user manually adjusts the temperature (for example, by pressing the "+” or "minus” key on the control panel). show.
  • the user can manually adjust the temperature of the air conditioner.
  • the user can manually adjust the temperature of the air conditioner through the aforementioned smart phone 500 or other smart devices that can be used to control the air conditioner.
  • FIG19 exemplarily provides an interface diagram of an application program (hereinafter referred to as an air conditioner control program) for manually adjusting the temperature of the air conditioner.
  • the interface of the air conditioning control program can display the current air conditioning operation mode, temperature, wind speed, wind direction and other information.
  • the operation mode display area can display that the current air conditioning operation mode is the sleep assistance mode (e.g., graphic 1902 or text), and the temperature display area can display an icon 1901 or text indicating that the temperature cannot be manually adjusted.
  • the smart phone 500 can display a failure prompt control 2001 as shown in FIG. 20 , and the failure prompt control 2001 can be used to prompt that the current air conditioning is operating in the sleep assistance mode and the air conditioning temperature cannot be manually adjusted.
  • the failure prompt control 2001 can also include an "exit" function option.
  • the smart phone 500 When the user selects the "exit” function option, in response to the user's operation, the smart phone 500 sends an instruction message to exit the sleep assistance to the air conditioning; the failure prompt control 2001 can also include a "continue” function option. When the user selects the "continue” function option, the smart phone 500 may not send control information to the air conditioning.
  • the user may need to actively control the temperature control setting to exit the execution of the temperature control scheme.
  • the following describes the process of the user exiting the execution of the temperature control scheme through the smart phone 500 and resuming the execution of the temperature control scheme after exiting in conjunction with Figures 21 and 22.
  • FIG21 exemplarily provides a control page 2101 of a temperature control scheme in which a smart phone 500 controls the temperature control scheme during the execution of the temperature control scheme by a temperature control device.
  • the control page 2101 may include a first information display area 2102, which may be used to display the current time information, date information, schedule information, etc.; the control page 2101 may also include a status display area 2103, which may be used to display whether the temperature control scheme is in execution, and the status display area 2103 may also be used to display which stage of the temperature control scheme the current time point is in, such as whether the current time point is in the sleep interval, whether the current time point is in the bedroom heating or cooling interval, etc.
  • the status display area 2103 may display the execution status of the temperature control scheme by text, graphics, animation or other means.
  • the control page 2101 may also include a second information display area 2104, which may be used to display events that are about to occur in the next stage of the temperature control scheme.
  • the second information display area 2104 may be used to indicate that the bedroom will be heated by 1°C in 2 hours.
  • the control page 2101 may also include an "exit execution" function option 2105.
  • the smart phone 500 may send a command to the temperature control device to exit the execution of the temperature control scheme.
  • the temperature control device receives the control command, it may exit the execution of the temperature control scheme. In this case, the user may manually adjust the temperature set by the temperature control device.
  • the aforementioned state display area 2203 may display that the sleep assistance mode has been exited.
  • the aforementioned control page 2201 may also include a "Continue Execution" function option 2206.
  • the smart phone 500 may send a command to execute the temperature control scheme to the temperature control device, and when the temperature control device receives the command, the temperature control device may continue to execute the temperature control scheme according to the temperature control scheme and the current time.
  • the temperature control device can also first adjust the temperature in the bedroom in combination with the current bedroom temperature and the temperature at the current time point in the temperature control plan. For example, if the current bedroom temperature is 22.5°C and the bedroom temperature at the current time point in the temperature control plan is 23°C, the temperature control device can first perform a heating operation in the bedroom so that the bedroom temperature can reach 23°C, and then continue to execute the temperature control plan.
  • the first page 601 showing the user's sleep status as shown in Figure 6 can display that the current sleep data is obtained when the "sleep assistance" function is turned on, or in other words, the first page 601 can display a prompt message 2301 that "sleep assistance function is turned on".
  • the first page 601 can also display the changes in the user's sleep data when the sleep assistance function is turned on, for example, after turning on the sleep temperature control, the user's deep sleep ratio increases.
  • the user's sleep status is monitored for a period of time to obtain a sleep change diagram as shown in FIG24.
  • the user As shown in FIG. 24 , after the aforementioned “sleep assistance” function is enabled, as time goes by, the user’s sleeping time gradually moves forward. That is, the user's sleep time gradually becomes earlier, and the user's sleep duration gradually becomes longer. Overall, the user's sleep rhythm gradually returns to normal, and the user's sleep quality gradually improves.
  • the sleep change graph shown in FIG. 24 may also be displayed in the first page 601 to show the changes in the user's sleep condition after the “sleep assistance” function is enabled.
  • an embodiment of the present application also provides a temperature control device 2500, which includes an acquisition unit 2510 and a processing unit 2520.
  • the acquisition unit is used to obtain the user's sleep data obtained by the control host in the embodiments shown in Figures 3 to 24, and the processing unit is used to execute the processing operations performed by the control host in the embodiments shown in Figures 3 to 24, such as determining a temperature control scheme based on the user's sleep data.
  • the temperature device may further include a communication unit 2530, which is used to perform communication and data transmission operations with the sleep monitoring device and the temperature control device, etc., which are performed by the control host in the embodiments shown in Figures 3 to 24.
  • a communication unit 2530 which is used to perform communication and data transmission operations with the sleep monitoring device and the temperature control device, etc., which are performed by the control host in the embodiments shown in Figures 3 to 24.
  • An embodiment of the present application further provides another temperature adjustment device, which includes an acquisition unit and a processing unit.
  • the temperature adjustment device is used to execute the operations performed by the sleep monitoring device in the aforementioned embodiment.
  • An embodiment of the present application further provides another temperature adjustment device, which includes an acquisition unit and a processing unit.
  • the temperature adjustment device is used to execute the operations executed by the temperature control device in the aforementioned embodiment.
  • an embodiment of the present application also provides an electronic device 2600, which includes a processor 2610 and a memory 2620.
  • the processor is used to execute the processing operations performed by the electronic device in the embodiments shown in Figures 3 to 24, such as determining a temperature control scheme based on the user's sleep data, etc.
  • One or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by one or more processors, any of the Chinese translation methods described above is executed.
  • An embodiment of the present application also provides another electronic device, which includes a processor and a memory, and is used to execute the operations performed by the sleep monitoring device in the aforementioned embodiment.
  • An embodiment of the present application also provides another electronic device, which includes a processor and a memory, and is used to execute the operations performed by the temperature adjustment device in the above-mentioned embodiment.
  • An embodiment of the present application also provides a computer program product, which includes a computer program code.
  • the computer program code runs on a computer, the computer implements the method in the embodiments shown in Figures 3 to 24.
  • An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions.
  • the computer instructions When the computer instructions are executed on a computer, the computer implements the method in the embodiments shown in Figures 3 to 24.
  • An embodiment of the present application also provides a chip, including a processor for reading instructions stored in a memory.
  • the processor executes the instructions, the chip implements the methods in the embodiments shown in Figures 3 to 24.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. It includes several instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

Landscapes

  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Anesthesiology (AREA)
  • Psychology (AREA)
  • Hematology (AREA)
  • Pain & Pain Management (AREA)
  • Acoustics & Sound (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Automation & Control Theory (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Telephone Function (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The present application provides a temperature adjustment method, a system and an electronic device. A sleep monitoring device can obtain sleep history data of a user, a control host can determine a temperature control scheme based on the sleep history data, and a temperature adjustment device can adjust an ambient temperature before and after a sleep period of the user according to the temperature control scheme; the temperature control scheme can comprise a recommended sleep time point, and appropriately increasing the ambient temperature before the recommended sleep time to improve the user's sleep. The temperature adjustment scheme, system and electronic device provided by the present application are conducive to adjusting the user's sleep rhythm and improving the user's sleep quality.

Description

温度调节的方法、系统和电子设备Temperature regulation method, system and electronic device
本申请要求于2022年10月26日提交中国专利局、申请号为202211317583.1、发明名称为“温度调节的方法、系统和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on October 26, 2022, with application number 202211317583.1 and invention name “Method, system and electronic device for temperature regulation”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及计算机领域,具体的,涉及一种温度调节的方法、系统和电子设备。The present application relates to the field of computers, and in particular, to a temperature regulation method, system and electronic device.
背景技术Background technique
在人体内部生物钟所产生的睡眠-清醒节律与所期望的睡眠-清醒节律不一致的情况下,人体会产生睡眠节律障碍。睡眠节律障碍常常表现为易在日间入睡,而在夜间正常睡眠时间段难以入睡。When the sleep-wake rhythm generated by the body's internal biological clock is inconsistent with the desired sleep-wake rhythm, the body will develop a sleep rhythm disorder. Sleep rhythm disorders are often manifested as easy to fall asleep during the day, but difficult to fall asleep during the normal sleep period at night.
研究表明人体的生理节律受光照、温度等因素的影响,而昼夜作息不规律、心理压力过大等都可能导致睡眠节律障碍。空调等温度控制设备可以调整用户睡眠期间的环境温度,智能手表等可穿戴设备可以监测用户的睡眠数据,通过改变环境温度来改善用户的睡眠质量是值得考虑的。Studies have shown that the body's physiological rhythm is affected by factors such as light and temperature, and irregular day and night routines and excessive psychological stress can lead to sleep rhythm disorders. Temperature control devices such as air conditioners can adjust the ambient temperature during sleep, and wearable devices such as smart watches can monitor the user's sleep data. It is worth considering improving the user's sleep quality by changing the ambient temperature.
发明内容Summary of the invention
本申请提供一种温度调节的方法、系统和电子设备,通过利用用户的睡眠历史数据确定温度控制方案,利用该温度控制方案,用户可以在更合适的时间点入睡,有利于引导用户调整睡眠节律,有利于提高用户的睡眠质量。The present application provides a temperature regulation method, system and electronic device, which determine a temperature control scheme by utilizing the user's sleep history data. With the temperature control scheme, the user can fall asleep at a more appropriate time, which is conducive to guiding the user to adjust the sleep rhythm and improve the user's sleep quality.
第一方面,提供一种温度调节的方法,该方法应用于控制主机,包括:控制主机接收用户的睡眠历史数据;该控制主机显示第一提示信息,该第一提示信息用于提示启用温度控制方案,该温度控制方案根据该睡眠历史数据确定,该温度控制方案用于通过环境温度调整用户的睡眠节律。In a first aspect, a temperature regulation method is provided, which is applied to a control host, comprising: the control host receives a user's sleep history data; the control host displays a first prompt message, the first prompt message is used to prompt the activation of a temperature control scheme, the temperature control scheme is determined according to the sleep history data, and the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
本技术方案中,控制主机可以利用用户的睡眠历史数据确定可以用于调整用户的睡眠节律的温度控制方案,有利于实现对于用户睡眠过程的主动干预,从而实现对用户的睡眠节律的调整,有利于提高用户的睡眠质量。In this technical solution, the control host can use the user's sleep history data to determine a temperature control solution that can be used to adjust the user's sleep rhythm, which is conducive to active intervention in the user's sleep process, thereby adjusting the user's sleep rhythm and improving the user's sleep quality.
结合第一方面,在第一方面的某些实现方式中,响应于用户的第一操作,该控制主机显示该温度控制方案展示界面;响应于用户的第二操作,该控制主机控制温度调节设备执行该温度控制方案,该温度调节设备用于调节该环境温度。In combination with the first aspect, in certain implementations of the first aspect, in response to a first operation of the user, the control host displays the temperature control scheme display interface; in response to a second operation of the user, the control host controls the temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
在一种可能的实现方式中,该第二操作为用户的授权操作。In a possible implementation manner, the second operation is an authorization operation of the user.
在另一种可能的实现方式中,该第二操作为用户修改并确认温度控制方案的操作。In another possible implementation, the second operation is an operation of the user modifying and confirming the temperature control plan.
本技术方案中,控制主机可以向用户展示温度控制方案,在用户确认执行该温度控制方案的前提下,控制温度调节设备执行温度控制方案。在获取用户的确认指示后再执行相应的温度控制方案,相对于不确认直接执行的方案,有利于实现用户对于温度调节设备运行状态的管理,有利于温度控制方案执行过程中,控制主机获取用户控制命令的效率。In this technical solution, the control host can show the temperature control plan to the user, and control the temperature control device to execute the temperature control plan on the premise that the user confirms to execute the temperature control plan. Executing the corresponding temperature control plan after obtaining the user's confirmation instruction is more conducive to the user's management of the operating status of the temperature control device than the plan that is directly executed without confirmation, and is conducive to the efficiency of the control host obtaining the user's control command during the execution of the temperature control plan.
结合第一方面,在第一方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the first aspect, in certain implementations of the first aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
在一种可能的实现方式中,该推荐的入睡时间点根据工作日有效睡眠时长和休息日有效睡眠时长确定。In a possible implementation, the recommended bedtime is determined based on effective sleep duration on weekdays and effective sleep duration on weekends.
本技术方案,在温度控制方案中提供推荐的入睡时间点,用户在读取该推荐的入睡时间点后,在该时间点入睡,有利于补偿用户欠缺的睡眠时间,有利于调整用户的睡眠节律。This technical solution provides a recommended bedtime in the temperature control solution. After reading the recommended bedtime, the user falls asleep at that time, which helps to compensate for the user's lack of sleep and adjust the user's sleep rhythm.
结合第一方面,在第一方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the first aspect, in certain implementations of the first aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
在一种可能的实现方式中,该第一时长可以称为温度引导时间段,该第一时长用于通过环境温度调整用户的睡眠节律。 In a possible implementation, the first duration may be referred to as a temperature guidance time period, and the first duration is used to adjust the user's sleep rhythm according to the ambient temperature.
本技术方案中,在推荐的入睡时间点前设置一定的升温区间,有利于提升用户的睡意,从而有利于用户更好地入睡,有利于调整用户的睡眠节律。In this technical solution, a certain temperature rise interval is set before the recommended bedtime, which is helpful to enhance the user's sleepiness, thereby helping the user to fall asleep better and adjusting the user's sleep rhythm.
结合第一方面,在第一方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the first aspect, in some implementations of the first aspect, the first duration is determined according to a degree of lag in the user's sleep rhythm.
在一种可能的实现方式中,用户睡眠节律的滞后程度可以根据用户的社交时差和用户在工作日的有效睡眠时长确定。该社交时差可以根据用户休息日入睡时间、工作日入睡时间、休息日有效睡眠时长和工作日有效睡眠时长确定。In a possible implementation, the degree of lag in the user's sleep rhythm can be determined based on the user's social jet lag and the user's effective sleep duration on weekdays. The social jet lag can be determined based on the user's bedtime on rest days, bedtime on weekdays, effective sleep duration on rest days, and effective sleep duration on weekdays.
本技术方案中,根据用户的睡眠节律的滞后程度来确定入睡时间前升温区间的时间长度,对于不同睡眠节律情况的用户可以制定不同的温度控制方案,有利于提高本技术方案的适用性。In this technical solution, the length of the temperature rise interval before falling asleep is determined according to the lag of the user's sleep rhythm. Different temperature control plans can be formulated for users with different sleep rhythms, which is conducive to improving the applicability of this technical solution.
结合第一方面,在第一方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the first aspect, in certain implementations of the first aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
人体内褪黑素水平一般会在入睡前的一段时间内出现明显上升的现象,褪黑素水平明显上升可以理解为人体产生睡意。The melatonin level in the human body generally rises significantly in the period before falling asleep. The significant increase in melatonin level can be understood as the body's sleepiness.
在一种可能的实现方式中,第二时长约为两个小时。In a possible implementation, the second duration is approximately two hours.
本技术方案中,在睡眠前用户体内褪黑素水平显著上升的时间段内才升高环境温度,相当于在用户产生睡意的情况下提高用户的睡意,有利于使用户更好地入睡,实现调整用户的睡眠节律的目的。此外,相对于在用户还未产生睡意的时间段内升高环境温度,该温度控制方案不会影响用户在清醒时间内的体感温度,不会影响温度调节设备在用户清醒时间段内对环境温度调节的效率与准确性。In this technical solution, the ambient temperature is increased only in the period before sleep when the melatonin level in the user's body rises significantly, which is equivalent to increasing the user's sleepiness when the user feels sleepy, which is conducive to the user falling asleep better and achieving the purpose of adjusting the user's sleep rhythm. In addition, compared with increasing the ambient temperature in the period before the user feels sleepy, this temperature control solution will not affect the user's perceived temperature during the awake time, and will not affect the efficiency and accuracy of the temperature control device in adjusting the ambient temperature during the user's awake time.
结合第一方面,在第一方面的某些实现方式中,在该温度控制方案执行期间,响应于用户的第三操作,该控制主机显示第二提示信息,该第二提示信息用于提示需要退出该温度控制方案,该第三操作用于调整温度调节设备的工作状态,该温度调节设备用于调节该环境温度。In combination with the first aspect, in certain implementations of the first aspect, during the execution of the temperature control scheme, in response to a third operation of the user, the control host displays a second prompt message, and the second prompt message is used to prompt the need to exit the temperature control scheme, and the third operation is used to adjust the working state of the temperature control device, and the temperature control device is used to adjust the ambient temperature.
温度调节设备的工作状态可以指温度调节设备的开启或关闭的状态,也可以指温度调节设备设定的温度的数值,也可以指温度调节设备的风速、运转模式等功能的属性和开关的状态。The working state of the temperature control device may refer to the on or off state of the temperature control device, or the value of the temperature set by the temperature control device, or the attributes of the functions such as the wind speed and operation mode of the temperature control device and the state of the switch.
在一种可能的实现方式中,该第三操作为用户通过控制主机或者温度调节设备的控制面板调节温度调节设备的工作状态的操作。In a possible implementation, the third operation is an operation in which a user adjusts the working state of the temperature adjustment device through a control host or a control panel of the temperature adjustment device.
本技术方案中,在用户手动控制温度调节设备的工作状态前,为本温度控制方案设置用户确认操作进行保护,有利于提高本温度控制方案实行的可靠性,有利于提升本技术方案调节用户的睡眠节律的效果。In the present technical solution, before the user manually controls the working state of the temperature adjustment device, a user confirmation operation is set for protection of the temperature control solution, which is beneficial to improving the reliability of the implementation of the temperature control solution and the effect of the present technical solution in regulating the user's sleep rhythm.
结合第一方面,在第一方面的某些实现方式中,该控制主机显示睡眠数据展示界面,该睡眠数据展示界面用于显示在开启该温度控制方案的情况下用户的睡眠情况。In combination with the first aspect, in certain implementations of the first aspect, the control host displays a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
本技术方案中,在执行温度控制方案后可以向用户展示启用该温度控制方案后的睡眠情况,有利于用户获取温度控制方案对于睡眠节律调整结果的反馈信息。用户可以根据该反馈信息来确定是否继续执行温度控制方案,在用户的睡眠节律恢复正常的情况下,或者温度控制方案无法实现对用户的睡眠节律的调整的情况下,用户可以停止执行温度控制方案,有利于用户了解自身身体健康状况,有利于用户及时寻求其他更加有效的调整措施,有利于用户的身体健康。In this technical solution, after executing the temperature control scheme, the user can be shown the sleep status after the temperature control scheme is enabled, which is beneficial for the user to obtain feedback information on the temperature control scheme's adjustment results for the sleep rhythm. The user can determine whether to continue to execute the temperature control scheme based on the feedback information. When the user's sleep rhythm returns to normal, or when the temperature control scheme cannot adjust the user's sleep rhythm, the user can stop executing the temperature control scheme, which is beneficial for the user to understand their own physical health status, and to seek other more effective adjustment measures in a timely manner, which is beneficial to the user's physical health.
结合第一方面,在第一方面的某些实现方式中,该睡眠历史数据包括根据工作日有效睡眠时长、休息日有效睡眠时长、休息日入睡时间和工作日入睡时间,该推荐的入睡时间点根据该工作日有效睡眠时长和休息日有效睡眠时长确定,该睡眠节律的滞后程度根据该工作日有效睡眠时长、该休息日有效睡眠时长、该休息日入睡时间和该工作日入睡时间确定。In combination with the first aspect, in certain implementations of the first aspect, the sleep history data includes the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays; the recommended time to fall asleep is determined based on the effective sleep time on weekdays and the effective sleep time on rest days; the degree of lag of the sleep rhythm is determined based on the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays.
第二方面,提供一种温度调节的方法,该方法应用于睡眠监测设备,包括:睡眠监测设备监测用户的睡眠历史数据;该睡眠监测设备发送该睡眠历史数据至控制主机。In a second aspect, a temperature regulation method is provided, which is applied to a sleep monitoring device, comprising: the sleep monitoring device monitors the user's sleep history data; and the sleep monitoring device sends the sleep history data to a control host.
第三方面,提供一种温度调节的方法,该方法应用于温度调节设备,包括:温度调节设备接收控制主机发送的温度控制方案;该温度调节设备根据该温度控制方案调节环境温度。In a third aspect, a temperature control method is provided, which is applied to a temperature control device, comprising: the temperature control device receives a temperature control scheme sent by a control host; and the temperature control device adjusts the ambient temperature according to the temperature control scheme.
结合第三方面,在第三方面的某些实现方式中,温度调节设备接收控制主机发送的第一信息,该第一信息用于指示退出执行该温度控制方案。In combination with the third aspect, in certain implementations of the third aspect, the temperature adjustment device receives first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
结合第三方面,在第三方面的某些实现方式中,温度调节设备接收控制主机发送的第二信息,该第二信息用于指示继续执行该温度控制方案。In combination with the third aspect, in certain implementations of the third aspect, the temperature adjustment device receives second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
结合第三方面,在第三方面的某些实现方式中,响应于用户的第四操作,温度调节设备向控制主 机发送请求消息,该请求消息用于请求退出执行该温度控制方案。In combination with the third aspect, in some implementations of the third aspect, in response to a fourth operation of the user, the temperature adjustment device sends a signal to the control host. The machine sends a request message, where the request message is used to request to exit the execution of the temperature control scheme.
结合第三方面,在第三方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the third aspect, in certain implementations of the third aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第三方面,在第三方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the third aspect, in certain implementations of the third aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
结合第三方面,在第三方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the third aspect, in certain implementations of the third aspect, the first duration is determined according to the degree of lag of the user's sleep rhythm.
结合第三方面,在第三方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the third aspect, in certain implementations of the third aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
以下技术方案中的技术细节和相应的有益效果可以参见前文第一方面至第三方面的相关内容,为了简洁,以下不再赘述。The technical details and corresponding beneficial effects in the following technical solutions can be found in the relevant contents of the first to third aspects above, and will not be elaborated below for the sake of brevity.
第四方面,提供一种温度调节系统,包括:睡眠监测设备,用于获取用户的睡眠历史数据,该睡眠监测设备还用于向控制主机发送该睡眠历史数据;该控制主机,用于根据该睡眠历史数据确定温度控制方案,该控制主机还用于向温度调节设备发送该温度控制方案;该温度调节设备,用于根据该睡眠温度控制方案调节环境温度;其中,该温度控制方案用于通过该环境温度调整用户的睡眠节律。In a fourth aspect, a temperature control system is provided, comprising: a sleep monitoring device, used to obtain a user's sleep history data, the sleep monitoring device is also used to send the sleep history data to a control host; the control host is used to determine a temperature control plan based on the sleep history data, the control host is also used to send the temperature control plan to the temperature control device; the temperature control device is used to adjust the ambient temperature according to the sleep temperature control plan; wherein the temperature control plan is used to adjust the user's sleep rhythm through the ambient temperature.
结合第四方面,在第四方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the fourth aspect, in certain implementations of the fourth aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第四方面,在第四方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the fourth aspect, in certain implementations of the fourth aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
结合第四方面,在第四方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the fourth aspect, in certain implementations of the fourth aspect, the first duration is determined according to the degree of lag of the user's sleep rhythm.
结合第四方面,在第四方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the fourth aspect, in certain implementations of the fourth aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
结合第四方面,在第四方面的某些实现方式中,该睡眠历史数据包括根据工作日有效睡眠时长、休息日有效睡眠时长、休息日入睡时间和工作日入睡时间,该推荐的入睡时间点根据该工作日有效睡眠时长和休息日有效睡眠时长确定,该睡眠节律的滞后程度根据该工作日有效睡眠时长、该休息日有效睡眠时长、该休息日入睡时间和该工作日入睡时间确定。In combination with the fourth aspect, in certain implementations of the fourth aspect, the sleep history data includes the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays; the recommended time to fall asleep is determined based on the effective sleep time on weekdays and the effective sleep time on rest days; the degree of lag of the sleep rhythm is determined based on the effective sleep time on weekdays, the effective sleep time on rest days, the time to fall asleep on rest days, and the time to fall asleep on weekdays.
第五方面,提供一种电子设备,包括处理器和存储器,该存储器存储有一个或者多个计算机程序,该一个或多个计算机程序包括指令,当该指令被处理器执行时,该处理器用于:接收用户的睡眠历史数据;该处理器还用于:显示第一提示信息,该第一提示信息用于提示启用温度控制方案,该温度控制方案根据该睡眠历史数据确定,该温度控制方案用于通过环境温度调整用户的睡眠节律。In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the processor, the processor is used to: receive a user's sleep history data; the processor is also used to: display a first prompt message, wherein the first prompt message is used to prompt the activation of a temperature control scheme, wherein the temperature control scheme is determined based on the sleep history data, and wherein the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
结合第五方面,在第五方面的某些实现方式中,响应于用户的第一操作,该处理器还用于:显示该温度控制方案展示界面;响应于用户的第二操作,该处理器还用于:控制温度调节设备执行该温度控制方案,该温度调节设备用于调节该环境温度。In combination with the fifth aspect, in certain implementations of the fifth aspect, in response to a first operation of the user, the processor is also used to: display the temperature control scheme display interface; in response to a second operation of the user, the processor is also used to: control a temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
结合第五方面,在第五方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the fifth aspect, in certain implementations of the fifth aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第五方面,在第五方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the fifth aspect, in certain implementations of the fifth aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
结合第五方面,在第五方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the fifth aspect, in certain implementations of the fifth aspect, the first duration is determined according to the degree of lag in the user's sleep rhythm.
结合第五方面,在第五方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the fifth aspect, in certain implementations of the fifth aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
结合第五方面,在第五方面的某些实现方式中,在该温度控制方案执行期间,响应于用户的第三操作,该处理器还用于:显示第二提示信息,该第二提示信息用于提示需要退出该温度控制方案,该第三操作用于调整温度调节设备的工作状态,该温度调节设备用于调节该环境温度。In combination with the fifth aspect, in certain implementations of the fifth aspect, during the execution of the temperature control scheme, in response to a third operation of the user, the processor is also used to: display a second prompt message, the second prompt message being used to prompt the need to exit the temperature control scheme, the third operation being used to adjust the working state of the temperature control device, and the temperature control device being used to adjust the ambient temperature.
结合第五方面,在第五方面的某些实现方式中,该处理器还用于:显示睡眠数据展示界面,该睡眠数据展示界面用于显示在开启该温度控制方案的情况下用户的睡眠情况。In combination with the fifth aspect, in certain implementations of the fifth aspect, the processor is further used to: display a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
第六方面,提供一种电子设备,包括处理器和存储器,该存储器存储有一个或者多个计算机程序,该一个或多个计算机程序包括指令,当该指令被处理器执行时,该处理器用于:监测用户的睡眠历史数据;该处理器还用于:发送该睡眠历史数据至控制主机。 In a sixth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the processor, the processor is used to: monitor the user's sleep history data; the processor is also used to: send the sleep history data to a control host.
第七方面,提供一种电子设备,包括处理器和存储器,该存储器存储有一个或者多个计算机程序,该一个或多个计算机程序包括指令,当该指令被处理器执行时,该处理器用于:接收控制主机发送的温度控制方案;该处理器还用于:根据该睡眠温度方案调节环境温度。In the seventh aspect, an electronic device is provided, including a processor and a memory, the memory storing one or more computer programs, the one or more computer programs including instructions, when the instructions are executed by the processor, the processor is used to: receive a temperature control plan sent by a control host; the processor is also used to: adjust the ambient temperature according to the sleep temperature plan.
结合第七方面,在第七方面的某些实现方式中,该处理器还用于:接收控制主机发送的第一信息,该第一信息用于指示退出执行该温度控制方案。In combination with the seventh aspect, in certain implementations of the seventh aspect, the processor is further used to: receive first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
结合第七方面,在第七方面的某些实现方式中,该处理器还用于:接收控制主机发送的第二信息,该第二信息用于指示继续执行该温度控制方案。In combination with the seventh aspect, in certain implementations of the seventh aspect, the processor is further used to: receive second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
结合第七方面,在第七方面的某些实现方式中,响应于用户的第四操作,该处理器还用于:向控制主机发送请求消息,该请求消息用于请求退出该温度控制方案。In combination with the seventh aspect, in certain implementations of the seventh aspect, in response to a fourth operation of the user, the processor is further used to: send a request message to the control host, where the request message is used to request to exit the temperature control scheme.
结合第七方面,在第七方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the seventh aspect, in certain implementations of the seventh aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第七方面,在第七方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the seventh aspect, in certain implementations of the seventh aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
结合第七方面,在第七方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the seventh aspect, in certain implementations of the seventh aspect, the first duration is determined according to the degree of lag in the user's sleep rhythm.
结合第七方面,在第七方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the seventh aspect, in certain implementations of the seventh aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
第八方面,提供一种温度调节装置,包括获取单元和处理单元,该获取单元用于:接收用户的睡眠历史数据;该处理单元用于:显示第一提示信息,该第一提示信息用于提示启用温度控制方案,该温度控制方案根据该睡眠历史数据确定,该温度控制方案用于通过环境温度调整用户的睡眠节律。In an eighth aspect, a temperature adjustment device is provided, comprising an acquisition unit and a processing unit, wherein the acquisition unit is used to: receive a user's sleep history data; the processing unit is used to: display a first prompt message, wherein the first prompt message is used to prompt the activation of a temperature control scheme, wherein the temperature control scheme is determined based on the sleep history data, and wherein the temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
结合第八方面,在第八方面的某些实现方式中,响应于用户的第一操作,该处理单还用于显示该温度控制方案展示界面;响应于用户的第二操作,该处理单元还用于:控制温度调节设备执行该温度控制方案,该温度调节设备用于调节该环境温度。In combination with the eighth aspect, in certain implementations of the eighth aspect, in response to a first operation of the user, the processing unit is also used to display the temperature control scheme display interface; in response to a second operation of the user, the processing unit is also used to: control a temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
结合第八方面,在第八方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the eighth aspect, in certain implementations of the eighth aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第八方面,在第八方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境温度逐渐升高。In combination with the eighth aspect, in certain implementations of the eighth aspect, the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
结合第八方面,在第八方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the eighth aspect, in certain implementations of the eighth aspect, the first duration is determined based on the degree of lag in the user's sleep rhythm.
结合第八方面,在第八方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the eighth aspect, in certain implementations of the eighth aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
结合第八方面,在第八方面的某些实现方式中,在该温度控制方案执行期间,响应于用户的第三操作,该处理单元还用于:显示第二提示信息,该第二提示信息用于提示需要退出该温度控制方案,该第三操作用于调整温度调节设备的工作状态,该温度调节设备用于调节该环境温度。In combination with the eighth aspect, in certain implementations of the eighth aspect, during the execution of the temperature control scheme, in response to a third operation of the user, the processing unit is also used to: display a second prompt message, the second prompt message being used to prompt the need to exit the temperature control scheme, the third operation being used to adjust the working state of the temperature control device, and the temperature control device being used to adjust the ambient temperature.
结合第八方面,在第八方面的某些实现方式中,该处理单元还用于:显示睡眠数据展示界面,该睡眠数据展示界面用于显示在开启该温度控制方案的情况下用户的睡眠情况。In combination with the eighth aspect, in certain implementations of the eighth aspect, the processing unit is further used to: display a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control scheme is turned on.
第九方面,提供一种温度调节装置,包括获取单元和处理单元,该处理单元用于:监测用户的睡眠历史数据;该获取单元用于:发送该睡眠历史数据至控制主机。In a ninth aspect, a temperature regulating device is provided, comprising an acquisition unit and a processing unit, wherein the processing unit is used to monitor the user's sleep history data; and the acquisition unit is used to send the sleep history data to a control host.
第十方面,提供一种温度调节装置,包括获取单元和处理单元,该获取单元用于:接收控制主机发送的温度控制方案;该处理单用用于:根据该睡眠温度方案调节环境温度。In a tenth aspect, a temperature adjustment device is provided, comprising an acquisition unit and a processing unit, wherein the acquisition unit is used to: receive a temperature control scheme sent by a control host; and the processing unit is used to: adjust the ambient temperature according to the sleep temperature scheme.
结合第十方面,在第十方面的某些实现方式中,该获取单元还用于:接收控制主机发送的第一信息,该第一信息用于指示退出执行该温度控制方案。In combination with the tenth aspect, in certain implementations of the tenth aspect, the acquisition unit is further used to: receive first information sent by the control host, where the first information is used to indicate exiting execution of the temperature control scheme.
结合第十方面,在第十方面的某些实现方式中,该获取单元还用于:接收控制主机发送的第二信息,该第二信息用于指示继续执行该温度控制方案。In combination with the tenth aspect, in certain implementations of the tenth aspect, the acquisition unit is further used to: receive second information sent by the control host, where the second information is used to instruct to continue executing the temperature control scheme.
结合第十方面,在第十方面的某些实现方式中,响应于用户的第四操作,该获取单元还用于:向控制主机发送请求消息,该请求消息用于请求退出该温度控制方案。In combination with the tenth aspect, in certain implementations of the tenth aspect, in response to a fourth operation of the user, the acquisition unit is further used to: send a request message to the control host, where the request message is used to request to exit the temperature control scheme.
结合第十方面,在第十方面的某些实现方式中,该温度控制方案包括推荐的入睡时间点,该推荐的入睡时间点根据该睡眠历史数据确定。In combination with the tenth aspect, in certain implementations of the tenth aspect, the temperature control scheme includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
结合第十方面,在第十方面的某些实现方式中,在该推荐的入睡时间点前的第一时长内,该环境 温度逐渐升高。In conjunction with the tenth aspect, in certain implementations of the tenth aspect, within a first period of time before the recommended sleeping time, the environment The temperature gradually rises.
结合第十方面,在第十方面的某些实现方式中,该第一时长根据用户睡眠节律的滞后程度确定。In combination with the tenth aspect, in certain implementations of the tenth aspect, the first duration is determined based on the degree of lag in the user's sleep rhythm.
结合第十方面,在第十方面的某些实现方式中,在该推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,该第一时长小于或等于该第二时长。In combination with the tenth aspect, in certain implementations of the tenth aspect, within a second time period before the recommended bedtime, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
第十一方面,提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得第一方面或其任意可能的实现方式中的方法被执行。In an eleventh aspect, a computer program product is provided, the computer program product comprising a computer program code, and when the computer program code is run on a computer, the method in the first aspect or any possible implementation thereof is executed.
第十二方面,提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得第二方面或其任意可能的实现方式中的方法被执行。In a twelfth aspect, a computer program product is provided, which includes a computer program code. When the computer program code runs on a computer, the method in the second aspect or any possible implementation thereof is executed.
第十三方面,提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得第三方面或其任意可能的实现方式中的方法被执行。In a thirteenth aspect, a computer program product is provided, which includes a computer program code, and when the computer program code is run on a computer, the method in the third aspect or any possible implementation thereof is executed.
第十四方面,提供一种计算机可读存储介质,该计算机可读介质中存储有计算机指令,当计算机指令在计算机上运行时,使得第一方面或其任意可能的实现方式中的方法被执行。In a fourteenth aspect, a computer-readable storage medium is provided, wherein computer instructions are stored in the computer-readable medium. When the computer instructions are executed on a computer, the method in the first aspect or any possible implementation thereof is executed.
第十五方面,提供一种计算机可读存储介质,该计算机可读介质中存储有计算机指令,当计算机指令在计算机上运行时,使得第二方面或其任意可能的实现方式中的方法被执行。In a fifteenth aspect, a computer-readable storage medium is provided, in which computer instructions are stored. When the computer instructions are executed on a computer, the method in the second aspect or any possible implementation thereof is executed.
第十六方面,提供一种计算机可读存储介质,该计算机可读介质中存储有计算机指令,当计算机指令在计算机上运行时,使得第三方面或其任意可能的实现方式中的方法被执行。In a sixteenth aspect, a computer-readable storage medium is provided, in which computer instructions are stored. When the computer instructions are executed on a computer, the method in the third aspect or any possible implementation thereof is executed.
第十七方面,提供一种芯片,包括处理器,用于读取存储器中存储的指令,当该处理器执行该指令时,使得该芯片实现第一方面或其任意可能的实现方式中的方法被执行。In the seventeenth aspect, a chip is provided, comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the first aspect or any possible implementation thereof.
第十八方面,提供一种芯片,包括处理器,用于读取存储器中存储的指令,当该处理器执行该指令时,使得该芯片实现第二方面或其任意可能的实现方式中的方法被执行。In an eighteenth aspect, a chip is provided, comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the second aspect or any possible implementation thereof.
第十九方面,提供一种芯片,包括处理器,用于读取存储器中存储的指令,当该处理器执行该指令时,使得该芯片实现第三方面或其任意可能的实现方式中的方法被执行。In the nineteenth aspect, a chip is provided, comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the third aspect or any possible implementation thereof.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是适用于本申请实施例中一种电子设备硬件架构示意图。FIG1 is a schematic diagram of a hardware architecture of an electronic device applicable to an embodiment of the present application.
图2是适用于本申请实施例中一种电子设备软件架构示意图。FIG. 2 is a schematic diagram of a software architecture of an electronic device applicable to an embodiment of the present application.
图3是本申请实施例提供的一种温度调节的方法。FIG. 3 is a temperature regulation method provided in an embodiment of the present application.
图4至图10是本申请实施例提供的图形用户界面示意图。4 to 10 are schematic diagrams of graphical user interfaces provided in embodiments of the present application.
图11是本申请实施例提供的24小时内人体褪黑素水平变化示意图。FIG. 11 is a schematic diagram of changes in human melatonin levels within 24 hours provided in an embodiment of the present application.
图12至图23是本申请实施例提供的图形用户界面示意图。12 to 23 are schematic diagrams of graphical user interfaces provided in embodiments of the present application.
图24是本申请实施例提供的一种用户睡眠情况变化示意图。FIG. 24 is a schematic diagram of changes in a user's sleeping condition provided in an embodiment of the present application.
图25是本申请实施例提供的一种温度调节装置的示意图。Figure 25 is a schematic diagram of a temperature adjustment device provided in an embodiment of the present application.
图26是本申请实施例提供的一种电子设备的示意图。FIG. 26 is a schematic diagram of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and/or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the objects associated before and after are in an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外 特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specified. Special Emphasis. The terms "include", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
本申请实施例提供的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。The method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户身份识别(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Exemplarily, FIG1 shows a schematic diagram of the structure of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户身份识别(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传 送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the mobile communication module 150. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage, UFS)等。The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage device (universal flash storage, UFS) etc.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
应理解,本申请实施例中的电话卡包括但不限于SIM卡、eSIM卡、全球用户识别卡(universal subscriber identity module,USIM)、通用集成电话卡(universal integrated circuit card,UICC)等等。It should be understood that the phone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), and the like.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in FIG. 2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。 The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
应理解,本申请实施例中的技术方案可以用于Android、IOS、鸿蒙等系统中。It should be understood that the technical solutions in the embodiments of the present application can be used in Android, IOS, Hongmeng and other systems.
夜晚充足、高质量的睡眠有利于人们恢复精力,有利于提高人们白天的工作、学习效率。现有的睡眠双控制理论指出,人类的睡眠一方面受人体生物钟(circadian rhythm)的影响。褪黑素(melation)是一种由松果体产生的胺类激素,可以用于调节昼夜节律及睡眠-觉醒。褪黑素的分泌是有昼夜节律的,夜幕降临后,光刺激减弱,松果体合成褪黑素的酶活性增强,体内褪黑素的分泌水平也相应增高。Sufficient and high-quality sleep at night is good for people to restore their energy and improve their work and study efficiency during the day. The existing dual control theory of sleep points out that human sleep is affected by the body's biological clock (circadian rhythm). Melatonin is an amine hormone produced by the pineal gland, which can be used to regulate circadian rhythm and sleep-wake. The secretion of melatonin has a circadian rhythm. After nightfall, light stimulation weakens, the enzyme activity of the pineal gland to synthesize melatonin increases, and the secretion level of melatonin in the body also increases accordingly.
另一方面,人类的睡眠还会受到睡眠驱动力的影响。人体生物钟一般以大约24小时为周期震荡。睡眠驱动力与多种因素相关,例如历史睡眠(睡眠债务)、运动、皮肤温度等。适当的皮肤温度会产生有利于提升人体的睡眠驱动力。On the other hand, human sleep is also affected by sleep drive. The human body's biological clock generally oscillates in a cycle of about 24 hours. Sleep drive is related to many factors, such as historical sleep (sleep debt), exercise, skin temperature, etc. Appropriate skin temperature will produce a sleep drive that is beneficial to improving the body.
总体上讲,调整适当的室内环境(例如光照、温度、声音等),营造良好的睡眠环境有利于提高人体的睡眠质量。Generally speaking, adjusting the indoor environment (such as light, temperature, sound, etc.) and creating a good sleeping environment is beneficial to improving the quality of sleep.
本申请提供了一种环境温度控制方法,可以结合用户的历史睡眠数据来确定用户合适的入睡时间,有利于通过调整环境温度引导用户进入睡眠状态,有利于调整用户的身体节律。以下结合图3至图20进一步详细说明。The present application provides an ambient temperature control method, which can determine the appropriate sleeping time for the user in combination with the user's historical sleep data, and is conducive to guiding the user to sleep by adjusting the ambient temperature, and is conducive to adjusting the user's body rhythm. The following is further described in detail in combination with Figures 3 to 20.
图3所示为本申请实施例提供的一种温度控制方法,该方法可以利用睡眠监测设备获取的用户的睡眠信息来确定温度控制方案,并使得温度调节设备按照该温度控制方案来控制卧室内的温度。FIG3 shows a temperature control method provided in an embodiment of the present application. The method can use the sleep information of the user obtained by the sleep monitoring device to determine the temperature control scheme, and enable the temperature adjustment device to control the temperature in the bedroom according to the temperature control scheme.
S301,睡眠监测设备发送睡眠历史信息,相应的,控制主机接收睡眠历史信息。S301, the sleep monitoring device sends sleep history information, and correspondingly, the control host receives the sleep history information.
睡眠监测设备指可以用于监测用户的睡眠数据的设备,例如可穿戴设备、智能枕头、雷达设备等多种设备中的一种或者多种。睡眠监测设备可以通过监测用户睡眠期间的生理参数(例如心跳频率、呼吸频率等)等来获取用户的睡眠数据。这里睡眠数据也可以称为睡眠信息、睡眠历史数据、睡眠历史信息、睡眠情况信息等,用户的睡眠数据可以用来反映用户在一定时间内的睡眠状况。用户的睡眠数据可以包括用户的入睡时间、出睡时间、睡眠时长、深睡比例、浅睡比例、快速眼动(rapid eye movement,REM)比例等多种信息。利用用户的睡眠数据可以分析用户的睡眠习惯(例如平均入睡的时间点,睡眠的平均时长等),从而在一定程度上可以为用户提供一些与睡眠、生活作息相关的建议。Sleep monitoring equipment refers to equipment that can be used to monitor the user's sleep data, such as one or more of a variety of equipment such as wearable devices, smart pillows, radar equipment, etc. The sleep monitoring equipment can obtain the user's sleep data by monitoring the user's physiological parameters during sleep (such as heart rate, breathing rate, etc.). Here, sleep data can also be referred to as sleep information, sleep history data, sleep history information, sleep status information, etc. The user's sleep data can be used to reflect the user's sleep status within a certain period of time. The user's sleep data may include the user's sleep time, sleep time, sleep duration, deep sleep ratio, light sleep ratio, rapid eye movement (REM) ratio, and other information. The user's sleep data can be used to analyze the user's sleep habits (such as the average time to fall asleep, the average duration of sleep, etc.), so as to provide users with some suggestions related to sleep and daily routines to a certain extent.
控制主机又可以称为全屋控制主机,可以用于指代可以控制房间内(房屋内)与控制主机建立通信连接的其他的电子设备的电子设备。控制主机可以是一个电子设备,或者说,控制主机的数据处理功能、通信功能、用户界面的显示功能、获取用户的输入的功能这些功能可以集成在同一个电子设备上实现,例如前文中包含图1所示的多个硬件的电子设备(例如,智能手机、平板电脑)。The control host can also be called the whole house control host, which can be used to refer to an electronic device that can control other electronic devices in the room (house) that establish a communication connection with the control host. The control host can be an electronic device, or in other words, the data processing function, communication function, user interface display function, and user input function of the control host can be integrated on the same electronic device, such as the electronic device containing multiple hardware shown in Figure 1 above (for example, a smart phone, a tablet computer).
另一种可能的实现方式是,控制主机的通信功能、用户界面的显示功能和获取用户的输入的功能可以分别通过多个电子设备实现,例如控制主机的数据处理功能和通信功能集成在路由器上,用户界面的显示功能通过智能电视实现,获取用户的输入的功能可以通过智能手机实现,这种情况下,路由器和智能电视和智能手机之间的两个或多个之间可以建立相互通信。Another possible implementation method is that the communication function of the control host, the display function of the user interface and the function of obtaining user input can be respectively implemented by multiple electronic devices. For example, the data processing function and communication function of the control host are integrated on the router, the display function of the user interface is implemented by the smart TV, and the function of obtaining user input can be implemented by the smart phone. In this case, mutual communication can be established between two or more of the router, the smart TV and the smart phone.
在一些示例中,控制主机的功能也可以集成在前述的睡眠监测设备上,例如,前述的智能手表可以包含控制主机的通信功能、显示功能和输入输出等功能。In some examples, the functions of the control host may also be integrated into the aforementioned sleep monitoring device. For example, the aforementioned smart watch may include the communication function, display function, input and output functions of the control host.
在另一些示例中,控制主机的功能也可以集成在控制主机控制的多个电子设备上,例如控制主机的功能可以集成在空调上、音箱上等等。In other examples, the functions of the control host may also be integrated into multiple electronic devices controlled by the control host, for example, the functions of the control host may be integrated into an air conditioner, a speaker, and so on.
在又一些示例中,控制主机、睡眠监测设备和下文中的温度控制设备可以为一个电子设备,即这些装置或者设备的功能可以集成在一个设备。例如,具备雷达功能的中央空调,其雷达功能可以用于监测用户的睡眠装置,从而在用户的睡眠数据获取、处理和利用可以在同一个设备上完成。In some other examples, the control host, the sleep monitoring device and the temperature control device described below can be an electronic device, that is, the functions of these devices or devices can be integrated into one device. For example, a central air conditioner with a radar function can be used to monitor the user's sleep device, so that the user's sleep data acquisition, processing and utilization can be completed on the same device.
睡眠监测设备可以与控制主机之间建立通信连接,从而实现睡眠监测设备与控制主机之间的信息的传输。The sleep monitoring device can establish a communication connection with the control host, thereby realizing the transmission of information between the sleep monitoring device and the control host.
当睡眠监测设备和控制主机为不同的电子设备时,睡眠监测设备和控制主机之间可以建立通信连接,例如,智能手表和智能手机之间可以通过蓝牙连接,智能枕头和路由器之间可以通过无线局域网连接。睡眠监测设备监测得到的睡眠数据可以通过蓝牙和/或无线局域网传输至控制主机。When the sleep monitoring device and the control host are different electronic devices, a communication connection can be established between the sleep monitoring device and the control host. For example, a smart watch and a smart phone can be connected via Bluetooth, and a smart pillow and a router can be connected via a wireless LAN. The sleep data monitored by the sleep monitoring device can be transmitted to the control host via Bluetooth and/or a wireless LAN.
当睡眠监测设备和控制主机为同一个电子设备时,睡眠监测设备将睡眠历史信息发送至控制主机可以指同一个电子设备对于不同存储位置的数据的读取和调用。When the sleep monitoring device and the control host are the same electronic device, the sleep monitoring device sending the sleep history information to the control host may refer to the reading and calling of data from different storage locations by the same electronic device.
S302,控制主机确定温度控制方案。S302, the control host determines a temperature control solution.
控制主机在接收到睡眠监测设备发送的睡眠历史信息后可以根据用户的睡眠历史信息来确定温度 控制方案。After receiving the sleep history information sent by the sleep monitoring device, the control host can determine the temperature based on the user's sleep history information. Control plan.
该温度控制方案可以用于调整用户在睡眠时间段前后卧室内的温度。This temperature control solution can be used to adjust the temperature in the user's bedroom before and after the sleeping period.
在一种可能的实现方式中,该温度控制方案可以用于控制用户在入睡前卧室内的温度(或称为环境温度、室内温度等)、起床后卧室内的温度、睡眠期间卧室内的温度等中的一种或者多种。In one possible implementation, the temperature control scheme can be used to control one or more of the temperature in the bedroom before the user goes to sleep (or called ambient temperature, indoor temperature, etc.), the temperature in the bedroom after getting up, the temperature in the bedroom during sleep, etc.
示例性的,该温度控制方案可以在用户入睡前的适当时间内升高卧室内的温度至第一阈值,以提升用户的睡意,从而在一定程度上可以调节用户的睡眠节律(生物钟),改善用户的睡眠质量。Exemplarily, the temperature control scheme can raise the temperature in the bedroom to a first threshold within an appropriate time before the user falls asleep to enhance the user's sleepiness, thereby regulating the user's sleep rhythm (biological clock) to a certain extent and improving the user's sleep quality.
示例性的,该温度控制方案可以在用户入睡后的一段时间内降低卧室内的温度,在用户即将出睡前的一段时间内升高卧室内的温度,从而在一定程度上提高用户的睡眠质量。Exemplarily, the temperature control scheme can lower the temperature in the bedroom for a period of time after the user falls asleep, and raise the temperature in the bedroom for a period of time before the user is about to go to sleep, thereby improving the user's sleep quality to a certain extent.
在另一种可能的实现方式中,该温度控制方案还可以用于提示用户推荐的入睡时间。In another possible implementation, the temperature control scheme may also be used to prompt the user with a recommended bedtime.
示例性的,该推荐的入睡时间可以根据用户的工作日睡眠时长和休息日的睡眠时长来确定。Exemplarily, the recommended bedtime may be determined based on the user's sleep duration on weekdays and sleep duration on weekends.
在又一种可能的实现方式中,该温度控制方案还可以用于确定用户在睡眠时间段前后卧室内的环境温度的最高值和环境温度的最低值。In yet another possible implementation, the temperature control solution may also be used to determine the maximum value and the minimum value of the ambient temperature in the bedroom of the user before and after the sleeping period.
卧室温度的最高值同样也可以称为温度控制设备的升温上限,卧室温度的最低值同样也可以称为温度控制设备的降温下限。The maximum value of the bedroom temperature can also be called the upper limit of the temperature control device, and the minimum value of the bedroom temperature can also be called the lower limit of the temperature control device.
这里卧室温度的最高值和卧室温度的最低值可以根据用户对温度控制设备的使用习惯确定,例如,在一个自然月内记录用户设定温度控制设备的最高值和最低值以及室温温度的变化来确定用户习惯的卧室温度的范围。Here, the maximum value of the bedroom temperature and the minimum value of the bedroom temperature can be determined based on the user's usage habits of the temperature control device. For example, the maximum value and the minimum value of the temperature control device set by the user and the changes in the room temperature within a natural month can be recorded to determine the range of bedroom temperatures that the user is accustomed to.
需要说明的是,对于不同的用户、不同的季节、不同的地理位置,温度控制设备确定的卧室温度的最高值和最低值是可以不同的。换句话说,卧室温度的取值范围还可以根据卧室外的环境、不同的用户等其他因素来确定。It should be noted that the maximum and minimum values of the bedroom temperature determined by the temperature control device may be different for different users, different seasons, and different geographical locations. In other words, the range of bedroom temperature values may also be determined based on other factors such as the environment outside the bedroom and different users.
在确定温度控制方案过程中,需要利用控制主机的数据处理能力等。S301中已经说明,控制主机可以是一个电子设备或者也可以是多个电子设备的不同功能组合而成。In the process of determining the temperature control scheme, it is necessary to utilize the data processing capability of the control host, etc. As described in S301, the control host can be an electronic device or a combination of different functions of multiple electronic devices.
S303,控制主机发送温度控制方案,相应的,温度调节设备接收温度控制方案。S303, the control host sends a temperature control plan, and correspondingly, the temperature adjustment device receives the temperature control plan.
温度调节设备也可以称为温度控制设备,指可以用于调控室温的电子设备,例如空调、加热器、加湿器等。温度调节设备可以与控制主机建立通信连接,从而,通过该通信连接,温度调节设备可以接收控制主机发送的温度控制方案。A temperature regulating device may also be referred to as a temperature control device, which refers to an electronic device that can be used to regulate room temperature, such as an air conditioner, a heater, a humidifier, etc. The temperature regulating device can establish a communication connection with the control host, so that, through the communication connection, the temperature regulating device can receive the temperature control scheme sent by the control host.
示例性的,该温度调节设备可以为空调,控制主机可以为智能手机,该空调和智能手机之间建立有红外连接,通过该红外连接,智能手机可以将温度控制方案发送至空调。Exemplarily, the temperature adjustment device may be an air conditioner, and the control host may be a smart phone. An infrared connection is established between the air conditioner and the smart phone, and through the infrared connection, the smart phone can send a temperature control plan to the air conditioner.
同样示例性的,该温度调节设备为空调,控制主机的通信功能由路由器实现,控制主机的显示功能由智能手机实现,该路由器和智能手机之间建立无线局域网连接,该路由器和空调之间也建立有无线局域网连接,这样,智能手机可以获取用户的操作,并将温度控制方案发送至路由器,再由路由器转发至空调,从而空调可以获取到温度控制方案。Also exemplarily, the temperature adjustment device is an air conditioner, the communication function of the control host is implemented by a router, and the display function of the control host is implemented by a smart phone. A wireless LAN connection is established between the router and the smart phone, and a wireless LAN connection is also established between the router and the air conditioner. In this way, the smart phone can obtain the user's operation and send the temperature control plan to the router, which is then forwarded to the air conditioner by the router, so that the air conditioner can obtain the temperature control plan.
在另一些示例中,控制主机还可以向温度调节设备发送其他信息或者命令。In other examples, the control host may also send other information or commands to the temperature adjustment device.
例如,在温度控制方案执行的过程中,控制主机可以向温度调节设备发送暂停执行温度控制方案的命令;在温度控制方案暂停执行的状态下,控制主机也可以向温度调节设备发送继续执行温度控制方案的命令。For example, during the execution of the temperature control scheme, the control host can send a command to the temperature adjustment device to suspend the execution of the temperature control scheme; when the temperature control scheme is suspended, the control host can also send a command to the temperature adjustment device to continue the execution of the temperature control scheme.
在又一些示例中,在温度调节设备可以通过多个控制开关来控制运转模式、运转方式的情况下,例如,温度调节设备包括第一控制面板,第一控制面板可以用于控制该温度调节设备,前述的控制主机也可以控制该温度调节设备。当用户通过第一控制面板调整了温度调节设备的运行状态,例如暂停了温度执行方案,温度调节设备可以向控制主机发送温度控制方案已经暂停执行的信息。In some other examples, when the temperature regulating device can control the operation mode and operation method through multiple control switches, for example, the temperature regulating device includes a first control panel, the first control panel can be used to control the temperature regulating device, and the aforementioned control host can also control the temperature regulating device. When the user adjusts the operating state of the temperature regulating device through the first control panel, for example, suspends the temperature execution plan, the temperature regulating device can send a message to the control host that the temperature control plan has been suspended.
接收到温度控制方案的温度调节设备可以对该温度控制方案进行解析、处理,得到可以执行的控制命令,根据这些控制命令,温度调节设备执行温度控制方案。The temperature regulating device that receives the temperature control scheme may parse and process the temperature control scheme to obtain executable control commands. According to the control commands, the temperature regulating device executes the temperature control scheme.
例如,根据接收的温度控制方案,可以解析得到温度调节设备需要何时开启、何时关闭、何时升温、何时降温、升温幅度、降温幅度等等的信息,温度调节设备可以将这些信息转化为可以执行的命令。For example, based on the received temperature control plan, information such as when the temperature control device needs to be turned on, when to be turned off, when to heat up, when to cool down, the temperature increase range, the temperature reduction range, etc. can be parsed and obtained. The temperature control device can convert this information into executable commands.
在温度控制方案执行的过程中,可以设置有温度控制方案的执行保护措施,例如,可以限定温度控制方案执行期间无法手动更改温度调节设备设置的温度。或者,在温度方案执行期间,只有特定权 限的用户才可以暂停或者停止执行温度控制方案。During the execution of the temperature control scheme, protection measures for the execution of the temperature control scheme can be set. For example, it can be limited that the temperature set by the temperature control device cannot be manually changed during the execution of the temperature control scheme. Or, during the execution of the temperature control scheme, only certain authorized users can manually change the temperature of the temperature control device. Only restricted users can pause or stop the execution of the temperature control plan.
通过温度控制方案来实现对于温度调节设备的控制,有利于简化用户睡眠期间,对于温度调节设备的控制方式,提高对于温度调节设备的控制效率。Implementing control of the temperature regulating device through a temperature control solution is helpful to simplify the control method of the temperature regulating device during the user's sleep and improve the control efficiency of the temperature regulating device.
在另一种可能的实现方式中,控制主机在确定温度控制方案后可以解析该温度控制方案,得到用户控制温度调节设备的多个控制命令,该多个控制命令可以与时间建立对应关系。例如,第一控制命令需要在第一时间发送,第二控制命令需要在第二时间发送。即,对于温度控制方案的解析过程也可以由控制主机完成。In another possible implementation, after determining the temperature control scheme, the control host can parse the temperature control scheme to obtain multiple control commands for the user to control the temperature adjustment device, and the multiple control commands can establish a corresponding relationship with time. For example, the first control command needs to be sent at a first time, and the second control command needs to be sent at a second time. That is, the parsing process of the temperature control scheme can also be completed by the control host.
由控制主机完成对于控制方案的解析处理,而无需对温度调节设备做改变,有利于提高本技术方案的兼容性,有利于扩大本技术方案的应用范围。The control host completes the analysis and processing of the control scheme without making changes to the temperature control equipment, which is beneficial to improving the compatibility of the technical solution and expanding the application scope of the technical solution.
前文已经叙述,控制主机可以与温度调节设备是同一个电子设备,这样,控制主机和温度调节设备之间的信息的收发可以理解为同一电子设备内对于不同存储空间上的数据、信息的读写和调用。As described above, the control host and the temperature control device can be the same electronic device. In this way, the sending and receiving of information between the control host and the temperature control device can be understood as the reading, writing and calling of data and information on different storage spaces in the same electronic device.
以上结合图3详细说明了本申请实施例提供的温度调节方法中,多个设备之间的信息流转的关系,或者说,多个设备之间的相互协作、协同实现对于用户睡眠时间段前后卧室温度调节的功能的过程。以下从用户的角度进一步介绍本申请实施例提供的温度调节方法。The above, combined with FIG. 3, describes in detail the information flow relationship between multiple devices in the temperature adjustment method provided by the embodiment of the present application, or the process of the mutual cooperation and coordination between multiple devices to achieve the function of adjusting the bedroom temperature before and after the user's sleep period. The following further introduces the temperature adjustment method provided by the embodiment of the present application from the user's perspective.
为便于说明,以下实施例中,以智能手表400代表上述睡眠监测设备,智能手机500代表上述控制主机,空调代表上述温度调节设备,应理解,以下实施例仅是示例性的说明,并不能构成对于本申请的限制。For ease of explanation, in the following embodiments, the smart watch 400 represents the above-mentioned sleep monitoring device, the smart phone 500 represents the above-mentioned control host, and the air conditioner represents the above-mentioned temperature adjustment device. It should be understood that the following embodiments are only exemplary descriptions and do not constitute limitations on this application.
用户可以通过睡眠监测设备来监测自身的睡眠情况,例如入睡时间、出睡时间和睡眠时长等等。该睡眠监测设备可以为可穿戴设备(如智能手环、智能手表等)、智能枕头、智能床垫、雷达设备等多种设备中的一种或者多种。或者说,监测用户睡眠情况的功能可以由一种设备单独完成也可以由多种设备组合完成。Users can use sleep monitoring equipment to monitor their sleep conditions, such as the time they fall asleep, the time they wake up, and the length of their sleep. The sleep monitoring equipment can be one or more of a variety of devices such as wearable devices (such as smart bracelets, smart watches, etc.), smart pillows, smart mattresses, radar equipment, etc. In other words, the function of monitoring the user's sleep conditions can be completed by a single device or by a combination of multiple devices.
通过多种方式或多种设备来完成对于用户睡眠情况的监测,有利于获取更加全面、更加准确的睡眠数据,有利于提高后续基于该睡眠数据提供的温度控制方案的可行性与准确性。通过一种设备单独完成用户睡眠情况的监测,在一定程度上可以减少后续提供温度控制方案过程中设备的计算量,有利于提高设备输出温度控制方案的效率。Monitoring the user's sleep status through multiple methods or multiple devices is conducive to obtaining more comprehensive and accurate sleep data, which is conducive to improving the feasibility and accuracy of the subsequent temperature control solution based on the sleep data. Monitoring the user's sleep status through a single device can reduce the amount of calculation of the device in the subsequent temperature control solution process to a certain extent, which is conducive to improving the efficiency of the device outputting the temperature control solution.
用户可以在睡眠监测设备上直接查看前述设备监测到的可以反映用户睡眠情况的睡眠数据,或者,睡眠监测设备也可以对根据监测睡眠数据进行分析和处理,并根据分析和处理结果确定用户的睡眠情况。The user can directly view the sleep data that can reflect the user's sleep condition monitored by the aforementioned device on the sleep monitoring device, or the sleep monitoring device can also analyze and process the monitored sleep data and determine the user's sleep condition based on the analysis and processing results.
睡眠数据也可以称为睡眠信息、睡眠历史数据、睡眠历史信息、睡眠情况信息等,用户的睡眠数据可以用来反映用户在一定时间内的睡眠状况。用户的睡眠数据可以包括用户的入睡时间、出睡时间、睡眠时长、深睡比例、浅睡比例、快速眼动(REM)比例等多种信息。Sleep data can also be called sleep information, sleep history data, sleep history information, sleep condition information, etc. The user's sleep data can be used to reflect the user's sleep condition within a certain period of time. The user's sleep data may include the user's sleep time, sleep time, sleep duration, deep sleep ratio, light sleep ratio, rapid eye movement (REM) ratio, and other information.
在一种可能的实现方式中,睡眠监测设备可以将用户睡眠情况以通知的形式告知用户。可选的,在睡眠监测设备发送的通知还可以提示用户是否开启“睡眠辅助”功能。In a possible implementation, the sleep monitoring device can inform the user of the user's sleep status in the form of a notification. Optionally, the notification sent by the sleep monitoring device can also prompt the user whether to turn on the "sleep aid" function.
示例性的,如图4所示,睡眠监测设备可以为智能手表400,智能手表400可以对监测到的用户睡眠数据进行分析、处理,并确定用户的睡眠状况。在用户的睡眠质量不高,或者睡眠状况不好的情况下,智能手表400可以发出通知401,该通知401可以用于提示用户关注睡眠状况,并给出可以提升睡眠质量、改善睡眠状况的建议(例如,智能手表400可以建议用户开启“睡眠辅助”功能)。该智能手表400还可以显示功能选项402,当用户点击该功能选项402时,智能手表400可以进一步向用户显示用户的睡眠状况的详细信息,例如:睡眠时长、深睡比例等。Exemplarily, as shown in FIG4 , the sleep monitoring device may be a smart watch 400, which may analyze and process the monitored user sleep data and determine the user's sleep condition. When the user's sleep quality is not high or the sleep condition is not good, the smart watch 400 may issue a notification 401, which may be used to prompt the user to pay attention to the sleep condition and give suggestions for improving the sleep quality and sleep condition (for example, the smart watch 400 may suggest that the user turn on the "sleep aid" function). The smart watch 400 may also display a function option 402, and when the user clicks on the function option 402, the smart watch 400 may further display detailed information about the user's sleep condition to the user, such as sleep duration, deep sleep ratio, etc.
同样示例性的,如图5所示,智能手机500可以与上述智能手表400之间可以设置有通信连接,智能手机500可以查看、管理、处理智能手表400监测的用户数据。例如,前述睡眠监测设备为智能手表400,智能手表400可以将监测到的用户的睡眠数据传送至智能手机500,智能手机500可以对从智能手表400获取的睡眠数据进行分析处理,得到可以反映用户的睡眠质量、睡眠状况的信息。Also exemplary, as shown in FIG5 , a communication connection may be provided between the smart phone 500 and the smart watch 400, and the smart phone 500 may view, manage, and process the user data monitored by the smart watch 400. For example, the sleep monitoring device is a smart watch 400, and the smart watch 400 may transmit the monitored sleep data of the user to the smart phone 500, and the smart phone 500 may analyze and process the sleep data obtained from the smart watch 400 to obtain information that may reflect the sleep quality and sleep status of the user.
当用户通过智能手机500打开管理智能手表400的数据的页面时,智能手机500可以显示第一提示控件501,该第一提示控件501可以用于提示用户其睡眠状况,该提示控件还可以给出能够提升用户睡眠质量的建议(例如,智能手表400可以建议用户开启“睡眠辅助”功能)。该第一提示控件501还可以包括第一功能选项502和第二功能选项503,当用户点击第一功能选项502时,智能手机500 可以打开关于提升睡眠质量的建议的详细页面(例如,智能手机500可以跳转至或者打开开启“睡眠辅助”功能的界面);当用户点击第二功能选项503时,智能手机500可以显示用户睡眠数据的详细页面(例如,图6所示的页面)。When the user opens the page for managing the data of the smart watch 400 through the smart phone 500, the smart phone 500 may display a first prompt control 501, which may be used to prompt the user of his sleep status. The prompt control may also give suggestions to improve the user's sleep quality (for example, the smart watch 400 may suggest that the user turn on the "sleep aid" function). The first prompt control 501 may also include a first function option 502 and a second function option 503. When the user clicks the first function option 502, the smart phone 500 A detailed page about suggestions for improving sleep quality can be opened (for example, the smartphone 500 can jump to or open an interface for enabling the "sleep assistance"function); when the user clicks on the second function option 503, the smartphone 500 can display a detailed page of the user's sleep data (for example, the page shown in Figure 6).
图6示例性地提供了一种详细展示用户睡眠数据的第一页面601,该第一页面601可以用于向用户展示用户的睡眠状况和改善睡眠的建议信息,其中,睡眠状况可以包括睡眠时长、深睡时间、浅睡时间、快速眼动时间等信息,建议信息可以包括开启辅助睡眠功能的提示信息、调整生活习惯的提示信息等。Figure 6 exemplarily provides a first page 601 that displays the user's sleep data in detail. The first page 601 can be used to display the user's sleep status and suggestion information for improving sleep, wherein the sleep status may include information such as sleep duration, deep sleep time, light sleep time, rapid eye movement time, etc., and the suggestion information may include prompt information for turning on the auxiliary sleep function, prompt information for adjusting living habits, etc.
在一些示例中,该第一页面601还可以显示功能提示信息602,该功能提示信息602用于提示用户是否开启可以用于提升睡眠质量的功能。例如,当卧室中的温度调节设备支持“睡眠辅助”功能时,该功能提示信息602可以用于提示是否开启了该“睡眠辅助”功能。In some examples, the first page 601 may also display function prompt information 602, which is used to prompt the user whether to enable a function that can be used to improve sleep quality. For example, when the temperature adjustment device in the bedroom supports the "sleep assistance" function, the function prompt information 602 may be used to prompt whether the "sleep assistance" function is enabled.
在另一些示例中,该第一页面601还可以显示功能入口603(或者称为功能开启链接603),该功能入口603可以为开启提升用户睡眠质量的功能的入口。当用户选择该功能入口603时,智能手机500可以跳转至或者显示该功能的开启页面。In other examples, the first page 601 may also display a function entry 603 (or a function activation link 603), which may be an entry for activating a function for improving the user's sleep quality. When the user selects the function entry 603, the smart phone 500 may jump to or display an activation page for the function.
睡眠监测设备或者用于管理睡眠监测设备的电子设备可以主动向用户发出提示睡眠质量的通知信息,以使得用户了解自己的睡眠状况。并且,当用户的睡眠质量较差的情况下,还可以为用户提供开启能够提升用户睡眠质量的辅助功能(例如睡眠辅助功能)的入口,有利于提升用户的睡眠质量,有利于用户的身体健康。The sleep monitoring device or the electronic device used to manage the sleep monitoring device can proactively send a notification message to the user to remind the user of the sleep quality, so that the user can understand his or her sleep condition. In addition, when the user's sleep quality is poor, the user can be provided with an access to auxiliary functions (such as sleep assistance functions) that can improve the user's sleep quality, which is beneficial to improving the user's sleep quality and the user's physical health.
在另一种可能的实现方式中,用户还可以主动开启前述的“睡眠辅助”功能。In another possible implementation, the user may also actively turn on the aforementioned "sleep assistance" function.
示例性的,睡眠监测设备为智能手表400,智能手机500可以接收、处理和分析智能手表400获取的关于用户睡眠的监测数据。图7所示为智能手机500用于管理智能手表400的第二页面701,该第二页面701可以用于展示智能手表400的相关功能,例如,电池电量、消息通知功能、天气推送功能、睡眠辅助功能等。这里智能手表400的相关功能可以是智能手表400单独具备的功能,或者该智能手表400的相关功能也可以是需要智能手表400和其他设备、电器等协同才可以实现的功能。当用户点击第二页面701中的功能入口时,智能手机500可以跳转至或者打开相应的功能页面。例如,当用户点击“睡眠辅助”功能入口702时,智能手机500可以跳转至图8所示的页面。Exemplarily, the sleep monitoring device is a smart watch 400, and the smart phone 500 can receive, process and analyze the monitoring data about the user's sleep obtained by the smart watch 400. FIG. 7 shows a second page 701 for the smart phone 500 to manage the smart watch 400. The second page 701 can be used to display the relevant functions of the smart watch 400, such as battery power, message notification function, weather push function, sleep assistance function, etc. Here, the relevant functions of the smart watch 400 can be functions that the smart watch 400 has alone, or the relevant functions of the smart watch 400 can also be functions that require the smart watch 400 to cooperate with other devices, electrical appliances, etc. to be realized. When the user clicks on the function entry in the second page 701, the smart phone 500 can jump to or open the corresponding function page. For example, when the user clicks on the "Sleep Assist" function entry 702, the smart phone 500 can jump to the page shown in FIG. 8.
在与功能相关的电子设备的管理页面中提供开启该功能的入口,有利于提高电子设备与功能的相互关联性,有利于提高用户开启该功能的效率,有利于简化电子设备的操控的复杂度,有利于实现对于多个电子设备的集中管理。Providing an entry for enabling a function in the management page of an electronic device related to the function is helpful in improving the correlation between the electronic device and the function, improving the efficiency of users in enabling the function, simplifying the complexity of operating the electronic device, and realizing centralized management of multiple electronic devices.
如图8示例性的展示了一种开启“睡眠辅助”功能的第三页面801,该第三页面801包括可以开启或者关闭“睡眠辅助”功能的第一开关802,该第一开关802可以是默认关闭的,当用户点击该第一开关802时,前述“睡眠辅助”功能开启。在一种可能的实现方式中,当用户第一次开启该“睡眠辅助”功能时,智能手机500可以引导用户完成该功能的配置、权限管理等操作。As shown in FIG8 , a third page 801 for turning on the "sleep aid" function is shown as an example. The third page 801 includes a first switch 802 that can turn on or off the "sleep aid" function. The first switch 802 can be turned off by default. When the user clicks the first switch 802, the aforementioned "sleep aid" function is turned on. In a possible implementation, when the user turns on the "sleep aid" function for the first time, the smart phone 500 can guide the user to complete operations such as configuration and permission management of the function.
对于可能需要多设备协同完成的“睡眠辅助”功能,可以设置一键开关,有利于实现对相互协同的多个设备的管理,提升设备的管理效率。For the "sleep assistance" function that may require the collaboration of multiple devices, a one-button switch can be set, which is conducive to the management of multiple devices that collaborate with each other and improves the management efficiency of the equipment.
图9所示为在开启前述“睡眠辅助”功能后,智能手机500显示的授权提示控件901,该授权提示控件901可以用于提示用户:开启“睡眠辅助”功能需要获取用户的睡眠数据,在用户同意获取该睡眠数据的情况下,智能手机500可以引导用户进一步设置并开启“睡眠辅助”功能;在用户不同意获取睡眠数据的情况下,智能手机500可以显示“权限不足,无法开启睡眠辅助”功能的提示信息,用于提示“睡眠辅助”功能开启失败。FIG9 shows an authorization prompt control 901 displayed by the smartphone 500 after the aforementioned “Sleep Assistance” function is turned on. The authorization prompt control 901 can be used to prompt the user: turning on the “Sleep Assistance” function requires obtaining the user’s sleep data. If the user agrees to obtain the sleep data, the smartphone 500 can guide the user to further set up and turn on the “Sleep Assistance” function; if the user does not agree to obtain the sleep data, the smartphone 500 can display a prompt message of “Insufficient authority, unable to turn on the Sleep Assistance” function to prompt that the “Sleep Assistance” function failed to be turned on.
如前所述,用户可以通过多个入口开启“睡眠辅助”功能,前述授权提示控件901可以显示在图5、图6或者图8所示的页面之上。As mentioned above, the user can enable the "sleep aid" function through multiple entrances, and the aforementioned authorization prompt control 901 can be displayed on the page shown in Figure 5, Figure 6 or Figure 8.
在开启“睡眠辅助”前,可以提示该功能可能涉及到的一些与用户相关的重要信息,在获取到用户的授权后再开启该功能,有利于保证用户的隐私,有利于合理使用用户数据。Before turning on "Sleep Assist", you can be prompted with some important user-related information that the function may involve. The function can be turned on after obtaining the user's authorization. This is conducive to ensuring the user's privacy and facilitating the rational use of user data.
当用户确认开启前述“睡眠辅助”功能的情况下,响应于用户的操作,智能手机500可以显示如图10所示的第四页面1001,该第四页面1001也可用于向用户展示将要执行的温度控制方案,该第四页面1001页面也可以获取用户输入的用于设置温度控制方案的数据、信息。When the user confirms to turn on the aforementioned "sleep assistance" function, in response to the user's operation, the smart phone 500 can display the fourth page 1001 as shown in Figure 10. The fourth page 1001 can also be used to show the user the temperature control plan to be executed. The fourth page 1001 can also obtain the data and information input by the user for setting the temperature control plan.
在一些示例中,该第四页面1001可以包括图形展示区域1002,该图形展示区域1002可以用于通 过曲线、图标、图形等方式向用户展示温度控制方案中,卧室温度与时间的关系。In some examples, the fourth page 1001 may include a graphic display area 1002, which may be used to communicate The relationship between bedroom temperature and time in the temperature control solution is shown to users through curves, icons, graphics, etc.
示例性的,参见图10,该图形展示区域1002可以通过曲线的形式向用户展示温度控制方案。该图形展示区域1002可以展示用于引导用户进入睡眠状态的引导区间(或称为预备区间、准备区间、引导时间段等),该图形展示区域1002还可以用于展示用户处于睡眠状态的睡眠区间。该图形展示区域1002还可以用于展示引导区间内卧室温度与时间对应关系的关系曲线/折线,该图形展示区域1002也可以用于展示睡眠区间内卧室温度与时间对应关系的关系曲线/折线。该图形展示区域1002还可以用于展示引导区间的起始时间、起始温度、终止时间、终止温度,以及睡眠区间的起始时间、起始温度、终止时间、终止温度等信息。Exemplarily, referring to FIG. 10 , the graphic display area 1002 can display the temperature control scheme to the user in the form of a curve. The graphic display area 1002 can display the guide interval (or referred to as the preparatory interval, preparation interval, guide time period, etc.) for guiding the user to enter the sleep state, and the graphic display area 1002 can also be used to display the sleep interval in which the user is in the sleep state. The graphic display area 1002 can also be used to display the relationship curve/broken line of the corresponding relationship between the bedroom temperature and time in the guide interval, and the graphic display area 1002 can also be used to display the relationship curve/broken line of the corresponding relationship between the bedroom temperature and time in the sleep interval. The graphic display area 1002 can also be used to display the start time, start temperature, end time, and end temperature of the guide interval, as well as the start time, start temperature, end time, and end temperature of the sleep interval.
上述的第四页面1001还可以包括数据显示区域1003,该数据显示区域1003可以用于展示温度控制方案中的一个或多个特征点的数据信息。该一个或多个特征点的数据信息可以包括以下中的一种或多种:入睡时间ts、起床时间te、预计睡眠时长te-ts、入睡温度引导时长△t2、最高睡眠室温Wg和最低睡眠室温Wd。The fourth page 1001 may also include a data display area 1003, which may be used to display data information of one or more characteristic points in the temperature control scheme. The data information of the one or more characteristic points may include one or more of the following: sleeping time ts, waking time te, expected sleeping time te-ts, sleeping temperature guidance time Δt2, maximum sleeping room temperature Wg, and minimum sleeping room temperature Wd.
通过数据显示区域1003,可以直观地向用户展示温度控制方案中的关键的节点信息。The data display area 1003 can intuitively display key node information in the temperature control solution to the user.
在一些实施例中,前述温度控制方案可以设置有默认方案,或者称为推荐方案。该推荐方案可以包括前述的温度控制方案中的一个或多个特征点的数据信息,也就是说,温度控制方案中的一个或多个特征点的数据可以具有默认值或者推荐值。In some embodiments, the aforementioned temperature control scheme may be provided with a default scheme, or a recommended scheme. The recommended scheme may include data information of one or more characteristic points in the aforementioned temperature control scheme, that is, the data of one or more characteristic points in the temperature control scheme may have a default value or a recommended value.
以下提供一种确定上述特征点数据默认值的方法。A method for determining the default value of the above feature point data is provided below.
通过前述睡眠监测设备的监测可以获取用户的如下睡眠数据中的一种或多种:休息日入睡平均时间(sleep onset freeday,SOF)、工作日入睡平均时间(sleep onset workday,SOW)、休息日平均有效睡眠时长(sleep duration freeday,SDF)、工作日平均有效睡眠时长(sleep duration workday,SDW)、休息日睡眠中值平均(middle sleep time freeday,MSF)和工作日睡眠中值平均(middle sleep time workday,MSW)。Through the monitoring of the aforementioned sleep monitoring equipment, one or more of the following sleep data of the user can be obtained: average sleep time on rest days (sleep onset freeday, SOF), average sleep time on weekdays (sleep onset workday, SOW), average effective sleep duration on rest days (sleep duration freeday, SDF), average effective sleep duration on weekdays (sleep duration workday, SDW), median sleep time on rest days (middle sleep time freeday, MSF) and median sleep time on weekdays (middle sleep time workday, MSW).
定义社交时差(sleep latency jetlag,SLJ)和休息日睡眠债务补偿时间(sleep debt,SLD),两者的计算方式如下:
SLJ=MSF–MSW=(SOF+SDF/2)-(SOW+SDW/2);
SLD=(SDF–((SDW*5+SDF*2)/7))/2;
Define social jet lag (sleep latency jetlag, SLJ) and rest day sleep debt compensation time (sleep debt, SLD), the calculation method of both is as follows:
SLJ = MSF – MSW = (SOF + SDF/2) - (SOW + SDW/2);
SLD = (SDF – ((SDW*5+SDF*2)/7))/2;
从而,工作日补偿后的休息日睡眠中值(middle sleep time freeday after sleep compensate,MSFsc)可以由下式计算得到:
MSFsc=MSF-SLD=MSF–(SDF-((SDW*5+SDF*2)/7))/2;
Therefore, the median sleep time freeday after sleep compensated (MSFsc) can be calculated by the following formula:
MSFsc=MSF-SLD=MSF–(SDF-((SDW*5+SDF*2)/7))/2;
补偿后工作日理想睡眠时长(SDW_i,sleep duration workday ideal)可以由下式计算得到:
SDW_i=SDW+SLD;
The ideal sleep duration workday ideal after compensation (SDW_i) can be calculated by the following formula:
SDW_i=SDW+SLD;
进一步的,理想入睡时间(SO_i,sleep onset ideal)可以由下式计算得到:
SO_i=MSFsc-(SLD+SDW)/2;
Furthermore, the ideal sleep onset time (SO_i, sleep onset ideal) can be calculated by the following formula:
SO_i=MSFsc-(SLD+SDW)/2;
根据前述计算得到的理想入睡时间和补偿后工作日理想睡眠时长可以计算出图形展示区域1002中的推荐入睡时刻和推荐起床时刻,也即数据显示区域中入睡时间ts的默认值和起床时间的默认值te,以及预计睡眠时长te-ts的默认值。Based on the ideal bedtime calculated above and the ideal sleep duration on weekdays after compensation, the recommended bedtime and recommended wake-up time in the graphic display area 1002 can be calculated, that is, the default value of the bedtime ts and the default value of the wake-up time te in the data display area, as well as the default value of the expected sleep duration te-ts.
对于图形展示区域1002中引导区间的时间跨度(或称为睡眠温度提前时间量(time advance,T_adv))或者数据显示区域1003中的入睡温度引导时长的默认值△t1可以根据人体内褪黑素水平的变化来确定。The time span of the guidance interval in the graphic display area 1002 (or called the sleep temperature advance time (time advance, T_adv)) or the default value △t1 of the sleep temperature guidance duration in the data display area 1003 can be determined according to the change of melatonin level in the human body.
如图11示例性地提供了人体内褪黑素水平在一天内的变化曲线图。在清醒区(非睡眠时间段)内,人体内的褪黑素水平相对较低,在睡眠区(睡眠时间段)内,人体内的褪黑素水平相对较高。当人体由清醒逐渐进入睡眠的过程中,人体内的褪黑素水平逐渐升高。如图11所示,在曲线上A点和B点之间(△t2的时间间隔内),人体内的褪黑素水平上升幅度较为明显。FIG11 exemplarily provides a curve chart of the change of melatonin level in the human body in one day. In the wake zone (non-sleep time period), the melatonin level in the human body is relatively low, and in the sleep zone (sleep time period), the melatonin level in the human body is relatively high. As the human body gradually enters sleep from wakefulness, the melatonin level in the human body gradually increases. As shown in FIG11, between point A and point B on the curve (within the time interval of △t2), the increase in melatonin level in the human body is more obvious.
研究表明,当人体内的褪黑素水平上升较为明显时,适当升高环境的温度有利于提升人体的睡意,使人体更快地进入睡眠状态。相反,当人体内的褪黑素水平没有发生明显上升时(例如图11中A点对应的时间之前),升高环境温度相反会带来不适,不利于人体进入睡眠状态。Studies have shown that when the level of melatonin in the human body rises significantly, appropriately increasing the temperature of the environment is conducive to improving the sleepiness of the human body and allowing the human body to enter a sleep state faster. On the contrary, when the level of melatonin in the human body does not rise significantly (for example, before the time corresponding to point A in Figure 11), increasing the ambient temperature will instead cause discomfort and be detrimental to the human body entering a sleep state.
在一种可能的实现方式中,引导区间的时间跨度或者数据显示区域1003中的入睡温度引导时长的默认值△t1根据人体内褪黑素水平明显上升的时间段长度(记为△t2)确定,具体的,△t1小于或等 于△t2。In a possible implementation, the time span of the guidance interval or the default value △t1 of the sleep temperature guidance time in the data display area 1003 is determined according to the length of the time period when the melatonin level in the human body rises significantly (denoted as △t2). Specifically, △t1 is less than or equal to At △t2.
在另一种可能的实现方式中,引导区间的时间跨度或者数据显示区域1003中的入睡温度引导时长的默认值△t1除需要根据人体内褪黑素水平明显上升的时间段长度(记为△t2)确定,还可以结合用户的历史睡眠情况、睡眠节律的滞后情况确定,也就是说,可以结合前述睡眠监测设备获取的用户的睡眠数据确定。In another possible implementation, the time span of the guidance interval or the default value △t1 of the sleeping temperature guidance time in the data display area 1003 needs to be determined according to the length of the time period when the melatonin level in the human body rises significantly (denoted as △t2), and can also be determined in combination with the user's historical sleep conditions and the lag of the sleep rhythm. In other words, it can be determined in combination with the user's sleep data obtained by the aforementioned sleep monitoring device.
在一些示例中,根据睡眠监测设备获取的睡眠数据,可以确定用户的睡眠节律。具体的,如前文所述,根据睡眠数据,可以确定用户的SLJ和SDW,根据SLJ与第一预设阈值之间的关系和/或SDW与第二预设阈值之间的关系可以确定用户的睡眠节律。In some examples, the user's sleep rhythm can be determined based on the sleep data obtained by the sleep monitoring device. Specifically, as described above, the user's SLJ and SDW can be determined based on the sleep data, and the user's sleep rhythm can be determined based on the relationship between SLJ and a first preset threshold and/or the relationship between SDW and a second preset threshold.
以成年人为例,当用户的SLJ<1或SDW>7时,可以认为用户的睡眠节律正常;当用户1<SLJ<2且SDW<7时,可以认为用户的睡眠节律轻度滞后;当用户2<SLJ<3且SDW<7时,可以认为用户的睡眠节律中度滞后;当用户SLJ>3且SDW<7时,可以认为用户的睡眠节律重度滞后。Taking adults as an example, when the user's SLJ<1 or SDW>7, the user's sleep rhythm can be considered normal; when user 1<SLJ<2 and SDW<7, the user's sleep rhythm can be considered slightly delayed; when user 2<SLJ<3 and SDW<7, the user's sleep rhythm can be considered moderately delayed; when user SLJ>3 and SDW<7, the user's sleep rhythm can be considered severely delayed.
以上仅示例性的提供了一种根据用户的睡眠数据确定用户的睡眠节律滞后情况的方法,应理解,根据用户的睡眠数据还可以获得其他可以确定用户的睡眠节律滞后情况的方法,这部分内容也应落入本申请的保护范围内。The above only exemplifies a method for determining the user's sleep rhythm lag based on the user's sleep data. It should be understood that other methods for determining the user's sleep rhythm lag can be obtained based on the user's sleep data, and this part of the content should also fall within the scope of protection of this application.
根据上述方法确定用户的睡眠滞后情况后,对于节律正常的用户可以考虑不设置温度引导,即引导区间的时间跨度(T_adv)为0,由用户自然进入睡眠状态;对于轻度睡眠节律滞后的用户,可以设置T_adv为第一时长,对于中度睡眠节律滞后的用户,可以设置T_adv为第二时长,对于重度睡眠之后的用户,可以设置T_adv为第三时长,其中,第一时长、第二时长和第三时长均小于或者等于前述的人体内褪黑素水平明显上升的时间段长度(△t2),示例性的,第一时长<第二时长<第三时长=△t2。After determining the user's sleep delay according to the above method, for users with normal rhythm, it is possible to consider not setting temperature guidance, that is, the time span of the guidance interval (T_adv) is 0, and the user naturally enters the sleep state; for users with mild sleep rhythm lag, T_adv can be set to the first duration, for users with moderate sleep rhythm lag, T_adv can be set to the second duration, and for users after heavy sleep, T_adv can be set to the third duration, wherein the first duration, the second duration and the third duration are all less than or equal to the aforementioned time period length (△t2) when the melatonin level in the human body increases significantly. Exemplarily, the first duration < the second duration < the third duration = △t2.
在一种可能的实现方式中,对于温度控制方案中温度的确定,可以根据用户对于温度控制设备的使用习惯确定。温度控制设备可以获取用户在一个自然月中利用温度控制设备设定的最高温度和最低温度以及该自然月内温度控制设备运行状态下的最高室温和最低室温来确定温度控制方案中的最高睡眠室温Wg和最低睡眠室温Wd。In a possible implementation, the temperature in the temperature control scheme can be determined based on the user's usage habits of the temperature control device. The temperature control device can obtain the highest temperature and the lowest temperature set by the user using the temperature control device in a natural month, as well as the highest room temperature and the lowest room temperature when the temperature control device is in operation in the natural month, to determine the highest sleeping room temperature Wg and the lowest sleeping room temperature Wd in the temperature control scheme.
在另一种可能的实现方式中,对于温度控制方案中,环境温度的确定,可以根据用户的输入数据来确定。例如,在图10所示的输入区域1003中,设置有最高睡眠室温和最低睡眠室温的输入项,用户可以在该输入区域1003中输入对应的数值。In another possible implementation, in the temperature control solution, the ambient temperature can be determined based on the user's input data. For example, in the input area 1003 shown in FIG10 , input items for the maximum sleeping room temperature and the minimum sleeping room temperature are provided, and the user can enter the corresponding values in the input area 1003 .
在温度控制方案中设置引导区间,并可以根据用户的历史睡眠情况来确定该温度引导区间时间的长短,有利于通过温度的调控来改善用户的睡眠节律滞后的情况,有利于提高用户的睡眠质量。此外,结合褪黑素水平在人体内随时间的变化关系来确定引导区间的时间长度,有利于更加合理地引导用户进入睡眠状态,改善用户的睡眠状况。In the temperature control scheme, a guidance interval is set, and the length of the temperature guidance interval can be determined according to the user's historical sleep conditions, which is conducive to improving the user's sleep rhythm lag through temperature regulation and improving the user's sleep quality. In addition, the length of the guidance interval is determined in combination with the relationship between the change of melatonin levels in the human body over time, which is conducive to more reasonably guiding the user to enter the sleep state and improving the user's sleep condition.
以上结合图10至图12,说明了本申请提供的温度控制方案以及温度控制方案中一些参数的默认值的确定方案。在实际使用过程中,当用户首次开启“睡眠辅助”功能时,可以为用户配置默认的温度控制方案(或称为推荐的温度控制方案),并向用户展示该默认的温度控制方案。The above, in combination with Figures 10 to 12, illustrates the temperature control scheme provided by the present application and the scheme for determining the default values of some parameters in the temperature control scheme. In actual use, when a user turns on the "sleep aid" function for the first time, a default temperature control scheme (or recommended temperature control scheme) can be configured for the user and displayed to the user.
在一些示例中,在向用户展示推荐的温度控制方案或者显示上述温度控制方案中特征点的默认值前,前述的智能手机500可以显示如图13所示的推荐提示控件1301,该推荐提示控件1301可以用于提示用户已经为用户配置了推荐的温度控制方案,该推荐提示控件1301也可以用于提示用户可以更改推荐的温度控制方案。In some examples, before displaying the recommended temperature control scheme to the user or displaying the default values of the feature points in the above-mentioned temperature control scheme, the aforementioned smart phone 500 can display a recommendation prompt control 1301 as shown in Figure 13, and the recommendation prompt control 1301 can be used to prompt the user that the recommended temperature control scheme has been configured for the user. The recommendation prompt control 1301 can also be used to prompt the user that the recommended temperature control scheme can be changed.
用户也可以对温度控制方案进行调整或者说用户可以自定义温度控制方案,以下进一步说明用户调整温度控制方案的方法。The user can also adjust the temperature control scheme or the user can customize the temperature control scheme. The following further describes how the user adjusts the temperature control scheme.
在一种可能的实现方式中,用户可以通过如图10所示的图形展示区域1002来调整温度控制方案。In a possible implementation, the user may adjust the temperature control scheme through the graphic display area 1002 as shown in FIG. 10 .
示例性的,在该图形展示区域1002通过曲线的形式向用户展示温度控制方案的情况下,该曲线上还可以设置有调节点,该调节点可以用于用户调节温度控制方案。例如,用户可以沿温度坐标轴的方向拖动调节点,从而可以改变温度控制方案中引导区间的温度终点对应的温度。又例如,用户可以沿时间轴的方向拖动调节点,从而可以改变温度控制方案中入睡时刻和起床时刻(出睡时刻)。For example, when the temperature control scheme is displayed to the user in the form of a curve in the graphic display area 1002, an adjustment point may be provided on the curve, and the adjustment point may be used by the user to adjust the temperature control scheme. For example, the user may drag the adjustment point along the direction of the temperature coordinate axis, thereby changing the temperature corresponding to the temperature end point of the guide interval in the temperature control scheme. For another example, the user may drag the adjustment point along the direction of the time axis, thereby changing the time to fall asleep and the time to get up (the time to wake up) in the temperature control scheme.
可选的,当该图形展示区域1002支持用户手动调节曲线的功能时,该图形展示区域1002上还可以显示提示信息,该提示信息用于提示用户可以手动调节温控方案中时间和温度信息。 Optionally, when the graphic display area 1002 supports the function of the user manually adjusting the curve, prompt information can also be displayed on the graphic display area 1002, and the prompt information is used to prompt the user to manually adjust the time and temperature information in the temperature control solution.
当用户手动调节曲线,拖动曲线上的调节点时,智能手机500可以不断获取调节点在温度坐标轴方向上的移动方向和距离以及时间坐标轴方向上的移动方向和距离,从而确定调节点的温度和时间信息。当用户通过图形展示区域1002来更改温度控制方案时,更改后的方案的特征点的数据也会同步至数据显示区域1003处。例如,当用户更改引导区间的终点时,数据显示区域1003处的入睡温度引导时长和最高睡眠室温可以同步更新。When the user manually adjusts the curve and drags the adjustment point on the curve, the smart phone 500 can continuously obtain the moving direction and distance of the adjustment point in the direction of the temperature coordinate axis and the moving direction and distance in the direction of the time coordinate axis, thereby determining the temperature and time information of the adjustment point. When the user changes the temperature control scheme through the graphic display area 1002, the data of the characteristic points of the changed scheme will also be synchronized to the data display area 1003. For example, when the user changes the end point of the guidance interval, the sleep temperature guidance time and the maximum sleep room temperature in the data display area 1003 can be synchronized and updated.
用户可以直接在图形展示区域1002来调整温度控制方案,用户可以直观地感受温度控制方案的变化,有利于提高用户自定义温度控制方案的效率。The user can adjust the temperature control scheme directly in the graphic display area 1002 . The user can intuitively feel the changes in the temperature control scheme, which is conducive to improving the efficiency of the user-defined temperature control scheme.
在另一种可能的实现方式中,用户可以通过如图10所示的数据展示区域1003来调整温度控制方案。In another possible implementation, the user may adjust the temperature control scheme through the data display area 1003 as shown in FIG. 10 .
示例性的,在数据展示区域1003中每一项温度控制方案的特征点的数据都可以设置手动输入的入口1004,当用户点击该入口1004时,智能手机500可以显示如图14的第一输入控件1401或者如图15所示的第二输入控件1501以及与之类似的输入控件,通过这些输入控件,智能手机500可以获取到用户输入的特征点的数据。可选的,这些输入控件还可以提示用户当前输入项目的合适的范围,或者当用户输入的数据的数值偏离前述根据用户的睡眠情况确定的默认值的幅度较大时,智能手机500可以向用户发出提示信息以提示用户调整输入数据至恰当的范围。Exemplarily, in the data display area 1003, the data of the characteristic points of each temperature control scheme can be set with a manual input entry 1004. When the user clicks on the entry 1004, the smart phone 500 can display the first input control 1401 shown in FIG. 14 or the second input control 1501 shown in FIG. 15 and similar input controls. Through these input controls, the smart phone 500 can obtain the data of the characteristic points input by the user. Optionally, these input controls can also prompt the user to enter the appropriate range of the current input item, or when the value of the data entered by the user deviates from the default value determined according to the user's sleep condition by a large margin, the smart phone 500 can send a prompt message to the user to prompt the user to adjust the input data to an appropriate range.
例如,如图15所示,第二输入控件1501可以显示建议的入睡温度引导时长在50~60分钟之间。For example, as shown in FIG. 15 , the second input control 1501 may display that the recommended temperature guidance duration for falling asleep is between 50 and 60 minutes.
或者,上述输入控件还可以在用户首次开启“睡眠辅助”功能时显示,来为用户配置默认的温度控制方案。Alternatively, the above input controls can also be displayed when the user first turns on the "Sleep Assist" function to configure a default temperature control plan for the user.
当用户利用上述方式中的一种或多种更改或调整了推荐的温度控制方案或者温度控制方案中特征点的数值时,智能手机500可以显示如图16所示的确认提示控件1601,该确认提示控件1601可以包括保存功能选项1602和恢复推荐方案功能选项1603。当用户选择保存功能选项1602时,响应于用户的操作,智能手机500根据温度控制方案的当前信息来生成待执行的温度控制方案。当用户选择恢复推荐方案功能选项1603时,响应于用户的操作,智能手机500将用户更改后的温度控制方案恢复为推荐的温控方案,或者说,将用户输入的温度控制方案上的特征点的数值恢复为默认值。When the user changes or adjusts the recommended temperature control scheme or the value of the characteristic point in the temperature control scheme by one or more of the above methods, the smart phone 500 may display a confirmation prompt control 1601 as shown in FIG. 16, and the confirmation prompt control 1601 may include a save function option 1602 and a restore recommended scheme function option 1603. When the user selects the save function option 1602, in response to the user's operation, the smart phone 500 generates a temperature control scheme to be executed based on the current information of the temperature control scheme. When the user selects the restore recommended scheme function option 1603, in response to the user's operation, the smart phone 500 restores the temperature control scheme changed by the user to the recommended temperature control scheme, or in other words, restores the value of the characteristic point on the temperature control scheme input by the user to the default value.
用户可以将推荐的温度控制方案用作待执行的温度控制方案,用户也可以将自己设置的温度控制方案作为待执行的温度控制方案。当用户选择(点击)如图10所示的“确认执行”的功能选项1005时,响应于用户的操作,智能手机500获取当前第四页面1001中显示的温度控制方案的信息,并将当前温度控制方案的信息发送至温度控制设备,从而温度控制设备可以根据接收的温度控制方案来调控卧室内的环境温度。The user can use the recommended temperature control scheme as the temperature control scheme to be executed, and the user can also use the temperature control scheme set by himself as the temperature control scheme to be executed. When the user selects (clicks) the function option 1005 of "Confirm Execution" as shown in Figure 10, in response to the user's operation, the smart phone 500 obtains the information of the temperature control scheme displayed in the current fourth page 1001, and sends the information of the current temperature control scheme to the temperature control device, so that the temperature control device can adjust the ambient temperature in the bedroom according to the received temperature control scheme.
在一些示例中,当用户点击上述“确认执行”的功能选项1005时,响应于用户的操作,智能手机500可以显示如图17所示的确认提示控件1701,该确认提示控件1701可以用于获取用户的二次确认指示,当用户点击该确认提示控件1701上的“确认”选项卡时,智能手机500可以获取用户的二次确认指示,并发送温度控制方案至温度控制设备。In some examples, when the user clicks on the above-mentioned "Confirm Execution" function option 1005, in response to the user's operation, the smart phone 500 can display a confirmation prompt control 1701 as shown in Figure 17, and the confirmation prompt control 1701 can be used to obtain the user's secondary confirmation indication. When the user clicks on the "Confirm" tab on the confirmation prompt control 1701, the smart phone 500 can obtain the user's secondary confirmation indication and send the temperature control plan to the temperature control device.
该确认提示控件1701还可以用于提示用户,在执行温度控制方案期间无法手动调节温度控制设备。The confirmation prompt control 1701 may also be used to prompt the user that the temperature control device cannot be manually adjusted during the execution of the temperature control scheme.
温度控制设备在接受到睡眠温度控制方案后,可以对该睡眠温度控制方案进行解析,从而确定执行该睡眠温度控制方案的方法。例如,通过解析该睡眠温度控制方案,可以获取到引导区间的起点时间和起点温度、引导区间的终点时间和终点温度等。根据解析的结果以及当前卧室的温度来设定开启温度调节的时间点以及需要调节到的终点温度。After receiving the sleep temperature control scheme, the temperature control device can parse the sleep temperature control scheme to determine the method for executing the sleep temperature control scheme. For example, by parsing the sleep temperature control scheme, the start time and start temperature of the guide interval, the end time and end temperature of the guide interval, etc. can be obtained. The time point for starting the temperature adjustment and the end temperature to be adjusted are set according to the parsed result and the current bedroom temperature.
在温度控制设备执行温度控制方案期间,用户可能会手动调节温度控制设备,以下结合图18至图20详细说明,在这种情况下用户进行手动调节的过程。以下以温度控制设备为空调为例进行说明。During the temperature control device executing the temperature control scheme, the user may manually adjust the temperature control device, and the process of manual adjustment by the user in this case is described in detail below in conjunction with Figures 18 to 20. The following description takes the temperature control device as an air conditioner as an example.
在一种可能的实现方式中,用户可以通过空调的控制面板(例如空调遥控器)来控制手动调控空调的温度。图18示例性地提供了一种空调的控制面板显示区域的示意图。In a possible implementation, the user can manually adjust the temperature of the air conditioner through the control panel of the air conditioner (eg, the air conditioner remote controller). FIG18 exemplarily provides a schematic diagram of a display area of a control panel of an air conditioner.
如图18,当空调执行睡眠温度控制方案的期间,该空调的控制面板显示区域可以显示当前空调的运行模式、温度、风速和提示信息等内容。该运行模式的显示区域可以显示用于表示“睡眠辅助模式”的图标1801或者文字,该温度显示区域可以显示温度无法手动调节的图标1802或者文字,该提示信息的显示区域可以显示“需要退出当前的运行模式,才可以手动调节温度。”的提示信息。该提示信息的内容可以在用户手动调节温度(例如按下控制面板上温度的“+”键或“减”键)的情况下,才会 显示。As shown in Figure 18, when the air conditioner is executing the sleep temperature control plan, the display area of the control panel of the air conditioner can display the current operating mode, temperature, wind speed, prompt information and other contents of the air conditioner. The operating mode display area can display an icon 1801 or text indicating "sleep assistance mode", the temperature display area can display an icon 1802 or text indicating that the temperature cannot be manually adjusted, and the prompt information display area can display a prompt message "You need to exit the current operating mode before you can manually adjust the temperature." The content of the prompt information can be displayed only when the user manually adjusts the temperature (for example, by pressing the "+" or "minus" key on the control panel). show.
当用户通过空调遥控器退出当前空调的运行模式时,用户可以手动调控空调的温度。When the user exits the current operating mode of the air conditioner through the air conditioner remote controller, the user can manually adjust the temperature of the air conditioner.
在另一种可能的实现方式中,用户可以通过前述智能手机500或者可以用于控制空调的其他智能设备来手动调节空调的温度。图19示例性地提供了一种用于手动调控空调温度的应用程序(以下称为空调控制程序)的界面示意图。In another possible implementation, the user can manually adjust the temperature of the air conditioner through the aforementioned smart phone 500 or other smart devices that can be used to control the air conditioner. FIG19 exemplarily provides an interface diagram of an application program (hereinafter referred to as an air conditioner control program) for manually adjusting the temperature of the air conditioner.
如图19所示,该空调控制程序的界面可以显示当前空调的运行模式、温度、风速、风向等信息。该运行模式显示区域可以显示当前空调的运行模式为睡眠辅助模式(例如图形1902或者文字),该温度显示区域可以显示温度无法手动调节的图标1901或者文字。当用户通过该空调控制程序来手动调节空调的温度或者其他功能的情况下,智能手机500可以显示如图20所示的失败提示控件2001,该失败提示控件2001可以用于提示当前空调正按照睡眠辅助模式运行,无法手动调节空调温度,该失败提示控件2001还可以包括“退出”功能选项,当用户选择该“退出”功能选项时,响应于用户的操作,智能手机500向空调发送退出睡眠辅助的指示信息;该失败提示控件2001还可以包括“继续”功能选项,当用户选择该“继续”功能选项时,智能手机500可以不向空调发送控制信息。As shown in FIG. 19 , the interface of the air conditioning control program can display the current air conditioning operation mode, temperature, wind speed, wind direction and other information. The operation mode display area can display that the current air conditioning operation mode is the sleep assistance mode (e.g., graphic 1902 or text), and the temperature display area can display an icon 1901 or text indicating that the temperature cannot be manually adjusted. When the user manually adjusts the temperature or other functions of the air conditioning through the air conditioning control program, the smart phone 500 can display a failure prompt control 2001 as shown in FIG. 20 , and the failure prompt control 2001 can be used to prompt that the current air conditioning is operating in the sleep assistance mode and the air conditioning temperature cannot be manually adjusted. The failure prompt control 2001 can also include an "exit" function option. When the user selects the "exit" function option, in response to the user's operation, the smart phone 500 sends an instruction message to exit the sleep assistance to the air conditioning; the failure prompt control 2001 can also include a "continue" function option. When the user selects the "continue" function option, the smart phone 500 may not send control information to the air conditioning.
在温度控制设备执行温度控制方案期间,用户可能需要主动控制温度控制设置退出执行温度控制方案。以下结合图21和图22说明用户通过智能手机500退出温度控制方案的执行,以及退出后重新继续温度控制方案执行的过程。During the temperature control device executing the temperature control scheme, the user may need to actively control the temperature control setting to exit the execution of the temperature control scheme. The following describes the process of the user exiting the execution of the temperature control scheme through the smart phone 500 and resuming the execution of the temperature control scheme after exiting in conjunction with Figures 21 and 22.
图21示例性地提供了一种温度控制设备执行温度控制方案期间,智能手机500控制温度控制方案的控制页面2101,该控制页面2101可以包括第一信息显示区域2102,该第一信息显示区域2102可以用于展示当前的时间信息、日期信息、日程信息等;该控制页面2101还可以包括状态显示区域2103,该状态显示区域2103可以用于显示温度控制方案是否处于执行状态,该状态显示区域2103还可以用于显示当前的时间点处于温度控制方案的哪一个阶段,例如当前时间点是否处于睡眠区间,当前时间点是否处于卧室升温或降温区间等等。状态显示区域2103可以通过文字、图形、动画或者其他方式来显示温度控制方案的执行状态。该控制页面2101还可以包括第二信息显示区域2104,该第二信息显示区域2104可以用于显示温度控制方案在下一阶段即将发生的事件。例如,该第二信息显示区域2104可以用于卧室在2个小时后将升温1℃。FIG21 exemplarily provides a control page 2101 of a temperature control scheme in which a smart phone 500 controls the temperature control scheme during the execution of the temperature control scheme by a temperature control device. The control page 2101 may include a first information display area 2102, which may be used to display the current time information, date information, schedule information, etc.; the control page 2101 may also include a status display area 2103, which may be used to display whether the temperature control scheme is in execution, and the status display area 2103 may also be used to display which stage of the temperature control scheme the current time point is in, such as whether the current time point is in the sleep interval, whether the current time point is in the bedroom heating or cooling interval, etc. The status display area 2103 may display the execution status of the temperature control scheme by text, graphics, animation or other means. The control page 2101 may also include a second information display area 2104, which may be used to display events that are about to occur in the next stage of the temperature control scheme. For example, the second information display area 2104 may be used to indicate that the bedroom will be heated by 1°C in 2 hours.
上述控制页面2101还可以包括“退出执行”功能选项2105,当用户选择该“退出执行”功能选项2105时,响应于用户的操作,智能手机500可以向温度控制设备发送退出执行温度控制方案的命令,当温度控制设备接收到该控制命令时,可以退出执行温度控制方案。这种情况下,用户可以手动调节温度控制设备设定的温度。The control page 2101 may also include an "exit execution" function option 2105. When the user selects the "exit execution" function option 2105, in response to the user's operation, the smart phone 500 may send a command to the temperature control device to exit the execution of the temperature control scheme. When the temperature control device receives the control command, it may exit the execution of the temperature control scheme. In this case, the user may manually adjust the temperature set by the temperature control device.
如图22,当用户选择该“退出执行”功能选项时,响应于用户的操作,前述的状态显示区域2203可以显示睡眠辅助模式已退出。前述控制页面2201还可以包括“继续执行”功能选项2206。当睡眠辅助模式处于退出的状态下,用户选择该“继续执行”功能选项2206时,响应于用户的操作,智能手机500可以向温度控制设备发送执行温度控制方案的命令,当温度控制设备接收到该命令时,温度控制设备可以根据温度控制方案以及当前的时间来继续执行温度控制方案。As shown in Figure 22, when the user selects the "Exit Execution" function option, in response to the user's operation, the aforementioned state display area 2203 may display that the sleep assistance mode has been exited. The aforementioned control page 2201 may also include a "Continue Execution" function option 2206. When the sleep assistance mode is in the exited state, when the user selects the "Continue Execution" function option 2206, in response to the user's operation, the smart phone 500 may send a command to execute the temperature control scheme to the temperature control device, and when the temperature control device receives the command, the temperature control device may continue to execute the temperature control scheme according to the temperature control scheme and the current time.
需要说明的是,当温度控制设备继续执行温度控制方案时,该温度控制设备还可以结合当前卧室的温度以及温度控制方案上当前时间点的温度首先对卧室内的温度进行一定的调整。例如,当前卧室温度为22.5℃,温度控制方案中当前时间点的卧室温度为23℃,温度控制设备可以先对卧室内执行升温操作,以使卧室内温度可以达到23℃,从而在继续执行温度控制方案。It should be noted that when the temperature control device continues to execute the temperature control plan, the temperature control device can also first adjust the temperature in the bedroom in combination with the current bedroom temperature and the temperature at the current time point in the temperature control plan. For example, if the current bedroom temperature is 22.5°C and the bedroom temperature at the current time point in the temperature control plan is 23°C, the temperature control device can first perform a heating operation in the bedroom so that the bedroom temperature can reach 23°C, and then continue to execute the temperature control plan.
还应理解,当温度控制方案处于执行状态时,上述“继续执行”功能选项2106处于不可选状态,当温度控制方案处于退出状态时,上述“退出执行”功能选项2105处于不可选状态。It should also be understood that when the temperature control scheme is in the execution state, the above-mentioned "continue execution" function option 2106 is in a non-selectable state, and when the temperature control scheme is in the exit state, the above-mentioned "exit execution" function option 2105 is in a non-selectable state.
如图23所示,在开启“睡眠辅助”功能的情况,在前述如图6所示的展示用户睡眠状况的第一页面601上可以显示当前的睡眠数据是在开启“睡眠辅助”功能情况下获取的,或者说,该第一页面601上可以显示“已开启睡眠辅助”功能的提示信息2301,该第一页面601上还可以显示在开启睡眠辅助功能的情况,用户的睡眠数据的变化情况,例如在开启睡眠温度调控后,用户的深睡比例增加。As shown in Figure 23, when the "sleep assistance" function is turned on, the first page 601 showing the user's sleep status as shown in Figure 6 can display that the current sleep data is obtained when the "sleep assistance" function is turned on, or in other words, the first page 601 can display a prompt message 2301 that "sleep assistance function is turned on". The first page 601 can also display the changes in the user's sleep data when the sleep assistance function is turned on, for example, after turning on the sleep temperature control, the user's deep sleep ratio increases.
在启用上述“睡眠辅助”功能后的一段时间内,对用户的睡眠情况进行监控可以得到如图24所示的睡眠变化情况图。sAfter the "sleep assistance" function is enabled, the user's sleep status is monitored for a period of time to obtain a sleep change diagram as shown in FIG24.
如图24所示,在启用上述“睡眠辅助”功能后,随着时间的延长,用户的入睡时间逐渐向前迁移, 即用户入睡的时间慢慢变早,用户的睡眠时长逐渐变长。整体而言,用户的睡眠节律逐渐恢复正常,用户的睡眠质量逐渐升高。As shown in FIG. 24 , after the aforementioned “sleep assistance” function is enabled, as time goes by, the user’s sleeping time gradually moves forward. That is, the user's sleep time gradually becomes earlier, and the user's sleep duration gradually becomes longer. Overall, the user's sleep rhythm gradually returns to normal, and the user's sleep quality gradually improves.
图24所示的睡眠变化情况图也可以展示在上述第一页面601中,用于展示启用“睡眠辅助”功能后用户的睡眠情况的变化。The sleep change graph shown in FIG. 24 may also be displayed in the first page 601 to show the changes in the user's sleep condition after the “sleep assistance” function is enabled.
基于相同的发明构思,如图25所示,本申请实施例还提供一种温度调节装置2500,该温度调节装置2500包括获取单元2510和处理单元2520,该获取单元用于获取如图3至图24所示实施例中控制主机获取的用户的睡眠数据等,该处理单元用于执行如图3至图24所示的实施例中控制主机执行的处理操作,如根据用户睡眠数据确定温度控制方案等。Based on the same inventive concept, as shown in Figure 25, an embodiment of the present application also provides a temperature control device 2500, which includes an acquisition unit 2510 and a processing unit 2520. The acquisition unit is used to obtain the user's sleep data obtained by the control host in the embodiments shown in Figures 3 to 24, and the processing unit is used to execute the processing operations performed by the control host in the embodiments shown in Figures 3 to 24, such as determining a temperature control scheme based on the user's sleep data.
可选的,该温度装置还可以包括通信单元2530,该通信单元用于执行如图3至图24所示的实施例中控制主机执行的与睡眠监测设备和温度控制设备的通信和数据传输操作等。Optionally, the temperature device may further include a communication unit 2530, which is used to perform communication and data transmission operations with the sleep monitoring device and the temperature control device, etc., which are performed by the control host in the embodiments shown in Figures 3 to 24.
本申请实施例还提供了另一种温度调节装置,该温度调节装置包括获取单元和处理单元,该温度调节装置用于执行前述实施例中睡眠监测设备执行的操作。An embodiment of the present application further provides another temperature adjustment device, which includes an acquisition unit and a processing unit. The temperature adjustment device is used to execute the operations performed by the sleep monitoring device in the aforementioned embodiment.
本申请实施例还提供了又一种温度调节装置,该温度调节装置包括获取单元和处理单元,该温度调节装置用于执行前述实施例中温度控制设备执行的操作。An embodiment of the present application further provides another temperature adjustment device, which includes an acquisition unit and a processing unit. The temperature adjustment device is used to execute the operations executed by the temperature control device in the aforementioned embodiment.
如图26所示,本申请实施例还提供一种电子设备2600,该电子设备包括处理器2610和存储器2620,该处理器用于执行如图3至图24所示的实施例中电子设备执行的处理操作,如根据用户的睡眠数据确定温度控制方案等,该存储器上存储有一个或多个计算机程序,该一个或多个计算机程序包括指令,当该指令被一个或多个处理器执行时,使得如前文中任一种汉语翻译方法被执行。As shown in Figure 26, an embodiment of the present application also provides an electronic device 2600, which includes a processor 2610 and a memory 2620. The processor is used to execute the processing operations performed by the electronic device in the embodiments shown in Figures 3 to 24, such as determining a temperature control scheme based on the user's sleep data, etc. One or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by one or more processors, any of the Chinese translation methods described above is executed.
本申请实施例还提供另一种电子设备,该电子设备包括处理器还存储器,该电子设备用于执行前述实施例中睡眠监测设备执行的操作。An embodiment of the present application also provides another electronic device, which includes a processor and a memory, and is used to execute the operations performed by the sleep monitoring device in the aforementioned embodiment.
本申请实施例还提供又一种电子设备,该电子设备包括处理器还存储器,该电子设备用于执行前述实施例中温度调节设备执行的操作。An embodiment of the present application also provides another electronic device, which includes a processor and a memory, and is used to execute the operations performed by the temperature adjustment device in the above-mentioned embodiment.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机实现如图3至图24所示的实施例中的方法。An embodiment of the present application also provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer implements the method in the embodiments shown in Figures 3 to 24.
本申请实施例还提供一种计算机可读存储介质,该计算机可读介质存储有计算机指令,当计算机指令在计算机上运行时,使得计算机实现如图3至图24所示的实施例中的方法。An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer implements the method in the embodiments shown in Figures 3 to 24.
本申请实施例还提供一种芯片,包括处理器,用于读取存储器中存储的指令,当该处理器执行该指令时,使得该芯片实现如图3至图24所示的实施例中的方法。An embodiment of the present application also provides a chip, including a processor for reading instructions stored in a memory. When the processor executes the instructions, the chip implements the methods in the embodiments shown in Figures 3 to 24.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. It includes several instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (20)

  1. 一种温度调节的方法,其特征在于,包括:A temperature regulation method, characterized by comprising:
    控制主机接收用户的睡眠历史数据;The control host receives the user's sleep history data;
    所述控制主机显示第一提示信息,所述第一提示信息用于提示启用温度控制方案,所述温度控制方案根据所述睡眠历史数据确定,所述温度控制方案用于通过环境温度调整用户的睡眠节律。The control host displays a first prompt message, where the first prompt message is used to prompt the user to enable a temperature control scheme, where the temperature control scheme is determined based on the sleep history data, and where the temperature control scheme is used to adjust the user's sleep rhythm through ambient temperature.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    响应于用户的第一操作,所述控制主机显示所述温度控制方案展示界面;In response to a first operation by the user, the control host displays the temperature control scheme display interface;
    响应于用户的第二操作,所述控制主机控制温度调节设备执行所述温度控制方案,所述温度调节设备用于调节所述环境温度。In response to a second operation of the user, the control host controls the temperature adjustment device to execute the temperature control scheme, and the temperature adjustment device is used to adjust the ambient temperature.
  3. 根据权利要求2所述的方法,其特征在于,所述温度控制方案包括推荐的入睡时间点,所述推荐的入睡时间点根据所述睡眠历史数据确定。The method according to claim 2 is characterized in that the temperature control plan includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  4. 根据权利要求3所述的方法,其特征在于,在所述推荐的入睡时间点前的第一时长内,所述环境温度逐渐升高。The method according to claim 3 is characterized in that the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  5. 根据权利要求4所述的方法,其特征在于,所述第一时长根据用户睡眠节律的滞后程度确定。The method according to claim 4 is characterized in that the first duration is determined according to the lag degree of the user's sleep rhythm.
  6. 根据权利要求4或5所述的方法,其特征在于,在所述推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,所述第一时长小于或等于所述第二时长。The method according to claim 4 or 5 is characterized in that, within a second time period before the recommended time to fall asleep, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,在所述温度控制方案执行期间,所述方法还包括:The method according to any one of claims 1 to 6, characterized in that during the execution of the temperature control scheme, the method further comprises:
    响应于用户的第三操作,所述控制主机显示第二提示信息,所述第二提示信息用于提示需要退出所述温度控制方案,所述第三操作用于调整温度调节设备的工作状态,所述温度调节设备用于调节所述环境温度。In response to the user's third operation, the control host displays a second prompt message, wherein the second prompt message is used to prompt the need to exit the temperature control scheme, and the third operation is used to adjust the working state of the temperature regulating device, and the temperature regulating device is used to adjust the ambient temperature.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, characterized in that the method further comprises:
    所述控制主机显示睡眠数据展示界面,所述睡眠数据展示界面用于显示在开启所述温度控制方案的情况下用户的睡眠情况。The control host displays a sleep data display interface, where the sleep data display interface is used to display the user's sleep status when the temperature control solution is turned on.
  9. 根据权利要求5所述的方法,其特征在于,所述睡眠历史数据包括根据工作日有效睡眠时长、休息日有效睡眠时长、休息日入睡时间和工作日入睡时间,所述推荐的入睡时间点根据所述工作日有效睡眠时长和休息日有效睡眠时长确定,所述睡眠节律的滞后程度根据所述工作日有效睡眠时长、所述休息日有效睡眠时长、所述休息日入睡时间和所述工作日入睡时间确定。The method according to claim 5 is characterized in that the sleep history data includes effective sleep duration on weekdays, effective sleep duration on rest days, time to fall asleep on rest days and time to fall asleep on weekdays; the recommended time to fall asleep is determined based on the effective sleep duration on weekdays and the effective sleep duration on rest days; the degree of lag of the sleep rhythm is determined based on the effective sleep duration on weekdays, the effective sleep duration on rest days, time to fall asleep on rest days and time to fall asleep on weekdays.
  10. 一种温度调节的系统,其特征在于,包括:A temperature regulation system, comprising:
    睡眠监测设备,用于获取用户的睡眠历史数据,所述睡眠监测设备还用于向控制主机发送所述睡眠历史数据;A sleep monitoring device, used to obtain the user's sleep history data, and the sleep monitoring device is also used to send the sleep history data to the control host;
    所述控制主机,用于根据所述睡眠历史数据确定温度控制方案,所述控制主机还用于向温度调节设备发送所述温度控制方案;The control host is used to determine a temperature control scheme according to the sleep history data, and the control host is also used to send the temperature control scheme to the temperature adjustment device;
    所述温度调节设备,用于根据所述睡眠温度控制方案调节环境温度;The temperature regulating device is used to regulate the ambient temperature according to the sleeping temperature control scheme;
    其中,所述温度控制方案用于通过所述环境温度调整用户的睡眠节律。The temperature control scheme is used to adjust the user's sleep rhythm through the ambient temperature.
  11. 根据权利要求10所述的系统,其特征在于,所述温度控制方案包括推荐的入睡时间点,所述推荐的入睡时间点根据所述睡眠历史数据确定。The system according to claim 10 is characterized in that the temperature control plan includes a recommended time to fall asleep, and the recommended time to fall asleep is determined based on the sleep history data.
  12. 根据权利要求11所述的系统,其特征在于,在所述推荐的入睡时间点前的第一时长内,所述环境温度逐渐升高。The system according to claim 11 is characterized in that the ambient temperature gradually increases within a first period of time before the recommended time to fall asleep.
  13. 根据权利要求12所述的系统,其特征在于,所述第一时长根据用户睡眠节律的滞后程度确定。The system according to claim 12 is characterized in that the first duration is determined according to the lag degree of the user's sleep rhythm.
  14. 根据权利要求12或13所述的系统,其特征在于,在所述推荐的入睡时间点前的第二时长内,用户体内褪黑素水平上升的速率大于或等于第一阈值,所述第一时长小于或等于所述第二时长。The system according to claim 12 or 13 is characterized in that, within a second time period before the recommended time to fall asleep, the rate of increase of the melatonin level in the user's body is greater than or equal to a first threshold, and the first time period is less than or equal to the second time period.
  15. 根据权利要求13所述的系统,其特征在于,所述睡眠历史数据包括根据工作日有效睡眠时长、休息日有效睡眠时长、休息日入睡时间和工作日入睡时间,所述推荐的入睡时间点根据所述工作日有效睡眠时长和休息日有效睡眠时长确定,所述睡眠节律的滞后程度根据所述工作日有效睡眠时长、所 述休息日有效睡眠时长、所述休息日入睡时间和所述工作日入睡时间确定。The system according to claim 13 is characterized in that the sleep history data includes the effective sleep duration on weekdays, the effective sleep duration on rest days, the time to fall asleep on rest days and the time to fall asleep on weekdays, the recommended time to fall asleep is determined according to the effective sleep duration on weekdays and the effective sleep duration on rest days, the hysteresis degree of the sleep rhythm is determined according to the effective sleep duration on weekdays, the effective sleep duration on rest days, the time to fall asleep on rest days and the time to fall asleep on weekdays The effective sleep duration on the rest day, the time to fall asleep on the rest day and the time to fall asleep on the working day are determined.
  16. 一种电子设备,其特征在于,包括处理器和存储器,所述存储器用户存储程序指令,所述处理器用于调用所述程序指令来执行权利要求1至9中任一项所述的方法。An electronic device, characterized in that it comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute any one of the methods of claims 1 to 9.
  17. 一种温度调节装置,其特征在于,包括用于实现权利要求1至9中任一项所述的方法的模块。A temperature regulating device, characterized in that it comprises a module for implementing the method according to any one of claims 1 to 9.
  18. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,权利要求1至9中任一项所述的方法被执行。A computer program product, characterized in that the computer program product comprises a computer program code, and when the computer program code is run on a computer, the method according to any one of claims 1 to 9 is executed.
  19. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被计算机执行时,以使得实现权利要求1至9中任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed by a computer, the method according to any one of claims 1 to 9 is implemented.
  20. 一种芯片产品,其特征在于,包括:处理器,用于读取存储器中存储的指令,当所述处理器执行所述指令时,使得所述芯片实现权利要求1至9中任一项所述的方法。 A chip product, characterized in that it includes: a processor, used to read instructions stored in a memory, when the processor executes the instructions, the chip implements any one of the methods of claims 1 to 9.
PCT/CN2023/120038 2022-10-26 2023-09-20 Temperature adjustment method, system and electronic device WO2024087952A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211317583.1 2022-10-26
CN202211317583.1A CN117930902A (en) 2022-10-26 2022-10-26 Temperature adjustment method, system and electronic equipment

Publications (1)

Publication Number Publication Date
WO2024087952A1 true WO2024087952A1 (en) 2024-05-02

Family

ID=90767214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/120038 WO2024087952A1 (en) 2022-10-26 2023-09-20 Temperature adjustment method, system and electronic device

Country Status (2)

Country Link
CN (1) CN117930902A (en)
WO (1) WO2024087952A1 (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150164409A1 (en) * 2013-12-16 2015-06-18 Blue Ocean Laboratories, Inc. Sleep system for obtaining sleep state information
CN105404160A (en) * 2015-10-29 2016-03-16 小米科技有限责任公司 Control method and device based on sleep state
CN105652737A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Equipment control method, intelligent equipment, server and equipment control system
CN106091250A (en) * 2016-06-14 2016-11-09 珠海格力电器股份有限公司 The control method of air conditioning mode and device
JP2017046960A (en) * 2015-09-02 2017-03-09 Tdk株式会社 Sleep management device, sleep management system, sleep management method and program thereof
CN107660927A (en) * 2017-09-26 2018-02-06 绵眠(上海)智能科技有限公司 Method and system based on sleep stage regulation bed temperature
WO2019205145A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Method and apparatus for setting ringing time of alarm clock, and electronic device
CN110740525A (en) * 2019-10-15 2020-01-31 北京小米移动软件有限公司 Method for controlling electric blanket, device for controlling electric blanket and electronic equipment
US20200121248A1 (en) * 2018-10-23 2020-04-23 Centrica Plc Systems and methods for smart home control
US20210088250A1 (en) * 2018-05-18 2021-03-25 Samsung Electronics Co., Ltd. Air conditioning apparatus and method for controlling same
CN112561468A (en) * 2020-12-04 2021-03-26 珠海格力电器股份有限公司 Sleep-in reminding method and device, readable storage medium and computer equipment
CN113181501A (en) * 2021-03-18 2021-07-30 广东信尚安物联科技有限公司 Internet of things health monitoring method with intelligent mattress as center
CN113310194A (en) * 2020-02-27 2021-08-27 青岛海尔空调器有限总公司 Intelligent adjustment method and sleep environment adjustment system for sleep environment
WO2021185622A1 (en) * 2020-03-16 2021-09-23 Koninklijke Philips N.V. User behavior recommendations for improving sleep
CN114543313A (en) * 2022-02-22 2022-05-27 海信集团控股股份有限公司 Air conditioner control method, server, air conditioner and user terminal
WO2022105830A1 (en) * 2020-11-23 2022-05-27 华为技术有限公司 Sleep evaluation method, electronic device, and storage medium
CN115143589A (en) * 2022-07-14 2022-10-04 深圳市大雨创新实业有限公司 Intelligent curve temperature adjusting method
CN115523641A (en) * 2022-08-30 2022-12-27 青岛海尔空调器有限总公司 Method, device and equipment for controlling temperature of air conditioner during sleep and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150164409A1 (en) * 2013-12-16 2015-06-18 Blue Ocean Laboratories, Inc. Sleep system for obtaining sleep state information
CN105652737A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Equipment control method, intelligent equipment, server and equipment control system
JP2017046960A (en) * 2015-09-02 2017-03-09 Tdk株式会社 Sleep management device, sleep management system, sleep management method and program thereof
CN105404160A (en) * 2015-10-29 2016-03-16 小米科技有限责任公司 Control method and device based on sleep state
CN106091250A (en) * 2016-06-14 2016-11-09 珠海格力电器股份有限公司 The control method of air conditioning mode and device
CN107660927A (en) * 2017-09-26 2018-02-06 绵眠(上海)智能科技有限公司 Method and system based on sleep stage regulation bed temperature
WO2019205145A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Method and apparatus for setting ringing time of alarm clock, and electronic device
US20210088250A1 (en) * 2018-05-18 2021-03-25 Samsung Electronics Co., Ltd. Air conditioning apparatus and method for controlling same
US20200121248A1 (en) * 2018-10-23 2020-04-23 Centrica Plc Systems and methods for smart home control
CN110740525A (en) * 2019-10-15 2020-01-31 北京小米移动软件有限公司 Method for controlling electric blanket, device for controlling electric blanket and electronic equipment
CN113310194A (en) * 2020-02-27 2021-08-27 青岛海尔空调器有限总公司 Intelligent adjustment method and sleep environment adjustment system for sleep environment
WO2021185622A1 (en) * 2020-03-16 2021-09-23 Koninklijke Philips N.V. User behavior recommendations for improving sleep
WO2022105830A1 (en) * 2020-11-23 2022-05-27 华为技术有限公司 Sleep evaluation method, electronic device, and storage medium
CN112561468A (en) * 2020-12-04 2021-03-26 珠海格力电器股份有限公司 Sleep-in reminding method and device, readable storage medium and computer equipment
CN113181501A (en) * 2021-03-18 2021-07-30 广东信尚安物联科技有限公司 Internet of things health monitoring method with intelligent mattress as center
CN114543313A (en) * 2022-02-22 2022-05-27 海信集团控股股份有限公司 Air conditioner control method, server, air conditioner and user terminal
CN115143589A (en) * 2022-07-14 2022-10-04 深圳市大雨创新实业有限公司 Intelligent curve temperature adjusting method
CN115523641A (en) * 2022-08-30 2022-12-27 青岛海尔空调器有限总公司 Method, device and equipment for controlling temperature of air conditioner during sleep and storage medium

Also Published As

Publication number Publication date
CN117930902A (en) 2024-04-26

Similar Documents

Publication Publication Date Title
WO2021057873A1 (en) Human body temperature measurement method, electronic device, and computer-readable storage medium
KR102160636B1 (en) Electronic device and method for controlling an input-output device
CN108632342A (en) Method from audio data to multiple external equipments and electronic equipment for sending
KR102327803B1 (en) Power control method and apparatus for reducing power consumption
US9395792B1 (en) System including a sleep detection mechanism
CN105590577B (en) Display drive method, display drive integrated circult and electronic equipment
CN113545745B (en) Usage monitoring method and medium for wearable electronic device and electronic device thereof
KR101657232B1 (en) Method, apparatus, system, program and storage medium for controlling emission
WO2020073288A1 (en) Method for triggering electronic device to execute function and electronic device
WO2010063158A1 (en) Mobile network terminal device and method for monitoring electrophysiological data and pathological image
KR20160092696A (en) Method and Apparatus for Managing Data Using Processors
CN110199503A (en) Method for generating message and wearable electronic equipment for supporting this method
WO2021143314A1 (en) Method for reducing power consumption of mobile terminal and mobile terminal
CN109075588A (en) Electronic device and method for charging to battery
WO2021238460A1 (en) Risk pre-warning method, risk behavior information acquisition method, and electronic device
EP3401872B1 (en) Electronic device for providing content and control method therefor
CN107800865A (en) Electronic equipment and the method for showing temporal information in a low-power state
CN111522425A (en) Power consumption control method of electronic equipment and electronic equipment
KR102437156B1 (en) Electronic device and method for processing voice signal according to state of electronic device
CN117785005A (en) Screen display parameter adjusting method, graphical interface and electronic equipment
WO2023071454A1 (en) Scenario synchronization method and apparatus, and electronic device and readable storage medium
WO2022127341A1 (en) System switching method and apparatus, device, and storage medium
US20130258818A1 (en) Information processing apparatus, information processing method, and program
WO2024087952A1 (en) Temperature adjustment method, system and electronic device
US20160337507A1 (en) Electronic apparatus and method for controlling recording thereof

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: 23881532

Country of ref document: EP

Kind code of ref document: A1