METHOD FOR AUTOMATICALLY RECORDING CIRCADIAN RHYTHM OF USER VIA PORTABLE DEVICE AND PORTABLE DEVICE THEREOF
20210169412 · 2021-06-10
Inventors
Cpc classification
G16H10/65
PHYSICS
A61B5/7282
HUMAN NECESSITIES
G16H50/20
PHYSICS
A61B5/4809
HUMAN NECESSITIES
A61B5/7264
HUMAN NECESSITIES
A61B5/6898
HUMAN NECESSITIES
International classification
Abstract
A method for automatically recording circadian rhythm of a user via a portable device includes the steps of obtaining plural usage episodes from screen-on to successive screen-off via a screen of the portable device in an estimated period; classifying plural proactive use episodes and plural reactive use episodes from the plural usage episodes; generating active periods and inactive periods in each day via the plural proactive use episodes; and estimating daily sleep indicators from an evaluation of each of the inactive periods. Therefore, it only needs to estimate the daily sleep indicators of users by using portable devices (specifically for smartphones).
Claims
1. A method for automatically recording circadian rhythm of a user via a portable device which includes a processor and a screen, the method being applied to the processor for executing an application and comprising: obtaining plural usage episodes from screen-on to successive screen-off via the screen in an estimated period, wherein the estimating period represents one or more days; classifying plural proactive use episodes and plural reactive use episodes from the plural usage episodes, wherein each of the plural proactive use episodes is defined as an episode with no notification received in a notification threshold prior to the screen-on, and wherein each of the plural reactive use episodes is defined as an episode with a notification received in the notification threshold prior to the screen-on; determining at least one of active periods and at least one of inactive periods in each day via the plural proactive use episodes; and estimating daily sleep indicators from each of the inactive periods.
2. The method of claim 1, wherein the plural reactive use episodes are excluded when the daily sleep indicators are estimated in each of the inactive periods.
3. The method of claim 1, wherein the processor transforms the plural proactive use episodes into a periodic function, and determines each of the active periods and each of the inactive periods by the periodic function.
4. The method of claim 3, wherein the periodic function is transformed via a cosinor fitting.
5. The method of claim 4, wherein the cosinor fitting is determined according to the following formula:
Cosinor fitting=a×cos(2πt/24)+b×sin(2πt/24)+c×cos(2πt/12)+d×sin(2πt/12)+e where a, b, c, d and e represent constants, t represents time, and the value of denominator represents the time in hours which is adjustable.
6. The method of claim 1, wherein the daily sleep indicators are estimated through one of longest gaps between two of the plural proactive use episodes in the inactive periods.
7. The method of claim 6, wherein a wake time in the daily sleep indicator is determined by at least one of wake time determination factors, and when the proactive use episode is not conformed to the wake time determination factor, the wake time is set on another proactive use episode which conforms to the wake time determination factor.
8. The method of claim 7, wherein the wake time determination factor includes a duration of the proactive use episode exceeding a first awakening threshold, a using parameter exceeding a second awakening threshold, a duration weighted value being below a third awakening threshold, or any of their combinations, wherein the using parameter is an added value of the duration of the proactive use episode and a weighted value of application usage times, and the duration weighted value is determined by a duration between the proactive use episode and a start point of the active period.
9. The method of claim 8, when the duration between the proactive use episode and the start point of the active period is shorter, the duration weighted value is smaller, and when the duration between the proactive use episode and the start point of the active period is longer, the duration weighted value is greater.
10. The method of claim 1, wherein the method further comprises: receiving plural self-reports by an input module; generating a report deviation according to a differential value between a time average of plural daily sleep indicators and a time average of corresponding plural self-reports; and adjusting the daily sleep indicators by the report deviation.
11. The method of claim 10, wherein the processor adjusts a sleep onset time or a wake time in the daily sleep indicators ahead or delayed according to the report deviation.
12. The method of claim 10, wherein the processor executes an application to provide an input surface at a daily reporting time to allow the user to input the plural self-reports to the input module.
13. The method of claim 12, wherein the input module is located in the portable device and connected with the processor to receive the plural self-reports.
14. The method of claim 1, wherein the method further comprises: receiving plural sleep measurements by a sleep measuring device; generating a measurement deviation according to a differential value between a time average of plural daily sleep indicators and a time average of corresponding plural sleep measurements; and adjusting the daily sleep indicators by the measurement deviation.
15. The method of claim 14, wherein the processor adjusts a sleep onset time or a wake time in the daily sleep indicators ahead or delayed according to the measurement deviation.
16. A portable device for automatically recording circadian rhythm of a user, comprising: a screen configured to display an image and determine an action of screen-on or screen-off; a processor located in the portable device for applying to execute the method as claimed in claim 1.
17. The portable device of claim 16, wherein the portable device further comprises: an input module connected to the processor for receiving a self-report input from the user; and a recording module connected to the processor for generating a recording chart based on the daily sleep indicators.
18. The portable device of claim 16, wherein the portable device connects to a sleep measuring device for capturing a sleep measurement in each day, and the processor in the portable device generates a measurement deviation according to a differential value between the daily sleep indicators and each of plural sleep measurements in a corresponding day, then the processor adjusts the daily sleep indicators by the measurement deviation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The techniques of the present invention can be more easily understood from the detailed description given below, and the accompanying drawings are provided for better illustration, and thus the description and the accompanying drawings are not restrictive to the present invention.
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0034] The aspects of the invention are now described in the following preferred embodiments; however, the invention is not limited thereto.
[0035] Referring to
[0036] S101: obtaining plural usage episodes 10 from screen-on to successive screen-off via the screen in an estimated period (one day or more); because people have to turn the screen on at the beginning of using the portable device and turn the screen off at the end of using the portable device, the plural usage episodes 10 can be identified by the successive action from screen-on to screen-off.
[0037] S102: classifying plural proactive use episodes 11 and plural reactive use episodes 12 from the plural usage episodes 10 while the plural usage episodes 10 are obtained; wherein a proactive use refers to the user who actively uses the portable device, while a reactive use refers to the user who passively uses the portable device (e.g. receive a message notification or a clock alarm). In the invention, each of the plural proactive use episodes 11 is further defined as an episode that does not receive a notification 121 in a notification threshold (e.g. within about one minute) prior to the screen-on, while each of the plural reactive use episodes 12 is defined as an episode that receives a notification 121 in the notification threshold prior to the screen-on to distinguish between two types of the proactive use and the reactive use.
[0038] S103: transforming the plural proactive use episodes 11 into a periodic function 20. In one embodiment, the periodic function may be transformed via a cosinor fitting, wherein the cosinor fitting is used for illustrating the periodic function 20 through fitting the plural proactive use episodes 11 in each day to correspond to the daily circadian rhythm of the user to determine at least one of active periods 13 (such as crests in
[0039] In one embodiment, the cosinor fitting may be determined according the following formula:
Cosinor fitting=a×cos(2πt/24)+b×sin(2πt/24)+c×cos(2πt/12)+d×sin(2πt/12)+e
[0040] Where a, b, c, d and e represent constants (each can be any number) which are used to fit the periodic function 20, t represents time, and the value of denominators (e.g. 24 and 12 as above) represents the time in hours which can be adjusted depending on the usage status of the portable device to present the periodic function 20.
[0041] S104: estimating the daily sleep indicators 141 through one of longest gaps between two of the plural proactive use episodes 11 in the inactive periods 14, wherein the plural reactive use episodes 12 are excluded when the daily sleep indicators 141 is estimated.
[0042] During the sleep, the user may wake up to use the portable device in a fragmented manner, so to avoid such fragmented use being treated as wake time, the wake time in the daily sleep indicator 141 is determined by at least one of wake time determination factors, when the proactive use episode 11 is not conformed to the wake time determination factor, the proactive use episode 11 may be treated as the fragmented use, and the wake time will be set on another proactive use episode 11 which conforms to the wake time determination factor.
[0043] The wake time determination factor includes the duration of the proactive use episode exceeding a first awakening threshold (e.g. 20 minutes), the using parameter (the Y-axis as shown in
[0044] For instance, when one of the proactive use episode 11 is obtained at 5:00 a.m. (which the start point of the active periods 13 right at 6:00 a.m.), the duration weighted value may be 20%, and if another proactive use episode 11 is obtained at 5:30 a.m., the duration weighted value may be 10% and so on. Therefore, when the duration between the proactive use episode 11 and the start point of the active periods 13 is shorter, the duration weighted value may correspond to be smaller, when the duration between the proactive use episode and the start point of the active periods 13 is longer, the duration weighted value may correspond to be greater.
[0045] When the daily sleep time is estimated basing on each of the daily sleep indicators 141, the plural proactive use episodes 11 which are not conformed to the wake time determination factor in the daily sleep indicators 141 may be deducted. For example, if one day of the daily sleep indicator 141 is indicated on 10:00 p.m. to 6:00 a.m. and one of the proactive use episode 11 which is not conformed to the wake time determination factor is indicated on 5:00 a.m. to 5:10 a.m., the daily sleep indicator 141 of the day may deduct the proactive use episode 11 to be separated into two sections of 10:00 p.m. to 5:00 a.m. and 5:10 a.m. to 6:00 a.m. Therefore, when the daily sleep time of the day is estimated based on the daily sleep indicator 141 of the day, the duration of the proactive use episode 11 (10 minutes) may be deducted so that the daily sleep time of the day may be 7 hours and 50 minutes.
[0046] Through the above method, the daily sleep indicators 141 and the daily sleep time of the user can be estimated via the portable device.
[0047] When the processor obtains the daily sleep indicators 141 of at least two weeks, the daily sleep indicators 141 of a week will be compared with another week through the standard deviation, empirical mode decomposition, social jetlag, or any of their combinations to generate long-term analysis data.
[0048] Accordingly, the long-term circadian rhythm of the user can be observed or delineated by the long-term analysis data, and the daily sleep indicators 141 can be estimated through the cosnior fitting whether the circadian rhythm of the user is regular or not.
[0049] Referring to
[0050] Assuming that a time average of the daily sleep indicators 141 in weekly estimated from sleep onset time is 242.9 seconds delayed from the corresponding plural self-reports 30, the processor adjusts the daily sleep indicators 141 by generating the report deviation to set the sleep onset time to 242.9 seconds ahead. Under another assumption, if a time average weekly wake time during the time average of the daily sleep indicators in weekly 141 is 623.7 seconds earlier from the corresponding wake time of the plural self-reports 30, the processor adjusts the daily sleep indicators 141 by generating the report deviation to set the wake time to a 623.7 second delay.
[0051] According to the above adjustment, an overlap ratio of the daily sleep indicators 141 and each of the plural self-reports 30 in corresponding day can reach more than 90% consistency, which is verified by the following formula:
Overlap ratio=total sleep overlap time÷((the self-report of the day+the daily sleep indicator of the day)÷2)×100%
[0052] Where the total sleep overlap time 31 is an overlap time between the daily sleep indicator 141 of the day and the self-report 30 of the day.
[0053] Thus, the invention ensures that the daily sleep indicators 141 is closer to the actual sleep time of the user through the above adjustment.
[0054] Referring to
[0055] Referring to
[0056] The invention further provides another embodiment of the portable device 40 which includes an input module 43 connected to the processor 41 for receiving data (specifically for the self-report) input from the user, and a recording module 44 connected to the processor 41 for generating the recording chart based on the daily sleep indicators 141 (as shown in
[0057] Referring to
[0058] Accordingly, the daily sleep indicators 141 in the invention may at least include the sleep onset time, the wake time, the proactive use episode(s) 11 which is/are determined as the fragmented use.
[0059] In the above description, for explanation, numerous specific details are outlined to provide a thorough understanding of the embodiments. However, it is apparent to those skilled in the art that one or more other embodiments may be practiced without some of these specific details. It should be appreciated that references throughout this specification to “one embodiment”, “an embodiment” and embodiments with an indication of ordinal numbers and so forth mean that particular features, structures, or characteristics may be included in the implementation of the invention. It should be further appreciated that in the description, various features are sometimes grouped in a single embodiment, drawing, or description thereof to streamline the invention and facilitate understanding of various inventive aspects.
[0060] While the invention has been described in connection with what is considered to be the exemplary embodiments, it is understood that this invention is not limited to the disclosed embodiments, but is intended to cover various arrangements including the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.