Sleep aiding control method, system and equipment

By collecting and analyzing user's eye movement, heart rate, and breathing data, combining sleep aid type and environmental factors, calculating and estimated sleep time, the problem of poor sleep aid effect in the existing technology is solved, and personalized sleep aid suggestions are provided , improves user satisfaction and sleep aid.

CN119033346AInactive Publication Date: 2024-11-29SHENSHEN (TIANJIN) TECH DEV CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411198030.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing sleep aid technologies are difficult to accurately identify the effects of different sleep aid methods on different users, and ignore environmental factors, resulting in poor sleep aid results.

Method used

By collecting eye movement data, heart rate data and breathing data, combining sleep aid type and time, screening forward factors and environmental factors, calculating estimated sleep time, and providing personalized sleep aid suggestions.

Benefits of technology

It improves the accuracy of sleep aid effects and user satisfaction, fills the gap in the neglected environmental factors, and provides more scientific and comprehensive mental health guidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119033346A_ABST
    Figure CN119033346A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sleep analysis, in particular to a sleep aiding control method, system and equipment, comprising: S1, acquiring eye movement data, heart rate data and breathing data within a preset time period; s2, determining changes of the eye movement data, the heart rate data and the respiration data under different sleep aiding time according to sleep aiding types and sleep aiding time adopted by sleep aiding of each time, and determining a sleep state; s3, screening forward factors corresponding to the sleep aiding time and the sleep aiding frequency in each sleep state; s4, recording environment parameters during sleep aiding, and determining an environment factor of each environment parameter; and S5, obtaining the current estimated sleep time according to the obtained sleep state, the forward factor and the environment factor. The personalized requirement for sleep aiding is met, and the sleep aiding effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sleep analysis, and in particular to a sleep aid control method, system and device. Background Art

[0002] Sleep is a spontaneous and reversible resting state that occurs periodically in higher vertebrates, characterized by a decrease in the body's responsiveness to external stimuli and a temporary interruption of consciousness. About one-third of a person's life is spent in sleep. When people are in a state of sleep, their brains and bodies can rest, recuperate and recover. A proper amount of sleep helps people's daily work and study. Scientifically improving sleep quality is the guarantee for people's normal work, study and life. With the improvement of modern life quality, more and more people begin to pay attention to their sleep quality. Good sleep is extremely important for stabilizing emotions, balancing mentality and restoring energy.

[0003] With the development of technology, sleep-aid products are becoming more and more popular among users. Sleep-aid products can help users sleep by controlling sleep-aid functions, such as light brightness, music intensity, etc.

[0004] For example, Chinese patent publication number CN115153454A discloses a sleep-aiding stimulation control method, apparatus, sleep-aiding equipment and storage medium, the method comprising: obtaining EEG data and eye movement data within a preset time period, and based on the EEG data and the eye movement data, respectively obtaining fluctuation key data in the EEG data and high-frequency rotation data in the eye movement data; obtaining first moment information corresponding to the fluctuation key data and second moment information corresponding to the high-frequency rotation data, and determining a sleep state according to the first moment information and the second moment information; if the sleep state is a pre-sleep state, starting a sleep-aiding stimulation program, and performing sleep-aiding stimulation based on the sleep-aiding stimulation program.

[0005] Existing technology stimulates users to sleep by identifying EEG data, but this method cannot accurately identify the current sleep-aiding method and whether the environment can affect sleep. For example, different sleep-aiding methods have different effects on different users. In this case, you need to adjust your sleep-aiding method according to the different effects to improve the sleep-aiding effect. Summary of the invention

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a sleep aid control method, comprising: S1, acquiring eye movement data, heart rate data and breathing data within a preset time period.

[0007] S2, according to the sleep aid type and sleep aid time used each time, the eye movement data, the heart rate data and the breathing data are determined, and the changes of the eye movement data, the heart rate data and the breathing data under different sleep aid times are determined to determine the sleep state.

[0008] S3, filter out the positive factors corresponding to the sleep-aiding time and frequency in each sleep state.

