CN111163219A - Alarm clock processing method and device, storage medium and terminal - Google Patents

Alarm clock processing method and device, storage medium and terminal Download PDF

Info

Publication number
CN111163219A
CN111163219A CN201911325113.8A CN201911325113A CN111163219A CN 111163219 A CN111163219 A CN 111163219A CN 201911325113 A CN201911325113 A CN 201911325113A CN 111163219 A CN111163219 A CN 111163219A
Authority
CN
China
Prior art keywords
time
alarm clock
user
target
sleep
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.)
Pending
Application number
CN201911325113.8A
Other languages
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911325113.8A priority Critical patent/CN111163219A/en
Publication of CN111163219A publication Critical patent/CN111163219A/en
Pending 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the application discloses an alarm clock processing method, an alarm clock processing device, a storage medium and a terminal. The method comprises the following steps: detecting a time to fall asleep for a user; determining the awakening time corresponding to the user based on the sleep-in time and the target sleep time, wherein the target sleep time is at least determined according to the age information of the user; and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time. According to the scheme, the intelligent adjustment alarm clock is designed, so that the sleep time of a user is more reasonable, the problem that the user is not enough or is redundant in sleep is solved, and the health of the user is guaranteed.

Description

Alarm clock processing method and device, storage medium and terminal
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an alarm clock processing method and apparatus, a storage medium, and a terminal.
Background
With the appearance of smart devices such as smart phones and tablet computers, night-out behaviors are more and more common in young user groups, and people who sleep late and do not regularly work and rest become sparse and common. The elderly often sleep early but also get up early, and are unhealthy relative to the sleep time.
However, the harm to people is great due to insufficient sleep or too much sleep. For example, insufficient sleep can cause the spleen qi of a human to be irritated, the learning ability of the human to be reduced, the response of the human to be retarded and the attention of the human to be inattentive. Too long sleep will disturb the body's biological clock, resulting in lassitude, memory effects, etc.
Disclosure of Invention
The embodiment of the application provides an alarm clock processing method, an alarm clock processing device, a storage medium and a terminal, and can improve alarm clock processing efficiency.
In a first aspect, an embodiment of the present application provides an alarm clock processing method, including:
detecting a time to fall asleep for a user;
determining the awakening time corresponding to the user based on the sleep-in time and the target sleep time, wherein the target sleep time is at least determined according to the age information of the user;
and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
In a second aspect, an embodiment of the present application provides an alarm clock processing apparatus, including:
the detection unit is used for detecting the sleep time of the user;
a determining unit, configured to determine, based on the sleep time and a target sleep time, a wake-up time corresponding to the user, where the target sleep time is determined at least according to age information of the user;
and the first processing unit is used for setting a target alarm clock task according to the awakening time and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute the alarm clock processing method described above.
In a fourth aspect, an embodiment of the present application further provides a terminal, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the alarm clock processing method.
In the implementation of the application, the sleep time of a user is detected, and the awakening time corresponding to the user is determined based on the sleep time and the target sleep time, wherein the target sleep time is determined according to the age information of the user. And then, setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time. According to the scheme, the intelligent adjustment alarm clock is designed, so that the sleep time of a user is more reasonable, the problem that the user is not enough or is redundant in sleep is solved, and the health of the user is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flow chart of an alarm clock processing method according to an embodiment of the present application.
Fig. 2 is an application scenario diagram of an alarm clock processing method provided in the embodiment of the present application.
Fig. 3 is a schematic structural diagram of an alarm clock processing apparatus according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of an alarm clock processing apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an alarm clock processing method, an alarm clock processing device, a storage medium and a terminal. The details will be described below separately.
In an embodiment, an alarm clock processing method is provided and applied to terminal devices such as smart phones, tablet computers and notebook computers. Referring to fig. 1, a specific flow of the alarm clock processing method may be as follows:
101. the time to fall asleep of the user is detected.
In some embodiments, the sleep information of the user may be detected by an external detection device, and the terminal may acquire the detected sleep information by establishing a communication connection with the detection device.
For example, the detection device may be an intelligent bracelet, and the terminal device establishes a wireless communication connection (such as a bluetooth connection, a wifi connection, and the like) with the intelligent bracelet. The user can wear the smart band to detect sleep information (such as heartbeat data, motion data, etc.) of the user. The intelligent bracelet monitors the sleep information of the user in real time and sends the detected sleep information to the terminal equipment through the established wireless link. The terminal equipment analyzes and judges the received sleep information based on the existing reference data or a related algorithm model (such as a neural network model), and determines the sleep time of the user according to the analysis result.
102. And determining the awakening time corresponding to the user based on the falling-asleep time and the target sleep time, wherein the target sleep time is determined at least according to the age information of the user.
Wherein, the health of the user is closely related to the sleeping time because the demands of the users in different age stages on the sleeping time are different. Therefore, for a user, his age affects the target sleep duration of a healthy work and rest to some extent.
Since the sleep time of the user is known, the wake-up time (i.e., the wake-up time) of the user can be accurately determined based on the sleep time of the user and the target sleep duration of the healthy work and rest.
For example, if the user's time to fall asleep is 23:00 pm and the optimal sleep time period determined based on his age is 8 hours, then the user's time to get up should be calculated to be 7:00 am the next morning.
103. And setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
Specifically, the corresponding alarm clock task can be set according to the determined time (i.e. wake-up time) that the user needs to get up, and other alarm clock tasks in the set sleep period can be correspondingly adjusted, so as to ensure that the sleep time of the user is sufficient.
In some embodiments, the step of setting the corresponding alarm clock task according to the wake-up time may include the following processes:
(11) determining the awakening time as the execution time of the target alarm clock task;
(12) determining a corresponding alarm mode according to the age information of the user, wherein the parameters of the response mode comprise one or more of alarm type, alarm frequency and alarm period;
(13) and setting a target alarm clock task according to the execution time and the response mode.
Specifically, the corresponding alarm clock task can be set according to the determined time (wake-up time) that the user needs to get up, and the wake-up time is taken as the execution time of the alarm clock task, so that the user can be wakened up at an accurate time point, and normal and healthy work and rest of the user can be guaranteed.
Since users at different ages have different hearing abilities, sensitivity and adaptability. For example, a young user may be adapted to a relatively noisy alarm; the child user is still in the development period, so that the child user is suitable for more comfortable ringing; while elderly users may require a louder ring tone to wake up due to hearing degradation. Therefore, when the alarm clock task is set, the corresponding ringing mode can be selected according to the age information of the user to set the task.
It should be noted that the parameters of the response mode may be set according to actual requirements, and for example, may include a ring type, a ring frequency, a ring period, and the like. Wherein, the ringing type can comprise dynamic type, relaxing type, pleasant type and the like; the number of rings, the ring period, refers to the number of rings per unit time and the time interval. In addition, characteristic parameters such as timbre, loudness and volume can be included.
In this embodiment, for the alarm clock task within the sleep time of the user (i.e., between the time of falling asleep and the wake-up time), different adjustment measures may be taken according to the actual reminding content of the alarm clock task for the user. That is, in some embodiments, the step "updating the execution time of the preset alarm clock task between the time of falling asleep and the wake-up time" may include the following process:
(21) acquiring the content of an alarm clock task;
(22) performing intention identification on the content to obtain an identification result;
(23) determining the importance degree of each preset alarm clock task according to the recognition result;
(24) and updating the execution time of the corresponding preset alarm clock task based on the importance degree.
Specifically, the intention of the alarm clock task content can be identified by reading the specific remark content (such as an alarm clock name, alarm clock description information and the like) of the alarm clock task and carrying out understanding analysis on the content in an intelligent identification mode (such as a natural language identification technology).
If the alarm clock is a voice alarm clock, the voice can be converted into text information by utilizing a voice recognition technology, and then the content of the text information is understood by utilizing a natural language recognition technology, so that the intention of the task content of the alarm clock is recognized.
After the intention of the alarm clock task is identified, the importance degree of each preset alarm clock task is determined based on the actual meaning of each preset alarm clock task in the identification result. And finally, determining corresponding task execution time based on respective importance degrees of different preset alarm clock tasks.
In some embodiments, the importance level includes an importance level. When the execution time of the corresponding preset alarm clock task is updated based on the importance degree, the following process can be included:
(241) determining a target sample level interval in which the importance level is positioned from a plurality of sample level intervals;
(242) and updating the execution time corresponding to the preset alarm clock task according to the target sample level interval and a preset time updating rule.
Specifically, in this embodiment, a plurality of sample level intervals need to be divided in advance, and a corresponding relationship between different sample level intervals and a time update rule is constructed. The time updating rule can be preset, namely, the degree of the execution time is preset to achieve a certain effect; and setting important levels containing different levels in different sample level intervals.
In specific implementation, a target sample level interval where the importance level of each preset alarm clock task is located can be determined, then a time updating rule corresponding to the target sample level interval is searched based on a pre-established corresponding relation, and the execution time of the corresponding alarm clock task is adjusted based on the time updating.
In some embodiments, the plurality of sample level intervals may comprise: the level in the second interval is higher than that in the third interval, and the level in the first interval is higher than that in the second interval. The first interval can be a level interval corresponding to a more important alarm clock task (such as boarding time reminding, meeting time reminding and other event reminding with strong timeliness); the second level interval can be a level interval corresponding to a secondary important alarm clock task (e.g., event reminders with more abundant timeliness such as birthday reminders and commemorative day reminders); the third level interval can be a level interval corresponding to a common alarm clock task (such as daily event reminding such as drinking reminding and bathing reminding).
In some embodiments, when the execution time corresponding to the preset alarm clock task is updated according to the target sample level interval and the preset time update rule, if the target sample level interval is the first interval, it indicates that the preset alarm clock task is used for more important event reminding, and at this time, the current execution time corresponding to the preset alarm clock can be kept unchanged, so as to ensure normal execution of the preset alarm clock task.
If the target sample level interval is the second interval, the preset alarm clock task is used for secondary important event reminding, and at the moment, the execution time corresponding to the preset alarm clock task can be updated to be after the current execution time and before the awakening time. For example, if the current execution time of the preset alarm clock task is 6:00 am and the wake-up time is 7:00 am, the current execution time may be changed to 6:30 am, so that the preset alarm clock task is not delayed as long as possible while ensuring that the user has enough sleep time.
If the target sample level interval is the third interval, the preset alarm clock task is used for daily event reminding, and at the moment, the execution time of the corresponding preset alarm clock task can be updated to be after the awakening time so as to ensure that the user has enough sleep time.
In practical application, the sleep-on alarm clock task can be set as a disposable alarm clock, the sleep-in time of a user can be self-adjusted, and the terminal can ensure that the work and rest of the user are healthy only by controlling the sleep time of the user. Therefore, in some embodiments, when the completion of the target alarm clock task execution is detected, the target alarm clock task may be deleted, and the execution time of all the preset alarm clock tasks may be updated to the initial execution time (i.e., restored to the execution time between the unset target alarm clock tasks) to restore the other alarm clocks to be normally executed.
As can be seen from the above, the alarm clock processing method provided by this embodiment detects the time of falling asleep for the user; determining a wake-up time corresponding to a user based on the sleep-in time and a target sleep time, wherein the target sleep time is determined according to age information of the user; and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time. According to the scheme, the intelligent adjustment alarm clock is designed, so that the sleep time of a user is more reasonable, the problem that the user is not enough or is redundant in sleep is solved, and the health of the user is guaranteed.
In another embodiment of the present application, referring to fig. 2, fig. 2 is an application scenario diagram of the alarm clock processing method provided in this embodiment.
Firstly, an intelligent sleep mode is added to the terminal. Specifically, a function switch for turning on and off the intelligent sleep mode may be additionally provided in the terminal. The function switch can be a control or can be controlled by a user gesture. Then, need to match the intelligent bracelet that is used for human sleep monitoring for this terminal, this intelligent bracelet needs to wear on one's body the user to establish communication connection with the terminal.
When the user starts the intelligent sleep mode of the terminal, the intelligent bracelet feeds back the user sleep information monitored in real time to the terminal. After receiving the sleep information, the terminal acquires the age information of the user from the personal information pre-entered by the user, and predicts the optimal sleep time A of the user based on the age information and the relevant algorithm model. When the user is detected to fall asleep through the acquired sleep information, the optimal getting-up time of the user can be calculated according to the falling-asleep time B and the optimal sleep duration A. And then, the terminal automatically sets an alarm clock of a single reminding type according to the optimal getting-up time, and the alarm clock is used for reminding the user to get-up. Meanwhile, the alarm clock set by the user during the time of falling asleep and the time of getting up is delayed to the optimal time of getting up by default so as to ensure that the user has sufficient and no redundant sleep time.
In another embodiment of the present application, an alarm clock processing apparatus is further provided, where the alarm clock processing apparatus may be integrated in a terminal in a form of software or hardware, and the terminal may specifically include a mobile phone, a tablet computer, a notebook computer, and the like. As shown in fig. 3, the alarm clock processing apparatus 300 may include: a detection unit 301, a determination unit 302 and a first processing unit 303, wherein:
a detection unit 301 for detecting the time of falling asleep for the user;
a determining unit 302, configured to determine, based on the sleep time and a target sleep time, a wake-up time corresponding to the user, where the target sleep time is determined according to at least age information of the user;
the first processing unit 303 is configured to set a target alarm clock task according to the wake-up time, and update the execution time of a preset alarm clock task between the time of falling asleep and the wake-up time.
In some embodiments, the first processing unit 303 may include:
the time determining subunit is used for determining the awakening time as the execution time of the target alarm clock task;
the mode determining subunit is configured to determine a corresponding alarm mode according to the user age information, where parameters of the response mode include one or more of an alarm type, an alarm frequency, and an alarm period;
and the setting subunit is used for setting the target alarm clock task according to the execution time and the response mode.
In some embodiments, the first processing unit 303 may further include:
the acquiring subunit is used for acquiring the content of the alarm clock task;
the identification subunit is used for carrying out intention identification on the content to obtain an identification result;
the degree determining subunit is used for determining the importance degree of each preset alarm clock task according to the identification result;
and the updating subunit is used for updating the execution time of the corresponding preset alarm clock task based on the importance degree.
In some embodiments, the importance level includes an importance level; the update subunit is specifically operable to:
determining a target sample level interval in which the importance level is positioned from a plurality of sample level intervals;
and updating the execution time corresponding to the preset alarm clock task according to the target sample level interval and a preset time updating rule.
In some embodiments, the plurality of sample level intervals comprises: the level in the second interval is higher than that in the third interval, and the level in the first interval is higher than that in the second interval. The update subunit is further operable to:
when the target sample level interval is a first interval, keeping the current execution time of the corresponding preset alarm clock unchanged;
when the target sample level interval is a second interval, updating the execution time of the corresponding preset alarm clock task to be after the current execution time and before the awakening time;
and when the target sample level interval is a third interval, updating the execution time of the corresponding preset alarm clock task to be behind the awakening time.
Referring to fig. 4, in some embodiments, the alarm clock processing apparatus 300 may further include:
the second processing unit 304 is configured to delete the target alarm clock task and update the execution time of all preset alarm clock tasks to the initial execution time when it is detected that the target alarm clock task is completed.
The parameter determining unit is used for determining the current call quality parameter after a voice channel of the current user identity identification card is opened for transmitting a voice communication signal;
and the adjusting unit is used for adjusting the network system of the current user identity identification card to perform alarm clock processing according to the call quality parameter.
As can be seen from the above, the alarm clock processing apparatus provided in the embodiment of the present application determines the wake-up time corresponding to the user by detecting the sleep-in time of the user and based on the sleep-in time and the target sleep time, where the target sleep time is determined according to the age information of the user, the target alarm clock task is set according to the wake-up time, and the execution time of the preset alarm clock task between the sleep-in time and the wake-up time is updated. According to the scheme, the intelligent adjustment alarm clock is designed, so that the sleep time of a user is more reasonable, the problem that the user is not enough or is redundant in sleep is solved, and the health of the user is guaranteed.
In another embodiment of the present application, a terminal is further provided, where the terminal may be a terminal device such as a smart phone and a tablet computer. As shown in fig. 5, the terminal 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the terminal 400, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or loading an application stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the terminal.
In this embodiment, the processor 401 in the terminal 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402, thereby implementing various functions:
detecting a time to fall asleep for a user;
determining the awakening time corresponding to the user based on the sleep-in time and the target sleep time, wherein the target sleep time is at least determined according to the age information of the user;
and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
In some embodiments, when the corresponding alarm clock task is set according to the wake-up time, the processor 401 further performs the following steps:
determining the awakening time as the execution time of the target alarm clock task;
determining a corresponding alarm mode according to the user age information, wherein the parameters of the response mode comprise one or more of alarm type, alarm times and alarm period;
and setting the target alarm clock task according to the execution time and the response mode.
In some embodiments, when updating the execution time of the preset alarm clock task between the falling asleep time and the wake-up time, the processor 401 further performs the following steps:
acquiring the content of the alarm clock task;
performing intention identification on the content to obtain an identification result;
determining the importance degree of each preset alarm clock task according to the identification result;
and updating the execution time of the corresponding preset alarm clock task based on the importance degree.
In some embodiments, the degree of importance includes a level of importance; when the execution time of the corresponding preset alarm clock task is updated based on the importance level, the processor 401 further performs the following steps:
determining a target sample level interval in which the importance level is positioned from a plurality of sample level intervals;
and updating the execution time corresponding to the preset alarm clock task according to the target sample level interval and a preset time updating rule.
In some embodiments, the plurality of sample level intervals comprises: the level in the second interval is higher than that in the third interval, and the level in the first interval is higher than that in the second interval. When the execution time corresponding to the preset alarm clock task is updated according to the target sample level interval and the preset time update rule, the processor 401 further executes the following steps:
when the target sample level interval is a first interval, keeping the current execution time of the corresponding preset alarm clock unchanged;
when the target sample level interval is a second interval, updating the execution time of the corresponding preset alarm clock task to be after the current execution time and before the awakening time;
and when the target sample level interval is a third interval, updating the execution time of the corresponding preset alarm clock task to be behind the awakening time.
In some embodiments, when it is detected that the target alarm clock task execution is complete, processor 401 further performs the steps of:
and deleting the target alarm clock task, and updating the execution time of all preset alarm clock tasks to the initial execution time.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. Applications may constitute various functional modules. The processor 401 executes various functional applications and alarm clock processing by running applications stored in the memory 402.
In some embodiments, as shown in fig. 6, the terminal 400 further includes: display 403, control circuit 404, radio frequency circuit 405, input unit 406, sensor 408, and power supply 409. The processor 401 is electrically connected to the display 403, the control circuit 404, the rf circuit 405, the input unit 406, the camera 407, the sensor 408, and the power source 409.
The display screen 403 may be used to display information input by or provided to the user as well as various graphical user interfaces of the terminal, which may be constituted by images, text, icons, video, and any combination thereof.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is used for transceiving rf signals to establish wireless communication with a terminal or other terminals through wireless communication, and to transceive signals with a server or other terminals.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The camera 407 may be used to collect image information. The camera may be a single camera with one lens, or may have two or more lenses.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
The power supply 409 is used to power the various components of the terminal 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 6, the terminal 400 may further include a speaker, a bluetooth module, and the like, which will not be described in detail herein.
Therefore, the terminal provided by the embodiment of the application detects the time of falling asleep of the user; determining the awakening time corresponding to the user based on the falling-asleep time and the target sleep time, wherein the target sleep time is determined according to the age information of the user; and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time. According to the scheme, the intelligent adjustment alarm clock is designed, so that the sleep time of a user is more reasonable, the problem that the user is not enough or is redundant in sleep is solved, and the health of the user is guaranteed.
In some embodiments, there is also provided a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the alarm clock processing methods described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The alarm clock processing method, the alarm clock processing device, the storage medium and the terminal provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An alarm clock processing method, comprising:
detecting a time to fall asleep for a user;
determining the awakening time corresponding to the user based on the sleep-in time and the target sleep time, wherein the target sleep time is at least determined according to the age information of the user;
and setting a target alarm clock task according to the awakening time, and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
2. The alarm clock processing method according to claim 1, wherein the setting of the corresponding alarm clock task according to the wake-up time comprises:
determining the awakening time as the execution time of the target alarm clock task;
determining a corresponding alarm mode according to the user age information, wherein the parameters of the response mode comprise one or more of alarm type, alarm times and alarm period;
and setting the target alarm clock task according to the execution time and the response mode.
3. The alarm clock processing method according to claim 1, wherein the updating the execution time of the preset alarm clock task between the falling asleep time and the wake-up awake time comprises:
acquiring the content of the alarm clock task;
performing intention identification on the content to obtain an identification result;
determining the importance degree of each preset alarm clock task according to the identification result;
and updating the execution time of the corresponding preset alarm clock task based on the importance degree.
4. Alarm clock processing method according to claim 3, characterised in that the degree of importance comprises a level of importance; the updating of the execution time of the corresponding preset alarm clock task based on the importance degree comprises:
determining a target sample level interval in which the importance level is positioned from a plurality of sample level intervals;
and updating the execution time corresponding to the preset alarm clock task according to the target sample level interval and a preset time updating rule.
5. Alarm clock processing method according to claim 4, characterized in that said plurality of sample level intervals comprises: the level in the second interval is higher than that in the third interval, and the level in the first interval is higher than that in the second interval;
the updating the execution time corresponding to the preset alarm clock task according to the target sample level interval and the preset time updating rule comprises the following steps:
when the target sample level interval is a first interval, keeping the current execution time of the corresponding preset alarm clock unchanged;
when the target sample level interval is a second interval, updating the execution time of the corresponding preset alarm clock task to be after the current execution time and before the awakening time;
and when the target sample level interval is a third interval, updating the execution time of the corresponding preset alarm clock task to be behind the awakening time.
6. Alarm clock processing method according to any of claims 1-5, characterized in that it further comprises:
and when the target alarm clock task is detected to be completed, deleting the target alarm clock task, and updating the execution time of all preset alarm clock tasks to the initial execution time.
7. An alarm clock processing apparatus, comprising:
the detection unit is used for detecting the sleep time of the user;
a determining unit, configured to determine, based on the sleep time and a target sleep time, a wake-up time corresponding to the user, where the target sleep time is determined at least according to age information of the user;
and the first processing unit is used for setting a target alarm clock task according to the awakening time and updating the execution time of the preset alarm clock task between the time of falling asleep and the awakening time.
8. Alarm clock processing apparatus according to claim 7, characterised in that the first processing unit comprises:
the time determining subunit is used for determining the awakening time as the execution time of the target alarm clock task;
the mode determining subunit is configured to determine a corresponding alarm mode according to the user age information, where parameters of the response mode include one or more of an alarm type, an alarm frequency, and an alarm period;
and the setting subunit is used for setting the target alarm clock task according to the execution time and the response mode.
9. A computer-readable storage medium, characterized in that a plurality of instructions are stored in the storage medium, said instructions being adapted to be loaded by a processor to perform the alarm clock processing method of any of claims 1-6.
10. A terminal is characterized by comprising a processor and a memory, wherein the processor is electrically connected with the memory, and the memory is used for storing instructions and data; the processor is configured to perform the alarm clock processing method of any of claims 1-6.
CN201911325113.8A 2019-12-20 2019-12-20 Alarm clock processing method and device, storage medium and terminal Pending CN111163219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911325113.8A CN111163219A (en) 2019-12-20 2019-12-20 Alarm clock processing method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911325113.8A CN111163219A (en) 2019-12-20 2019-12-20 Alarm clock processing method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111163219A true CN111163219A (en) 2020-05-15

