Sleep improvement method and apparatus, and storage medium
By obtaining and analyzing the user's historical sleep data and standard sleep data, the smart device adjusts the lighting components to improve sleep, solving the problem of inconvenient wearing of smart biological clock glasses, and achieving efficient sleep improvement and personalized solutions.
Patent Information
- Application Number
- PCT/CN2024/085739
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-19
- Filing Date
- 2024-04-03
- Publication Date
- 2024-11-28
AI Technical Summary
The existing smart biological clock glasses cannot effectively improve sleep status when the user falls off after falling asleep or when the user resists wearing them, resulting in limited sleep improvement solutions.
By obtaining the target user's historical sleep data and standard sleep data of the type, determine the adjustment strategy of the lighting component and control the intelligent device to execute the adjustment strategy so that the user can improve sleep under the illumination of the lighting component, including the adjustment of red and green light, to promote or inhibit sleep quality at different sleep stages.
A more convenient and effective sleep improvement solution has been realized, which meets the personalized needs of users, improves the diversification of functions of smart devices, and ensures accurate control of sleep quality.
Smart Images

Figure CN2024085739_28112024_PF_FP_ABST
Abstract
Description
Method, device and storage medium for improving sleep
[0001] This application is based on the Chinese patent application with application number 202310575134.5 and application date May 19, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0002] The present application relates to the technical field of sleep improvement, for example, to a method, device and storage medium for improving sleep. Background Art
[0003] As people's living standards continue to improve, smart devices are gradually becoming part of users' lives. While the emergence of smart devices has brought users a more convenient life, using smart devices to improve sleep has also become a focus of public attention.
[0004] At present, users can improve their sleep conditions by wearing smart biological clock glasses, but this product needs to be worn when the user uses it. Once the glasses fall off after the user falls asleep, or the user resists wearable products and is unwilling to wear smart biological clock glasses, the user's sleep condition will not be improved.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field.
[0006] Summary of the Invention
[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0008] The embodiments of the present disclosure provide a method, device, and storage medium for improving sleep, which can improve the user's sleep quality more conveniently and effectively.
[0009] In some embodiments, the method for improving sleep includes: obtaining historical sleep data of a target user; determining an adjustment strategy for a lighting component based on the historical sleep data and standard sleep data of the target user's type; and controlling a smart device to execute the adjustment strategy to facilitate the target user to improve their sleep under the illumination of the lighting component.
[0010] In some embodiments, the method for improving sleep includes: comparing historical sleep data with standard sleep data of the target user type to obtain a target comparison result; and determining an adjustment strategy for the lighting component based on the target comparison result.
[0011] In some embodiments, the method for improving sleep includes: when the target comparison result is that the historical sleep data is lower than the standard sleep data, determining the adjustment strategy of the light component to control the light component to emit red light in the first target sleep stage; when the target comparison result is that the historical sleep data is higher than the standard sleep data, determining the adjustment strategy of the light component to control the light component to emit green light in the second target sleep stage; wherein, the first target sleep stage is the sleep stage where the historical sleep data is lower than the standard sleep data, and the second target sleep stage is the sleep stage where the historical sleep data is higher than the standard sleep data.
[0012] In some embodiments, the method for improving sleep includes: when the historical sleep data is the sleep duration of each sleep stage and the standard sleep data is the standard sleep duration of each sleep stage, comparing the sleep duration of each sleep stage with the standard sleep duration of each sleep stage as a target comparison result; when the historical sleep data is the sleep proportion of each sleep stage and the standard sleep data is the standard sleep proportion of each sleep stage, comparing the sleep proportion of each sleep stage with the standard sleep proportion of each sleep stage as a target comparison result.
[0013] In some embodiments, the method for improving sleep includes: when the target comparison result indicates that the sleep duration of at least one sleep stage is lower than the standard sleep duration of that stage, determining the adjustment strategy of the lighting component to first control the lighting component to emit red light in the third target sleep stage, and then controlling the lighting component according to the comparison between the sleep proportion of each sleep stage in the target comparison result and the standard sleep proportion of each sleep stage; wherein the third target sleep stage is a sleep stage whose sleep duration is lower than the standard sleep duration.
[0014] In some embodiments, the method for improving sleep includes: obtaining a real-time sleep curve of a target user; and controlling the smart device to stop executing the adjustment strategy when the real-time sleep curve indicates that the target user's sleep has improved and reached a preset improvement target.
[0015] In some embodiments, the method for improving sleep includes: obtaining sleep perception information fed back by a target user; determining a target light source intensity for improving the target user's sleep based on the sleep perception information; and starting the lighting component according to the target light source intensity when the target user starts the sleep improvement module again.
[0016] In some embodiments, the device for improving sleep includes: an acquisition module configured to acquire historical sleep data of a target user; a determination module configured to determine an adjustment strategy for a lighting component based on the historical sleep data and standard sleep data of the target user's type; and a control module configured to control a smart device to execute the adjustment strategy, so that the target user can improve their sleep under the illumination of the lighting component.
[0017] In some embodiments, the apparatus for improving sleep includes: a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for improving sleep when running the program instructions.
[0018] In some embodiments, the storage medium stores program instructions, and when the program instructions are executed, the aforementioned method for improving sleep is executed.
[0019] The method, device, and storage medium for improving sleep provided by the embodiments of the present disclosure can achieve the following technical effects: by obtaining the historical sleep data of the target user; and determining the adjustment strategy of the light component based on the historical sleep data and the standard sleep data of the target user's type; and then controlling the smart device to execute the adjustment strategy. In this way, it is possible to combine the historical sleep data and the standard sleep data of the target user's type to determine a more accurate adjustment strategy for the light component, so that when the smart device is controlled to execute the adjustment strategy, the target user can improve his sleep under the illumination of the light component, providing the user with a more convenient and effective sleep improvement solution, meeting the target user's personalized needs for smart devices, and realizing the functional diversification of smart devices.
[0020] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] One or more embodiments are exemplarily described by corresponding drawings. These exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements. The drawings do not constitute a scale limitation. In addition,
[0022] FIG1 is a schematic diagram of a method for improving sleep provided by an embodiment of the present disclosure;
[0023] FIG2 is a schematic diagram of a method for determining an adjustment strategy provided by an embodiment of the present disclosure;
[0024] FIG3 is a schematic diagram of another method for determining an adjustment strategy provided by an embodiment of the present disclosure;
[0025] FIG4 is a schematic diagram of another method for improving sleep provided by an embodiment of the present disclosure;
[0026] FIG5 is a schematic diagram of a device for improving sleep provided by an embodiment of the present disclosure;
[0027] FIG6 is a schematic diagram of another device for improving sleep provided by an embodiment of the present disclosure;
[0028] FIG7 is a schematic diagram of a smart device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to be able to understand the features and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The accompanying drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the sake of convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0030] In the description and claims of the embodiments of the present disclosure, as well as in the accompanying drawings, the terms "first," "second," and the like are used to distinguish similar items and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to describe the embodiments of the present disclosure herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.
[0031] Unless otherwise stated, the term "plurality" means two or more.
[0032] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.
[0033] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0034] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0035] In the embodiments of the present disclosure, smart home appliances refer to home appliance products that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can realize remote control and management of smart home appliances by users by connecting to electronic devices.
[0036] In the embodiments of the present disclosure, a terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can communicate with the above-mentioned smart home appliances directly through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example, smart watches, smart bracelets, pedometers, etc.
[0037] In this embodiment, the smart device is equipped with a sleep improvement module, which includes a lighting component. The lighting component can be an LED light. For example, the smart device in this embodiment can be a smart TV, smart air conditioner, smart humidifier, or other device equipped with a lighting component. The device can control the lighting component to project light onto the user's face as needed after the user falls asleep. As a preferred option, the smart device can be placed near the side of the smart bed to facilitate light projection after the user falls asleep.
[0038] Optionally, the sleep improvement module further includes a shield and / or lens module. By adding the shield and / or lens module, when the light assembly is controlled to project light, the projected beam of light can be precisely focused on the user's face, thereby reducing the disturbance to other awake users in the room caused by the use of the sleep improvement module.
[0039] FIG1 is a schematic diagram of a method for improving sleep provided by an embodiment of the present disclosure. In conjunction with FIG1 , optionally, an embodiment of the present disclosure provides a method for improving sleep, including:
[0040] S11, the smart device obtains historical sleep data of the target user.
[0041] S12, the smart device determines an adjustment strategy for the lighting component based on the historical sleep data and the standard sleep data of the target user type.
[0042] S13, the smart device controls the smart device to execute the adjustment strategy, so that the target user can improve sleep under the illumination of the lighting component.
[0043] In this solution, the smart device obtains the target user's historical sleep data, including: obtaining the target user's sleep data from multiple days in the past week stored on the server, filtering the target user's sleep data to remove unreasonable and invalid data; and averaging the remaining sleep data according to different sleep stages, and determining the average value as the target user's historical sleep data. The sleep stages can include light sleep, light sleep, moderate sleep, deep sleep, and rapid eye movement sleep. For example, if the sleep data obtained is the sleep duration of each sleep stage over multiple days, the sleep data remaining after filtering includes 1.6 hours of REM sleep and 3.5 hours of deep sleep on the first day (the aforementioned deep sleep period is referred to as deep sleep); 1.2 hours of REM sleep and 3.8 hours of deep sleep on the second day; 1.3 hours of REM sleep and 4 hours of deep sleep on the third day; 1.9 hours of REM sleep and 3.6 hours of deep sleep on the fourth day; after averaging, the historical sleep data of the target user is determined to be 1.5 hours of REM sleep and 3.725 hours of deep sleep. In this way, the historical sleep data of the target user can be accurately determined.
[0044] Optionally, the user can pre-set invalid data screening rules to filter out sleep data that does not conform to the user's sleep patterns. For example, this case does not target all sleep events, that is, naps and short naps do not fall within the scope of this case's research. Therefore, the invalid data screening rule can be to determine that the sleep data of the day with a total sleep time of no more than 4 hours is invalid data. Alternatively, if there is an obvious data error caused by a collection error of the sleep data collection device, for example, the user's total sleep time is more than 8 hours, and the sleep data collection device determines that the user's total sleep time is 2 hours, then the sleep data is also invalid data. In this way, by filtering out invalid data, the accuracy of the historical sleep data can be ensured.
[0045] In this embodiment, the multi-day sleep data generally refers to sleep data from at least four days in the past week. For example, it can be continuous sleep data from Monday to Thursday in the past week, or it can be intermittent sleep data from Monday, Wednesday, Thursday, and Friday. As a preferred solution, the multi-day sleep data can also be sleep data from ten or five days. In this way, the user's historical sleep status can be comprehensively determined by acquiring multiple samples.
[0046] In this embodiment, sleep data includes the sleep duration of each sleep stage and / or the sleep percentage of each stage. The sleep duration of a sleep stage is the length of time the user is in that sleep stage. The sleep percentage of a sleep stage = the sleep duration of that sleep stage / total sleep duration. The total sleep duration refers to the time from the user entering a sleep stage to the moment they wake up.
[0047] Furthermore, the smart device can also obtain standard sleep data for the target user's type. Here, the target user's type can include adult men, adult women, the elderly, children, pregnant women, and so on. Specifically, the smart device can use its associated image acquisition device to capture image information of the target user and extract the user's appearance features from the image information to identify the user's type. Furthermore, the server associated with the smart device can match the standard sleep data associated with the user's type and determine it as the standard sleep data for the target user's type. In this way, the standard sleep data for the target user's type can be accurately acquired.
[0048] Furthermore, the smart device can determine the adjustment strategy of the light component based on the historical sleep data and the standard sleep data of the type to which the target user belongs. Specifically, the smart device determines the adjustment strategy of the light component based on the historical sleep data and the standard sleep data of the type to which the target user belongs, including: the smart device compares the historical sleep data with the standard sleep data of the type to which the target user belongs to obtain a target comparison result. The smart device determines the adjustment strategy of the light component based on the target comparison result. Among them, the adjustment strategy of the light component may include a light color adjustment strategy and / or a light brightness adjustment strategy. In this way, the adjustment strategy of the light component can be accurately determined by combining the comparison of the historical sleep data and the standard sleep data of the type to which the target user belongs. Furthermore, the smart device can control the smart device to execute the adjustment strategy, so that the target user can improve his sleep under the illumination of the light component.
[0049] The sleep improvement method provided by the embodiments of the present disclosure obtains historical sleep data of a target user, determines a light component adjustment strategy based on the historical sleep data and standard sleep data for the target user's type, and then controls the smart device to execute the adjustment strategy. In this way, a more precise light component adjustment strategy can be determined by combining historical sleep data with standard sleep data for the target user's type. When the smart device is controlled to execute the adjustment strategy, the target user can improve their sleep under the illumination of the light component, providing a more convenient and effective sleep improvement solution for the user, meeting the target user's personalized needs for smart devices, and realizing the functional diversification of smart devices.
[0050] FIG2 is a schematic diagram of a method for determining an adjustment strategy provided by an embodiment of the present disclosure. In conjunction with FIG2 , optionally, in S12 , the smart device determines an adjustment strategy for a lighting component based on historical sleep data and standard sleep data of the target user's type, including:
[0051] S21 , the smart device compares the historical sleep data with the standard sleep data of the target user's type to obtain a target comparison result.
[0052] S22, the smart device determines an adjustment strategy for the lighting component based on the target comparison result.
[0053] In this embodiment, the smart device can compare the historical sleep data with the standard sleep data of the target user's type, specifically including the following three situations: the first situation: when the historical sleep data is the sleep duration of each sleep stage and the standard sleep data is the standard sleep duration of each sleep stage, the smart device compares the sleep duration of each sleep stage with the standard sleep duration of each sleep stage as the target comparison result; the second situation: when the historical sleep data is the sleep proportion of each sleep stage and the standard sleep data is the standard sleep proportion of each sleep stage, the smart device compares the sleep proportion of each sleep stage with the standard sleep proportion of each sleep stage The smart device compares the sleep duration of each sleep stage with the standard sleep proportion of each sleep stage as the target comparison result; the third case: when the historical sleep data includes the sleep duration of each sleep stage and the sleep proportion of each sleep stage, and the standard sleep data includes the standard sleep duration of each sleep stage and the standard sleep proportion of each sleep stage, the smart device compares the sleep duration of each sleep stage with the standard sleep duration of each sleep stage to obtain a first comparison result; the smart device compares the sleep proportion of each sleep stage with the standard sleep proportion of each sleep stage to obtain a second comparison result; the smart device uses the first comparison result and the second comparison result as the target comparison result. With this solution, a more accurate target comparison result can be obtained. Furthermore, the smart device can determine the adjustment strategy of the lighting component in combination with the obtained target comparison result. In this way, a more accurate adjustment strategy for the lighting component can be obtained, providing an accurate data basis for the control of the smart device.
[0054] FIG3 is a schematic diagram of another method for determining an adjustment strategy provided by an embodiment of the present disclosure. In conjunction with FIG3 , optionally, in S22 , the smart device determines an adjustment strategy for the lighting component based on the target comparison result, including:
[0055] S31 , when the target comparison result is that the historical sleep data is lower than the standard sleep data, the smart device determines that the adjustment strategy of the light component is to control the light component to emit red light in the first target sleep stage.
[0056] S32 , when the target comparison result is that the historical sleep data is higher than the standard sleep data, the smart device determines that the adjustment strategy of the light component is to control the light component to emit green light in the second target sleep stage.
[0057] The first target sleep stage is a sleep stage in which historical sleep data is lower than the standard sleep data, and the second target sleep stage is a sleep stage in which historical sleep data is higher than the standard sleep data.
[0058] Understandably, research has shown that when green light of a specific wavelength shines on the user's retina, it can stimulate the brain's circadian rhythm, promoting the production of photosensitive melanopsin and adrenocortical hormones while suppressing melatonin secretion. This allows the user to feel alert and refreshed. Conversely, when red light of a specific wavelength shines on the user's retina, it can stimulate melatonin secretion, causing the user to feel sleepy and enter a high-quality sleep. Thus, the target comparison results can be combined to determine the lighting component's adjustment strategy. Here, the lighting component's adjustment strategy is the light color adjustment strategy.
[0059] Specifically, the smart device determines, based on the target comparison result, an adjustment strategy for the light component, including: if the target comparison result indicates that the historical sleep data is lower than the standard sleep data, the smart device determines the adjustment strategy for the light component to be to control the light component to emit red light during the first target sleep stage. The first target sleep stage is the sleep stage where the historical sleep data is lower than the standard sleep data. For example, if the target comparison result indicates that the target user's deep sleep duration is lower than the standard deep sleep duration for the user's type and / or the target user's sleep percentage during deep sleep is lower than the standard deep sleep percentage for the user's type, the smart device determines the adjustment strategy for the light component to be to control the light component to emit red light during deep sleep. In this way, if it is determined that the user is not getting enough sleep during deep sleep, the sleep-promoting properties of red light can be utilized to determine an adjustment strategy that improves sleep quality during deep sleep. This allows the target user in deep sleep to extend their deep sleep duration and / or deep sleep percentage under red light, thereby providing the user with a better sleep quality control solution.
[0060] Specifically, the smart device determines, based on the target comparison result, an adjustment strategy for the light component, including: if the target comparison result indicates that the historical sleep data is higher than the standard sleep data, the smart device determines the adjustment strategy for the light component to be to control the light component to emit green light during the second target sleep stage. The second target sleep stage is the sleep stage where the historical sleep data is higher than the standard sleep data. For example, if the target comparison result indicates that the target user's sleep duration during REM sleep is higher than the standard sleep duration for the user's type and / or the target user's sleep percentage during REM sleep is higher than the standard sleep percentage for the user's type, the smart device determines the adjustment strategy for the light component to be to control the light component to emit green light during REM sleep. In this way, if it is determined that the user is sleeping too much during REM sleep, the sleep-suppressing properties of green light can be utilized to determine an adjustment strategy that can reduce REM sleep. This allows the target user in REM sleep to reduce their sleep duration and / or sleep percentage during REM sleep when exposed to green light, thereby providing the user with a better sleep quality control solution.
[0061] In an optimized solution, the adjustment strategy of the light component includes: a light color adjustment strategy and a light brightness adjustment strategy. Specifically, the smart device determines the adjustment strategy of the light component based on the target comparison result, including: when the target comparison result is that the historical sleep data is far lower than the standard sleep data, the smart device determines the adjustment strategy of the light component to control the light component to emit red light in the first target sleep stage while displaying the brightness according to the first target light source intensity; when the target comparison result is that the historical sleep data is close to and lower than the standard sleep data, the smart device determines the adjustment strategy of the light component to control the light component to emit red light in the first target sleep stage while displaying the brightness according to the second target light source intensity. Wherein, the first target light source intensity is greater than the second target light source intensity. In this way, under the premise that red light promotes sleep, the secretion rate of melatonin can be adjusted by adjusting the display brightness of red light, thereby meeting the user's demand for the accuracy of sleep quality adjustment of smart devices.
[0062] In an optimized solution, the adjustment strategy of the light component includes: a light color adjustment strategy and a light brightness adjustment strategy. Specifically, the smart device determines the adjustment strategy of the light component based on the target comparison result, including: when the target comparison result is that the historical sleep data is much higher than the standard sleep data, the smart device determines the adjustment strategy of the light component to control the light component to emit green light in the second target sleep stage while displaying the brightness according to the third target light source intensity; when the target comparison result is that the historical sleep data is close to and higher than the standard sleep data, the smart device determines the adjustment strategy of the light component to control the light component to emit green light in the second target sleep stage while displaying the brightness according to the fourth target light source intensity. Wherein, the third target light source intensity is greater than the fourth target light source intensity. In this way, under the premise that green light inhibits sleep, the secretion rate of melatonin can be adjusted by adjusting the display brightness of green light, thereby meeting the user's demand for the accuracy of sleep quality adjustment of smart devices.
[0063] Optionally, at S21 , the smart device compares the historical sleep data with standard sleep data of the target user's type to obtain a target comparison result, including:
[0064] When the historical sleep data is the sleep duration of each sleep stage and the standard sleep data is the standard sleep duration of each sleep stage, the smart device compares the sleep duration of each sleep stage with the standard sleep duration of each sleep stage as the target comparison result.
[0065] When the historical sleep data is the sleep proportion of each sleep stage and the standard sleep data is the standard sleep proportion of each sleep stage, the smart device compares the sleep proportion of each sleep stage with the standard sleep proportion of each sleep stage as the target comparison result.
[0066] In this embodiment, when the historical sleep data is the sleep duration of each sleep stage and the standard sleep data is the standard sleep duration of each sleep stage, the smart device compares the sleep duration of each sleep stage with the standard sleep duration of each sleep stage as the target comparison result. As an example, if the historical sleep data includes a sleep duration of 1.6 hours for REM sleep and a sleep duration of 3.8 hours for deep sleep; the standard sleep duration for REM sleep is 1.8 hours and the standard sleep duration for deep sleep is 3.9 hours, then the sleep duration of 1.6 hours for REM sleep in the historical sleep data can be compared with the standard sleep duration of 1.8 hours for REM sleep, and the sleep duration of 3.8 hours for deep sleep in the historical sleep data can be compared with the standard sleep duration of 3.9 hours for deep sleep, to determine that the target comparison result is that the sleep duration for REM sleep is less than the standard sleep duration for REM sleep, and the sleep duration for deep sleep is less than the standard sleep duration for deep sleep. In this way, the sleep duration of each sleep stage and the standard sleep duration of each sleep stage can be combined to achieve accurate determination of the target comparison result.
[0067] In this embodiment, if the historical sleep data represents the sleep percentage of each sleep stage and the standard sleep data represents the standard sleep percentage of each sleep stage, the smart device compares the sleep percentage of each sleep stage with the standard sleep percentage for each sleep stage to determine the target comparison result. For example, if the historical sleep data includes a sleep percentage of 0.2 for REM sleep and a sleep percentage of 0.4 for deep sleep, and a standard sleep percentage of 0.25 for REM sleep and 0.5 for deep sleep, the smart device can compare the REM sleep percentage of 0.2 in the historical sleep data with the standard sleep percentage of 0.25 for REM sleep, and compare the deep sleep percentage of 0.4 in the historical sleep data with the standard sleep percentage of 0.5 for deep sleep, to determine the target comparison result as follows: the sleep percentage of REM sleep is lower than the standard sleep percentage for REM sleep, and the sleep percentage of deep sleep is lower than the standard sleep percentage for deep sleep. In this way, the target comparison result can be accurately determined by combining the sleep percentage of each sleep stage and the standard sleep percentage for each sleep stage.
[0068] Optionally, in S22, the smart device determines an adjustment strategy for the lighting component based on the target comparison result, including:
[0069] When the target comparison result indicates that the sleep duration of at least one sleep stage is lower than the standard sleep duration of that stage, the smart device determines the adjustment strategy of the lighting component to first control the lighting component to emit red light in the third target sleep stage, and then control the lighting component according to the comparison between the sleep proportion of each sleep stage in the target comparison result and the standard sleep proportion of each sleep stage.
[0070] Among them, the third target sleep stage is a sleep stage in which the sleep duration is shorter than the standard sleep duration.
[0071] In this solution, if historical sleep data includes the sleep duration and sleep percentage of each sleep stage, and standard sleep data includes the standard sleep duration and standard sleep percentage of each sleep stage, the sleep duration of each sleep stage can be compared with the standard sleep duration of each sleep stage to obtain a first comparison result. The smart device then compares the sleep percentage of each sleep stage with the standard sleep percentage of each sleep stage to obtain a second comparison result. The smart device then uses the first and second comparison results as target comparison results. In this way, if the first comparison result in the target comparison result indicates that the sleep duration of at least one sleep stage is less than the standard sleep duration of that stage, the smart device can determine an adjustment strategy for the lighting component: first control the lighting component to emit red light during the third target sleep stage, and then control the lighting component based on the second comparison result in the target comparison result, which is a comparison of the sleep percentage of each sleep stage with the standard sleep percentage of each sleep stage. This solution prioritizes sleep duration adjustment after both the first and second comparison results are obtained, thereby prioritizing the correction of the sleep duration of each stage after the target user falls asleep and meeting the user's sleep quality adjustment needs.
[0072] FIG4 is a schematic diagram of another method for improving sleep provided by an embodiment of the present disclosure; with reference to FIG4 , optionally, after controlling the smart device to execute the adjustment strategy, the method further includes:
[0073] S41, the smart device obtains the real-time sleep curve of the target user.
[0074] S42 , when the real-time sleep curve indicates that the target user's sleep has improved and reached the preset improvement target, the smart device controls the smart device to stop executing the adjustment strategy.
[0075] In this solution, a smart device can output a real-time sleep curve using its millimeter-wave radar module or a connected millimeter-wave radar device. This real-time sleep curve can extract information such as the target user's sleep onset and wakefulness, as well as the sleep stages of each sleep phase. This approach enables accurate acquisition of real-time sleep curves.
[0076] Furthermore, the smart device can analyze the acquired real-time sleep curve to determine whether the target user's sleep has improved and reached the preset improvement target. Specifically, the target user's sleep can be determined to have improved and reached the preset improvement target in the following manner: if the historical sleep data is lower than the standard sleep data, and the real-time sleep curve indicates that the sleep data for this sleep stage is on an upward trend and reaches the standard sleep data, then the target user's sleep is determined to have improved and reached the preset improvement target; if the historical sleep data is higher than the standard sleep data, and the real-time sleep curve indicates that the sleep data for this sleep stage is on a downward trend and reaches the standard sleep data, then the target user's sleep is determined to have improved and reached the preset improvement target. In this way, the data shown in the real-time sleep curve can be accurately analyzed.
[0077] It is understandable that each time a user falls asleep, there will be multiple sleep cycles, and each sleep cycle will have five sleep stages (light sleep, light sleep, moderate sleep, deep sleep, and rapid eye movement sleep). Therefore, the changing trend of sleep data during sleep stages can be determined by the following method: after the user falls asleep, the sleep data of the same sleep stage in each sleep cycle can be sequentially obtained, and the changing trend of the sleep data in that sleep stage can be inferred in this order.
[0078] Furthermore, if the real-time sleep curve indicates that the target user's sleep has improved and reached the preset improvement target, the target user is determined to no longer need to adjust their sleep quality, and the smart device can control it to stop executing the adjustment strategy. This method accurately determines the timing of stopping sleep adjustment and meets the target user's energy-saving control needs for the smart device.
[0079] In a preferred solution, if the real-time sleep curve indicates that the sleep stage of the current sleep cycle has reached the preset improvement target, the adjustment strategy for that sleep stage in the subsequent sleep cycles of this sleep event will not be applied. In this way, the target user's demand for energy-saving control of smart devices is met.
[0080] Optionally, after controlling the smart device to execute the adjustment strategy, the method further includes:
[0081] The smart device obtains sleep perception information fed back by the target user.
[0082] The smart device determines the target light source intensity for improving the sleep of the target user based on the sleep perception information.
[0083] When the target user activates the sleep improvement module again, the smart device activates the lighting component according to the target light source intensity.
[0084] Understandably, different users react differently to light exposure. To determine whether a target user is adapting to or satisfied with the current lighting adjustment strategy, sleep experience information provided by the target user can be obtained after controlling the smart device to execute the adjustment strategy. This sleep experience information can take various forms, such as indicating a higher light intensity during deep sleep or a reduced duration or proportion of deep sleep. The form of this information is not specifically limited, as long as it can represent the target user's perception of the lighting adjustment by the smart device.
[0085] Furthermore, the smart device can determine the target light source intensity for improving the target user's sleep based on the sleep perception information. In one example, if the sleep perception information indicates that the light source intensity is strong during deep sleep, the set light source intensity level can be obtained; if the set light source intensity level is high, the target light source intensity for improving the target user's sleep is determined to be a medium-level intensity; if the set light source intensity level is medium, the target light source intensity for improving the target user's sleep is determined to be a low-level intensity. In this way, the target light source intensity can be accurately determined. In this way, the smart device can start the lighting component according to the target light source intensity when the target user starts the sleep improvement module again. In this way, it is possible to more reasonably improve the target user's sleep while meeting the target user's light source intensity adjustment needs.
[0086] In an optimized solution, the smart device can also learn the target user's optimal energy matching value for the light source, and then adjust the light source brightness of the lighting component based on the optimal energy matching value to achieve better sleep improvement effects, making the sleep improvement solution implemented in this way more in line with the target user's light source intensity preferences.
[0087] In one optimized solution, if a smart device is equipped with a millimeter-wave radar module or is associated with a millimeter-wave radar device, it can detect the distance between the lighting unit and the user's face, combine this distance information to determine the lighting unit's light intensity, and then adjust the lighting unit accordingly. This approach comprehensively considers light propagation losses to determine light intensity, providing an accurate data foundation for precise control of the lighting unit.
[0088] Figure 5 is a schematic diagram of a sleep-improving device provided by an embodiment of the present disclosure. In conjunction with Figure 5 , an embodiment of the present disclosure provides a sleep-improving device 50, comprising an acquisition module 51, a determination module 52, and a control module 53. Acquisition module 51 is configured to acquire historical sleep data of a target user; determination module 52 is configured to determine an adjustment strategy for a lighting component based on the historical sleep data and standard sleep data for the target user's type; and control module 53 is configured to control a smart device to execute the adjustment strategy, thereby facilitating the target user's improved sleep under the illumination of the lighting component.
[0089] The sleep improvement device provided by the embodiments of the present disclosure obtains historical sleep data from a target user; determines a lighting adjustment strategy based on this historical sleep data and standard sleep data for the target user's type; and then controls the smart device to execute the adjustment strategy. In this way, a more precise lighting adjustment strategy can be determined by combining historical sleep data with standard sleep data for the target user's type. When the smart device executes the adjustment strategy, the target user can improve their sleep under the illumination of the lighting assembly, providing a more convenient and effective sleep improvement solution for the user, meeting the target user's personalized needs for smart devices, and enabling the diversification of smart device functionality.
[0090] Figure 6 is a schematic diagram of another device 60 for improving sleep provided by an embodiment of the present disclosure; in combination with Figure 6, an embodiment of the present disclosure provides a device for improving sleep, including a processor (processor) 100 and a memory (memory) 101. Optionally, the device may also include a communication interface (Communication Interface) 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 can communicate with each other through the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call the logic instructions in the memory 101 to execute the method for improving sleep of the above embodiment.
[0091] In addition, the logic instructions in the memory 101 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0092] Memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. Processor 100 executes the program instructions / modules stored in memory 101 to execute functional applications and data processing, thereby implementing the sleep improvement methods in the above-described embodiments.
[0093] The memory 101 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Furthermore, the memory 101 may include high-speed random access memory and non-volatile memory.
[0094] An embodiment of the present disclosure provides a smart device, comprising the above-mentioned apparatus for improving sleep.
[0095] As shown in FIG7 , an embodiment of the present disclosure provides a smart device 70 , comprising the above-mentioned apparatus 50 ( 60 ) for improving sleep.
[0096] The smart device 70 of the embodiment of the present disclosure also includes: a smart device body, and the above-mentioned device 50 (60) for improving sleep, and the device 50 (60) for improving sleep is installed on the smart device body. The installation relationship described here is not limited to placement inside the smart device, but also includes installation connections with other components, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 50 (60) for improving sleep can be adapted to a feasible device body, such as a floor lamp, a table lamp, an atmosphere lamp or other electrical equipment equipped with a light-emitting device, thereby realizing other feasible embodiments. It is feasible that the smart device can illuminate the user's eyes after the user falls asleep, or it can be other bedside smart devices with several external light components on the surface.
[0097] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for improving sleep.
[0098] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer, cause the computer to execute the above-mentioned method for improving sleep.
[0099] An embodiment of the present disclosure provides a computer program, which, when executed by a computer, enables the computer to implement the above-mentioned method for improving sleep.
[0100] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0101] The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium may be a non-transitory storage medium, including: 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 code, or a transient storage medium.
[0102] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, an element defined by the sentence "comprising a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.
[0103] Those skilled 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 may depend on the specific application and design constraints of the technical solution. The technicians may 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 the embodiments of the present disclosure. The technicians will 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.
[0104] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, and 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 they may be distributed on multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0105] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for improving sleep, characterized in that: Applied to a smart device equipped with a sleep improvement module, the sleep improvement module includes a light component, and the method includes: Obtain historical sleep data of target users; Determining an adjustment strategy for a light component according to the historical sleep data and standard sleep data of the target user's type; The smart device is controlled to execute the adjustment strategy, so that the target user can improve his / her sleep under the illumination of the light assembly.
2. The method according to claim 1, characterized in that: The step of determining the adjustment strategy of the light component according to the historical sleep data and the standard sleep data of the target user type includes: Comparing the historical sleep data with standard sleep data of the type to which the target user belongs to obtain a target comparison result; According to the target comparison result, an adjustment strategy of the lighting component is determined.
3. The method according to claim 2, characterized in that Determining the adjustment strategy of the lighting component according to the target comparison result includes: When the target comparison result is that the historical sleep data is lower than the standard sleep data, determining the adjustment strategy of the light assembly is to control the light assembly to emit red light in the first target sleep stage; When the target comparison result is that the historical sleep data is higher than the standard sleep data, determining the adjustment strategy of the light assembly is to control the light assembly to emit green light in the second target sleep stage; The first target sleep stage is a sleep stage in which the historical sleep data is lower than the standard sleep data, and the second target sleep stage is a sleep stage in which the historical sleep data is higher than the standard sleep data.
4. The method according to claim 2, characterized in that: The comparing the historical sleep data with the standard sleep data of the type to which the target user belongs to obtain a target comparison result, includes: When the historical sleep data is the sleep duration of each sleep stage and the standard sleep data is the standard sleep duration of each sleep stage, the sleep duration of each sleep stage is compared with the standard sleep duration of each sleep stage respectively to serve as a target comparison result; When the historical sleep data is the sleep proportion of each sleep stage and the standard sleep data is the standard sleep proportion of each sleep stage, the sleep proportion of each sleep stage is compared with the standard sleep proportion of each sleep stage respectively as a target comparison result.
5. The method according to claim 2, characterized in that: The historical sleep data includes the sleep duration of each sleep stage and the sleep ratio of each sleep stage, the standard sleep data includes the standard sleep duration of each sleep stage and the standard sleep ratio of each sleep stage, and the adjustment strategy of the light component is determined according to the target comparison result, including: When the target comparison result indicates that the sleep duration of at least one sleep stage is lower than the standard sleep duration of the stage, determining the adjustment strategy of the light component to first control the light component to emit red light in the third target sleep stage, and then control the light component according to the comparison between the sleep proportion of each sleep stage in the target comparison result and the standard sleep proportion of each sleep stage; The third target sleep stage is a sleep stage in which the sleep duration is shorter than the standard sleep duration.
6. The method according to any one of claims 1 to 5, characterized in that: After controlling the smart device to execute the adjustment strategy, the method further includes: Obtaining a real-time sleep curve of the target user; When the real-time sleep curve indicates that the target user's sleep is improved and reaches a preset improvement target, the smart device is controlled to stop executing the adjustment strategy.
7. The method according to claim 1, characterized in that After controlling the smart device to execute the adjustment strategy, the method further includes: Obtaining sleep feeling information fed back by the target user; Determining a target light source intensity for improving the sleep of the target user according to the sleep feeling information; When the target user starts the sleep improvement module again, the light assembly is started according to the target light source intensity.
8. A device for improving sleep, characterized in that: Applicable to a smart device equipped with a sleep improvement module, the sleep improvement module includes a lighting component, and the device includes: An acquisition module, configured to acquire historical sleep data of a target user; a determination module, configured to determine an adjustment strategy for a light component according to the historical sleep data and standard sleep data of the type to which the target user belongs; The control module is configured to control the smart device to execute the adjustment strategy, so as to facilitate the target user to improve sleep under the illumination of the light assembly.
9. A device for improving sleep, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for improving sleep according to any one of claims 1 to 7 when running the program instructions.
10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for improving sleep according to any one of claims 1 to 7 is executed.
11. A computer program, when executed by a computer, causes the computer to implement the method for improving sleep according to any one of claims 1 to 7.
12. A computer program product, comprising computer instructions stored on a computer-readable storage medium, and when the program instructions are executed by a computer, the computer is enabled to implement the method for improving sleep according to any one of claims 1 to 7.
Citation Information
Patent Citations
Sleep adjusting lamp and method
CN104121515A
Table lamp having adaptive adjustment function and adaptive adjustment method thereof
CN108684115A
Data processing method and device, electronic equipment and storage medium
CN111460850A
Personalized intelligent brain-controlled sleep-aiding awakening system and method thereof
CN111840746A
Digital experience publishing technology and acousto-optic method for auxiliary treatment of sleep diseases
CN113571160A
Cited By
Intelligent control method and device of phototherapy equipment and electronic equipment
CN121197689A