[0009] S4, record the environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter.

[0010] S5, obtaining the current estimated sleep time according to the obtained sleep state, positive factors, and environmental factors.

[0011] A sleep-aiding control system includes: a data acquisition module for collecting eye movement data, heart rate data and breathing data of a user within a preset time period, and recording environmental parameters during sleep-aiding.

[0012] The sleep state determination module is used to analyze and determine the user's sleep state based on the input eye movement data, heart rate data and breathing data.

[0013] The positive factor screening module is used to screen out the positive factors corresponding to the sleep-aiding time and sleep-aiding frequency in each sleep state.

[0014] The environmental factor determination module is used to record the environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter.

[0015] The estimated sleep time calculation module is used to calculate the estimated sleep time based on the input sleep state, positive factors, environmental factors, deep sleep time, light sleep time, and rapid eye movement time.

[0016] A sleep aid control device includes a processor 1001 and a memory 1002, wherein the memory 1002 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 1001, the steps in any one of the sleep aid control methods of the present invention are executed.

[0017] The beneficial effects of the present invention are: 1. The present invention collects the user's eye movement data, heart rate data and breathing data, and conducts a comprehensive analysis based on the sleep aid type and time, thereby being able to more accurately judge the user's sleep state and lay a solid foundation for providing personalized sleep aid suggestions later.

[0018] 2. The present invention selects the positive factors corresponding to the sleep-aiding time and frequency in each sleep state, and combines environmental factors to make the sleep-aiding suggestions more in line with the user's actual needs and living habits, thereby improving the user satisfaction with the sleep-aiding effect.

[0019] 3. The present invention records and analyzes environmental parameters during sleep assistance and determines the impact of environmental factors on sleep. This fills the gap that traditional sleep assistance methods ignore environmental factors to a certain extent, making the sleep assistance program more comprehensive and scientific.

[0020] 4. The present invention comprehensively considers multiple factors such as deep sleep time, light sleep time, rapid eye movement time, positive factors and environmental factors, and adopts a specific algorithm for calculation, so as to more accurately estimate the user's sleep time and provide the user with more reliable sleep-aid guidance. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0022] Figure 1 The present invention is a flowchart of a sleep aid control method.

[0023] Figure 2 The present invention is a flowchart of step S3 of the sleep aid control method.

[0024] Figure 3 The present invention is a system schematic diagram of a sleep aid control system.

[0025] Figure 4 The present invention is a device schematic diagram of a sleep aid control device.

[0026] In the figure: 1000, electronic device; 1001, processor; 1002, memory. DETAILED DESCRIPTION

[0027] The embodiments of the present invention are described in detail below. The embodiments described below are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. If no specific techniques or conditions are specified in the embodiments, the techniques or conditions described in the literature in the art or the product specifications are used.

[0028] See also Figure 1 , a sleep aid control method, comprising: S1, obtaining eye movement data, heart rate data and breathing data within a preset time period.

[0029] S2, according to the sleep aid type and sleep aid time used each time, the eye movement data, the heart rate data and the breathing data are determined, and the changes of the eye movement data, the heart rate data and the breathing data under different sleep aid times are determined to determine the sleep state.

[0030] S3, filter out the positive factors corresponding to the sleep-aiding time and frequency in each sleep state.

[0031] S4, record the environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter.

[0032] S5, obtaining the current estimated sleep time according to the obtained sleep state, positive factors, and environmental factors.

[0033] The processing method for determining the changes in eye movement data, heart rate data and breathing data at different sleep-aiding times in step S2 is: S21, based on the acquired eye movement data, heart rate data and breathing data, respectively determine a first time period corresponding to the eye movement data, a second time period corresponding to the heart rate change and a third time period corresponding to the breathing rate change, wherein the first time period, the second time period and the third time period include at least one.

[0034] S22, determine the eye movement data in each first time period in turn, and determine the time interval between each adjacent first time period; if the time interval between adjacent first time periods is less than the preset time interval, determine the adjacent first time period as the first time period corresponding to the eye movement data.

