CN106200359A - Alarm clock prompting method, device and terminal - Google Patents
Alarm clock prompting method, device and terminal Download PDFInfo
- Publication number
- CN106200359A CN106200359A CN201610547398.XA CN201610547398A CN106200359A CN 106200359 A CN106200359 A CN 106200359A CN 201610547398 A CN201610547398 A CN 201610547398A CN 106200359 A CN106200359 A CN 106200359A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- sleep
- clock calling
- target
- calling information
- 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
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G13/00—Producing acoustic time signals
- G04G13/02—Producing acoustic time signals at preselected times, e.g. alarm clocks
- G04G13/025—Producing acoustic time signals at preselected times, e.g. alarm clocks acting only at one preselected time
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of alarm clock prompting method, device and terminal, relate to field of terminal technology.Wherein, this alarm clock prompting method includes: obtain target alarm clock calling information;According to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user;According to the described length of one's sleep and the current time of described terminal, it is determined whether carry out sleep and remind;Wherein, the described length of one's sleep is early than the target reminder time of described target alarm clock calling information.The technical scheme that the embodiment of the present invention is provided, according to the target alarm clock calling information got and the sleep duration of user preset, determine the length of one's sleep of user, and according to the described length of one's sleep and the current time of terminal, determine whether that carrying out sleep reminds, it is possible to make alarm clock calling more intelligent, meet the individual demand of user, helping user to plan the daily schedule veritably, auxiliary user forms good living habit.
Description
Technical field
The present embodiments relate to field of terminal technology, particularly relate to a kind of alarm clock prompting method, device and terminal.
Background technology
With the quickening pace of modern life, not having enough sleep and annoying vast working clan, student also has other masses, this causes
They/their efficiency that works by day, learn and do things reduces, the also rising of rate of making a mistake, and causes the main cause of this phenomenon
Be them/they can not time of having a rest of reasonable arrangement oneself.Along with the universal of terminal and the raising of quality of life, in order to protect
Card user has the sleep of abundance, and ensures that good living habit and rule of life, most of users can arrange alarm clock
Alerting event.
Inventor, during realizing the present invention, finds that prior art has following defects that existing alarm clock calling side
Formula is usually intrinsic alerting pattern.Usually, when time terminal being detected reaches the pre-set alarm time of user,
User is reminded.Even if in the case of user has a rest deficiency, user reminded by alarm clock the most on time.Such as, do not have user
Notice the time of having a rest, or due to the reason such as be busy with one's work have a rest later etc. upset work and rest once in a while in the case of, alarm clock depends on
So remind user on time.Now do not have enough sleep due to user, the prompting of alarm clock may be disliked so that Consumer's Experience is poor.And
And, existing alarm clock calling mode, can only remind in the time that user pre-sets, it is impossible to help user's planning well
The length of one's sleep.
Summary of the invention
The embodiment of the present invention provides a kind of alarm clock prompting method, device and terminal, to improve intrinsic alarm clock calling mode,
User is reminded to ensure the sleep of abundance.
First aspect, embodiments provides a kind of alarm clock prompting method.This alarm clock prompting method includes:
Obtain target alarm clock calling information;
According to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user;
According to the described length of one's sleep and the current time of terminal, it is determined whether carry out sleep and remind;Wherein, during described sleep
Between early than target reminder time of described target alarm clock calling information.
Further, described acquisition target alarm clock calling information includes:
Obtain the alarm clock calling information under at least one state of activation;
Choose at least one described alarm clock calling information according to default alarm clock selection rule to believe as target alarm clock calling
Breath.
Further, described alarm clock calling information includes reminder time;
The alarm clock selection rule that described basis is preset is chosen at least one described alarm clock calling information and is carried as target alarm clock
Awake information includes:
When at least one described, reminder time was in the range of the default very first time, by least one and described prompting
Described alarm clock calling information corresponding to time is as target alarm clock calling information.
Further, described alarm clock calling information includes reminder time and reminded contents;
The alarm clock selection rule that described basis is preset is chosen at least one described alarm clock calling information and is carried as target alarm clock
Awake information includes:
Obtain described reminded contents, and choose at least one described alarm clock calling information as mesh according to described reminded contents
Mark alarm clock calling information.
Further, described according to the described length of one's sleep with the current time of terminal, it is determined whether to carry out sleep and remind bag
Include:
Obtain the current time of described terminal, when the current time of described terminal is consistent with the described length of one's sleep, carry out
Remind.
Further, described according to the described length of one's sleep with the current time of terminal, it is determined whether to carry out sleep and remind bag
Include:
The second time range is determined according to the described length of one's sleep and described target reminder time;
Obtain the status information of the terminal being in described second time range;
According to the described status information in described second time range, it is determined whether carry out sleep and remind.
Further, described status information includes: off-mode, holding state or duty.
Second aspect, embodiments provides a kind of alarm clock calling device.This alarm clock calling device includes:
Target alarm clock acquisition module, is used for obtaining target alarm clock calling information;
The length of one's sleep determines module, is used for according to described target alarm clock calling information and the sleep duration of user preset, really
Determine the length of one's sleep of user;
Sleep prompting determines module, for according to the described length of one's sleep and the current time of terminal, it is determined whether sleep
Sleep and remind;Wherein, the described length of one's sleep is early than the target reminder time of described target alarm clock calling information.
Further, described target alarm clock acquisition module includes:
Alarm clock information acquiring unit, for obtaining the alarm clock calling information under at least one state of activation;
Unit chosen by target alarm clock, for choosing at least one described alarm clock calling letter according to the alarm clock selection rule preset
Breath is as target alarm clock calling information;
Further, described alarm clock calling information includes reminder time;
Described target alarm clock choose unit specifically for:
When at least one described, reminder time was in the range of the default very first time, by least one and described prompting
Described alarm clock calling information corresponding to time is as target alarm clock calling information.
Further, described alarm clock calling information includes reminder time and reminded contents;
Described target alarm clock choose unit specifically for:
Obtain described reminded contents, and choose at least one described alarm clock calling information as mesh according to described reminded contents
Mark alarm clock calling information.
Further, described sleep prompting determine module specifically for:
Obtain the current time of described terminal, when the current time of described terminal is consistent with the described length of one's sleep, carry out
Remind.
Further, described sleep prompting determine module specifically for:
The second time range is determined according to the described length of one's sleep and described target reminder time;
Obtain the status information of the terminal being in described second time range;
According to the described status information in described second time range, it is determined whether carry out sleep and remind.
Further, described status information includes: off-mode, holding state or duty.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal.This terminal includes described in any embodiment of the present invention
Alarm clock calling device.
The technical scheme that the embodiment of the present invention is provided, according to the target alarm clock calling information got and user preset
Sleep duration, determines the length of one's sleep of user, and according to the described length of one's sleep and the current time of terminal, it is determined whether sleep
Sleep and remind, it is possible to make alarm clock calling more intelligent, meet the individual demand of user, help user to plan work and rest veritably
Time, auxiliary user forms good living habit.
Accompanying drawing explanation
In order to the technical scheme of exemplary embodiment of the present is clearly described, required to describing in embodiment below
Accompanying drawing to be used does one and simply introduces.Obviously, the accompanying drawing introduced is a part of embodiment that the present invention is to be described
Accompanying drawing rather than whole accompanying drawings, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used
To obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of alarm clock prompting method that Fig. 1 is provided by the embodiment of the present invention one;
The flow chart of a kind of alarm clock prompting method that Fig. 2 is provided by the embodiment of the present invention two;
The flow chart of a kind of alarm clock prompting method that Fig. 3 is provided by the embodiment of the present invention three;
The structure chart of a kind of alarm clock calling device that Fig. 4 is provided by the embodiment of the present invention four;
The structure chart of a kind of terminal that Fig. 5 is provided by the embodiment of the present invention five;
The structural representation of the computer program for alarm clock calling that Fig. 6 provides for the embodiment of the present invention six.
Detailed description of the invention
Further illustrate technical scheme below in conjunction with the accompanying drawings and by detailed description of the invention.May be appreciated
It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for explanation
, for the ease of describing, accompanying drawing illustrate only part related to the present invention rather than entire infrastructure.
It should be mentioned that, some exemplary embodiments are described as before being discussed in greater detail exemplary embodiment
The process described as flow chart or method.Although flow chart each step is described as order process, but many of which
Step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged.When it operates
When completing, described process can be terminated, it is also possible to have the additional step being not included in accompanying drawing.Described process is permissible
Corresponding to method, function, code, subroutine, subprogram etc..
Embodiment one
The flow chart of a kind of alarm clock prompting method that Fig. 1 provides for the embodiment of the present invention one.As it is shown in figure 1, the present embodiment
Method can be performed by alarm clock calling device, this device can realize by the way of hardware and/or software, and typically can be only
The method that vertical configuration realizes the present embodiment in the user terminal.
The method of the present embodiment specifically includes:
S110, acquisition target alarm clock calling information.
Specifically, the alarm clock calling information in detection terminal, when user terminal is provided only with an alarm clock, can obtain
Prompting new information corresponding to described alarm clock as target alarm clock calling information, or, it is judged that it is default whether described alarm clock meets
Whether time or content meet pre-conditioned, the most then using described alarm clock as target alarm clock information.When user terminal sets
It is equipped with two and during plural alarm clock, can determine in described alarm clock according to the temporal information of each alarm clock or content information
Target alarm clock information.Play the time period for example, it is possible to set in morning, the temporal information of each alarm clock in terminal and morning are played the time period
Endpoint value compare, the alarm clock that will be located in rising morning in the time period is as target alarm clock information.
S120, according to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user.
Exemplarily, the value of sleep duration can be terminal default value (such as 8 hours), it is also possible to be that user is according to self
Demand enters the operating instructions in terminal, sets itself.
According to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user.Specifically
When ground is it may be that the operation of user setup alarm clock detected, obtain the current time of terminal;According to described current time and target
Alarm clock calling information, calculates the current duration of target reminder time in described current time distance objective alarm clock calling information;
The sleep duration of described current duration with user preset is compared, according to described current time and comparison result, determines
The length of one's sleep of user.Or according to sleep duration, the target reminder time in target alarm clock calling information is calculated forward, determine
Go out the length of one's sleep of user.Concrete it may be that look when the target reminder time in target alarm clock calling information is deducted sleep
To difference, if described difference is more than or equal to zero, then using described difference as the length of one's sleep;If described difference is less than 0, then with 24
(24 hours system) or 12 (12 hours systems) plus described difference as length of one's sleep of user.It is understandable that the length of one's sleep is early
Target reminder time in target alarm clock information.Such as, during user setup target alarm clock, terminal current time is 21:00, target
The alarm clock calling information display time of rising in morning is 6:00, during the sleep of user preset a length of 8 hours.It is understood that user sets
Put the target alarm clock 6:00 that usually distance current time is nearest, then can calculate current time distance users and play also 9 morning
Individual hour, during the sleep of user preset a length of 8 hours, then can calculate after length of one's sleep of user being 1 hour, have current
Time 21:00 understands and should be 22:00 the length of one's sleep of user.Or, by morning, time 6:00 can extrapolate forward 8:00
It was 22:00 before hour.
S130, current time according to the described length of one's sleep and terminal, it is determined whether carry out sleep and remind;Wherein, described
The length of one's sleep is early than the target reminder time of described target alarm clock calling information.
Where it is determined whether carry out sleep prompting specifically may include whether that carrying out generating alarm clock reminds, further
Ground, however, it is determined that remind, then, on the basis of above-described embodiment, also include: carry out sleep according to default alerting pattern and carry
Wake up.Exemplarily, alerting pattern can be reminded in the way of including jingle bell prompting, vibration reminding or screen display alarm clock.Example
As, when needing user is reminded in relatively quiet scene (such as clock two o'clock in the morning etc.), the side of vibrations can be used
User is reminded by the mode of formula or the most on a terminal screen display alarm content.
Alternatively, sleep prompting is possible not only to include time alarm, it is also possible to include that content is reminded, and wherein, content is reminded
The form of expression of content can use word, expression, animation, sound etc., does not limits at this.Such as, when reminding for the first time, sleep
Dormancy prompting can be that " dear owner is 22:30 now, plays the time of only 8 hours morning apart from you, have a rest the most quickly
", reminded contents of sleeping when again reminding can be that " owner owner, you do not have a rest?I am the most distressed ", it is also possible to join
There is distressed little expression etc..The mode that sleep is reminded can provide various theme, selects for user, fully meets and uses
The individual demand at family.Have a rest well to ensure that user has, can not only be according to target alarm clock calling information reminding user
Morning rises, it is also possible to generate sleep prompting message according to the sleep duration of user preset, reminds user to have a rest.It is understood that
The sleep of user is just can ensure that early than the target reminder time with target alarm clock calling information with the length of one's sleep.
In the present embodiment, exemplarily, according to the described length of one's sleep and the current time of terminal, it is determined whether sleep
Sleep to remind and may include that the current time obtaining described terminal, when current time and the described target reminder time of described terminal
Time consistent, remind.Or, determine the second time range according to the described length of one's sleep and described target reminder time;Obtain
The status information of the terminal being in described second time range;According to the described status information in described second time range,
Determine whether that carrying out sleep reminds.
For example, the target reminder time information of current goal alarm clock calling information is Wednesday on May 18th, 2016
06:00 in the morning, during the sleep of user preset a length of 8 hours, then should be week on May 17th, 2016 length of one's sleep generated
The 10:00 in evening of two.Therefore, when the evening (or afternoon) that the time showing getting terminal is Tuesday on the 17th May in 2016
During 10:00 or 22:00 (24 hours systems), alarm clock calling can be carried out.It is possible to further carrying out the follow-up of alarm clock calling
The state of continuous monitoring user terminal, if the terminal monitoring user is in running order, or detects that terminal is in work shape
The time of state and number of times exceed default threshold value, then again remind according to default alerting pattern.
The technical scheme that the present embodiment is provided, according to the target alarm clock calling information got and the sleep of user preset
Duration, determines the length of one's sleep of user, and according to the described length of one's sleep and the current time of terminal, it is determined whether carry out sleep and carry
Wake up, it is possible to make alarm clock calling more intelligent, meet the individual demand of user, when helping user to plan work and rest veritably
Between, auxiliary user forms good living habit.
Embodiment two
The flow chart of the alarm clock prompting method that Fig. 2 provides for the embodiment of the present invention two.As in figure 2 it is shown, the present embodiment is upper
On the basis of stating each embodiment, optional is acquisition target alarm clock calling information to be optimized for further: obtain at least one alarm clock
Prompting message;Choose at least one described alarm clock calling information according to default alarm clock selection rule to believe as target alarm clock calling
Breath.
The method of the present embodiment specifically includes:
S111, the alarm clock calling information obtained under at least one state of activation.
Usually, alarm clock calling information would generally include user's reminder time set in advance, monitor terminal time
Between information consistent with reminder time time, by user setting in the way of user is reminded.As a social man, in daily life
Always having a lot of thing in work needs user to go to solve, and different backlogs may be arranged one or more alarm clock and carry by user
Wake up oneself.When user is busy or thing is more, in order to assist user to plan, alternatively, in alarm clock calling information
Reminder time and reminded contents can be included, be possible not only to assist user's planning time well, it is also possible to remind user currently
The backlog of reminder time.Accordingly, it would be desirable at least one alarm clock calling information in acquisition user terminal.
The alarm clock selection rule that S112, basis are preset is chosen at least one described alarm clock calling information and is carried as target alarm clock
The information of waking up.
So that alarm clock calling is more intelligent, in the case of not cause the user perplexs, preferably assist user
There is the sleep of abundance.In the present embodiment, exemplarily, described alarm clock calling information can include reminder time;Accordingly, root
Choose at least one described alarm clock calling information according to default alarm clock selection rule to include as target alarm clock calling information: when extremely
When a few described reminder time is in the range of the default very first time, the institute corresponding with described reminder time by least one
State alarm clock calling information as target alarm clock calling information.Wherein, very first time scope can carry according to the history alarm clock of user
Awake data determine, can determine according to the healthy Lifestyle be substantially accustomed to or advocate of most people, it is also possible to by user certainly
Row sets, for example, it is possible to according to the healthy Lifestyle be substantially accustomed to or advocate of most people by default very first time model
Enclose and be defaulted as 5:00-8:00, further, it is also possible to dynamically adjust very first time model according to the history alarm clock calling data of user
Enclose, such as, history feeling of fullness in the head reminder time of user display user generally between 6:00-8:00 morning rise, then can by first time
Between scope be adjusted to 5:00-8:00.One or more alarm clocks can be judged by the technical program by very first time scope,
Determine that the morning of user plays the time, preferably to assist user to plan the length of one's sleep.
In the present embodiment, described alarm clock calling information can also include reminder time and reminded contents.Accordingly, described
Choose at least one described alarm clock calling information according to default alarm clock selection rule to include as target alarm clock calling information: obtain
Take described reminded contents, and choose at least one described alarm clock calling information as target alarm clock calling according to described reminded contents
Information.The reminded contents in the alarm clock calling time according to user can accurately determine and play the time morning of user.Further,
At least one described alarm clock calling information is chosen concrete it may be that root as target alarm clock calling information according to described reminded contents
Target alarm clock calling information is chosen according to the keyword (such as " morning rises ", " meeting " etc.) in reminded contents.Simultaneously taking account of user can
Can have the custom of lunch break, the morning that can arrange lunch break plays quarter-bell, it is alternatively possible to combine reminder time and reminded contents determine to
Target alarm clock calling information in few alarm clock calling information so that target alarm clock calling information is more accurate, more suits
The demand of user.
S120, according to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user.
S130, current time according to the described length of one's sleep and terminal, it is determined whether carry out sleep and remind;Wherein, described
The length of one's sleep is early than the target reminder time of described target alarm clock calling information.
The technical scheme of the present embodiment, chooses target alarm clock calling letter from least one alarm clock information of user preset
Breath, then determines the length of one's sleep of user, and then sleeping according to user according to the sleep duration of target alarm clock information, user preset
Dormancy time and the state of terminal, it is determined whether carry out sleep and remind.It is capable of determining mesh in multiple alarm clock calling information
Mark alarm clock information, in order to avoid producing unnecessary alarm clock calling so that alarm clock prompting method is more intelligent.
Embodiment three
The flow chart of the alarm clock prompting method that Fig. 3 provides for the embodiment of the present invention three.As shown in Figure 3.The present embodiment is upper
On the basis of stating each embodiment, optional is by the current time according to the described length of one's sleep and terminal, it is determined whether sleep
Remind and be optimized for further: determine the second time range according to the described length of one's sleep and described target reminder time;Acquisition is in
The status information of the terminal in described second time range;According to the described status information in described second time range, determine
Whether carry out sleep to remind.
S110, acquisition target alarm clock calling information.
S120, according to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user.
S131, according to described sleep reminder time and described target reminder time determine the second time range.
After the second time range, the i.e. length of one's sleep determined by the length of one's sleep and target reminder time, target carries
Time period before the time of waking up.Can be understood as the time that user should have a rest.Determine object time scope, in order to user's
State carries out judging to ensure the sleep that user has abundance further, forms good work and rest custom.If detecting, user is needing
Time to be had a rest the most does not has a rest, and can remind user.
The status information of the terminal that S132, acquisition are in described second time range.
Exemplarily, the status information of terminal includes: off-mode, holding state or duty.Wherein it is determined that terminal
The most in running order can have various ways.Specifically, it is determined that the most in running order terminal that can detect of terminal is
No it is in bright screen state, if terminal is in bright screen state, then may determine that terminal is in running order.Further, if end
In bright screen state, then can obtain the time of terminal bright screen, and then judge whether the bright screen time of terminal exceedes setting time threshold
Value, the most then may determine that terminal is in running order.
Owing to user may be intermittent use terminal, such as, simply frequently send out a short message several, or the most even
Whether you look into a little data, will not may use terminal always, be in do not have a rest in order to more intelligently recognize user
State, determine terminal the most in running order can also by obtaining the bright screen number of times of terminal in the unit interval, if described bright
Screen number of times exceedes default frequency threshold value, it is determined that terminal is in running order.
In view of terminal in running order time, terminal would generally be operated by user, can by catch user be
No enter the operating instructions in terminal, judge that terminal is the most in running order.Specifically, the operational order of user's input, right
Can be the touch command of user in touch terminal, for the terminal of keyboard-type input, can be the button operation of user, also
It can be acoustic control instruction etc..Enter the operating instructions in terminal if capturing, then judge that terminal is in running order.In order to reduce
Erroneous judgement, on the basis of technique scheme, detecting when entering the operating instructions of user, it is also possible to obtains user and inputs behaviour
Make the frequency instructed, if described frequency reaches default frequency threshold, it is determined that terminal is in running order.
In the present embodiment, specifically, obtain the status information of the terminal being in described second time range, can obtain
Take the temporal information of terminal, when the temporal information of described terminal is in described second time range, then in real time monitoring or
Detect the state of described terminal every setting time cycle property, obtain the status information of terminal, in order to according to the state of user terminal
Information auxiliary determines the status information of user.
S133, according to the described status information in described second time range, it is determined whether carry out sleep remind.
As it has been described above, user should be at resting state in the second time range, according to terminal in the second time range
Status information can have a rest with auxiliary judgment user.When terminal is in running order, user may be described the most not
Have a rest, so that user can preferably have a rest, be to detect that terminal the second time range is interior still in work shape if optional
State, then can be reminded user by the reminder time preset and alerting pattern, in order to auxiliary user plans work and rest.
If being constantly in holding state or off-mode in a period of time preset after the length of one's sleep, then can be determined that user may
Have a rest, then can no longer remind, had a rest with interruption-free user.When carrying out alarm clock calling, can be in conjunction with terminal
Temporal information and status information, remind in the alarm clock calling mode set.
The technical scheme that the present embodiment is provided, determines the length of one's sleep according to target alarm clock calling information and sleep duration,
And the status information of the terminal of user can be detected by the second time range that user should have a rest, determine user
Whether have a rest, to remind user to ensure enough sleeps, and then determine whether that carrying out sleep reminds according to the state of user so that
Alarm clock calling is more fitted user's request, and motility is higher, more intelligent.
Embodiment four
Fig. 4 show the structural representation of a kind of alarm clock calling device that the embodiment of the present invention four provides, and this device can lead to
The mode crossing hardware and/or software realizes, and typically can be independent the application end being arranged in user terminal in realize this enforcement
The method of example.As shown in Figure 4, described alarm clock calling device specifically includes: target alarm clock acquisition module 410, the length of one's sleep determine
Module 420 and sleep prompting determine module 430.
Wherein, target alarm clock acquisition module 410, it is used for obtaining target alarm clock calling information;The length of one's sleep determines module
420, for according to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user;Sleep
Prompting determines module 430, for according to the described length of one's sleep and the current time of terminal, it is determined whether carries out sleep and reminds;Its
In, the described length of one's sleep is early than the target reminder time of described target alarm clock calling information.
The technical scheme that the present embodiment is provided, according to the target alarm clock calling information got and the sleep of user preset
Duration, determines the length of one's sleep of user, and according to the described length of one's sleep and the current time of terminal, it is determined whether carry out sleep and carry
Wake up, it is possible to make alarm clock calling more intelligent, meet the individual demand of user, when helping user to plan work and rest veritably
Between, auxiliary user forms good living habit.
On the basis of above-described embodiment, described target alarm clock acquisition module includes that alarm clock information acquiring unit and target are made a noise
Unit chosen by clock.
Wherein, alarm clock information acquiring unit, it is used for obtaining at least one alarm clock calling information;Unit chosen by target alarm clock,
For choosing at least one described alarm clock calling information as target alarm clock calling information according to the alarm clock selection rule preset.
On the basis of the various embodiments described above, described alarm clock calling information can include reminder time;
Accordingly, described target alarm clock is chosen unit and is particularly used in:
When at least one described, reminder time was in the range of the default very first time, by least one and described prompting
Described alarm clock calling information corresponding to time is as target alarm clock calling information.
On the basis of the various embodiments described above, described alarm clock calling information can include reminder time and reminded contents;Accordingly
, described target alarm clock is chosen unit and is particularly used in:
Obtain described reminded contents, and choose at least one described alarm clock calling information as mesh according to described reminded contents
Mark alarm clock calling information.
On the basis of the various embodiments described above, described sleep prompting determines that module is particularly used in:
Obtain the current time of described terminal, when the current time of described terminal is consistent with the described length of one's sleep, carry out
Remind.
On the basis of the various embodiments described above, described sleep prompting determines that module specifically may be used for:
The second time range is determined according to the described length of one's sleep and described target reminder time;
Obtain the status information of the terminal being in described second time range;
According to the described status information in described second time range, it is determined whether carry out sleep and remind.
On the basis of the various embodiments described above, described status information may include that off-mode, holding state or work shape
State etc..
The embodiment of the present invention additionally provides a kind of terminal, the alarm clock calling dress that this terminal is integrated with in the embodiment of the present invention
Put.Exemplary, described terminal concretely mobile phone, panel computer and intelligent watch etc. are configured with setting of alarm clock set-up function
Standby.
It is noisy that the alarm clock calling device provided in above-described embodiment and terminal can perform that any embodiment of the present invention provided
Clock based reminding method, possesses the execution corresponding functional module of the method and beneficial effect.The most detailed description
Ins and outs, can be found in the alarm clock prompting method that any embodiment of the present invention is provided.
Embodiment five
The structural representation of the terminal that Fig. 5 provides for the embodiment of the present invention five.As it is shown in figure 5, the end of the embodiment of the present invention
End includes: memorizer 510, one or more processor 520 and one or more program 530.
Wherein, the one or more program 530 performs above-described embodiment when being performed by one or more processors 520
In any one method.
The terminal of the embodiment of the present invention, according to the target alarm clock calling information got and the sleep duration of user preset,
Determine the length of one's sleep of user, and according to the described length of one's sleep and the current time of terminal, it is determined whether carry out sleep and remind, energy
Enough make alarm clock calling more intelligent, meet the individual demand of user, help user to plan the daily schedule veritably, auxiliary
User forms good living habit.
Embodiment six
The structural representation of the computer program for alarm clock calling that Fig. 6 provides for the embodiment of the present invention six.Such as Fig. 6 institute
Show that the computer program 610 for alarm clock calling of the embodiment of the present invention can include signal bearing medium 620.Signal
Bearing medium 620 can include one or more instruction 630, and this instruction 630 is when being performed by such as processor, and processor can
To provide the function described above in relation to Fig. 1-4.Such as, instruction 630 may include that for obtaining target alarm clock calling information
One or more instructions;For according to described target alarm clock calling information and the sleep duration of user preset, determining sleeping of user
One or more instructions of dormancy time;And for according to the described length of one's sleep and the current time of terminal, it is determined whether carry out
One or more instructions that sleep is reminded.It is therefoie, for example, with reference to Fig. 4, alarm clock calling device can enter in response to instruction 630
One or more in step shown in row Fig. 1.
In some implementations, signal bearing medium 620 can include computer-readable medium 640, such as, but not limited to firmly
Disk drive, compact disk (CD), digital universal disc (DVD), number tape, memorizer etc..In some implementations, signal bearing medium
620 can include recordable media 650, such as, but not limited to memorizer, read/write (R/W) CD, R/W DVD etc..Realize at some
In, signal bearing medium 72 can include communication media 660, such as, but not limited to numeral and/or analogue communication medium (such as,
Optical fiber cable, waveguide, wired communications links, wireless communication link etc.).
The computer program of the embodiment of the present invention, obtains target alarm clock calling information;Carry according to described target alarm clock
The information of waking up and the sleep duration of user preset, determine the length of one's sleep of user;Working as according to the described length of one's sleep and described terminal
The front time, it is determined whether carry out sleep and remind;Wherein, carry early than the target of described target alarm clock calling information the described length of one's sleep
The time of waking up.It is more intelligent that the computer program of the embodiment of the present invention enables to alarm clock calling, meets the individual character of user
Change demand, helps user to plan the daily schedule veritably, and auxiliary user forms good living habit..
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (15)
1. an alarm clock prompting method, it is characterised in that including:
Obtain target alarm clock calling information;
According to described target alarm clock calling information and the sleep duration of user preset, determine the length of one's sleep of user;
According to the described length of one's sleep and the current time of described terminal, it is determined whether carry out sleep and remind;Wherein, during described sleep
Between early than target reminder time of described target alarm clock calling information.
Alarm clock prompting method the most according to claim 1, it is characterised in that described acquisition target alarm clock calling information bag
Include:
Obtain the alarm clock calling information under at least one state of activation;
At least one described alarm clock calling information is chosen as target alarm clock calling information according to default alarm clock selection rule.
Alarm clock prompting method the most according to claim 2, it is characterised in that when described alarm clock calling information includes reminding
Between;
The alarm clock selection rule that described basis is preset is chosen at least one described alarm clock calling information and is believed as target alarm clock calling
Breath includes:
When at least one described, reminder time was in the range of the default very first time, by least one and described reminder time
Corresponding described alarm clock calling information is as target alarm clock calling information.
Alarm clock prompting method the most according to claim 2, it is characterised in that described alarm clock calling information includes reminder time
And reminded contents;
The alarm clock selection rule that described basis is preset is chosen at least one described alarm clock calling information and is believed as target alarm clock calling
Breath includes:
Obtain described reminded contents, and it is noisy as target to choose at least one described alarm clock calling information according to described reminded contents
Clock prompting message.
Alarm clock prompting method the most according to claim 1, it is characterised in that described according to the described length of one's sleep and terminal
Current time, it is determined whether carry out sleep prompting and include:
Obtain the temporal information of terminal, when the current time of described terminal is consistent with the described length of one's sleep, remind.
Alarm clock prompting method the most according to claim 1, it is characterised in that described according to the described length of one's sleep and terminal
Current time, it is determined whether carry out sleep prompting and include:
The second time range is determined according to the described length of one's sleep and described target reminder time;
Obtain the status information of the terminal being in described second time range;
According to the described status information in described second time range, it is determined whether carry out sleep and remind.
7. according to the arbitrary described alarm clock prompting method of claim 1-6, it is characterised in that described status information includes: shutdown
State, holding state or duty.
8. an alarm clock calling device, it is characterised in that including:
Target alarm clock acquisition module, is used for obtaining target alarm clock calling information;
The length of one's sleep determines module, for according to described target alarm clock calling information and the sleep duration of user preset, determines use
The length of one's sleep at family;
Sleep prompting determines module, for according to the described length of one's sleep and the current time of described terminal, it is determined whether sleep
Sleep and remind;Wherein, the described length of one's sleep is early than the target reminder time of described target alarm clock calling information.
Alarm clock calling device the most according to claim 8, it is characterised in that described target alarm clock acquisition module includes:
Alarm clock information acquiring unit, is used for obtaining at least one alarm clock calling information;
Unit chosen by target alarm clock, makees for choosing at least one described alarm clock calling information according to the alarm clock selection rule preset
For target alarm clock calling information.
Alarm clock calling device the most according to claim 9, it is characterised in that when described alarm clock calling information includes reminding
Between;
Described target alarm clock choose unit specifically for:
When at least one described, reminder time was in the range of the default very first time, by least one and described reminder time
Corresponding described alarm clock calling information is as target alarm clock calling information.
11. alarm clock calling devices according to claim 9, it is characterised in that when described alarm clock calling information includes reminding
Between and reminded contents;
Described target alarm clock choose unit specifically for:
Obtain described reminded contents, and it is noisy as target to choose at least one described alarm clock calling information according to described reminded contents
Clock prompting message.
12. alarm clock calling devices according to claim 8, it is characterised in that described sleep is reminded and determined that module is specifically used
In:
Obtain the current time of described terminal, when the current time of described terminal is consistent with the described length of one's sleep, remind.
13. alarm clock calling devices according to claim 8, it is characterised in that described sleep is reminded and determined that module is specifically used
In:
The second time range is determined according to the described length of one's sleep and described target reminder time;
Obtain the status information of the terminal being in described second time range;
According to the described status information in described second time range, it is determined whether carry out sleep and remind.
14.-13 arbitrary described alarm clock calling devices according to Claim 8, it is characterised in that described status information includes: close
Machine state, holding state or duty.
15. 1 kinds of terminals, it is characterised in that include the arbitrary described alarm clock calling device of claim 8-14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547398.XA CN106200359A (en) | 2016-07-12 | 2016-07-12 | Alarm clock prompting method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547398.XA CN106200359A (en) | 2016-07-12 | 2016-07-12 | Alarm clock prompting method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106200359A true CN106200359A (en) | 2016-12-07 |
Family
ID=57477925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610547398.XA Pending CN106200359A (en) | 2016-07-12 | 2016-07-12 | Alarm clock prompting method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106200359A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147788A (en) * | 2017-05-08 | 2017-09-08 | 深圳天珑无线科技有限公司 | A kind of alarm clock prompting method, device and terminal |
CN107561919A (en) * | 2017-09-05 | 2018-01-09 | 深圳天珑无线科技有限公司 | A kind of method of adjustment of timer, terminal and the device with store function |
CN108366166A (en) * | 2018-01-25 | 2018-08-03 | 维沃移动通信有限公司 | A kind of operation method and mobile terminal of mobile terminal |
CN110658717A (en) * | 2019-09-30 | 2020-01-07 | 安徽华米信息科技有限公司 | Alarm clock control method, device, equipment and storage medium |
CN111863197A (en) * | 2020-07-27 | 2020-10-30 | 北京如影智能科技有限公司 | Sleep management method and device |
CN112561468A (en) * | 2020-12-04 | 2021-03-26 | 珠海格力电器股份有限公司 | Sleep-in reminding method and device, readable storage medium and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051805A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for alarm clock timing and mobile terminal |
CN103823562A (en) * | 2014-02-28 | 2014-05-28 | 惠州Tcl移动通信有限公司 | Method and system for automatically reminding users to go to bed and wearable device |
JP2015041614A (en) * | 2013-08-23 | 2015-03-02 | パナソニックIpマネジメント株式会社 | Luminaire and illumination method |
CN104580642A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Clock reminding method and device |
CN104580748A (en) * | 2015-02-12 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and system for adjusting alarm clocks and mobile terminal |
CN104735264A (en) * | 2015-04-15 | 2015-06-24 | 上海斐讯数据通信技术有限公司 | Mobile terminal and control method thereof |
CN105282343A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Smart sleep reminding method and smart sleep reminding device |
WO2016028988A1 (en) * | 2014-08-21 | 2016-02-25 | Alibaba Group Holding Limited | Managing applications for power conservation |
CN105725969A (en) * | 2016-01-29 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Alarm control method and alarm control device for wearable device |
-
2016
- 2016-07-12 CN CN201610547398.XA patent/CN106200359A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051805A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for alarm clock timing and mobile terminal |
JP2015041614A (en) * | 2013-08-23 | 2015-03-02 | パナソニックIpマネジメント株式会社 | Luminaire and illumination method |
CN103823562A (en) * | 2014-02-28 | 2014-05-28 | 惠州Tcl移动通信有限公司 | Method and system for automatically reminding users to go to bed and wearable device |
WO2016028988A1 (en) * | 2014-08-21 | 2016-02-25 | Alibaba Group Holding Limited | Managing applications for power conservation |
CN104580642A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Clock reminding method and device |
CN104580748A (en) * | 2015-02-12 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and system for adjusting alarm clocks and mobile terminal |
CN104735264A (en) * | 2015-04-15 | 2015-06-24 | 上海斐讯数据通信技术有限公司 | Mobile terminal and control method thereof |
CN105282343A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Smart sleep reminding method and smart sleep reminding device |
CN105725969A (en) * | 2016-01-29 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Alarm control method and alarm control device for wearable device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147788A (en) * | 2017-05-08 | 2017-09-08 | 深圳天珑无线科技有限公司 | A kind of alarm clock prompting method, device and terminal |
CN107561919A (en) * | 2017-09-05 | 2018-01-09 | 深圳天珑无线科技有限公司 | A kind of method of adjustment of timer, terminal and the device with store function |
CN108366166A (en) * | 2018-01-25 | 2018-08-03 | 维沃移动通信有限公司 | A kind of operation method and mobile terminal of mobile terminal |
CN110658717A (en) * | 2019-09-30 | 2020-01-07 | 安徽华米信息科技有限公司 | Alarm clock control method, device, equipment and storage medium |
CN111863197A (en) * | 2020-07-27 | 2020-10-30 | 北京如影智能科技有限公司 | Sleep management method and device |
CN112561468A (en) * | 2020-12-04 | 2021-03-26 | 珠海格力电器股份有限公司 | Sleep-in reminding method and device, readable storage medium and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106170041A (en) | Alarm clock prompting method, device and terminal | |
CN106200359A (en) | Alarm clock prompting method, device and terminal | |
US11626031B2 (en) | Systems and techniques for tracking sleep consistency and sleep goals | |
US10485474B2 (en) | Sleep monitoring system | |
CN105282343A (en) | Smart sleep reminding method and smart sleep reminding device | |
CN103518204B (en) | Messaging device, information processing method and program | |
CN104484796B (en) | Portable terminal and its agenda managing method | |
JP2004534340A5 (en) | ||
CN104967731B (en) | A kind of terminal notifying method and terminal | |
CN105068414A (en) | Alarm clock awakening method and electronic equipment | |
CN106453867A (en) | Alarm clock control method and device | |
CN106303018A (en) | A kind of alarm clock control method and terminal | |
CN107493388A (en) | Terminal and its sleep intelligent prompt method, storage device | |
CN105824294A (en) | System and method of intelligent alarm control | |
CN105320263A (en) | Reminding method for wearable device and wearable device | |
CN106527723A (en) | Method and device for controlling alarm clock of mobile terminal and mobile terminal | |
CN108375909A (en) | A kind of parameters analysis method, device, equipment and computer readable storage medium | |
CN111657855B (en) | Sleep evaluation and sleep awakening method and device and electronic equipment | |
CN107968885A (en) | Alarm clock prompting method, mobile terminal and computer-readable recording medium | |
WO2019132772A1 (en) | Method and system for monitoring emotions | |
CN112487235A (en) | Audio resource playing method and device, intelligent terminal and storage medium | |
CN106295158B (en) | A kind of automatic aided management system of infant, management method and equipment | |
US20230237059A1 (en) | Managing engagement methods of a digital assistant while communicating with a user of the digital assistant | |
CN107682560A (en) | Indicating mode switching method, device, computer installation and computer-readable recording medium | |
CN107025143A (en) | Notifier processes method, device and the communication terminal of a kind of application message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |