Alarm reminder method, device, storage medium and electronic device

By integrating sleep state monitoring and alarm time adjustment functions in the smart alarm clock, the alarm time is adjusted according to the user's sleep cycle and status, the problem that the existing smart alarm clock cannot effectively wake up the user, and more accurate and effective reminder effects are achieved .

CN114118940BActive Publication Date: 2025-02-21GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111256362.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2025-02-21
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

The existing smart alarm clock cannot adjust the alarm time according to the user's sleep state, resulting in the inability to achieve an effective sleep wake-up effect.

Method used

By obtaining the user's preset alarm time and sleep cycle, determine the current time when the user's sleep state enters or ends deep sleep, determine whether the current time is the target time, and determine the target based on the target time, sleep cycle and preset alarm time. Alarm time is reminded.

Benefits of technology

It realizes adjusting the alarm time according to the user's sleep cycle and status, ensuring the accuracy and effectiveness of reminders, and improving the quality of sleep awakening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114118940B_ABST
    Figure CN114118940B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and specifically to an alarm reminder method, device and electronic device, which solves the problems in the prior art. The method includes: obtaining a preset alarm time; determining the current time when the user's sleep state is entering or ending deep sleep; judging whether the current time is the target time according to the sleep cycle and the preset alarm time. And when the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, so as to ensure that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensure that the user is accurately and effectively reminded according to the target alarm time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an alarm reminder method, device, storage medium and electronic device. Background Art

[0002] An alarm clock is a clock with an alarm device, which can indicate the time and send out sound signals or other signals at the time people set. People can set the time when the alarm clock sends out signals in the morning to remind themselves to get up on time. With the development of communication technology and the intelligence of various electronic devices, more and more users choose smart alarm clocks to replace traditional alarm clocks.

[0003] When using a smart alarm clock, users generally need to set an alarm time first. When the alarm time is reached, a specific alarm reminder signal is played to remind the user. After hearing the alarm reminder signal, the user can choose to turn off the alarm or choose to delay the alarm time, or the alarm time can be automatically delayed if the user does not operate within the preset time period. The above method can adjust the alarm according to the actual situation of the user. However, the above method can only adjust the alarm according to the actual operation of the user, and cannot adjust the alarm according to the user's sleep state in a targeted manner, and cannot achieve an effective sleep awakening effect. Summary of the invention

[0004] In view of the problem that the above-mentioned prior art cannot specifically adjust the alarm according to the user's sleep state, the present application provides an alarm reminder method, device, storage medium and electronic device.

[0005] In a first aspect, the present application provides an alarm reminder method, the method comprising:

[0006] Get the preset alarm time;

[0007] Determining the current time when the user's sleep state enters or exits deep sleep;

[0008] Determining whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time;

[0009] If so, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, and a reminder is given according to the target alarm time.

[0010] In the above implementation, after obtaining the preset alarm time, the user's sleep state can be determined as the current time of entering and ending deep sleep, and whether the current time is the target time can be determined according to the sleep cycle and the preset alarm time. When the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, thereby ensuring that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensuring that the user is accurately and effectively reminded according to the target alarm time.

[0011] According to an embodiment of the present application, optionally, in the above alarm reminder method, the method further includes:

[0012] If the current time is not the target time, the step of determining that the user's sleep state is the current time of entering or ending deep sleep is performed again.

[0013] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining that the user's sleep state is the current time of entering or ending deep sleep includes:

[0014] Obtaining the user's physiological data;

[0015] Determining whether the user's sleep state is entering or ending deep sleep according to the physiological data;

[0016] If yes, get the current time.

[0017] In the above implementation, the user's sleep state can be accurately judged through physiological data, so as to accurately obtain the current time when the user's sleep state enters or ends deep sleep, and then ensure accurate reminders according to the current time.

[0018] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of judging whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time includes:

[0019] Determine an estimated time when the user will next enter or end deep sleep according to the current time and the sleep cycle;