[0035] S23, for the second time period, determine the average change value of the heart rate in each second time period, and based on the average change value of the heart rate, take the second time period in which the average change value of the heart rate is within the first preset range as the second time period corresponding to the heart rate change.

[0036] S24, for the third time period, determine the number of apnea times and the respiratory frequency within the third time period, and use the third time period in which the number of apnea times and the respiratory frequency are within the second preset range as the third time period corresponding to the respiratory frequency change.

[0037] S25, comparing the first time period, the second time period, and the third time period to determine the sleep state.

[0038] The sleep state is represented by deep sleep, light sleep, and rapid eye movement. The three time periods obtained at this time are mainly to identify that when the sleep state changes, the current detected time period is in the light sleep, rapid eye movement, and deep sleep time periods, and to identify the length and distribution corresponding to these time periods to determine the current sleep state after sleep aid control. At the same time, identifying the proportion of these times in the total time can quantitatively express the current sleep state.

[0039] The purpose of limiting the first time period, the second time period and the third time period to include at least one at this time is to determine that the currently monitored data is normal sleep data. The normal sleep stage is from falling asleep to waking up, which includes multiple first time periods, second time periods and third time periods. The data to be analyzed at this time needs to include the corresponding parts, so that the corresponding sleep state can be accurately identified during control.

[0040] The deep sleep stage is characterized by the following EEG characteristics: The deep sleep stage is usually characterized by an EEG with high-amplitude slow waves (δ waves), with larger amplitude and lower frequency.

[0041] Physiological manifestations: In the deep sleep stage, breathing becomes slow and deep, heart rate and blood pressure also decrease. The body is completely relaxed, and eye movement decreases or stops.

[0042] Sensation and Arousal: People in this stage are difficult to arouse, and if aroused, they tend to feel confused or disoriented.

[0043] The light sleep stage is characterized by the following EEG characteristics: The EEG in the light sleep stage shows low-amplitude fast waves (such as theta waves), which are different from the EEG in the waking state, but the amplitude and frequency are higher than those in the deep sleep stage.

[0044] Physiological manifestations: Respiration, heart rate, and blood pressure may fluctuate slightly but remain generally stable. Eye movements may increase slightly but remain minimal.

[0045] Ease of awakening: In the light sleep stage, people are relatively easily awakened by external stimuli.

[0046] The rapid eye movement stage is characterized by the following electroencephalogram characteristics: The electroencephalogram in the REM stage is similar to that in the waking state, showing low-amplitude fast waves.

[0047] Eye movement characteristics: The eyes will move rapidly, which is the most obvious feature of the REM stage.

[0048] Physical manifestations: In addition to the eye movements, breathing may become rapid, and heart rate and blood pressure may increase. However, the rest of the body remains relatively still.

[0049] Dream experience: The REM stage is the main period when dreams occur, and people often have vivid dream experiences during this stage.

[0050] The first time period identified in step S22 is the rapid eye movement stage corresponding to the eye movement data. The awakening threshold of this time period is higher than that of shallow sleep. Rapid movements occur in this stage, and the breathing and heartbeat frequencies increase. The first time period obtained at this time is to determine the time period related to the rapid eye movement stage, and the time period in the first time period that meets the characteristics of the rapid eye movement stage is output as the rapid eye movement time.

[0051] The method for determining the second time period in step S23 is to determine the heart rate corresponding to the current sleep through the acquired heart rate value, and mark each time period according to the average heart rate value and the heart rate mutation value. At this time, the marked acquired second time period is represented as the time period for obtaining a stable heart rate, and the second time period that meets the characteristics of the light sleep stage is output to obtain the light sleep time; at this time, the corresponding first preset range is set according to the user's normal light sleep heart rate range, and the set range value is represented by a heart rate range of 60-70 times, and this part of the related heart rate range is set as the second time period.

