[go: up one dir, main page]

WO2019205145A1 - Method and apparatus for setting ringing time of alarm clock, and electronic device - Google Patents

Method and apparatus for setting ringing time of alarm clock, and electronic device Download PDF

Info

Publication number
WO2019205145A1
WO2019205145A1 PCT/CN2018/085105 CN2018085105W WO2019205145A1 WO 2019205145 A1 WO2019205145 A1 WO 2019205145A1 CN 2018085105 W CN2018085105 W CN 2018085105W WO 2019205145 A1 WO2019205145 A1 WO 2019205145A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
sleep
ringing
user
recommended
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/085105
Other languages
French (fr)
Chinese (zh)
Inventor
郭光明
陆晨曦
黄曦
董辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2018/085105 priority Critical patent/WO2019205145A1/en
Priority to CN201880073272.0A priority patent/CN111357267B/en
Publication of WO2019205145A1 publication Critical patent/WO2019205145A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the embodiments of the present invention relate to the field of electronic technologies, and in particular, to a method, an apparatus, and an electronic device for setting a ringing moment of an alarm clock.
  • electronic devices such as mobile phones, smart bracelets, and terminals with sleep detection functions usually have an alarm clock function, and when the alarm function is activated, the user in the sleep can be awakened by ringing.
  • the user When the alarm function is used, the user usually sets a ringing time in advance, and the alarm sounds when the electronic device detects that the current time is a preset ringing time.
  • the electronic device can remind the user by sound or vibration. It should be noted that when ringing, the user may be in a state of being asleep, and the sound or vibration of the ring may stimulate the sleeping user, causing discomfort to the user. user experience.
  • the embodiment of the invention provides a method, a device and an electronic device for setting a ringing moment of an alarm clock, which are used for reducing the stimulation to the user when the alarm clock rings.
  • an embodiment of the present invention provides a method for setting a ringing moment of an alarm clock, which is applied to an electronic device having an alarm clock function, and the method includes the following steps:
  • any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep termination time, and each sleep included in any of the historical sleeps Time information corresponding to the stage, the sleep stage includes: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage;
  • the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.
  • the embodiment of the invention provides a recommended ringing time, and sets the recommended ringing time to a switching time from a fast eye movement stage to a light sleep stage, which matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing.
  • the user's stimulation of the bell makes it easier for the user to get up.
  • the method may further include:
  • the confidence value may be determined by acquiring the feature value of the specified user feature corresponding to the sleep phase of the starting moment
  • the specified user feature may be pressure level information corresponding to the user's pressure, or may be information that is rhythmic when sleeping.
  • the confidence level of the recommended time is determined based on the user's stress level, and/or the rhythm of falling asleep. For example, when the pressure is high, the body function is prone to abnormal phenomena. The higher the pressure, the lower the confidence.
  • the pressure level P can be set to 1 to 100. When P is 1, the user has no pressure, and the confidence can be Is 1/P.
  • the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock.
  • the method may further include:
  • the ringing mode is set based on the confidence level, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.
  • the higher the confidence level corresponding to the ringing time the more likely it is for the user to wake up naturally. At this time, the sound is louder and lasts longer, which has little effect on the user's sleep. It can be understood that the lower the confidence, the smaller the alarm sound and the shorter the continuous ringing time, which is beneficial to reduce the disturbance to the user and improve the quality of sleep.
  • the method may further include:
  • each sleep stage in the wake-up period set by the user is displayed in time series to enable the user to The ringing moment of the alarm is determined according to each sleep stage displayed.
  • the method may further include:
  • the recommended ringing time is estimated according to each sleep stage in each sleep cycle before the wake-up period of the night;
  • the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm;
  • the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm;
  • the priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.
  • an embodiment of the present invention provides a device for setting a ringing moment of an alarm clock, which is applied to an electronic device having an alarm clock function, and the device includes:
  • a first acquiring unit configured to acquire at least one historical sleep data of the user;
  • any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep stop time, and any one of the Determining time information corresponding to each sleep stage included in the historical sleep, the sleep stage including: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage;
  • a first processing unit configured to determine, according to the at least one historical sleep data acquired by the first acquiring unit, whether the sleep of the user is rhythmic; if the sleep of the user is rhythmic, according to the at least one
  • the historical sleep data determines a recommended ringing time, which is a switching time from a fast eye movement phase to a light sleep phase within the wakeup time period set by the user.
  • the apparatus may further include:
  • a second processing unit configured to determine a confidence level of the any recommended ringing moment
  • a display unit configured to display a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments
  • a second obtaining unit configured to acquire a selection operation of the user, where the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as a ringing time of the alarm clock.
  • the apparatus may further include:
  • the first setting unit is configured to set a ringing mode based on the confidence, and when any ringing time arrives, ring according to a ringing mode corresponding to the confidence of the any ringing moment.
  • the first processing unit may be further configured to: if the sleep of the user is rhythmic, and when no ringing time is recommended in the wakeup period set by the user, The sleep stages in the wake-up period set by the user are displayed in time series so that the user determines the ringing time of the alarm according to each displayed sleep stage.
  • the first processing unit is further configured to:
  • the recommended ringing time is estimated according to each sleep stage in each sleep cycle before the wake-up period of the night;
  • the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm;
  • the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm;
  • the priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.
  • an embodiment of the present invention provides an electronic device, where the electronic device includes the apparatus for setting a ringing moment of an alarm clock according to any of the foregoing second aspect or the second aspect.
  • the embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.
  • FIG. 1A is a schematic flowchart of a method for setting a ringing moment of an alarm clock according to an embodiment of the present invention.
  • FIG. 1B is a schematic diagram of an alarm clock ringing process when there is at least one recommended ringing time according to an embodiment of the present invention.
  • FIG. 2A is a schematic diagram of a user sleep stage according to an embodiment of the present invention.
  • FIG. 2B is a schematic diagram of another user sleep stage according to an embodiment of the present invention.
  • FIG. 2C is a schematic diagram of another user sleep stage according to an embodiment of the present invention.
  • FIG. 3A is a schematic diagram of a sleep stage corresponding to a wake-up period set by a user according to an embodiment of the present invention.
  • FIG. 3B is a schematic diagram of a sleep phase corresponding to another user-set wake-up period according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the embodiment of the invention provides a method, a device and an electronic device for setting a ringing moment of an alarm clock, which are beneficial for reducing the stimulation to the user when the alarm clock rings.
  • an electronic device with an alarm clock function sets a ringing moment
  • a fixed time is usually set as a ringing time.
  • This method does not consider the sleep phase when the user sleeps, and the set ringing time is probably not the optimal wake-up time ( The time point corresponding to the user's natural wake-up state is usually the transition time from the fast eye movement stage to the light sleep stage).
  • some wearable electronic devices although having the function of detecting user signs, cannot distinguish between sleepy periods: fast eye movement stage, light sleep stage, and deep sleep stage, while other electronic devices can determine different stages of sleep, However, the processing is not timely and there is a lag. Therefore, the prior art cannot achieve wake-up of the user at the optimal wake-up time.
  • a sleep process usually includes the following stages: rapid eye movement stage, light sleep stage, and deep sleep stage.
  • the human body experiences about 4 to 6 sleep cycles (about 90 to 110 minutes per cycle) during a night's sleep, connecting to each other and going back and forth. According to the characteristics of sleep, if the user is in a light sleep stage when ringing, the ringing is less irritating to the user, and the user is more likely to be woken up.
  • the embodiment of the present invention provides a method for setting a ringing time of an alarm clock by using the above characteristics of sleep.
  • the user can preset a wake-up time period (for example, 6:30 to 7:00), and wake up in a preset manner.
  • a wake-up time period for example, 6:30 to 7:00
  • the transition time of the user from the fast eye movement stage to the light sleep stage is set as the recommended ringing time, so that the alarm can wake up the user when the user is in a light sleep state, so the method provided by the present application is advantageous. It is easier to wake up the user and reduce the irritation of the user when the alarm rings.
  • the embodiment of the present invention adopts pre-acquisition of historical sleep data (including: a sleep start time corresponding to historical sleep, a sleep termination time, and a corresponding sleep stage).
  • the time information such as the duration of each sleep stage or the start and end time, etc., predicts the wake-up time, specifically, based on the historical sleep data, first determines whether the user's sleep is rhythmic, if the user's sleep has a rhythm For the sex, the recommended ringing time is determined according to the historical sleep data, and the recommended ringing time is the switching time from the fast eye movement stage to the light sleep stage in the wake-up time period set by the user.
  • FIG. 1 is a schematic flowchart of a method for setting a ringing moment of an alarm clock according to an embodiment of the present invention. As shown in FIG. 1A, the setting method of the ringing moment of the alarm may include the following steps.
  • the historical sleep data includes: a sleep start time corresponding to any of the historical sleeps, a sleep stop time, and time information corresponding to each sleep stage included in any of the historical sleeps, wherein one historical sleep data corresponds to One night of sleep information, the sleep stage includes; a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage.
  • one historical sleep data is corresponding, wherein the sleep start time of the historical sleep corresponding to FIG. 2A is 23:24, and the sleep termination time is 07:33; FIG. 2B corresponds to The sleep start time of historical sleep is 23:06, and the sleep termination time is 07:27; the sleep start time of historical sleep corresponding to Fig. 2C is 22:20, and the sleep termination time is 07:27.
  • the sleep data may be acquired by the electronic device itself, or may be acquired by other terminals (such as a sleep bracelet, a sleep band, a sleep cover, etc.) that collect sleep data, and do not do this. limit.
  • the wake-up period set by the user is the time interval set by the user and desired to be woken up. As shown in FIG. 3A, the corresponding wake-up period is 6:00-6:30. As shown in FIG. 3B, the corresponding wake-up period is from 4:00 to 4:30.
  • step 104 is performed; if the user's sleep is not rhythmic, step 111 is performed.
  • the user can set the rhythm of the sleep when the condition is met, and can be determined according to the sleep start time, the sleep termination time, and the transition time of each sleep stage corresponding to each historical sleep data, for example, according to the selected A method in which the difference value of the time is accumulated less than a predetermined threshold to determine whether the sleep is rhythmic. For example, it may be set to simultaneously satisfy that the difference value of the sleep start time is within 10 minutes, and the difference value of the end time of sleep is also rhythmic in sleep within 10 minutes. It can be understood that the most perfect situation is that the acquired plurality of historical sleeps respectively correspond to the sleep start time at the same time, and the sleep termination time is also at the same time.
  • the arithmetic mean value corresponding to the switching time point can be used as the recommended ringing time by the maximum likelihood estimation.
  • the wake-up period set by the user is the time interval that the user desires, as shown in FIG. 3A, and the corresponding user-set wake-up period.
  • the confidence of the recommended ringing time may be determined. And the ringing mode is set based on the confidence, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.
  • the confidence can be set according to the pressure value.
  • the pressure level P is (1 to 100)
  • 1 is the normal value
  • the confidence can be set. Is 1/p.
  • the user-set wake-up period includes two recommended ringing times, which are 6:10 and 6:28, respectively, wherein the confidence of 6:10 is 80%, and the confidence of 6:28 It is 95%.
  • step 109 is performed.
  • the sleep stages corresponding to the time period are sequentially displayed, including: a shallow sleep stage, a deep sleep stage, and a fast eye movement stage. .
  • the user when selecting, may select, as the alarm ringing time, in order of priority from high to low, wherein the priority from high to low is: the starting time of the shallow sleep phase, The beginning of the rapid eye movement phase and the beginning of the deep sleep phase.
  • the estimated recommended ringing time is used as a ringing moment of the alarm.
  • the time with the highest priority included in the wake-up period set by the user is used as the ringing time of the alarm; the priority of the time in the wake-up period set by the user is in descending order: shallow sleep stage The moment, the moment of the rapid eye movement phase, and the moment of the deep sleep phase. It may be the start time of each sleep stage or the other time of each sleep stage.
  • the alarm can be optimized according to whether the user is dozing, that is, whether the ringing needs to be continued. As shown in Figure 1B.
  • the alarm continues for a fixed time interval until the user wakes up and the alarm ends.
  • a device for setting a ringing time of an alarm clock which is applied to an electronic device having an alarm clock function, and the device includes: a first acquiring unit, configured to acquire at least one historical sleep data of the user;
  • the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep stop time, and time information corresponding to each sleep stage included in any of the historical sleeps, the sleep stage
  • the first processing unit is configured to determine whether the sleep of the user is rhythmic according to the at least one historical sleep data acquired by the first acquiring unit; If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.
  • the apparatus may further include: a second processing unit, configured to determine a confidence level of the any recommended ringing moment; a display unit, configured to display all of the recommended ringing moments a confidence level corresponding to each of the recommended ringing times; a second obtaining unit, configured to acquire a selection operation of the user, where the selecting operation is used to select at least one recommendation from all the recommended ringing times displayed
  • the ringing moment is the ringing moment of the alarm clock.
  • the apparatus may further include: a first setting unit, configured to set a ringing mode based on the confidence, and when any ringing moment arrives, according to the confidence of the any ringing moment The corresponding ring pattern rings.
  • the first processing unit may be further configured to: if the user's sleep is rhythmic, and there is no recommended ringing time in the user-set wake-up period, Each sleep stage within the wake-up period set by the user is displayed to enable the user to determine the ringing time of the alarm according to each displayed sleep stage.
  • the first processing unit is further configured to: if the sleep of the user is not rhythmic, estimate a recommended ringing time according to each sleep stage in each sleep cycle before the wake-up period of the current night Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user; if the estimated recommended ringing time is included in the wakeup time period set by the user, the estimation is The ringing time is recommended as the ringing time of the alarm; if the estimated recommended ringing time is not included in the wake-up time period set by the user, the user includes the highest priority included in the wake-up time period.
  • the moment is the ringing moment of the alarm; the priority of the moment in the wake-up period set by the user is in descending order: the moment of the shallow sleep phase, the moment of the rapid eye movement phase, and the deep sleep phase. time.
  • the embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 400 shown in FIG. 4 includes a processor 410, a memory 420, an audio circuit 430, a bus 440, and an input device 450.
  • the processor 410, the memory 420, the audio circuit 430, and the input device 450 may be connected by a bus 440.
  • the memory 420 can be used to store a set of program code
  • the processor 410 can call program code stored in the memory 420
  • the audio circuit 430 can ring under the control of the processor 450.
  • the input device 450 can be a touch screen.
  • the processor obtains 410 the at least one historical sleep data of the user; any historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep termination time, and any one of the historical sleeps included Time information corresponding to each sleep stage, the sleep stage includes: a fast eye movement stage, a shallow sleep stage, and a deep sleep stage; the processor 410 determines, according to the at least one historical sleep data, whether the user's sleep is rhythmic; If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.
  • the processor 410 is further configured to determine a confidence level of the any recommended ringing time; the touch screen may display a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments; the input device 450
  • the selecting operation of the user may be obtained, and the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock.
  • the ringing mode may be set based on the confidence, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.
  • the touch screen can also be used to display the user-set wake-up time period according to the time series if the sleep of the user is rhythmic and the bell ringing time is not recommended during the wake-up period set by the user.
  • Each sleep stage is such that the user determines the ringing moment of the alarm according to each sleep stage displayed.
  • the processor 410 is further configured to: if the user's sleep is not rhythmic, estimate a recommended ringing time according to each sleep stage condition in the current sleep process; and determine whether the estimated recommended ringing time is included in the user Within the set wake-up time period; if the estimated recommended ringing time is included in the wake-up time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm; If the ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; the user sets The order of priority in the wake-up period from high to low is: the moment of the shallow sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.
  • the embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electric Clocks (AREA)

Abstract

Disclosed in the embodiments of the present invention are a method and an apparatus for setting a ringing time of an alarm clock, and an electronic device. The method comprises: acquiring at least one piece of historical sleep data of a user; the historical sleep data comprising: sleep start time, sleep end time, and time information corresponding to sleep stages, the sleep stages comprising; a rapid eyeball movement stage, a light sleep stage, and a deep sleep stage; determining whether the user's sleep is rhythmic; if the user's sleep is rhythmic, determining a recommended ringing time according to the at least one piece of historical sleep data, the recommended ringing time being a time of switching from the rapid eyeball movement stage to the light sleep stage within a wake-up period of time set by the user. In the embodiments of the present invention, a recommended ringing time is set as a time of switching from the rapid eyeball movement stage to the light sleep stage, to match the sleep rhythm of a user, facilitating reduction of the stimulation of the ringing on the user and making it more easily for the user to get up.

Description

一种闹钟的响铃时刻的设置方法、装置和电子设备Method, device and electronic device for setting ringing moment of alarm clock 技术领域Technical field

本发明实施例涉及电子技术领域,尤其涉及一种闹钟的响铃时刻的设置方法、装置和电子设备。The embodiments of the present invention relate to the field of electronic technologies, and in particular, to a method, an apparatus, and an electronic device for setting a ringing moment of an alarm clock.

背景技术Background technique

随着电子技术的发展,手机、智能手环、具有睡眠检测功能的终端等电子设备通常具有闹钟功能,闹钟功能启动后可以通过响铃唤醒睡梦中的用户。With the development of electronic technology, electronic devices such as mobile phones, smart bracelets, and terminals with sleep detection functions usually have an alarm clock function, and when the alarm function is activated, the user in the sleep can be awakened by ringing.

在使用闹钟功能时,用户通常预先设定一个响铃时刻,电子设备在检测到当前时刻为预先设定的响铃时刻时,闹铃响起。响铃时电子设备可以通过声音或者震动等方式提醒用户,需要说明的是,响铃时,用户可能正处于熟睡状态,响铃的声音或者震动可能会刺激熟睡中用户,给用户造成不适,影响用户体验。When the alarm function is used, the user usually sets a ringing time in advance, and the alarm sounds when the electronic device detects that the current time is a preset ringing time. When ringing, the electronic device can remind the user by sound or vibration. It should be noted that when ringing, the user may be in a state of being asleep, and the sound or vibration of the ring may stimulate the sleeping user, causing discomfort to the user. user experience.

发明内容Summary of the invention

本发明实施例提供了一种闹钟的响铃时刻的设置方法、装置和电子设备,用于减少闹钟响铃时对用户的刺激。The embodiment of the invention provides a method, a device and an electronic device for setting a ringing moment of an alarm clock, which are used for reducing the stimulation to the user when the alarm clock rings.

第一方面,本发明实施例提供了一种闹钟的响铃时刻的设置方法,应用于具有闹钟功能的电子设备,所述方法包括如下步骤:In a first aspect, an embodiment of the present invention provides a method for setting a ringing moment of an alarm clock, which is applied to an electronic device having an alarm clock function, and the method includes the following steps:

获取用户的至少一个历史睡眠数据;任一所述历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;Obtaining at least one historical sleep data of the user; any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep termination time, and each sleep included in any of the historical sleeps Time information corresponding to the stage, the sleep stage includes: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage;

根据所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;Determining, according to the at least one historical sleep data, whether the sleep of the user is rhythmic;

若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.

本发明实施例提供了推荐响铃时刻,并将推荐响铃时刻设置为由快速眼球运动阶段到浅睡眠阶段的转换时刻,与用户的睡眠节律相匹配,有利于提高用户的睡眠质量、减少响铃对用户的刺激,使用户更容易起床。The embodiment of the invention provides a recommended ringing time, and sets the recommended ringing time to a switching time from a fast eye movement stage to a light sleep stage, which matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing. The user's stimulation of the bell makes it easier for the user to get up.

在本发明一些可能的实施方式中,所述方法还可以包括:In some possible implementation manners of the present invention, the method may further include:

确定所述任一推荐响铃时刻的置信度;在本发明一些可能的实施方式中,可以通过获取任一推荐响铃时刻作为起始时刻的睡眠阶段对应的指定用户特征的特征值确定置信度,指定用户特征可以是与用户压力对应的压力水平信息、也可以是入睡是否具有节律性的信息等。根据用户的压力水平、和/或入睡的节律性确定推荐时刻的置信度。举例来说,压力大时,身体机能容易出现失常的现象,压力越大置信度越低,比如,可以设置压力水平P的取值为1~100,P为1时用户没有压力,置信度可以为1/P。Determining the confidence of any of the recommended ringing moments; in some possible implementation manners of the present invention, the confidence value may be determined by acquiring the feature value of the specified user feature corresponding to the sleep phase of the starting moment The specified user feature may be pressure level information corresponding to the user's pressure, or may be information that is rhythmic when sleeping. The confidence level of the recommended time is determined based on the user's stress level, and/or the rhythm of falling asleep. For example, when the pressure is high, the body function is prone to abnormal phenomena. The higher the pressure, the lower the confidence. For example, the pressure level P can be set to 1 to 100. When P is 1, the user has no pressure, and the confidence can be Is 1/P.

显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;Displaying a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments;

获取所述用户的选取操作,所述选取操作用于从显示的所有所述推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。Obtaining a selection operation of the user, where the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock.

在本发明一些可能的实施方式中,所述方法还可以包括:In some possible implementation manners of the present invention, the method may further include:

基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。The ringing mode is set based on the confidence level, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.

举例来说,可以设置置信度越高,闹铃的声音越大,闹铃的持续时间越长。响铃时刻对应的置信度越高,越可能对应用户自然醒的时刻,这时声音大一些、持续时间长一些,对用户睡眠影响不大。可以理解的,置信度越低,闹铃声音越小,持续响铃时间越短,这样有利于降低对用户的打扰,提高睡眠质量。For example, you can set the higher the confidence, the louder the alarm, and the longer the duration of the alarm. The higher the confidence level corresponding to the ringing time, the more likely it is for the user to wake up naturally. At this time, the sound is louder and lasts longer, which has little effect on the user's sleep. It can be understood that the lower the confidence, the smaller the alarm sound and the shorter the continuous ringing time, which is beneficial to reduce the disturbance to the user and improve the quality of sleep.

在本发明一些可能的实施方式中,所述方法还可以包括:In some possible implementation manners of the present invention, the method may further include:

若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。If the sleep of the user is rhythmic, and there is no recommended ringing time in the wake-up period set by the user, each sleep stage in the wake-up period set by the user is displayed in time series to enable the user to The ringing moment of the alarm is determined according to each sleep stage displayed.

在本发明一些可能的实施方式中,所述方法还可以包括:In some possible implementation manners of the present invention, the method may further include:

若所述用户的睡眠不具有节律性,则根据当晚唤醒时段前各睡眠周期中各睡眠阶段情况,预估推荐响铃时刻;If the sleep of the user is not rhythmic, the recommended ringing time is estimated according to each sleep stage in each sleep cycle before the wake-up period of the night;

判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user;

若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;If the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm;

若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。If the estimated recommended ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; The priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.

第二方面,本发明实施例提供了一种闹钟的响铃时刻的设置装置,应用于具有闹钟功能的电子设备,所述装置包括:In a second aspect, an embodiment of the present invention provides a device for setting a ringing moment of an alarm clock, which is applied to an electronic device having an alarm clock function, and the device includes:

第一获取单元,用于获取用户的至少一个历史睡眠数据;任一所述历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;a first acquiring unit, configured to acquire at least one historical sleep data of the user; any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep stop time, and any one of the Determining time information corresponding to each sleep stage included in the historical sleep, the sleep stage including: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage;

第一处理单元,用于根据所述第一获取单元获取的所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。a first processing unit, configured to determine, according to the at least one historical sleep data acquired by the first acquiring unit, whether the sleep of the user is rhythmic; if the sleep of the user is rhythmic, according to the at least one The historical sleep data determines a recommended ringing time, which is a switching time from a fast eye movement phase to a light sleep phase within the wakeup time period set by the user.

在本发明一些可能的实施方式中,所述装置还可以包括:In some possible implementations of the present invention, the apparatus may further include:

第二处理单元,用于确定所述任一推荐响铃时刻的置信度;a second processing unit, configured to determine a confidence level of the any recommended ringing moment;

显示单元,用于显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;a display unit, configured to display a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments;

第二获取单元,用于获取所述用户的选取操作,所述选取操作用于从显示的所有所述 推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。And a second obtaining unit, configured to acquire a selection operation of the user, where the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as a ringing time of the alarm clock.

在本发明一些可能的实施方式中,所述装置还可以包括:In some possible implementations of the present invention, the apparatus may further include:

第一设置单元,用于基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。The first setting unit is configured to set a ringing mode based on the confidence, and when any ringing time arrives, ring according to a ringing mode corresponding to the confidence of the any ringing moment.

在本发明一些可能的实施方式中,所述第一处理单元还可以用于,若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。In some possible implementation manners of the present invention, the first processing unit may be further configured to: if the sleep of the user is rhythmic, and when no ringing time is recommended in the wakeup period set by the user, The sleep stages in the wake-up period set by the user are displayed in time series so that the user determines the ringing time of the alarm according to each displayed sleep stage.

在本发明一些可能的实施方式中,所述第一处理单元还可以用于,In some possible implementation manners of the present invention, the first processing unit is further configured to:

若所述用户的睡眠周期模式不具有节律性,则根据当晚唤醒时段前各睡眠周期中各睡眠阶段情况,预估推荐响铃时刻;If the sleep cycle mode of the user is not rhythmic, the recommended ringing time is estimated according to each sleep stage in each sleep cycle before the wake-up period of the night;

判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user;

若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;If the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm;

若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。If the estimated recommended ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; The priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.

第三方面,本发明实施例提供了一种电子设备,所述电子设备包括前面所述第二方面或者第二方面任一实施例所述的闹钟的响铃时刻的设置装置。In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes the apparatus for setting a ringing moment of an alarm clock according to any of the foregoing second aspect or the second aspect.

本发明实施例将推荐响铃时刻设置为由快速眼球运动阶段到浅睡眠阶段的转换时刻,与用户的睡眠节律相匹配,有利于提高用户的睡眠质量、减少响铃对用户的刺激。The embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.

附图说明DRAWINGS

图1A为本发明实施例提供的一种闹钟的响铃时刻的设置方法流程示意图。FIG. 1A is a schematic flowchart of a method for setting a ringing moment of an alarm clock according to an embodiment of the present invention.

图1B为本发明实施例提供的有至少一个推荐响铃时刻时,闹钟闹铃流程示意图。FIG. 1B is a schematic diagram of an alarm clock ringing process when there is at least one recommended ringing time according to an embodiment of the present invention.

图2A为本发明实施例提供的用户睡眠阶段示意图。FIG. 2A is a schematic diagram of a user sleep stage according to an embodiment of the present invention.

图2B为本发明实施例提供的另一用户睡眠阶段示意图。FIG. 2B is a schematic diagram of another user sleep stage according to an embodiment of the present invention.

图2C为本发明实施例提供的另一用户睡眠阶段示意图。FIG. 2C is a schematic diagram of another user sleep stage according to an embodiment of the present invention.

图3A为本发明实施例提供的用户设定的唤醒时间段对应的睡眠阶段示意图。FIG. 3A is a schematic diagram of a sleep stage corresponding to a wake-up period set by a user according to an embodiment of the present invention.

图3B为本发明实施例提供的另一用户设定的唤醒时间段对应的睡眠阶段示意图。FIG. 3B is a schematic diagram of a sleep phase corresponding to another user-set wake-up period according to an embodiment of the present invention.

图4为本发明实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式detailed description

本发明实施例提供了一种闹钟的响铃时刻的设置方法、装置和电子设备,有利于减少闹钟响铃时对用户的刺激。The embodiment of the invention provides a method, a device and an electronic device for setting a ringing moment of an alarm clock, which are beneficial for reducing the stimulation to the user when the alarm clock rings.

目前,具有闹钟功能的电子设备在设置响铃时刻时,通常设置一个固定时刻作为响铃 时刻,这种方式没有考虑用户睡眠时的睡眠阶段,设置的响铃时刻很可能不是最佳唤醒时刻(用户自然醒状态对应的时间点,通常为快速眼球运动阶段到浅睡眠阶段的转换时刻)。另外,一些可穿戴的电子设备,虽然具有检测用户体征的功能,但是不能区分睡眠时的:快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段,另外一些电子设备虽然可以确定睡眠的不同阶段,但是处理不及时,存在滞后现象。因此现有技术无法实现在最佳唤醒时刻唤醒用户。At present, when an electronic device with an alarm clock function sets a ringing moment, a fixed time is usually set as a ringing time. This method does not consider the sleep phase when the user sleeps, and the set ringing time is probably not the optimal wake-up time ( The time point corresponding to the user's natural wake-up state is usually the transition time from the fast eye movement stage to the light sleep stage). In addition, some wearable electronic devices, although having the function of detecting user signs, cannot distinguish between sleepy periods: fast eye movement stage, light sleep stage, and deep sleep stage, while other electronic devices can determine different stages of sleep, However, the processing is not timely and there is a lag. Therefore, the prior art cannot achieve wake-up of the user at the optimal wake-up time.

随着对睡眠的不断研究,研究人员发现,睡眠具有一定的周期性,一个睡眠过程通常依次包括如下几个阶段:快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段。人体在一夜的睡眠中大约经历4至6个睡眠周期(每个周期大概90至110分钟),互相连接,周而复始。根据睡眠的特点,如果响铃时用户处于浅睡眠阶段,这时响铃对用户的刺激较小,用户更容易被唤醒。With the continuous study of sleep, the researchers found that sleep has a certain periodicity, and a sleep process usually includes the following stages: rapid eye movement stage, light sleep stage, and deep sleep stage. The human body experiences about 4 to 6 sleep cycles (about 90 to 110 minutes per cycle) during a night's sleep, connecting to each other and going back and forth. According to the characteristics of sleep, if the user is in a light sleep stage when ringing, the ringing is less irritating to the user, and the user is more likely to be woken up.

本发明实施例利用睡眠的上述特点,提供了一种闹钟的响铃时刻的设置方法,采用该方法时,用户可以预设唤醒时间段(比如6:30~7:00),在预设唤醒时间段内,将用户处于快速眼球运动阶段到浅睡眠阶段的转换时刻设置为推荐响铃时刻,这样可以使闹钟在用户处于浅睡眠状态时对用户进行唤醒,所以,本申请提供的方法有利于更容易地唤醒用户,减少闹钟响铃时对用户的刺激。The embodiment of the present invention provides a method for setting a ringing time of an alarm clock by using the above characteristics of sleep. When the method is used, the user can preset a wake-up time period (for example, 6:30 to 7:00), and wake up in a preset manner. During the time period, the transition time of the user from the fast eye movement stage to the light sleep stage is set as the recommended ringing time, so that the alarm can wake up the user when the user is in a light sleep state, so the method provided by the present application is advantageous. It is easier to wake up the user and reduce the irritation of the user when the alarm rings.

在具体实施时,为了确定快速眼球运动阶段到浅睡眠阶段的转换时刻,本发明实施例采用预先获取历史睡眠数据(包括:历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及各睡眠阶段对应的时间信息,比如各睡眠阶段对应的时长或者起始和终止时间等)的方法对唤醒时刻进行预测,具体地,根据历史睡眠数据先判断用户的睡眠是否具有节律性,如果用户的睡眠具有节律性,则根据历史睡眠数据确定推荐响铃时刻,推荐响铃时刻为用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。In a specific implementation, in order to determine a transition time from a fast eye movement stage to a light sleep stage, the embodiment of the present invention adopts pre-acquisition of historical sleep data (including: a sleep start time corresponding to historical sleep, a sleep termination time, and a corresponding sleep stage). The time information, such as the duration of each sleep stage or the start and end time, etc., predicts the wake-up time, specifically, based on the historical sleep data, first determines whether the user's sleep is rhythmic, if the user's sleep has a rhythm For the sex, the recommended ringing time is determined according to the historical sleep data, and the recommended ringing time is the switching time from the fast eye movement stage to the light sleep stage in the wake-up time period set by the user.

请参阅图1A为本发明实施例提供的一种闹钟的响铃时刻的设置方法的流程示意图。如图1A所示,闹铃的响铃时刻进行设置方法可以包括如下步骤。FIG. 1 is a schematic flowchart of a method for setting a ringing moment of an alarm clock according to an embodiment of the present invention. As shown in FIG. 1A, the setting method of the ringing moment of the alarm may include the following steps.

101、获取用户的至少一个历史睡眠数据。101. Acquire at least one historical sleep data of the user.

其中,历史睡眠数据包括:任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,其中,一个历史睡眠数据对应一个晚上的睡眠信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段。如图2A、图2B、及图2C所示,分别对应一个历史睡眠数据,其中,图2A对应的历史睡眠的睡眠起始时间是23:24,睡眠终止时间是07:33;图2B对应的历史睡眠的睡眠起始时间是23:06,睡眠终止时间是07:27;图2C对应的历史睡眠的睡眠起始时间是22:20,睡眠终止时间是07:27。The historical sleep data includes: a sleep start time corresponding to any of the historical sleeps, a sleep stop time, and time information corresponding to each sleep stage included in any of the historical sleeps, wherein one historical sleep data corresponds to One night of sleep information, the sleep stage includes; a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage. As shown in FIG. 2A, FIG. 2B, and FIG. 2C, respectively, one historical sleep data is corresponding, wherein the sleep start time of the historical sleep corresponding to FIG. 2A is 23:24, and the sleep termination time is 07:33; FIG. 2B corresponds to The sleep start time of historical sleep is 23:06, and the sleep termination time is 07:27; the sleep start time of historical sleep corresponding to Fig. 2C is 22:20, and the sleep termination time is 07:27.

在本发明一些可能的实施方式中,睡眠数据可以是电子设备本身采集获取,也可以通过从其他具有采集睡眠数据的终端(比如睡眠手环、睡眠带、睡眠床罩等)采集获取,这里不做限制。In some possible implementation manners of the present invention, the sleep data may be acquired by the electronic device itself, or may be acquired by other terminals (such as a sleep bracelet, a sleep band, a sleep cover, etc.) that collect sleep data, and do not do this. limit.

102、获取用户设定的唤醒时间段。102. Acquire a wakeup time period set by a user.

用户设定的唤醒时间段是用户自行设置的,希望被唤醒的时间区间。如图3A所示,其对应的唤醒时间段为6:00~6:30。如图3B所示,其对应的唤醒时间段为4:00~4:30。The wake-up period set by the user is the time interval set by the user and desired to be woken up. As shown in FIG. 3A, the corresponding wake-up period is 6:00-6:30. As shown in FIG. 3B, the corresponding wake-up period is from 4:00 to 4:30.

103、判断用户的睡眠是否具有节律性。103. Determine whether the user's sleep is rhythmic.

若用户的睡眠具有节律性,则执行步骤104;若用户的睡眠不具有节律性则执行步骤111。If the user's sleep is rhythmic, step 104 is performed; if the user's sleep is not rhythmic, step 111 is performed.

具体实施时,用户可以设置满足什么条件的情况下睡眠具有节律性,可以根据各历史睡眠数据对应的睡眠起始时刻、睡眠终止时刻、以及各睡眠阶段的转换时刻来确定,比如可以根据选定时刻的差异值累积小于预定阈值的方法来判断睡眠是否具有节律性。举例来说,可以设置同时满足:睡眠开始时间的差异值在10分钟以内、同时睡眠的结束时间的差异值也在10分钟以内的睡眠具有节律性。可以理解的,最完美的情况是:获取的多个历史睡眠分别对应的睡眠开始时间在同一时刻,睡眠终止时间也在同一时刻。In a specific implementation, the user can set the rhythm of the sleep when the condition is met, and can be determined according to the sleep start time, the sleep termination time, and the transition time of each sleep stage corresponding to each historical sleep data, for example, according to the selected A method in which the difference value of the time is accumulated less than a predetermined threshold to determine whether the sleep is rhythmic. For example, it may be set to simultaneously satisfy that the difference value of the sleep start time is within 10 minutes, and the difference value of the end time of sleep is also rhythmic in sleep within 10 minutes. It can be understood that the most perfect situation is that the acquired plurality of historical sleeps respectively correspond to the sleep start time at the same time, and the sleep termination time is also at the same time.

104、在判定用户的睡眠具有节律性时,确定推荐响铃时刻。104. Determine a recommended ringing time when determining that the user's sleep is rhythmic.

多个转换时间点,可以通过最大似然估计,将切换时间点对应的算术平均值作为推荐响铃时刻。For a plurality of conversion time points, the arithmetic mean value corresponding to the switching time point can be used as the recommended ringing time by the maximum likelihood estimation.

105、判定用户设定的唤醒时间段内是否有推荐响铃时刻。105. Determine whether there is a recommended ringing time in the wake-up period set by the user.

用户设定的唤醒时间段是用户希望起来的时间区间,如图3A所示,其对应的用户设定的唤醒时间段The wake-up period set by the user is the time interval that the user desires, as shown in FIG. 3A, and the corresponding user-set wake-up period.

若是,则执行106;若否,则执行109。If yes, execute 106; if no, execute 109.

106、确定任一推荐响铃时刻的置信度。106. Determine the confidence level of any recommended ringing time.

在本发明一些可能的实施方式中,为了提高响铃时刻设置的准确性,可以确定推荐响铃时刻的置信度。并且基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。In some possible embodiments of the present invention, in order to improve the accuracy of the ringing time setting, the confidence of the recommended ringing time may be determined. And the ringing mode is set based on the confidence, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.

当压力过大,身体机能失常时,会影响推荐响铃时刻的准确性,因此可以根据压力值来设置置信度,比如压力水平P为(1~100),1为正常值,置信度可以设置为1/p。When the pressure is too large and the body function is abnormal, it will affect the accuracy of the recommended ringing time. Therefore, the confidence can be set according to the pressure value. For example, the pressure level P is (1 to 100), 1 is the normal value, and the confidence can be set. Is 1/p.

107、显示所有推荐响铃时刻和各推荐响铃时刻分别对应的置信度。107. Display a confidence level corresponding to each recommended ringing time and each recommended ringing time.

如图3A所示,用户设定的唤醒时间段内包括两个推荐响铃时刻,分别是6:10和6:28,其中,6:10的置信度为80%,6:28的置信度为95%。As shown in FIG. 3A, the user-set wake-up period includes two recommended ringing times, which are 6:10 and 6:28, respectively, wherein the confidence of 6:10 is 80%, and the confidence of 6:28 It is 95%.

108、获取用户的选取操作,从显示的所有推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。108. Acquire a user selection operation, and select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock.

在本发明一些可能的实施方式中,若用户设定的唤醒时间断内没有推荐响铃时刻,如图3B所示,在用户设定的唤醒时间段4:00~4:30中没有推荐响铃时刻,则执行步骤109。In some possible implementation manners of the present invention, if there is no recommended ringing time within the wake-up time set by the user, as shown in FIG. 3B, there is no recommendation ringing in the wake-up time period set by the user from 4:00 to 4:30. At the moment of ringing, step 109 is performed.

109、按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段。109. Display, according to the time series, each sleep stage in the wake-up period set by the user.

如图3B所示,在用户设定的唤醒时间段内没有推荐响铃时刻,在图3B中显示了该时间段对应的睡眠阶段依次包括:浅睡眠阶、深睡眠阶段、以及快速眼球运动阶段。As shown in FIG. 3B, no ringing time is recommended within the wake-up period set by the user. In FIG. 3B, the sleep stages corresponding to the time period are sequentially displayed, including: a shallow sleep stage, a deep sleep stage, and a fast eye movement stage. .

110、获取用户的选取操作,根据选取操作确定闹钟响铃时刻。110. Acquire a user selection operation, and determine an alarm clock ringing time according to the selection operation.

在本发明一些可能的实施方式中,用户在选取时,可以按照优先级由高到低的顺序选取作为闹钟响铃时刻,其中,优先级由高到低依次为:浅睡眠阶段的开始时刻、快速眼球运 动阶段的开始时刻、深睡眠阶段的开始时刻。In some possible implementation manners of the present invention, when selecting, the user may select, as the alarm ringing time, in order of priority from high to low, wherein the priority from high to low is: the starting time of the shallow sleep phase, The beginning of the rapid eye movement phase and the beginning of the deep sleep phase.

若用户的睡眠不具有节律性,则执行111。If the user's sleep is not rhythmic, execute 111.

111、根据当晚唤醒时段前各睡眠周期中各睡眠阶段情况,预估推荐响铃时刻。111. Estimating the recommended ringing time according to each sleep stage in each sleep cycle before the wake-up period of the night.

112、判断预估推荐响铃时刻是否包括在用户设定的唤醒时间段内。112. Determine whether the estimated recommended ringing time is included in the wakeup time period set by the user.

若是,则执行113;若否,则执行114。If yes, execute 113; if no, execute 114.

113、将所述预估推荐响铃时刻作为闹铃的响铃时刻。113. The estimated recommended ringing time is used as a ringing moment of the alarm.

114、将用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。可以是各睡眠阶段的开始时刻,也可以是各睡眠阶段的其他时刻。114. The time with the highest priority included in the wake-up period set by the user is used as the ringing time of the alarm; the priority of the time in the wake-up period set by the user is in descending order: shallow sleep stage The moment, the moment of the rapid eye movement phase, and the moment of the deep sleep phase. It may be the start time of each sleep stage or the other time of each sleep stage.

若用户选取了多个响铃时刻作为闹钟的响铃时刻时,可以根据用户是否瞌睡,即是否需要继续响铃对闹铃进行优化。如图1B所示。If the user selects multiple ringing moments as the ringing time of the alarm clock, the alarm can be optimized according to whether the user is dozing, that is, whether the ringing needs to be continued. As shown in Figure 1B.

108、获取用户的选取操作,从显示的推荐响铃时刻中选取至少一个推荐响铃时刻作为闹铃的响铃时刻。108. Acquire a user selection operation, and select at least one recommended ringing time from the displayed recommended ringing time as the ringing time of the alarm.

1081、判断用户是否选择瞌睡。1081. Determine whether the user chooses to sleep.

若是,则执行1082;若否,则执行1084。If yes, execute 1082; if no, execute 1084.

1084、闹铃结束。1084, the alarm ends.

1082、判断睡眠时间是否超过阈值。1082: Determine whether the sleep time exceeds a threshold.

若是,则执行1083;若否,则否,则执行1085。If yes, execute 1083; if no, then go to 1085.

1083、间隔固定时间持续闹铃,直至用户起床,闹铃结束。1083. The alarm continues for a fixed time interval until the user wakes up and the alarm ends.

1085、判断是否存在后续闹铃。1085. Determine whether there is a subsequent alarm.

若是,则执行1086;若否,则执行1083.If yes, execute 1086; if not, execute 1083.

1086、延迟到闹铃的下一个响铃时刻闹铃。1086. Delayed to the next ringing moment of the alarm.

之后,执行1081。After that, 1081 is performed.

在本发明实施例还公开了一种闹钟的响铃时刻的设置装置,应用于具有闹钟功能的电子设备,所述装置包括:第一获取单元,用于获取用户的至少一个历史睡眠数据;任一所述历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;第一处理单元,用于根据所述第一获取单元获取的所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。In the embodiment of the present invention, a device for setting a ringing time of an alarm clock is disclosed, which is applied to an electronic device having an alarm clock function, and the device includes: a first acquiring unit, configured to acquire at least one historical sleep data of the user; The historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep stop time, and time information corresponding to each sleep stage included in any of the historical sleeps, the sleep stage The first processing unit is configured to determine whether the sleep of the user is rhythmic according to the at least one historical sleep data acquired by the first acquiring unit; If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.

在本发明一些可能的实施方式中,所述装置还可以包括:第二处理单元,用于确定所述任一推荐响铃时刻的置信度;显示单元,用于显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;第二获取单元,用于获取所述用户的选取操作,所述选取操 作用于从显示的所有所述推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。In some possible implementations of the present invention, the apparatus may further include: a second processing unit, configured to determine a confidence level of the any recommended ringing moment; a display unit, configured to display all of the recommended ringing moments a confidence level corresponding to each of the recommended ringing times; a second obtaining unit, configured to acquire a selection operation of the user, where the selecting operation is used to select at least one recommendation from all the recommended ringing times displayed The ringing moment is the ringing moment of the alarm clock.

在本发明一些可能的实施方式中,所述装置还可以包括:第一设置单元,用于基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。In some possible implementation manners of the present invention, the apparatus may further include: a first setting unit, configured to set a ringing mode based on the confidence, and when any ringing moment arrives, according to the confidence of the any ringing moment The corresponding ring pattern rings.

在本发明一些可能的实施方式中,第一处理单元还可以用于,若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。In some possible implementation manners of the present invention, the first processing unit may be further configured to: if the user's sleep is rhythmic, and there is no recommended ringing time in the user-set wake-up period, Each sleep stage within the wake-up period set by the user is displayed to enable the user to determine the ringing time of the alarm according to each displayed sleep stage.

在本发明一些可能的实施方式中,第一处理单元还用于,若所述用户的睡眠不具有节律性,则根据当晚唤醒时段前各睡眠周期中各睡眠阶段情况,预估推荐响铃时刻;判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。In some possible implementation manners of the present invention, the first processing unit is further configured to: if the sleep of the user is not rhythmic, estimate a recommended ringing time according to each sleep stage in each sleep cycle before the wake-up period of the current night Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user; if the estimated recommended ringing time is included in the wakeup time period set by the user, the estimation is The ringing time is recommended as the ringing time of the alarm; if the estimated recommended ringing time is not included in the wake-up time period set by the user, the user includes the highest priority included in the wake-up time period. The moment is the ringing moment of the alarm; the priority of the moment in the wake-up period set by the user is in descending order: the moment of the shallow sleep phase, the moment of the rapid eye movement phase, and the deep sleep phase. time.

本发明实施例将推荐响铃时刻设置为由快速眼球运动阶段到浅睡眠阶段的转换时刻,与用户的睡眠节律相匹配,有利于提高用户的睡眠质量、减少响铃对用户的刺激。The embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.

请参阅图4,为本发明实施例提供的一种电子设备的结构示意图。图4所示的电子设备400包括:处理器410、存储器420、音频电路430、总线440、和输入装置450。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 400 shown in FIG. 4 includes a processor 410, a memory 420, an audio circuit 430, a bus 440, and an input device 450.

其中,处理器410、存储器420、音频电路430、和输入装置450可以通过总线440连接。The processor 410, the memory 420, the audio circuit 430, and the input device 450 may be connected by a bus 440.

存储器420可以用于存储一组程序代码,处理器410可以调用存储器420中存储的程序代码,音频电路430可以在处理器450的控制下发出响铃。The memory 420 can be used to store a set of program code, the processor 410 can call program code stored in the memory 420, and the audio circuit 430 can ring under the control of the processor 450.

输入装置450可以是触控屏,以下以触控屏进行描述,比如通过触控屏获取用户的选择操作。处理器获410获取用户的至少一个历史睡眠数据;任一历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;处理器410根据所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。The input device 450 can be a touch screen. The following describes the touch screen, such as obtaining a user's selection operation through the touch screen. The processor obtains 410 the at least one historical sleep data of the user; any historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep termination time, and any one of the historical sleeps included Time information corresponding to each sleep stage, the sleep stage includes: a fast eye movement stage, a shallow sleep stage, and a deep sleep stage; the processor 410 determines, according to the at least one historical sleep data, whether the user's sleep is rhythmic; If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage.

处理器410还可以用于确定所述任一推荐响铃时刻的置信度;通过触控屏可以显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;输入装置450可以获取所述用户的选取操作,所述选取操作用于从显示的所有所述推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。在本发明一些可能的实施方式中,可以基于置信度设置 响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。The processor 410 is further configured to determine a confidence level of the any recommended ringing time; the touch screen may display a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments; the input device 450 The selecting operation of the user may be obtained, and the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock. In some possible embodiments of the present invention, the ringing mode may be set based on the confidence, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings.

触控屏还可以用于,若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。The touch screen can also be used to display the user-set wake-up time period according to the time series if the sleep of the user is rhythmic and the bell ringing time is not recommended during the wake-up period set by the user. Each sleep stage is such that the user determines the ringing moment of the alarm according to each sleep stage displayed.

处理器410还可以用于,若用户的睡眠不具有节律性,则根据当前睡眠过程中各睡眠阶段情况,预估推荐响铃时刻;判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。The processor 410 is further configured to: if the user's sleep is not rhythmic, estimate a recommended ringing time according to each sleep stage condition in the current sleep process; and determine whether the estimated recommended ringing time is included in the user Within the set wake-up time period; if the estimated recommended ringing time is included in the wake-up time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm; If the ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; the user sets The order of priority in the wake-up period from high to low is: the moment of the shallow sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage.

本发明实施例将推荐响铃时刻设置为由快速眼球运动阶段到浅睡眠阶段的转换时刻,与用户的睡眠节律相匹配,有利于提高用户的睡眠质量、减少响铃对用户的刺激。The embodiment of the present invention sets the recommended ringing time to the switching time from the fast eye movement stage to the light sleep stage, and matches the user's sleep rhythm, which is beneficial to improving the user's sleep quality and reducing the ringing stimulation to the user.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.

应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application. The implementation process constitutes any limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.

Claims (11)

一种闹钟的响铃时刻的设置方法,其特征在于,应用于具有闹钟功能的电子设备,所述方法包括如下步骤:A method for setting a ringing moment of an alarm clock is characterized in that it is applied to an electronic device having an alarm clock function, and the method includes the following steps: 获取用户的至少一个历史睡眠数据;任一所述历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;Obtaining at least one historical sleep data of the user; any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep termination time, and each sleep included in any of the historical sleeps Time information corresponding to the stage, the sleep stage includes: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage; 根据所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;Determining, according to the at least one historical sleep data, whether the sleep of the user is rhythmic; 若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。If the sleep of the user is rhythmic, determining a recommended ringing time according to the at least one historical sleep data, wherein the recommended ringing time is a fast eye movement phase to a light sleep in the wakeup time period set by the user The transition time of the stage. 根据权利要求1所述的驱动方法,其特征在于,所述方法还包括:The driving method according to claim 1, wherein the method further comprises: 确定所述任一推荐响铃时刻的置信度;Determining the confidence of any of the recommended ringing moments; 显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;Displaying a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments; 获取所述用户的选取操作,所述选取操作用于从显示的所有所述推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。Obtaining a selection operation of the user, where the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as the ringing time of the alarm clock. 根据权利要求2所述的驱动方法,其特征在于,所述方法还包括:The driving method according to claim 2, wherein the method further comprises: 基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。The ringing mode is set based on the confidence level, and when any ringing time comes, the ringing pattern corresponding to the confidence of any of the ringing moments rings. 根据权利要求1所述的驱动方法,其特征在于,所述方法还包括:The driving method according to claim 1, wherein the method further comprises: 若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。If the sleep of the user is rhythmic, and there is no recommended ringing time in the wake-up period set by the user, each sleep stage in the wake-up period set by the user is displayed in time series to enable the user to The ringing moment of the alarm is determined according to each sleep stage displayed. 根据权利要求1至4任意一项所述的驱动方法,其特征在于,所述方法还包括:The driving method according to any one of claims 1 to 4, further comprising: 若所述用户的睡眠不具有节律性,则根据当晚唤醒时段前各睡眠周期中各睡眠阶段情况,预估推荐响铃时刻;If the sleep of the user is not rhythmic, the recommended ringing time is estimated according to each sleep stage in each sleep cycle before the wake-up period of the night; 判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user; 若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;If the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm; 若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。If the estimated recommended ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; The priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage. 一种闹钟的响铃时刻的设置装置,其特征在于,应用于具有闹钟功能的电子设备,所述装置包括:A device for setting a ringing moment of an alarm clock, which is characterized in that it is applied to an electronic device having an alarm clock function, and the device includes: 第一获取单元,用于获取用户的至少一个历史睡眠数据;任一所述历史睡眠数据包括:所述任一所述历史睡眠对应的睡眠起始时刻、睡眠终止时刻、以及所述任一所述历史睡眠包括的各睡眠阶段对应的时间信息,所述睡眠阶段包括;快速眼球运动阶段、浅睡眠阶段、和深睡眠阶段;a first acquiring unit, configured to acquire at least one historical sleep data of the user; any of the historical sleep data includes: a sleep start time corresponding to any one of the historical sleeps, a sleep stop time, and any one of the Determining time information corresponding to each sleep stage included in the historical sleep, the sleep stage including: a rapid eye movement stage, a shallow sleep stage, and a deep sleep stage; 第一处理单元,用于根据所述第一获取单元获取的所述至少一个历史睡眠数据判断所述用户的睡眠是否具有节律性;若所述用户的睡眠具有节律性,则根据所述至少一个历史睡眠数据确定推荐响铃时刻,所述推荐响铃时刻为所述用户设定的唤醒时间段内由快速眼球运动阶段到浅睡眠阶段的转换时刻。a first processing unit, configured to determine, according to the at least one historical sleep data acquired by the first acquiring unit, whether the sleep of the user is rhythmic; if the sleep of the user is rhythmic, according to the at least one The historical sleep data determines a recommended ringing time, which is a switching time from a fast eye movement phase to a light sleep phase within the wakeup time period set by the user. 根据权利要求1所述的装置,其特征在于,所述装置还包括:The device of claim 1 further comprising: 第二处理单元,用于确定所述任一推荐响铃时刻的置信度;a second processing unit, configured to determine a confidence level of the any recommended ringing moment; 显示单元,用于显示所有所述推荐响铃时刻和各所述推荐响铃时刻分别对应的置信度;a display unit, configured to display a confidence level corresponding to each of the recommended ringing moments and each of the recommended ringing moments; 第二获取单元,用于获取所述用户的选取操作,所述选取操作用于从显示的所有所述推荐响铃时刻中选取至少一个推荐响铃时刻作为闹钟的响铃时刻。And a second obtaining unit, configured to acquire a selection operation of the user, where the selecting operation is used to select at least one recommended ringing time from all the recommended ringing times displayed as a ringing time of the alarm clock. 根据权利要求7所述的装置,其特征在于,所述装置还包括:The device according to claim 7, wherein the device further comprises: 第一设置单元,用于基于置信度设置响铃模式,在任一响铃时刻到来时,根据所述任一响铃时刻的置信度对应的响铃模式响铃。The first setting unit is configured to set a ringing mode based on the confidence, and when any ringing time arrives, ring according to a ringing mode corresponding to the confidence of the any ringing moment. 根据权利要求6所述的装置,其特征在于,The device of claim 6 wherein: 所述第一处理单元还用于,若所述用户的睡眠具有节律性,且在所述用户设定的唤醒时间段没有推荐响铃时刻时,则按照时序显示所述用户设定的唤醒时间段内的各睡眠阶段,以使用户根据显示的各睡眠阶段确定闹铃的响铃时刻。The first processing unit is further configured to: if the sleep of the user is rhythmic, and does not recommend a ringing time in the wake-up period set by the user, displaying the wake-up time set by the user according to a time series Each sleep stage within the segment is such that the user determines the ringing moment of the alarm based on each of the displayed sleep stages. 根据权利要求6至9任意一项所述的装置,其特征在于,所述第一处理单元还用于,The apparatus according to any one of claims 6 to 9, wherein the first processing unit is further configured to: 若所述用户的睡眠不具有节律性,则根据当前睡眠过程中各睡眠阶段情况,预估推荐响铃时刻;If the sleep of the user is not rhythmic, the recommended ringing time is estimated according to each sleep stage of the current sleep process; 判断所述预估推荐响铃时刻是否包括在所述用户设定的唤醒时间段内;Determining whether the estimated recommended ringing time is included in the wakeup time period set by the user; 若预估推荐响铃时刻包括在所述用户设定的唤醒时间段内,则将所述预估推荐响铃时刻作为闹铃的响铃时刻;If the estimated recommended ringing time is included in the wakeup time period set by the user, the estimated recommended ringing time is used as the ringing time of the alarm; 若预估推荐响铃时刻没有包括在所述用户设定的唤醒时间段内,则将所述用户设定的唤醒时间段内包括的优先级最高的时刻作为闹铃的响铃时刻;所述用户设定的唤醒时间段内的时刻优先级由高到低的顺序依次为:浅睡眠阶段的时刻、快速眼球运动阶段的时刻、深睡眠阶段的时刻。If the estimated recommended ringing time is not included in the wakeup time period set by the user, the time with the highest priority included in the wakeup time period set by the user is used as the ringing time of the alarm; The priority of the time in the wake-up period set by the user is in descending order: the time of the light sleep stage, the time of the fast eye movement stage, and the time of the deep sleep stage. 一种电子设备,其特征在于,所述电子设备包括权利要求6至10任意一项所述的闹钟的响铃时刻的设置装置。An electronic device comprising the apparatus for setting a ringing time of an alarm clock according to any one of claims 6 to 10.
PCT/CN2018/085105 2018-04-28 2018-04-28 Method and apparatus for setting ringing time of alarm clock, and electronic device Ceased WO2019205145A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/085105 WO2019205145A1 (en) 2018-04-28 2018-04-28 Method and apparatus for setting ringing time of alarm clock, and electronic device
CN201880073272.0A CN111357267B (en) 2018-04-28 2018-04-28 A method, device and electronic device for setting the ringing time of an alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/085105 WO2019205145A1 (en) 2018-04-28 2018-04-28 Method and apparatus for setting ringing time of alarm clock, and electronic device

Publications (1)

Publication Number Publication Date
WO2019205145A1 true WO2019205145A1 (en) 2019-10-31

Family

ID=68294703

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/085105 Ceased WO2019205145A1 (en) 2018-04-28 2018-04-28 Method and apparatus for setting ringing time of alarm clock, and electronic device

Country Status (2)

Country Link
CN (1) CN111357267B (en)
WO (1) WO2019205145A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112932225A (en) * 2021-01-29 2021-06-11 青岛海尔空调器有限总公司 Intelligent awakening pillow and awakening method based on intelligent awakening pillow
CN113542496A (en) * 2021-06-28 2021-10-22 惠州Tcl云创科技有限公司 Intelligent alarm clock processing method and device for mobile terminal, mobile terminal and storage medium
CN114118940A (en) * 2021-10-27 2022-03-01 珠海格力电器股份有限公司 Alarm reminder method, device, storage medium and electronic device
CN115938556A (en) * 2023-02-08 2023-04-07 北京康桥诚品科技有限公司 A floating cabin health management method, device, electronic equipment and storage medium
WO2024087952A1 (en) * 2022-10-26 2024-05-02 华为技术有限公司 Temperature adjustment method, system and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115985066B (en) * 2023-03-20 2023-07-11 慕思健康睡眠股份有限公司 Method, device, system and storage medium for automatically waking up user
CN116570813A (en) * 2023-04-19 2023-08-11 珠海格力电器股份有限公司 Sleep awakening control method, device, computer equipment and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167126A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method of mobile phone clock for automatically waking up user based on sleep depth period
CN103750842A (en) * 2014-01-09 2014-04-30 北京大学 Humanized sleep monitoring alarm clock and control method thereof
CN104580748A (en) * 2015-02-12 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting alarm clocks and mobile terminal
CN106388777A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 Method and device for setting alarm clock based on sleep quality
JP2017046960A (en) * 2015-09-02 2017-03-09 Tdk株式会社 Sleep management device, sleep management system, sleep management method and program thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632063B (en) * 2013-12-12 2017-02-08 惠州Tcl移动通信有限公司 Method and system for acquiring data of user sleep quality grade

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167126A (en) * 2012-07-24 2013-06-19 深圳市金立通信设备有限公司 System and method of mobile phone clock for automatically waking up user based on sleep depth period
CN103750842A (en) * 2014-01-09 2014-04-30 北京大学 Humanized sleep monitoring alarm clock and control method thereof
CN104580748A (en) * 2015-02-12 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting alarm clocks and mobile terminal
JP2017046960A (en) * 2015-09-02 2017-03-09 Tdk株式会社 Sleep management device, sleep management system, sleep management method and program thereof
CN106388777A (en) * 2016-09-05 2017-02-15 广东欧珀移动通信有限公司 Method and device for setting alarm clock based on sleep quality

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112932225A (en) * 2021-01-29 2021-06-11 青岛海尔空调器有限总公司 Intelligent awakening pillow and awakening method based on intelligent awakening pillow
CN112932225B (en) * 2021-01-29 2023-07-18 青岛海尔空调器有限总公司 Smart wake-up pillow and wake-up method based on smart wake-up pillow
CN113542496A (en) * 2021-06-28 2021-10-22 惠州Tcl云创科技有限公司 Intelligent alarm clock processing method and device for mobile terminal, mobile terminal and storage medium
CN113542496B (en) * 2021-06-28 2022-10-25 惠州Tcl云创科技有限公司 Mobile terminal intelligent alarm clock processing method and device, mobile terminal and storage medium
CN114118940A (en) * 2021-10-27 2022-03-01 珠海格力电器股份有限公司 Alarm reminder method, device, storage medium and electronic device
WO2024087952A1 (en) * 2022-10-26 2024-05-02 华为技术有限公司 Temperature adjustment method, system and electronic device
CN115938556A (en) * 2023-02-08 2023-04-07 北京康桥诚品科技有限公司 A floating cabin health management method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111357267A (en) 2020-06-30
CN111357267B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
WO2019205145A1 (en) Method and apparatus for setting ringing time of alarm clock, and electronic device
US11806158B2 (en) Adjusting alarms based on sleep onset latency
CN107247516A (en) Alarm clock starting method and device, wearable device and storage medium
CN105282343B (en) A method and device for intelligent sleep reminder
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
TWI643041B (en) Smart system and method for controlling alarm
US20130018284A1 (en) Sleep Monitoring System
WO2019205401A1 (en) Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
CN105068414A (en) Alarm clock awakening method and electronic equipment
EP2936255A2 (en) Wake-up device
CN113995390B (en) Working mode control method of wearable device, wearable device and medium
CN106921794A (en) A method and device for realizing an alarm clock on a smart device
WO2016165075A1 (en) Method, device and terminal equipment for reminding users
CN110825449A (en) A kind of music playing method, electronic device and storage medium
CN106453867A (en) Alarm clock control method and device
CN111657855B (en) Sleep assessment and sleep wake-up method and device and electronic equipment
CN109302534B (en) Alarm clock reminding method and device
CN108601559A (en) A kind of method of data synchronization, device and terminal device
CN108310585A (en) A kind of deep sleep awakening method and its system based on Intelligent bracelet
CN108245762A (en) A kind of awakening method and Rouser
CN113542496B (en) Mobile terminal intelligent alarm clock processing method and device, mobile terminal and storage medium
CN108683816B (en) Alarm clock closing method, device and equipment based on wearable equipment and storage medium
CN114118940B (en) Alarm reminder method, device, storage medium and electronic device
CN115191935A (en) Physiological parameter monitoring method and device, intelligent wearable device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916140

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18916140

Country of ref document: EP

Kind code of ref document: A1