[0020] Determine whether the current time is the target time based on the magnitude relationship between the estimated time and the preset alarm time.

[0021] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the estimated time when the user will next enter or end deep sleep according to the current time and the sleep cycle includes:

[0022] The current time is added to the total duration of the sleep cycle to obtain the estimated time when the user enters or ends deep sleep next time.

[0023] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the target alarm time according to the target time, the sleep cycle and the preset alarm time includes:

[0024] Determine a time range for the next time the user is in a deep sleep state according to the target time and the sleep cycle;

[0025] If the preset alarm time is within the time range, determining the target alarm time according to the preset alarm time;

[0026] If the preset alarm time is not within the time range, the preset alarm time is determined as the target alarm time.

[0027] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the target alarm time according to the preset alarm time includes:

[0028] Get the adjustment duration;

[0029] The preset alarm time is adjusted according to the adjustment duration to obtain a target alarm time, and the target alarm time is not within the time range.

[0030] In a second aspect, the present application further provides an alarm reminder device, the device comprising:

[0031] A preset alarm time acquisition module is used to obtain the preset alarm time;

[0032] A current time determination module, used to determine the current time when the user's sleep state enters or ends deep sleep;

[0033] A target time determination module, configured to determine whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time;

[0034] The alarm reminder module is used to determine the target alarm time according to the target time, the sleep cycle and the preset alarm time, and to remind according to the target alarm time.

[0035] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the current time determination module is used to re-execute the step of determining the user's sleep state as the current time of entering or ending deep sleep if the current time is not the target time.

[0036] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the current time determination module includes:

[0037] A physiological data acquisition unit, used to acquire physiological data of a user;

[0038] A sleep state determination unit, configured to determine whether the user's sleep state is entering or ending deep sleep according to the physiological data;

[0039] The current time acquisition unit is used to obtain the current time if yes.

[0040] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the target time determination module includes:

[0041] an estimated time determination unit, configured to determine an estimated time for the user to enter or end deep sleep next time according to the current time and the sleep cycle;

[0042] The target time determination unit is used to determine whether the current time is the target time according to the relationship between the estimated time and the preset alarm time.

[0043] If the estimated time is greater than the preset alarm time, the current time is determined to be the target time.

[0044] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the estimated time determination unit includes:

[0045] The estimated time calculation subunit is used to add the current time to the total duration of the sleep cycle to obtain the estimated time when the user enters or ends deep sleep next time.

[0046] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the alarm reminder module includes:

[0047] a time range determining unit, configured to determine a time range for the user to be in a deep sleep state next time according to the target time and the sleep cycle;

[0048] a first target alarm time determining unit, configured to determine a target alarm time according to the preset alarm time if the preset alarm time is within the time range;

[0049] The second target alarm time determining unit is configured to determine the preset alarm time as the target alarm time if the preset alarm time is not within the time range.

[0050] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the first target alarm time determination unit includes:

[0051] The adjustment time acquisition subunit is used to acquire the adjustment time;

[0052] The target alarm time determination subunit is used to adjust the preset alarm time according to the adjustment duration to obtain a target alarm time, and the target alarm time is not within the time range.

[0053] In a third aspect, the present application provides a storage medium, which stores a computer program that can be executed by one or more processors and can be used to implement the alarm reminder method as described above.

[0054] In a fourth aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned alarm reminder method is executed.

[0055] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:

[0056] The present application provides an alarm reminder method, device, storage medium and electronic device, the method comprising: obtaining a preset alarm time; determining that the user's sleep state is the current time of entering or ending deep sleep; judging whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time; if so, determining the target alarm time according to the target time, the sleep cycle and the preset alarm time, and reminding according to the target alarm time. After obtaining the preset alarm time, it can be determined that the user's sleep state is the current time of entering and ending deep sleep, and it can be judged whether the current time is the target time according to the sleep cycle and the preset alarm time. And when the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, so as to ensure that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensure that the user is accurately and effectively reminded according to the target alarm time. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Hereinafter, the present application will be described in more detail based on embodiments and with reference to the accompanying drawings.