Family

ID=70557452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911325113.8A Pending CN111163219A (en) 2019-12-20 2019-12-20 Alarm clock processing method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111163219A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction
CN113947873A (en) * 2020-07-17 2022-01-18 青岛海尔洗衣机有限公司 Timing reminding method and device and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201110657A (en) * 2009-09-04 2011-03-16 Chi Mei Comm Systems Inc Alarm clock management system and method
WO2015017996A1 (en) * 2013-08-07 2015-02-12 Nokia Corporation Method and apparatus for selectively configuring alarms prior to commencing silent mode of operation
CN104580642A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Clock reminding method and device
CN104754121A (en) * 2015-03-13 2015-07-01 百度在线网络技术(北京)有限公司 Event reminding method and device
CN105894252A (en) * 2016-05-05 2016-08-24 广东小天才科技有限公司 Method for reminding user to get up based on wearable equipment and wearable equipment
CN106874454A (en) * 2017-02-13 2017-06-20 广东小天才科技有限公司 A kind of the tinkle of bells recommends method and system
CN107295164A (en) * 2017-05-31 2017-10-24 广东欧珀移动通信有限公司 Method, mobile terminal and the storage medium of ring of alarm clock generation
CN107835307A (en) * 2017-10-28 2018-03-23 上海爱优威软件开发有限公司 Sleep method and system are helped for terminal
CN108012035A (en) * 2017-12-26 2018-05-08 奇酷互联网络科技(深圳)有限公司 The tinkle of bells adjusting method, device, readable storage medium storing program for executing and intelligent terminal
CN108229920A (en) * 2018-01-18 2018-06-29 维沃移动通信有限公司 The method and mobile terminal of a kind of affairs prompt

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201110657A (en) * 2009-09-04 2011-03-16 Chi Mei Comm Systems Inc Alarm clock management system and method
WO2015017996A1 (en) * 2013-08-07 2015-02-12 Nokia Corporation Method and apparatus for selectively configuring alarms prior to commencing silent mode of operation
CN104580642A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Clock reminding method and device
CN104754121A (en) * 2015-03-13 2015-07-01 百度在线网络技术(北京)有限公司 Event reminding method and device
CN105894252A (en) * 2016-05-05 2016-08-24 广东小天才科技有限公司 Method for reminding user to get up based on wearable equipment and wearable equipment
CN106874454A (en) * 2017-02-13 2017-06-20 广东小天才科技有限公司 A kind of the tinkle of bells recommends method and system
CN107295164A (en) * 2017-05-31 2017-10-24 广东欧珀移动通信有限公司 Method, mobile terminal and the storage medium of ring of alarm clock generation
CN107835307A (en) * 2017-10-28 2018-03-23 上海爱优威软件开发有限公司 Sleep method and system are helped for terminal
CN108012035A (en) * 2017-12-26 2018-05-08 奇酷互联网络科技(深圳)有限公司 The tinkle of bells adjusting method, device, readable storage medium storing program for executing and intelligent terminal
CN108229920A (en) * 2018-01-18 2018-06-29 维沃移动通信有限公司 The method and mobile terminal of a kind of affairs prompt

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction
CN111568380B (en) * 2020-05-19 2023-07-18 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction
CN113947873A (en) * 2020-07-17 2022-01-18 青岛海尔洗衣机有限公司 Timing reminding method and device and electronic equipment
CN113947873B (en) * 2020-07-17 2023-11-21 青岛海尔洗衣机有限公司 Timing reminding method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11039004B1 (en) Method and apparatus for automatically setting alarms and notifications
US11806158B2 (en) Adjusting alarms based on sleep onset latency
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
CN105282343B (en) A kind of method and apparatus for intelligent reminding of sleeping
US10271784B2 (en) Facilitating restful sleep using reminders
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
US20200302952A1 (en) System for assessing vocal presentation
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
CN108108090B (en) Communication message reminding method and device
CN106453789B (en) Alarm clock volume adjusting method and device and intelligent terminal
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
CN111524513A (en) Wearable device and voice transmission control method, device and medium thereof
CN110658717B (en) Alarm clock control method, device, equipment and storage medium
WO2022037555A1 (en) Physiological data acquisition method and apparatus, and wearable device
CN108012027A (en) The method and apparatus for managing application program
CN110875042B (en) Designated crowd monitoring method and device and storage medium
CN116260904A (en) Alarm processing method and device and electronic equipment
CN118058707A (en) Sleep evaluation method, device and storage medium
CN110555376A (en) Control method and device for identifying fingerprints under screen
CN109413259A (en) A kind of method and terminal device of event prompting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200515

RJ01 Rejection of invention patent application after publication