[0052] In step S24, the third time period is determined to be a time period related to the current breathing frequency according to the breathing frequency and the number of breathing pauses, and this part of the time period is marked to obtain the third time period, and the third time period at this time is extracted according to the characteristics related to the deep sleep stage, and the third time period that meets the deep sleep stage is output as the deep sleep time; the second preset range set at this time is determined according to the breathing frequency during deep sleep, and the breathing frequency is set at this time to 15-20 times, and the number of breathing pauses here is also expressed as a quantity related to the number of breaths in one minute, and the range of this value is also judged to be 15-20 times for setting.

[0053] In step S25, the first time period, the second time period and the third time period are labeled in sequence to indicate the heart rate and respiratory rate of the time period corresponding to each sleep state, and the distribution of the corresponding sleep state time is determined.

[0054] The time corresponding to the rapid eye movement stage is determined in sequence according to the first time period obtained, and the light sleep time and the deep sleep time are obtained in combination with the second time period and the third time period, so as to know the corresponding sleep state of the user after the current sleep aid method is adopted.

[0055] At this time, there are smart sleep-aid devices used for different sleep-aid methods: Smart alarm clocks: such as Xiaodu voice smart alarm clocks. This type of device not only provides traditional alarm clock functions, but also provides sound sleep-aid services through AI technology, such as built-in soothing white noise, light music, ASMR sounds, etc., to help users fall asleep quickly. At the same time, they can also control smart devices in the home through voice, such as turning off lights, closing curtains, adjusting temperature, etc., to create a comfortable sleeping environment for users. Sleep-aid lamps: Some sleep-aid lamps combine the principles of light therapy and sound therapy. By adjusting the color, brightness and color temperature of the light, and playing sleep-aid music, they help users relax and enter a deep sleep state.

[0056] The collected eye movement data, heart rate data and breathing data are measured through wearable devices; Wearable devices: Some smart watches or bracelets have sleep monitoring functions, which can record the user's sleep quality and duration and provide improvement suggestions. Although they do not directly provide sleep control functions, through monitoring data, users can understand their sleep conditions and adjust their living habits and sleeping environment accordingly.

[0057] The sleep-aiding method is sound therapy: playing soft music, white noise or natural sounds (such as rain, waves, etc.) can help cover up distracting noises and make it easier for users to relax and fall asleep.

[0058] Light control: Reducing the brightness of the room before going to bed, or even using blackout curtains to block out external light, can help promote the secretion of melatonin, thereby helping users fall asleep faster and improve sleep quality.

[0059] Temperature regulation: Keeping the indoor temperature within a suitable range (generally 16-20 degrees Celsius) helps create a comfortable sleeping environment. An overly cold or overheated environment may affect sleep quality.

[0060] Behavioral therapy: such as sleep restriction therapy and stimulus control therapy in cognitive behavioral therapy (CBT-I), which improves sleep quality by changing bad sleep habits and behavioral patterns. These methods usually need to be carried out under the guidance of professionals.

[0061] The control of sleep aid is achieved according to the sleep aid methods mentioned above. At the same time, all these sleep aid methods need to be adjusted according to the currently acquired behavior pattern data, and the behavior data corresponding to each mode under the current behavior mode are calculated in turn to obtain the positive feedback value, and the positive feedback value and the corresponding behavior pattern are processed separately to determine whether there is a correlation between the current behavior pattern and the sleep aid method, and whether different sleep aid methods can directly affect the corresponding behavior pattern.

[0062] like Figure 2 As shown, the processing method of step S3 is: S31, collecting behavioral pattern data before and after sleep, including bed time, sleep time, and movement behaviors during sleep; recording the use of sleep aids, including the number of times used, interval time, etc.

[0063] S32, determining the mapping relationship between the behavior pattern data and the sleep-aiding method under each preset label.

[0064] S33, calculating the positive feedback value of each sleep-aiding method at different sleep-aiding times according to the acquired mapping relationship.

[0065] S34, combining the positive feedback value and the sleep-aiding frequency to determine the comprehensive effect value of each sleep-aiding method at different sleep-aiding times.