[0058] Figure 1 A flowchart of an alarm reminder method provided in Example 1 of the present application.

[0059] Figure 2 This is a structural schematic block diagram of an alarm reminder device provided in Example 4 of the present application.

[0060] Figure 3 A connection block diagram of an electronic device provided in Example 6 of the present application.

[0061] In the drawings, the same reference numerals are used for the same components and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0062] The following will describe the implementation methods of the present application in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present application applies technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present application and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present application.

[0063] Embodiment 1

[0064] The present invention provides an alarm reminder method, please refer to Figure 1 , the method comprises the following steps:

[0065] Step S110: Obtaining a preset alarm time.

[0066] The preset alarm time can be set manually by the user. For example, if the user needs to get up before 8:00 a.m. the next morning, the preset alarm time can be set to 8:00 a.m. the next morning. In addition, the preset alarm time can also be set automatically according to the schedule for the next day. For example, if the schedule input by the user records a meeting at 10:00 a.m. the next day, the preset alarm time can be set to remind three hours before 10:00 a.m. the next day, that is, 7:00 a.m. the next day is automatically set as the preset alarm time. The preset alarm time can be the latest wake-up time set by the user, that is, the latest reminder time.

[0067] Step S120: determining that the user's sleep state is the current time of entering or ending deep sleep.

[0068] According to an embodiment of the present application, the step S120 of determining the current time of the user's sleep state entering or ending deep sleep includes the following steps:

[0069] Step S121: Acquire the user's physiological data.

[0070] Step S122: determining whether the user's sleep state is entering or ending deep sleep according to the physiological data.

[0071] Step S123: If yes, obtain the current time.

[0072] A person's sleep state is regular, including light sleep and deep sleep. Light sleep and deep sleep are repeated alternately until waking up. The user's physiological data may include multi-dimensional sleep parameters, such as heart rate, breathing rate, snoring, body movement and other sleep parameters. Based on these physiological data, the user's sleep state can be identified, thereby identifying the user's sleep state. When it is determined based on the acquired physiological data that the user's sleep state enters deep sleep or ends deep sleep, the current time can be obtained.

[0073] Among them, when obtaining the user's physiological data, different methods can be used to obtain it. For example, it can be collected by using a smart wearable device, or it can be collected by using a smart bed with physiological data collection. The specific acquisition method is not limited here.

[0074] In the above implementation, the user's sleep state can be accurately judged through physiological data, so as to accurately obtain the current time when the user's sleep state enters or ends deep sleep, and then ensure accurate reminders according to the current time.

[0075] Step S130: determining whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time.

[0076] The sleep cycle corresponding to the user can be a default cycle or a sleep cycle obtained by detection. For example, the total duration of a person's sleep cycle is generally 100 minutes, including a 25-minute falling asleep period, a 25-minute light sleep period, a 25-minute deep sleep period, and a 25-minute rapid eye movement period. Therefore, the above 100-minute sleep cycle can be directly used as the sleep cycle corresponding to the user. For example, before performing this step, the physiological data of the user during sleep can be obtained, and then the user's sleep state can be determined by the physiological data. For example, physiological data can be obtained when the user falls asleep, and it can be determined according to the physiological data that the user enters the sleep state of the falling asleep period in the first period of time after the user falls asleep, and then enters the sleep state of the light sleep period in the second period of time, enters the sleep state of the deep sleep period in the third period of time, and enters the sleep state of the rapid eye movement period in the fourth period of time. Then the first period of time is the falling asleep period, the second period of time is the light sleep period, the third period of time is the deep sleep period and the fourth period of time is the REM period as the sleep cycle of the user, and according to the sleep cycle obtained by the above detection and the preset alarm time, it is determined whether the current time obtained is the target time.

