The disclosure relates in general to a personalized parameter learning method, a sleep-aid device and a non-transitory computer readable medium.
Good sleep quality contributes to the health of the body. Studies have found that adjustments in sound, lighting and other factors contribute to the improvement of sleep quality. Therefore, a sleep-aid technique has been developed.
In the sleep-aid technology, the user can manually adjust the parameters of a sleep-aid device to control the sound and the light. However, each person's physiological clock is different and his physiological condition is different. How to set the appropriate personalized parameters becomes a major bottleneck in the sleep-aid technology.
The disclosure is directed to a personalized parameter learning method, a sleep-aid device and a non-transitory computer readable medium.
According to one embodiment, a personalized parameter learning method for a sleep-aid device is provided. The personalized parameter learning method includes the following steps. A processing device computes a measured sleep quality of a user after operating a sleep-aid device with an inputted parameter setting at least according to a subjective feedback from the user. The processing device generates a plurality of candidate parameter settings according to the measured sleep quality. The processing device generates a plurality of predicting sleep qualities corresponding the candidate parameter settings. The processing device obtains a recommending parameter setting by selecting one of the candidate parameter settings according to the predicting sleep qualities.
According to another embodiment, a sleep-aid device is provided. The sleep-aid device includes a processing device. The includes a computing module, a parameter learning module and a sleep quality predicting module. The computing module is for computing a measured sleep quality of a user after operating a sleep-aid device with an inputted parameter setting at least according to a subjective feedback from the user. The parameter learning module is for generating a plurality of candidate parameter settings according to the measured sleep quality. The sleep quality predicting module is for generating a plurality of predicting sleep qualities corresponding the candidate parameter settings are generated. the parameter learning module is further obtaining a recommending parameter setting by selecting one of the candidate parameter settings according to the predicting sleep qualities.
According to an alternative embodiment, a non-transitory computer readable medium storing a program causing a computer to execute a personalized parameter learning method. The personalized parameter learning method includes the following steps. A measured sleep quality of a user after operating a sleep-aid device with an inputted parameter setting is computed at least according to a subjective feedback from the user. A plurality of candidate parameter settings are generated according to the measured sleep quality. A plurality of predicting sleep qualities corresponding the candidate parameter settings are generated. A recommending parameter setting is obtained by selecting one of the candidate parameter settings according to the predicting sleep qualities.
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawing.
In the following embodiments, a personalized parameter learning method for a sleep-aid device is provided. In the personalized parameter learning method, an enhanced learning algorithm is used to obtain a recommending parameter setting, such that the sleep quality can be improved.
Please refer to
In the processing device 110, a computing module 111, a sleep quality predicting module 112 and a parameter learning module 113 are used to perform the personalized parameter learning method. Each of the computing module 111, the sleep quality predicting module 112 and the parameter learning module 113 may be a program code module, a firmware or a chip. The operation of those elements is illustrated via a flowchart.
Please refer to
Or, in another embodiment, the measured sleep quality SQ1 may be computed according to both of the subjective feedback SF and an objective feedback OF form the sensors 130. The objective feedback OF may be the snoring or the heart rate. The subjective feedback SF is obtained according to the actual feeling of the user; the objective feedback OF is obtained according to the measurement results of the user.
In the step S110, the subjective feedback SF is used to compute the measured sleep quality SQ1. For the same inputted parameter setting PMS1, the measured sleep qualities SQ1 of different users may be different due to the different subjective feedbacks SF. Therefore, the score of the measured sleep quality SQ1 can accurately represent the user's personal feelings. A history list HL recording the relationship between the inputted parameter setting PMS1 and the measured sleep quality SQ1 is stored in the storing device 150. For example, please referring to Table I, which shows the history list HL according to one embodiment. The current inputted parameter setting PMS1, i.e. [8, 2, 3, 3], and the current measured sleep qualities SQ1, i.e. 3.5, is recorded. Referring to
Next, in step S120, the parameter learning module 113 of the processing device 110 generates a plurality of candidate parameter settings PMS2 according to the measure sleep quality SQ1. Please refer to
In the step S122, one parameter is randomly changed within a first range, such as +1 to −1. If the measured sleep quality SQ1 is higher than the predetermined value, the current inputted parameter setting PMS1 is suitable for the user, and so the parameter in the inputted parameter setting PMS1 are only needed to slightly changed. For example, when the previous inputted parameter setting PMS0 is [1, 1, 2, 3], and the current inputted parameter setting PMS1 is [8, 2, 3, 3], one parameter in [8, 2, 3, 3] is randomly changed within +1 to −1, to obtain [8, 3, 3, 3], [8, 3, 3, 3] and [8, 2, 2, 3]. Then, [8, 2, 3, 3], [8, 3, 3, 3], [8, 3, 3, 3], [8, 2, 2, 3] and [1, 1, 2, 3] are the candidate parameter settings PMS2.
In step S123, two parameters are randomly changed within a second range, such as +3 to −3. If the measured sleep quality SQ1 is not higher than the predetermined value, the current inputted parameter setting PMS1 is not suitable for the user, and so the parameters in the inputted parameter setting PMS1 are is needed to greatly changed. For example, when the previous inputted parameter setting PMS0 is [1, 1, 2, 3] and the current inputted parameter setting PMS1 is [8, 2, 3, 3], two parameters in [8, 2, 3, 3] are randomly changed within +3 to −3 to obtain [8, 5, 1, 3], [8, 2, 1, 6] and [7, 2, 5, 3]. Then, [8, 2, 3, 3], [8, 5, 1, 3], [8, 2, 1, 6], [7, 2, 5, 3] and [1, 1, 2, 3] are the candidate parameter settings PMS2.
In the example of Table I and
Afterwards, in step S130, the sleep quality predicting module 112 of the processing device 110 generates a plurality of predicting sleep qualities SQ2 corresponding the candidate parameter settings PMS2. In this step, the sleep quality predicting module 112 searches the history list HL to generate the predicting sleep qualities SQ2. For example, one of the candidate parameter settings PMS2 may be “[8, 5, 1, 3].” By comparing with “[8, 5, 1, 3]”, “[8, 3, 2, 2]” is the closet among all of the inputted parameter settings PMS1 in Table I, so “5.0” is deemed as the predicting sleep qualities SQ2. In one example, the candidate parameter settings PMS2 are “[8, 2, 2, 3], [8, 5, 1, 3], [8, 2, 1, 6], [7, 2, 5, 3] and [1, 1, 2, 3],” so the predicting sleep qualities SQ2 are “3.5, 5.0, 3.5, 3.5, 4.0.”
Then, in step S140, the parameter learning module 113 of the processing device 110 obtains the recommending parameter setting PMS3 by selecting one of the candidate parameter settings PMS2 according to the predicting sleep qualities SQ2. For example, one of the candidate parameter settings PMS2 corresponding the highest predicting sleep qualities SQ2 is selected to be the recommending parameter setting PMS3. In the example of Table I, the predicting sleep qualities SQ2 are “3.5, 5.0, 3.5, 3.5, 4.0”, so the recommending parameter setting PMS3 is [8, 5, 1, 3] which corresponds the highest predicting sleep qualities SQ2, i.e. “5.0.” Please referring to
Please refer to
It is clear that the average of the measured sleep qualities SQ1 of the performance curve C2 is higher than that of the performance curve C1. Further, the standard deviation of the performance curve C2 is lower than that of the performance curve C1. Therefore, by performing the personalized parameter learning method using the enhanced learning algorithm, an accurate recommendation of the parameter setting can be obtained, such that the sleep quality can be improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
8348840 | Heit et al. | Jan 2013 | B2 |
9474876 | Kahn | Oct 2016 | B1 |
9566410 | Chang et al. | Feb 2017 | B2 |
20100041965 | Kang | Feb 2010 | A1 |
20110230790 | Kozlov | Sep 2011 | A1 |
20140275741 | Vandenbelt | Sep 2014 | A1 |
20150217082 | Kang | Aug 2015 | A1 |
20160015314 | Dusanter | Jan 2016 | A1 |
20160015315 | Auphan | Jan 2016 | A1 |
20160151603 | Shouldice et al. | Jun 2016 | A1 |
20180140228 | Olivier | May 2018 | A1 |
20190217048 | Mlodyszewski | Jul 2019 | A1 |
Number | Date | Country |
---|---|---|
103648221 | Mar 2014 | CN |
103780691 | May 2014 | CN |
104127947 | Nov 2014 | CN |
104780831 | Jul 2015 | CN |
205964014 | Feb 2017 | CN |
106999049 | Aug 2017 | CN |
107174209 | Sep 2017 | CN |
107670158 | Feb 2018 | CN |
107788976 | Mar 2018 | CN |
107921261 | Apr 2018 | CN |
109008503 | Dec 2018 | CN |
M524970 | Jul 2016 | TW |
I559948 | Dec 2016 | TW |
201815347 | May 2018 | TW |
201817423 | May 2018 | TW |
M561462 | Jun 2018 | TW |
Entry |
---|
Chinese Office Action and Search Report for Chinese Application No. 201910316313.4, dated Jul. 2, 2021. |
Chinese Office Action and Search Report for corresponding Chinese Application No. 201910316813.4, dated Mar. 30, 2022. |
Taiwanese Office Action and Search Report for Taiwanese Application No. 108111041, dated Oct. 4, 2019. |
Harvey et al., “The Subjective Meaning of Sleep Quality: A Comparison of Individuals with and without Insomnia”, Sleep, vol. 31, No. 3, 2008, p. 383-393. |
Number | Date | Country | |
---|---|---|---|
20200205727 A1 | Jul 2020 | US |