[0066] S35, determining the output positive factor according to the obtained positive feedback value and comprehensive effect value.

[0067] The currently collected data is matched according to the specific content and label of each data, the mapping relationship under each label is determined, and the positive feedback value of each sleep aid method is calculated. This value is used to determine the comprehensive effect value of the method in different time periods. Combined with the comprehensive effect value, it is judged whether the current sleep aid is effective and the main time when it can be effective. At the same time, the change values ​​of the final data after using different sleep aid methods are compared, so as to obtain the proportion of sleep improvement and how the sleep aid method affects the sleep aid effect in different time periods.

[0068] The preset tags that can be set can be tags related to sleep-aiding methods, such as listening to light music, reading, meditation, warm baths, and maintaining a dark sleeping environment; tags related to behavioral patterns, such as time in bed, sleep time, movements and behaviors during sleep, time to fall asleep, and time to wake up; tags related to frequency of sleep-aiding, such as number of uses and interval time; tags related to sleep-related time lengths, such as the proportion of sleep in each stage.

[0069] The mapping relationship in step S32 is obtained by calculating the co-occurrence probability of the behavior pattern data and the sleep-aiding method, classifying the behavior pattern data and all related sleep-aiding methods according to preset labels, and determining a sleep-aiding method to which all the behavior pattern data can correspond; after obtaining the mapping between the behavior pattern and the sleep-aiding method, the sleep quality score finally obtained by the behavior pattern after each use of the sleep-aiding method is calculated, and the validity of the currently divided mapping relationship is verified based on the sleep quality score, and whether the positive feedback value of the statistical sleep score of the behavior pattern after the division is within the preset expected range.

[0070] That is, the mapping relationship between the behavior pattern data and the sleep-aid method under each preset label is as follows: according to the number of times the sleep-aid method is used, the corresponding behavior data when the sleep-aid method is used is recorded, and the sleep-aid method is matched with the time in bed, the sleep time, and the movements during sleep to determine the corresponding behavior pattern each time the sleep-aid method is used, and the matching data is placed under each preset label according to the interval time. The set interval time is used to divide the use of the sleep-aid method into multiple cycles, and the improvement after the sleep-aid method is used in each cycle is recorded in turn. For example, the interval time can be set to 1 week, 1 month, 3 months, etc. According to this interval time, a mapping relationship is set between the behavior pattern existing in this interval time and the corresponding sleep-aid method.

[0071] In step S33, the positive feedback value is obtained by obtaining the sleep quality score after each use of the sleep aid method and the basic sleep quality score when the sleep aid method is not used.

[0072] Among them, PFV represents the positive feedback value, Q irepresents the sleep quality score after the i-th use of the sleep aid method, Q base represents the basic sleep quality score, n represents the number of times the sleep aid method is used, i=1,2,,,n.

[0073] After the positive feedback value is identified, the implementation method of step S33 may further include: determining the mapping relationship between the sleep-aiding method and the behavior pattern corresponding to the positive feedback value based on the acquired positive feedback value, judging whether the positive feedback value under the current mapping relationship is within a preset expected range, if the positive feedback value is greater than the upper limit of the preset expected range, it indicates that the current sleep-aiding method has an obvious improvement effect, and the current sleep-aiding method is used as the output positive feedback value; if the positive feedback value is within the preset expected range, determining the sleep-aiding time corresponding to the sleep-aiding method, the sleep-aiding time indicates the specific time period in which the sleep-aiding method is used, determining the maximum value of the positive feedback value of the sleep-aiding method within different sleep-aiding times, and outputting the sleep-aiding time and sleep-aiding method corresponding to the maximum value of the positive feedback value; if the positive feedback value is less than the lower limit of the preset expected range, recording the currently used sleep-aiding method, and deleting the mapping relationship between the current sleep-aiding method and the behavior pattern data.