[0077] The current time is the time when the user's sleep state enters or ends deep sleep. According to the sleep cycle corresponding to the user and the preset alarm time, it can be determined whether the current time is the target time. For example, the sleep cycle is 100 minutes, the preset alarm time is 7:00 AM, and the current time is 4:00 AM. If the current time is the time when the user enters deep sleep, it can be determined that the user can sleep for two more sleep cycles after the current time before entering the last sleep cycle where the preset alarm time is located, so it can be determined that the current time is not the target time. If the current time is the time when the user ends deep sleep, it can be determined that the user can sleep for two more sleep cycles after the current time before entering the last sleep cycle where the preset alarm time is located, so it can be determined that the current time is not the target time. For another example, the sleep cycle is 100 minutes, the preset alarm time is 7:00 AM, and the current time is 5:00 AM. If the current time is the time when the user enters deep sleep, it can be determined that the user has entered the penultimate sleep cycle, that is, after the user completes the sleep cycle at this time, he enters the sleep cycle where the preset alarm time is located. For example, the next time the user enters deep sleep is 6:40 AM, and the duration of deep sleep in the sleep cycle corresponding to the user is 25 minutes. The time after the user enters deep sleep next time is 7:05 AM. Therefore, the current time 5:00 AM can be determined as the target time.

[0078] Step S140: If yes, determine the target alarm time according to the target time, the sleep cycle and the preset alarm time, and give a reminder according to the target alarm time.

[0079] After confirming the target time, the target alarm time can be determined based on the target time, sleep cycle and preset alarm time, so as to ensure that when reminding the user, it can be based on the preset alarm time set by the user and the user's sleep status, ensuring timely and effective reminder effect for the user.

[0080] It can be understood that in the above alarm reminder method, if it is determined that the current time is not the target time, the step of determining that the user's sleep state is the current time of entering or ending deep sleep can be re-executed.

[0081] In summary, the present application provides an alarm reminder method, including: obtaining a preset alarm time; determining that the user's sleep state is the current time of entering or ending deep sleep; judging whether the current time is a target time according to the sleep cycle corresponding to the user and the preset alarm time; if so, determining the target alarm time according to the target time, the sleep cycle and the preset alarm time, and reminding according to the target alarm time. After obtaining the preset alarm time, it can be determined that the user's sleep state is the current time of entering and ending deep sleep, and it can be judged whether the current time is the target time according to the sleep cycle and the preset alarm time. And when the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, so as to ensure that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensure that the user is accurately and effectively reminded according to the target alarm time.

[0082] Embodiment 2

[0083] Based on the first embodiment, this embodiment illustrates the method in the first embodiment through a specific implementation case.

[0084] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step S130 of judging whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time includes the following steps:

[0085] Step S131: determining the estimated time when the user will enter or end deep sleep next time according to the current time and the sleep cycle.

[0086] Step S132: determining whether the current time is the target time according to the relationship between the estimated time and the preset alarm time.

[0087] For example, if the estimated time for the user to end deep sleep next time is 6:00 AM according to the current time and the sleep cycle, and the preset alarm time is 7:00 AM, then the estimated time is greater than the preset alarm time, that is, after the current time and before the preset alarm time, the user can still sleep for another sleep cycle, so the current time is not the target time. If the estimated time for the user to end deep sleep next time is 7:10 AM according to the current time and the sleep cycle, and the preset alarm time is 7:00 AM, then the estimated time is greater than the preset alarm time, that is, after the current time and before the preset alarm time, the user cannot sleep for a sleep cycle, so the current time is the target time.

[0088] The sleep cycle and the current time can be used to control the user's sleep as a whole, so as to determine the target time when the user is in the second-to-last sleep cycle, and then ensure that accurate and effective reminder operations can be performed according to the target time.

[0089] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the estimated time when the user will next enter or end deep sleep according to the current time and the sleep cycle includes:

[0090] The current time is added to the total duration of the sleep cycle to obtain the estimated time when the user enters or ends deep sleep next time.

[0091] For example, if the total duration of a sleep cycle is 100 minutes, including 25 minutes of falling asleep, 25 minutes of light sleep, 25 minutes of deep sleep, and 25 minutes of rapid eye movement. If the current time is 6:00 AM, and the user enters deep sleep at this time, then the current time 6:00 AM is added to the total duration of the sleep cycle of 100 minutes to get the estimated time for the user to enter deep sleep next time, which is 7:40 AM. If the current time is 6:00 AM, and the user ends deep sleep at this time, then the current time 6:00 AM is added to the total duration of the sleep cycle of 100 minutes to get the estimated time for the user to end deep sleep next time, which is 7:40 AM.

[0092] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the target alarm time according to the target time, the sleep cycle and the preset alarm time includes:

[0093] Determine a time range for the next time the user is in a deep sleep state according to the target time and the sleep cycle;

[0094] If the preset alarm time is within the time range, determining the target alarm time according to the preset alarm time;

[0095] If the preset alarm time is not within the time range, the preset alarm time is determined as the target alarm time.

[0096] For example, the target time for the user to enter deep sleep is 6:00 AM, and the total duration of the sleep cycle is 100 minutes, including 25 minutes of falling asleep, 25 minutes of light sleep, 25 minutes of deep sleep, and 25 minutes of rapid eye movement. It can be determined that the time range for the user to be in deep sleep next time is 7:40 AM-8:05 AM. If the preset alarm time is 8:00 AM, the preset alarm time is within this time range. It is necessary to determine the target alarm time according to the target time and the sleep cycle to ensure that the user is not awakened when the user is in deep sleep, thereby ensuring a better awakening effect; if the preset alarm time is 8:10 AM, the preset alarm time is not within this time range, and there is no need to determine a new target alarm time according to the target time and the sleep cycle. The preset alarm time can be directly used as the target alarm time, thereby ensuring that the user is awakened when the user is in light sleep, thereby ensuring a better awakening effect.

[0097] According to an embodiment of the present application, optionally, in the above alarm reminder method, the step of determining the target alarm time according to the preset alarm time includes:

[0098] Get the adjustment duration;

[0099] The preset alarm time is adjusted according to the adjustment duration to obtain a target alarm time, and the target alarm time is not within the time range.

[0100] For example, the preset adjustment duration is 5 minutes, the time range is 7:40AM-8:05AM, and the preset alarm time is 8:00AM. The steps for determining the target alarm time according to the preset alarm time are as follows. First, the adjustment duration is obtained as 5 minutes, and then the preset alarm time is adjusted. The preset alarm time is first adjusted to 7:55AM. Since 7:55AM is still within the range of 7:40AM-8:05AM, 7:55AM is adjusted to 7:50AM. Then, it is determined whether 7:50AM is within the time range. If it is not within the time range, the adjustment is stopped and the time is used as the target alarm time. If the time is within the time range, the adjustment is continued. It can be understood that if the preset alarm time is within the time range, the target alarm time can also be determined by other methods. Please refer to the following embodiments for details.

[0101] Embodiment 3

[0102] Based on the first embodiment, this embodiment illustrates the method in the first embodiment through a specific implementation case.

[0103] First, obtain the preset alarm time T. Directly set the total duration of the user's sleep cycle to 100 minutes, and the sleep cycle sequentially includes the falling asleep period (25 minutes), the light sleep period (25 minutes), the deep sleep period (25 minutes), and the rapid eye movement period (25 minutes). Determine the time point when the user just enters the deep sleep based on the physiological data comprehensively monitored by heart rate monitoring, breathing monitoring, body movement monitoring, and snoring monitoring, and record it as time.