[0074] At this time, it is necessary to judge the size of the positive feedback value of the sleep-aiding method used. When the positive feedback value is large, it means that the current sleep-aiding method has a significant effect on improving the sleep quality score. When the positive feedback value is within the expected range, it means that the current sleep-aiding method will be effective when implemented within a selected time period. At this time, it is necessary to determine this time period and output this time period and the specific sleep-aiding method. If the positive feedback value is too small, it means that the current sleep-aiding method has basically no improvement. In this case, the mapping relationship selected, that is, the selected behavior pattern data and the sleep-aiding method used, is difficult to produce the corresponding effect, and this data will be removed at this time.

[0075] The comprehensive effect value in step S34 is represented by the product of the current positive feedback value and the sleep-aiding frequency. The sleep-aiding frequency is determined by dividing the number of times the sleep-aiding method is currently used by the total time; thus, the comprehensive effect value under different sleep-aiding times can be obtained.

[0076] After the comprehensive effect value is obtained, the comprehensive effect value and the positive feedback value are weighted and averaged, and the weighted average value is used as the positive factor of the output.

[0077] In step S4, the calculation method for the environmental factor is expressed as obtaining the environmental parameters and the ideal values ​​of the environmental parameters each time the sleep aid method is used to obtain the environmental factor: Among them, EF represents environmental factors, E i represents the environmental parameters for the i-th use of the sleep aid method, E optrepresents the ideal value of environmental parameters, n represents the number of times the sleep aid method is used, i=1,2,,,n.

[0078] After obtaining the environmental factors, it is also necessary to determine the relationship between the current environmental factors and the sleep quality score.

[0079] The environmental parameters selected in step S4 are light, temperature, and humidity. The environmental factors calculated at this time are the average deviations of the corresponding environmental parameters and the ideal values ​​for each sleep-aiding session, to represent the differences in the current environmental parameters. This difference is compared with the overall time and other data to determine the changes in the environmental parameters after each sleep-aiding session.

[0080] In step S5, the estimated sleep time is expressed as: deep sleep time, light sleep time, rapid eye movement time, positive factor and environmental factor are obtained, and the deep sleep time, light sleep time, rapid eye movement time, positive factor and environmental factor are normalized to calculate the estimated sleep time.

[0081] EST=α×(DST+SST+RST)+β×PF+γ×EF; wherein, EST represents estimated sleep time, EF represents environmental factor, PF represents positive factor, SST represents light sleep time, DST represents deep sleep time, RST represents rapid eye movement time, α, β and γ represent weight coefficients, which are adjusted according to the current collected values; at this time, the set positive factor and environmental factor, after multiplying with the set weight coefficient, will obtain a time-related value, and this value, after weighted addition with deep sleep time, light sleep time and rapid eye movement time, can obtain an estimated time value, thereby predicting the sleep time that can be generated.

[0082] Finally, the estimated sleep time obtained based on multiple judgment methods can reflect the effect of the current sleep aid method. At the same time, based on the comparison between the final estimated value and the actual expected value, when the estimated sleep time is greater than the expected value, the corresponding sleep aid method and environmental parameters are used as the current sleep aid plan; if the estimated sleep time is less than the expected value, the current sleep aid method is adjusted, and the adjusted sleep aid method is calculated until the final calculated estimated sleep time is greater than the expected value.

[0083] like Figure 3As shown, the present invention also provides a sleep aid control system, including: a data acquisition module, a sleep state determination module, a positive factor screening module, an environmental factor determination module and an estimated sleep time calculation module; the data acquisition module inputs the collected data into the sleep state determination module, the sleep state determination module inputs the corresponding data into the positive factor screening module and the environmental factor determination module after determining the sleep state, and the output results of the positive factor screening module and the environmental factor determination module are input into the estimated sleep time calculation module, and finally the estimated sleep time that can be achieved by the current sleep aid method is obtained.

[0084] The data collection module is responsible for collecting the user's eye movement data, heart rate data and breathing data within a preset time period, and recording the environmental parameters during sleep assistance.

[0085] The sleep state determination module is used to analyze and determine the user's sleep state based on the input eye movement data, heart rate data and breathing data.