[0104] Judge whether time + 125 is less than the preset alarm time T. The 125 in "time + 125" is the total duration of the 25 - minute deep sleep period, the 25 - minute rapid eye movement period, the 25 - minute falling asleep period, the 25 - minute light sleep period, and the 25 - minute deep sleep period. If time + 125 is less than the preset alarm time T, it means that the current time is still early and the user can sleep at least one more cycle, so continue to detect the user's physiological data. If time + 125 is greater than or equal to the preset alarm time T, it means that the user is currently in the penultimate sleep cycle. Therefore, it is then necessary to further judge whether the following condition holds: "time + 100 < T < time + 125", where time + 100 is the time when the user is expected to enter the deep sleep, and time + 125 is the time when the user is expected to end the deep sleep. If the condition time + 100 < T < time + 125 does not hold, it means that the preset alarm time is not in the last deep sleep period of this sleep, and the reminder can be made according to the preset alarm time. If the condition time + 100 < T < time + 125 holds, it means that the preset alarm time is exactly in the last deep sleep period of this sleep, and then it is necessary to adjust the preset alarm time. Reset the alarm time to time + 90. Since time + 100 is the time when the user enters the deep sleep and the preset alarm time is also within the deep sleep period, the time earlier than time + 100 can be set as the new alarm time. The above process ensures that the alarm wakes up the user in a non - deep sleep period, thus enabling waking up at the optimal sleep time and improving the reminder effect.

[0105] Specifically, the preset alarm time is 7:00. If the user is detected to enter the deep sleep period at time = 4:00, since 4:00 + 125 = 6:05 is earlier than 7:00, the user can sleep for at least one cycle. According to the user's corresponding sleep cycle, the deep sleep zone for the user to enter the next sleep cycle can be obtained as 5:40-6:05. If the user is detected to enter the deep sleep period at time = 5:00, since 5:00 + 125 = 7:05 is later than 7:00, it means that the user is in the penultimate sleep cycle. According to the user's corresponding sleep cycle, the deep sleep zone for the user to enter the next sleep cycle can be obtained as 6:40-7:05. It can be determined that the preset alarm time is just in the deep sleep zone, so the alarm needs to be set in advance to wake up in the light sleep zone. The alarm can be set before 6:40, and 5:00 + 90 = 6:30 is set as the target alarm time. If it is detected that the user enters the deep sleep period at time = 6:00, since 5:00 + 125 = 7:05 is later than 7:00, it means that the user is in the second-to-last sleep cycle. According to the user's corresponding sleep cycle, it can be obtained that the deep sleep zone of the user's next sleep cycle is 7:40-8:05, which means that the alarm is not in the deep sleep zone. The alarm time initially set can be used to directly remind the user.

[0106] Embodiment 4

[0107] Please see Figure 2 The present application provides an alarm reminder device 200, which includes:

[0108] The preset alarm time acquisition module 210 is used to acquire the preset alarm time;

[0109] A current time determination module 220 is used to determine the current time when the user's sleep state is entering or ending deep sleep;

[0110] A target time determination module 230, configured to determine whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time;

[0111] The alarm reminder module 240 is used to determine the target alarm time according to the target time, the sleep cycle and the preset alarm time, and remind according to the target alarm time.

[0112] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the current time determination module is used to redetermine the user's sleep state as the current time of entering or ending deep sleep if the current time is not the target time.

[0113] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the current time determination module includes:

[0114] A physiological data acquisition unit, used to acquire physiological data of a user;

[0115] A sleep state determination unit, configured to determine whether the user's sleep state has entered or ended deep sleep according to the physiological data;

[0116] The current time acquisition unit is used to obtain the current time if yes.

[0117] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the target time determination module includes:

[0118] an estimated time determination unit, configured to determine an estimated time for the user to enter or end deep sleep next time according to the current time and the sleep cycle;

[0119] The target time determination unit is used to determine whether the current time is the target time according to the relationship between the estimated time and the preset alarm time.