[0086] The positive factor screening module is used to screen out the positive factors corresponding to the sleep-aiding time and sleep-aiding frequency in each sleep state.

[0087] The environmental factor determination module is used to record the environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter.

[0088] The estimated sleep time calculation module is used to calculate the estimated sleep time based on the input sleep state, positive factors, environmental factors, deep sleep time, light sleep time, and rapid eye movement time.

[0089] The present invention also includes a program recommendation module, which is used to compare the estimated sleep time with the expected sleep time based on the estimated sleep time obtained, and determine the current sleep-aiding program.

[0090] The specific implementation of the solution recommendation module is shown below.

[0091] Based on the estimated sleep time obtained, the sleep-aid method and environmental parameters corresponding to the estimated sleep time are extracted, the sleep-aid method and environmental parameters are compared with the preset sleep-aid plan, and the Pearson correlation coefficients of the sleep-aid method and environmental parameters with the preset sleep-aid plan are calculated in turn. Based on the calculated Pearson correlation coefficient, the sleep-aid plan corresponding to the maximum value of the Pearson correlation coefficient is used as the current sleep-aid plan.

[0092] like Figure 4As shown, the present invention also provides a sleep aid control device, including a processor 1001 and a memory 1002, the memory 1002 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 1001, the steps in any one of the sleep aid control methods in the present invention are executed. Through the above technical solution, the processor 1001 and the memory 1002 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms, and the memory 1002 stores a computer program executable by the processor. When the electronic device 1000 is running, the processor 1001 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: by collecting and analyzing the user's eye movement data, heart rate data, breathing data and environmental parameters, the user's sleep state can be accurately judged, and factors that have a positive impact on sleep can be screened out accordingly, while considering the impact of environmental factors on sleep, and finally the estimated sleep time is calculated to provide the user with personalized sleep aid suggestions and optimization solutions.

[0093] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention and they are still covered by the protection scope of the present invention.

Claims

1. A sleep aid control method, It is characterized in that include: S1, obtaining eye movement data, heart rate data and breathing data within a preset time period; S2, according to the sleep aid type and sleep aid time used each time, the eye movement data, the heart rate data and the breathing data are determined to determine the changes of the eye movement data, the heart rate data and the breathing data under different sleep aid times, and determine the sleep state; S3, screen out the positive factors corresponding to the sleep-aiding time and frequency in each sleep state; S4, record the environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter; S5, obtaining the current estimated sleep time according to the obtained sleep state, positive factors, and environmental factors.

2. A sleep aid control method according to claim 1, It is characterized in that In step S2, the processing method for determining the changes of eye movement data, heart rate data and breathing data at different sleep-aiding times is as follows: S21, determining, according to the acquired eye movement data, heart rate data, and breathing data, a first time period corresponding to the eye movement data, a second time period corresponding to the heart rate change, and a third time period corresponding to the breathing rate change; S22, sequentially determining the eye movement data in each first time period, and determining the time interval between each adjacent first time period; if the time interval between adjacent first time periods is less than a preset time interval, determining the adjacent first time period as the first time period corresponding to the eye movement data; S23, for the second time period, determining an average change value of the heart rate in each second time period, and taking a second time period in which the average change value of the heart rate is within the first preset range as a second time period corresponding to the heart rate change; S24, for the third time period, determining the number of apnea times and the respiratory frequency within the third time period, and taking the third time period in which the number of apnea times and the respiratory frequency are within the second preset range as the third time period corresponding to the respiratory frequency change; S25, comparing the first time period, the second time period, and the third time period to determine the sleep state.

3. A sleep aid control method according to claim 1, It is characterized in that The processing method of step S3 is: S31, collect behavioral pattern data before and after sleep, including bed time, sleep time, and movement behavior during sleep; record the use of sleep aids, including the number of times used and the interval time; S32, determining the mapping relationship between the behavior pattern data and the sleep-aiding method under each preset label; S33, calculating the positive feedback value of each sleep-aiding method at different sleep-aiding times according to the acquired mapping relationship; S34, combining the positive feedback value and the sleep-aiding frequency to determine the comprehensive effect value of each sleep-aiding method at different sleep-aiding times; S35. Determine the output positive factor based on the obtained positive feedback value and comprehensive effect value.

4. A sleep aid control method according to claim 3, It is characterized in that The positive feedback value in step S33 is obtained by obtaining the sleep quality score after each use of the sleep aid method and the basic sleep quality score without using the sleep aid method; Among them, PFV represents the positive feedback value, Q i represents the sleep quality score after the i-th use of the sleep aid method, Q base represents the basic sleep quality score, n represents the number of times the sleep aid method is used, i=1,2,,,n.

5. A sleep aid control method according to claim 3, It is characterized in that After the positive feedback value is identified, the implementation of step S33 may further include: Based on the obtained positive feedback value, determine the mapping relationship between the sleep-aiding method and the behavior pattern corresponding to the positive feedback value, and judge whether the positive feedback value under the current mapping relationship is within the preset expected range. If the positive feedback value is greater than the upper limit of the preset expected range, use the current sleep-aiding method as the output positive feedback value; if the positive feedback value is within the preset expected range, determine the sleep-aiding time corresponding to the sleep-aiding method, determine the maximum value of the positive feedback value of the sleep-aiding method within different sleep-aiding times, and use the sleep-aiding time and sleep-aiding method corresponding to the maximum value of the positive feedback value as the output; if the positive feedback value is less than the lower limit of the preset expected range, record the currently used sleep-aiding method, and delete the mapping relationship between the current sleep-aiding method and the behavior pattern data.

6. A sleep aid control method according to claim 1, It is characterized in that The calculation method for the environmental factor in step S4 is expressed as obtaining the environmental parameters and the ideal values ​​of the environmental parameters each time the sleep aid method is used to obtain the environmental factor: Among them, EF represents environmental factors, E i represents the environmental parameters after the i-th use of the sleep aid method, E opt represents the ideal value of environmental parameters, n represents the number of times the sleep aid method is used, i=1,2,,,n.

7. A sleep aid control method according to claim 1, It is characterized in that In step S5, the estimated sleep time is expressed as: deep sleep time, light sleep time, rapid eye movement time, positive factor and environmental factor are obtained, and the deep sleep time, light sleep time, rapid eye movement time, positive factor and environmental factor are normalized to calculate the estimated sleep time: EST=α×(DST+SST+RST)+β×PF+γ×EF; Among them, EST represents estimated sleep time, EF represents environmental factor, PF represents positive factor, SST represents light sleep time, DST represents deep sleep time, RST represents rapid eye movement time, and α, β and γ represent weight coefficients.

8. A sleep aid control system, using the sleep aid control method as claimed in claim 1, It is characterized in that include: The data collection module is responsible for collecting the user's eye movement data, heart rate data and breathing data within a preset time period, and recording the environmental parameters during sleep assistance; A sleep state determination module, used to analyze and determine the user's sleep state based on the input eye movement data, heart rate data and breathing data; Positive factor screening module, used to screen out the positive factors corresponding to the sleep-aiding time and frequency in each sleep state; An environmental factor determination module is used to record environmental parameters during sleep assistance and determine the environmental factors of each environmental parameter; The estimated sleep time calculation module is used to calculate the estimated sleep time based on the input sleep state, positive factors, environmental factors, deep sleep time, light sleep time, and rapid eye movement time.

9. A sleep aid control system according to claim 8, It is characterized in that It also includes a plan recommendation module, which is used to compare the estimated sleep time with the expected sleep time based on the estimated sleep time obtained, and determine the current sleep-aiding plan.

10. A sleep aid control device, comprising a processor 1001 and a memory 1002, wherein the memory 1002 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 1001, the steps in any one of the above sleep aid control methods are executed.

Citation Information

Cited By

  • Method and system for optimizing sleep-aid product, device, and medium

    WO2026144331A1