[0120] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the estimated time determination unit includes:

[0121] The estimated time calculation subunit is used to add the current time to the total duration of the sleep cycle to obtain the estimated time when the user enters or ends deep sleep next time.

[0122] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the alarm reminder module includes:

[0123] a time range determining unit, configured to determine a time range for the user to be in a deep sleep state next time according to the target time and the sleep cycle;

[0124] a first target alarm time determining unit, configured to determine a target alarm time according to the preset alarm time if the preset alarm time is within the time range;

[0125] The second target alarm time determining unit is configured to determine the preset alarm time as the target alarm time if the preset alarm time is not within the time range.

[0126] According to an embodiment of the present application, optionally, in the above-mentioned alarm reminder device, the first target alarm time determination unit includes:

[0127] The adjustment time acquisition subunit is used to acquire the adjustment time;

[0128] The target alarm time determination subunit is used to adjust the preset alarm time according to the adjustment duration to obtain a target alarm time, and the target alarm time is not within the time range.

[0129] In summary, the present application provides an alarm reminder device, including: a preset alarm time acquisition module 210, used to obtain the preset alarm time; a current time determination module 220, used to determine the current time when the user's sleep state enters or ends deep sleep; a target time judgment module 230, used to determine whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time; an alarm reminder module 240, used to determine the target alarm time according to the target time, the sleep cycle and the preset alarm time, and remind according to the target alarm time. After obtaining the preset alarm time, it can be determined that the user's sleep state is the current time when entering and ending deep sleep, and it can be determined whether the current time is the target time according to the sleep cycle and the preset alarm time. And when the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, so as to ensure that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensure that the user is accurately and effectively reminded according to the target alarm time.

[0130] Embodiment 5

[0131] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and when the computer program is executed by a processor, the method steps in the above embodiment can be implemented. The specific embodiment process can be referred to in embodiment 1, and this embodiment will not be repeated here.

[0132] Embodiment 6

[0133] The present application embodiment provides an electronic device, which may be a mobile phone, a computer or a tablet computer, etc., including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the alarm reminder method described in the first embodiment is implemented. It can be understood that, if Figure 3 As shown, the electronic device 300 may further include: a processor 301 , a memory 302 , a multimedia component 303 , an input / output (I / O) interface 304 , and a communication component 305 .

[0134] The processor 301 is used to execute all or part of the steps in the alarm reminder method in Embodiment 1. The memory 302 is used to store various types of data, which may include instructions of any application or method in the electronic device, and data related to the application.

[0135] The processor 301 can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the alarm reminder method in the above-mentioned embodiment 1.

[0136] The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.

[0137] The multimedia component 303 may include a screen and an audio component, the screen may be a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, and the microphone is used to receive external audio signals. The received audio signal may be further stored in a memory or sent via a communication component. The audio component also includes at least one speaker for outputting audio signals.

[0138] The I / O interface 304 provides an interface between the processor 301 and other interface modules, which may be a keyboard, a mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.

[0139] The communication component 305 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 305 can include: Wi-Fi module, Bluetooth module, NFC module.

[0140] In summary, the present application provides an alarm reminder method, device, storage medium and electronic device, the method comprising: obtaining a preset alarm time; determining that the user's sleep state is the current time of entering or ending deep sleep; judging whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time; if so, determining the target alarm time according to the target time, the sleep cycle and the preset alarm time, and reminding according to the target alarm time. After obtaining the preset alarm time, it can be determined that the user's sleep state is the current time of entering and ending deep sleep, and it can be judged whether the current time is the target time according to the sleep cycle and the preset alarm time. And when the current time is the target time, the target alarm time is determined according to the target time, the sleep cycle and the preset alarm time, so as to ensure that the alarm time can be adjusted according to the user's sleep cycle and the user's sleep state, and then ensure that the user is accurately and effectively reminded according to the target alarm time.

[0141] In the several embodiments provided in the present application, it should be understood that the disclosed system and method can also be implemented in other ways. The above described system and method embodiments are merely illustrative.

[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0143] Although the implementation methods disclosed in this application are as above, the contents described are only implementation methods adopted for facilitating the understanding of this application, and are not intended to limit this application. Any technician in the technical field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.

Claims

1. An alarm reminder method, characterized in that: The method comprises: Get the preset alarm time; Determining the current time when the user's sleep state is to end deep sleep includes: obtaining physiological data of the user; judging whether the user's sleep state is to end deep sleep according to the physiological data; and if so, obtaining the current time; Determining whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time, including: adding the current time to the total duration of the sleep cycle to obtain the estimated time when the user ends deep sleep next time; determining whether the current time is the target time according to the relationship between the estimated time and the preset alarm time; if the estimated time is greater than the preset alarm time, determining the current time as the target time; If yes, determining the target alarm time according to the target time, the sleep cycle and the preset alarm time, and giving a reminder according to the target alarm time; Among them, the step of determining the target alarm time according to the target time, the sleep cycle and the preset alarm time includes: determining the time range for the next time the user is in a deep sleep state according to the target time and the sleep cycle; if the preset alarm time is within the time range, adjusting and determining the target alarm time according to the preset alarm time; if the preset alarm time is not within the time range, determining the preset alarm time as the target alarm time.

2. The method according to claim 1, characterized in that The method further comprises: If the current time is not the target time, the step of determining that the user's sleep state is the current time for ending deep sleep is performed again.

3. The method according to claim 1, characterized in that The step of adjusting and determining the target alarm time according to the preset alarm time comprises: Get the adjustment duration; The preset alarm time is adjusted according to the adjustment duration to obtain a target alarm time, so that the target alarm time is not within the time range.

4. An alarm reminder device, characterized in that: The device comprises: A preset alarm time acquisition module is used to obtain the preset alarm time; A current time determination module, used to determine the current time when the user's sleep state ends deep sleep; The current time determination module includes: a physiological data acquisition unit, used to acquire the physiological data of the user; a sleep state judgment unit, used to determine whether the sleep state of the user is the end of deep sleep according to the physiological data; and a current time acquisition unit, used to acquire the current time if so; A target time determination module, configured to determine whether the current time is the target time according to the sleep cycle corresponding to the user and the preset alarm time; The target time determination module includes: an estimated time determination unit, used to determine the estimated time when the user will end deep sleep next time according to the current time and the sleep cycle; a target time determination unit, used to determine whether the current time is the target time according to the relationship between the estimated time and the preset alarm time; if the estimated time is greater than the preset alarm time, the current time is determined to be the target time; The estimated time determination unit includes: an estimated time calculation subunit, configured to add the current time to the total duration of the sleep cycle to obtain the estimated time when the user ends deep sleep next time; an alarm reminder module, for determining a target alarm time according to the target time, the sleep cycle and the preset alarm time, and giving a reminder according to the target alarm time; The alarm reminder module includes: a time range determination unit, which is used to determine the time range for the next time the user is in a deep sleep state according to the target time and the sleep cycle; a first target alarm time determination unit, which is used to adjust and determine the target alarm time according to the preset alarm time if the preset alarm time is within the time range; and a second target alarm time determination unit, which is used to determine the preset alarm time as the target alarm time if the preset alarm time is not within the time range.

5. A storage medium, characterized in that: The computer program stored in the storage medium is used to implement the method according to any one of claims 1 to 3 when executed by one or more processors.

6. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 3 is executed.

Citation Information

Patent Citations

  • System and method of mobile phone clock for automatically waking up user based on sleep depth period

    CN103167126A

  • Alarm clock control method and terminal device

    CN105929965A

  • Sleep awakening method and device, computer equipment and computer readable storage medium

    CN111558120A

  • System for determining alarm time in accordance with sleep activities of user and method thereof

    TW201925933A