CN107613140A - Reminding method, mobile terminal and the computer-readable recording medium that alarm clock is set - Google Patents

Reminding method, mobile terminal and the computer-readable recording medium that alarm clock is set Download PDF

Info

Publication number
CN107613140A
CN107613140A CN201710979592.XA CN201710979592A CN107613140A CN 107613140 A CN107613140 A CN 107613140A CN 201710979592 A CN201710979592 A CN 201710979592A CN 107613140 A CN107613140 A CN 107613140A
Authority
CN
China
Prior art keywords
mobile terminal
alarm clock
user
time
duration
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.)
Granted
Application number
CN201710979592.XA
Other languages
Chinese (zh)
Other versions
CN107613140B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710979592.XA priority Critical patent/CN107613140B/en
Publication of CN107613140A publication Critical patent/CN107613140A/en
Application granted granted Critical
Publication of CN107613140B publication Critical patent/CN107613140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses reminding method, mobile terminal and the computer-readable recording medium that a kind of alarm clock is set, wherein, methods described includes:Detect time interval of the current time apart from the alarm clock calling time of mobile terminal, if less than predetermined user sleep duration;When being less than user sleep duration in the time interval, and detecting that the mobile terminal is in bright screen state, prompt whether to need to reset the alarm clock calling time.The present invention can in advance evade before alarm clock calling time is reached, avoid mobile terminal from being reminded according to the alarm clock calling time to the alarm clock calling event of the alarm clock calling time, and influence the sleep or rest of user.

Description

Reminding method, mobile terminal and the computer-readable recording medium that alarm clock is set
Technical field
The present invention relates to communication technical field, more particularly to reminding method, mobile terminal and the calculating that a kind of alarm clock is set Machine readable storage medium storing program for executing.
Background technology
With the fast development of mobile terminal, the application function of mobile terminal is also more and more, and mobile terminal carries for life For many facilities, a part indispensable in life is increasingly becoming.In general, mobile terminal all possess alarm clock function, lead to Cross setting alarm clock and may remind the user that study, work or processing important affairs etc..
At present, user by mobile terminal set alarm clock slept when wake prompting after, it is also possible to exist need not The alarm clock pre-set according to former alarm clock calling time wake the situation of prompting, when this just needs user to former alarm clock calling Between be adjusted or close the alarm clock of former alarm clock calling time.But user may be due to forgetting that adjusting alarm clock is set, and leads When cause mobile terminal is reminded according to predetermined alarm clock calling time, user's rest is influenceed.
The content of the invention
The invention provides reminding method, mobile terminal and the computer-readable recording medium that a kind of alarm clock is set, with solution Mobile terminal certainly of the prior art is because user forgets that adjusting alarm clock is set, when causing mobile terminal according to predetermined alarm clock calling Between when being reminded, the problem of influenceing user's rest.
In a first aspect, the embodiments of the invention provide a kind of alarm clock set reminding method, applied to mobile terminal, wherein Methods described includes:
Detect time interval of the current time apart from the alarm clock calling time of mobile terminal, if less than predetermined use Family sleep duration;
It is less than user sleep duration in the time interval, and detects that the mobile terminal is in bright screen state When, prompt whether to need to reset the alarm clock calling time.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the mobile terminal includes:
Detection module, for detecting time interval of the current time apart from the alarm clock calling time of mobile terminal, if small In predetermined user sleep duration;
Reminding module, for being less than user sleep duration in the time interval, and detect the mobile terminal During in bright screen state, prompt whether to need to reset the alarm clock calling time.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory and are stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is by the computing device The step of realizing the reminding method that alarm clock as described above is set.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, described computer-readable to deposit Computer program is stored with storage media, the computer program realizes what alarm clock as described above was set when being executed by processor The step of reminding method.
In embodiments of the present invention, by detecting time interval of the current time apart from the alarm clock calling time of mobile terminal Whether predetermined user sleep duration is less than;And it is less than user's sleep duration in the time interval and detects movement When terminal is in bright screen state, prompt whether to need to reset the alarm clock calling time.The program can reach alarm clock calling Before time, the alarm clock calling event of the alarm clock calling time is evaded in advance, avoids user due to forgetting that adjusting alarm clock carries The awake time closes the alarm clock of the alarm clock calling time, causes mobile terminal to be carried according to the alarm clock calling time When waking up, user's sleep or rest are influenceed.And this programme is when detecting that mobile terminal is in bright screen state, prompted whether Need to reset alarm clock calling time, whether can exclude that mobile terminal is not used in user is to be prompted to need to reset alarm clock to carry The situation of awake time, so as to ensure to carry out to prompt the validity for reseting alarm clock calling time.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 represents one of flow chart of reminding method that the alarm clock of the embodiment of the present invention is set;
Fig. 2 represents the two of the flow chart for the reminding method that the alarm clock of the embodiment of the present invention is set;
Fig. 3 represents the three of the flow chart for the reminding method that the alarm clock of the embodiment of the present invention is set;
Fig. 4 represents the four of the flow chart for the reminding method that the alarm clock of the embodiment of the present invention is set;
Fig. 5 represents the block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 6 represents the hardware architecture diagram of the mobile terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, the embodiments of the invention provide the reminding method that a kind of alarm clock is set, applied to mobile terminal, wherein Methods described includes:
Step 11, time interval of the current time apart from the alarm clock calling time of mobile terminal is detected, if less than advance User's sleep duration of determination.
Wherein, predetermined user's sleep duration can be that user is customized in advance, such as:User sleeps according to oneself Dormancy situation, a length of 8 hours when presetting user's sleep;It can also be and sleeping for user is determined according to the dormancy time of mobile terminal Dormancy duration.
Specifically, determining the sleep duration of user according to the dormancy time of mobile terminal, specifically include:In default statistics week In phase, the maximum of the lasting sleep time of mobile terminal during record is daily respectively.Wherein, the chronomere of measurement period is preset For day, presetting measurement period includes at least two days, and preferably default measurement period is 10~15 days.Calculate in default measurement period It is described continue sleep time maximum average value, as user sleep duration.Such as default measurement period is 15 days, then may be used With in calculating 15 days in every day the maximum of the lasting sleep time of mobile terminal average value.Wherein, the calculating of average value Mode can use weighted average to calculate, and the weight coefficient when being calculated using weighted average can be set in advance here It is fixed, it can also determine that the present invention is not limited according to sampled data (maximum of the lasting sleep time of mobile terminal).
In the embodiment, by current time apart from the alarm clock calling time of mobile terminal time interval with it is predetermined User's sleep duration is compared, to determine the need for prompting user to reset the alarm clock calling time, so as to avoid moving Terminal is reminded according to default alarm clock calling time, influences user's sleep or rest.
For example, current time is 11 points at night, the alarm clock calling time of mobile terminal is 5 points of morning next day, then the time Interval is 6 hours.A length of 7 hours when known users are slept, it is determined that current time carries apart from the alarm clock of mobile terminal The time interval of awake time is less than predetermined user sleep duration.
It should be noted that mobile terminal may set at least two alarm clocks for needing jingle bell prompting, the embodiment of the present invention In alarm clock calling time can be user it is predefined treat jingle bell remind alarm clock corresponding to alarm clock calling time or Alarm clock calling time corresponding to carrying out the alarm clock of jingle bell prompting at least two alarm clock at first, can also be described at least two In alarm clock calling time corresponding to individual alarm clock difference, the alarm clock calling time in preset time range, or in addition Other predefined modes, the present invention are not limited.
Step 12, when being less than user's sleep duration in the time interval, and detecting that mobile terminal is in bright screen state, Whether prompting needs to reset the alarm clock calling time.
In the embodiment, being less than user's sleep duration in time interval, i.e. time interval is unsatisfactory for the sleep duration of user, And when detecting that current mobile terminal is in bright screen state, prompt the user whether to need to be adjusted alarm clock calling time, with Meet the sleep duration of user.
Specifically, the step of whether prompting needs to reset the alarm clock calling time, specifically includes:Show on mobile terminals Show the prompting frame for reseting the alarm clock calling time.Wherein, prompting frame, which includes cancelling, resets taking for the alarm clock calling time Disappear interface, close the alarm clock calling time alarm clock down interface and reset reseting for the alarm clock calling time and connect Mouthful, cancel to provide user and reset the alarm clock calling time, close the alarm clock of the alarm clock calling time or reset The selection of the alarm clock calling time.
If specifically, detecting that the operational order of the alarm clock calling time is reseted in the cancellation in prompting frame, keep former Alarm clock calling time, and the display prompting frame is exited, such as:Get the triggering behaviour cancelled on interface operated in prompting frame Make, then keep former alarm clock calling time, and exit the display prompting frame.
If detecting the operational order of the closing alarm clock in prompting frame, alarm clock corresponding to the alarm clock calling time is closed Close, and exit the display prompting frame, such as:The trigger action operated on the down interface in prompting frame is got, then by institute State alarm clock corresponding to alarm clock calling time to close, and exit the display prompting frame.
If detecting the operational order for reseting the alarm clock calling time in prompting frame, by the alarm clock calling time It was adjusted to for the second time from the very first time, and exits the display prompting frame, such as:Get and operate in reseting in prompting frame and connect During trigger action on mouth, the function of activation adjustment alarm clock calling time;Determined getting by alarm clock calling time from first When time is adjusted to the confirmation instruction of the second time, alarm clock calling time was set as the second time, and exit and carried described in display Show frame.The program can avoid the setting up procedure of cumbersome alarm clock calling time, so as to which simplification is adjusted to alarm clock calling time Whole operating process, to solve in the prior art when being adjusted to alarm clock calling time, it is necessary to set interface into alarm clock Corresponding alarm clock calling time is adjusted afterwards, the problem of its operating process is cumbersome.
Further, after alarm clock calling time is adjusted into the second time from the very first time, if mobile terminal is reaching After second time was reminded, alarm clock calling time is reverted into the very first time from the second time, avoided in the alarm clock calling Alarm clock corresponding to time is to repeat reminding alarm clock (such as:The alarm clock on Monday enters respectively to the alarm clock calling time of Friday Row is reminded) when, after adjusting alarm clock calling time due to single, cause the alarm clock calling time for repeating reminding alarm clock by more Change.
It is whether small apart from the time interval of the alarm clock calling time of mobile terminal by detecting current time in such scheme In predetermined user sleep duration;And it is less than user's sleep duration in the time interval and detects at mobile terminal When bright screen state, prompt whether to need to reset the alarm clock calling time.The program can reach alarm clock calling time it Before, the alarm clock calling event of the alarm clock calling time is evaded in advance, avoids user from adjusting alarm clock calling time due to forgetting Or close the alarm clock of the alarm clock calling time, when causing the mobile terminal to be reminded according to the alarm clock calling time, Influence user's sleep or rest.And whether this programme is prompted to need when detecting that mobile terminal is in bright screen state Alarm clock calling time is reseted, can be excluded when it is to be prompted whether to need to reset alarm clock calling that mobile terminal, which is not used, in user Between situation, so as to ensure to carry out the validity that alarm clock calling time is reseted in prompting.
Referring to Fig. 2, the embodiment of the present invention additionally provides the reminding method that a kind of alarm clock is set, applied to mobile terminal, its Described in method include:
Step 21, time interval of the current time apart from the alarm clock calling time of mobile terminal is detected, if less than advance User's sleep duration of determination.
Wherein, predetermined user sleep duration can be it is user-defined, such as:User is according to the sleep shape of oneself Condition, a length of 8 hours when presetting user's sleep;It can also be when determining the sleep of user according to the dormancy time of mobile terminal It is long.Specifically, determine that the method for the sleep duration of user can be true according to above-described embodiment according to the dormancy time of mobile terminal It is fixed, repeat no more here.
In the embodiment, by current time apart from the alarm clock calling time of mobile terminal time interval with it is predetermined User's sleep duration is compared, to determine the need for prompting user to reset the alarm clock calling time, so as to avoid moving Terminal is reminded according to the alarm clock calling time, influences user's sleep or rest.
Step 22, time interval be less than user sleep duration when, detection user sleep duration and the time interval it Between difference, if more than or equal to the first preset duration threshold value.
Wherein, the first preset duration threshold value can be user-defined or be slept according to predetermined user Dormancy duration is set.If duration is shorter specifically, predetermined user sleeps, can set corresponding first it is default when Long threshold value is relatively small.Such as:A length of 8 hours during predetermined user sleep, then the first preset duration threshold value can 1~ Value in the range of 2 hours, preferable first preset duration threshold value are 1.5 hours.A length of 6 is small during predetermined user's sleep When, then the first preset duration threshold value can value, preferable first preset duration threshold value be 1 small in the range of 0.5~1.5 hour When.Certainly, the first preset duration threshold value can also set other numerical value in addition, and the present invention is not limited.
In the embodiment, user is slept the difference between duration and the time interval, with the first preset duration threshold value It is compared, to be optimized to the trigger condition for prompting the user whether to need to adjust alarm clock calling time, and then is advantageous to excellent Change the sleep duration of user.
Step 23, it is more than or equal to the first preset duration threshold value in the difference, and detects that mobile terminal is in bright During screen state, prompt whether to need to reset the alarm clock calling time;If the difference is less than the first preset duration threshold value, Above-mentioned steps 22 are performed after preset duration.
In the embodiment, when the difference that user sleeps between duration and the time interval is default more than or equal to first Long threshold value, i.e. time interval are unsatisfactory for the sufficient sleep duration of user, and when detecting that current mobile terminal is in bright screen state, Prompt the user whether to need to be adjusted alarm clock calling time, to ensure that user has sufficient sleep duration.Otherwise, pre- If after duration, the difference between detection user sleep duration and the time interval, if more than or equal to preset duration threshold Value.Preferably, preset duration is 1 hour.Certainly, preset duration can also set other numerical value in addition, and the present invention is not As limit.
Specifically, whether prompting needs the method for reseting the alarm clock calling time to be determined according to above-described embodiment, Here repeat no more.In such scheme, by detecting time interval of the current time apart from the alarm clock calling time of mobile terminal Whether predetermined user sleep duration is less than;And it is less than user's sleep duration in the time interval and detects movement When terminal is in bright screen state, prompt whether to need to reset the alarm clock calling time.The program can reach alarm clock calling Before time, the alarm clock calling event of the alarm clock calling time is evaded in advance, avoids user due to forgetting that adjusting alarm clock carries The awake time closes the alarm clock of the alarm clock calling time, causes mobile terminal to be carried according to the alarm clock calling time When waking up, user's sleep or rest are influenceed.
And whether this programme is prompted to need to reset alarm clock calling when detecting that mobile terminal is in bright screen state Time, it can exclude to be not used mobile terminal is to be prompted whether to need the situation for reseting alarm clock calling time in user, from And ensure to carry out the validity that alarm clock calling time is reseted in prompting.
In addition, this programme is also by the difference that user sleeps between duration and the time interval, with first it is default when Long threshold value is compared, to be optimized to the trigger condition for prompting the user whether to need to adjust alarm clock calling time, Jin Eryou Beneficial to the sleep duration of optimization user.
Referring to Fig. 3, the embodiment of the present invention additionally provides the reminding method that a kind of alarm clock is set, applied to mobile terminal, its Described in method include:
Step 31, time interval of the current time apart from the alarm clock calling time of mobile terminal is detected, if less than advance User's sleep duration of determination.
Wherein, predetermined user sleep duration can be it is user-defined, such as:User is according to the sleep shape of oneself Condition, a length of 8 hours when presetting user's sleep;It can also be when determining the sleep of user according to the dormancy time of mobile terminal It is long.Specifically, determine that the method for the sleep duration of user can be true according to above-described embodiment according to the dormancy time of mobile terminal It is fixed, repeat no more here.
In the embodiment, by current time apart from the alarm clock calling time of mobile terminal time interval with it is predetermined User's sleep duration is compared, to determine the need for prompting user to reset the alarm clock calling time, so as to avoid moving Terminal is reminded according to default alarm clock calling time, influences user's sleep or rest.
Step 32, when being less than user's sleep duration in time interval, and detecting that mobile terminal is in bright screen state, detection Whether the application program that mobile terminal is currently run is default application program.
Wherein, default application program can be user-defined, wherein default application program can be office class application Program, such as:Office class instant messaging program;It can also be mapping program etc..
Step 33, if the application program that mobile terminal is currently run is non-default application program, prompt whether to need weight If the alarm clock calling time.
If the application program that step 34 mobile terminal is currently run is default application program, detecting at mobile terminal When desktop, prompt whether to need to reset alarm clock calling time.
In the embodiment, when the application program for detecting that mobile terminal is currently run is default application program, then examining When measuring mobile terminal and being retracted to desktop by the application program currently run or switched to non-default application program, prompt whether Alarm clock calling time is reseted, when avoiding mobile terminal in the running status for presetting application program, alarm clock is reseted due to prompting and carried Wake up the time, and influence the operation process of default application program, the experience effect of user is impacted.
Specifically, whether prompting needs the method for reseting the alarm clock calling time to be determined according to above-described embodiment, It will not be repeated here.
In addition, the program can be before alarm clock calling time be reached, to the alarm clock calling thing of the alarm clock calling time Part is evaded in advance, avoids user due to forgetting to adjust alarm clock calling time or closing the alarm clock of the alarm clock calling time, When causing the mobile terminal to be reminded according to the alarm clock calling time, user's sleep or rest are influenceed.And this programme is being examined When measuring mobile terminal and being in bright screen state, prompted whether to need to reset alarm clock calling time, can be excluded in user not The use of mobile terminal is to be prompted whether to need the situation for reseting alarm clock calling time, alarm clock is reseted so as to ensure to carry out prompting The validity of reminder time.
Referring to Fig. 4, the embodiment of the present invention additionally provides the reminding method that a kind of alarm clock is set, applied to mobile terminal, its Described in method include:
Step 41, time interval of the current time apart from the alarm clock calling time of mobile terminal is detected, if less than advance User's sleep duration of determination.
Wherein, predetermined user sleep duration can be it is user-defined, such as:User is according to the sleep shape of oneself Condition, a length of 8 hours when presetting user's sleep;It can also be when determining the sleep of user according to the dormancy time of mobile terminal It is long.Specifically, determine that the method for the sleep duration of user can be true according to above-described embodiment according to the dormancy time of mobile terminal It is fixed, repeat no more here.
In the embodiment, by current time apart from the alarm clock calling time of mobile terminal time interval with it is predetermined User's sleep duration is compared, to determine the need for prompting user to reset the alarm clock calling time, so as to avoid moving Terminal is reminded according to default alarm clock calling time, influences user's sleep or rest.
Step 42, when being less than user's sleep duration in time interval, and detecting that mobile terminal is in bright screen state, detection Whether the currently used person of mobile terminal is predesignated subscriber.
Specifically, above-mentioned steps 42 specifically include:It is less than user's sleep duration in time interval, and detects mobile terminal During in bright screen state, record mobile terminal is in the duration of bright screen state;Whether detection duration is more than or small In the second preset duration threshold value;When duration is more than or equal to the second preset duration threshold value, working as mobile terminal is detected Whether preceding user is predesignated subscriber.
In the embodiment, the duration of bright screen state is in by recording mobile terminal, and judges detecting persistently When duration is more than or equal to the second preset duration threshold value, determine that mobile terminal is currently used by a user.Specifically, second is default Duration threshold value can be user-defined or set in advance.Such as:Second preset duration threshold value can 3~ Value in the range of 10 minutes, preferable second preset duration threshold value are 5 minutes.Second preset duration threshold value can also be according to shifting Breath screen delay duration after the default no operation of dynamic terminal is determined, and the second preset duration threshold value is more than the breath screen delay Duration, to exclude to cause mobile terminal to be mistakenly considered situation about being currently used by a user due to breath screen delay after without operation, and then Ensure whether mobile terminal triggering prompting resets the validity and accuracy of alarm clock calling time event.Certainly, second it is default when Long threshold value can also set other numerical value in addition, and the present invention is not limited.
Step 43, when the currently used person of mobile terminal is predesignated subscriber, when prompting whether to need to reset alarm clock calling Between alarm clock calling time.
Specifically, whether prompting needs the method for reseting the alarm clock calling time to be determined according to above-described embodiment, It will not be repeated here.
In the embodiment, by being detected to the currently used person of mobile terminal, detecting that currently used person is pre- When determining user, reset the prompting of alarm clock calling time alarm clock calling time, using exclude the currently used person of mobile terminal as The situation of pre-set user sleep is not influenceed during other users outside pre-set user, ensures that alarm clock is reseted in mobile terminal triggering prompting The validity and precision of reminder time event.
Specifically, after above-mentioned steps 42, it is described to be less than user sleep duration in the time interval, and detect When the mobile terminal is in bright screen state, the step of whether currently used person for detecting the mobile terminal is predesignated subscriber, is also Including:When the currently used person of mobile terminal is nonscheduled user, the currently used person of statistic mixed-state to mobile terminal is non- The detection number of predesignated subscriber;When detection number is less than or equal to default value, the detection duration is performed The step of whether being more than or less than the second preset duration threshold value.
Wherein, default value can be user-defined or set in advance.Such as:Default value can be with The value in 20~50 underranges, preferable default value are 30 times.Certainly, default value can also set in addition its His numerical value, the present invention are not limited.
It is non-pre- detecting currently used person by being detected to the currently used person of mobile terminal in the embodiment If during user, record the detection number that currently used person is non-pre-set user (other users outside pre-set user).Detecting When number is less than or equal to default value, whether the currently used person of poll detection mobile terminal is predesignated subscriber.Detecting When number reaches default value, terminate flow, ensure not influence for nonscheduled user in the currently used person for excluding mobile terminal During the situation of predesignated subscriber's sleep duration, whether need reset alarm clock calling time, to reduce the place of mobile terminal if not reresenting Reason amount, and then be advantageous to improve the treatment effeciency of mobile terminal.
In addition, the program can also be avoided before alarm clock calling time is reached, to the alarm clock of the alarm clock calling time Reminder events are evaded in advance, avoid user from adjusting alarm clock calling time or the alarm clock by the alarm clock calling time due to forgetting Close, when causing the mobile terminal to be reminded according to the alarm clock calling time, influence user's sleep or rest.And this programme When detecting that mobile terminal is in bright screen state, prompted whether to need to reset alarm clock calling time, can exclude with Family is not used mobile terminal is to be prompted whether to need the situation for reseting alarm clock calling time, is reseted so as to ensure to carry out prompting The validity of alarm clock calling time.
Wherein, as it is a kind of detect mobile terminal currently used person whether be predesignated subscriber mode, by detecting State unlocking manner when mobile terminal is unlocked;If the mobile terminal is unlocked by the unlocking manner of identification, it is determined that The currently used person of the mobile terminal is predesignated subscriber.
Specifically, unlocking manner when mobile terminal is unlocked have the unlocking manner of identification, password unlocking manner or Unlocking manner that person's trusted device is unlocked etc..Wherein, the unlocking manner of identification has finger print information unblock, face to know Not Xie Suo wait.It is to be unlocked by the unlocking manner of identification, it is determined that mobile terminal if mobile terminal is unlocked Currently used person be predesignated subscriber.
So, when mobile terminal is unlocked, due to what is be unlocked using password unlocking manner or trusted device Unlocking manner etc. is unlocked, and when whether the currently used person without can determine that mobile terminal is predesignated subscriber, can also be used Whether the currently used person of in the following manner detection mobile terminal is predesignated subscriber.
Example one:Start the camera of the mobile terminal;Detect facial image that the camera collects with it is default Whether the facial image of user matches;If matching, it is determined that the currently used person of the mobile terminal is predesignated subscriber;Otherwise, The currently used person for determining the mobile terminal is nonscheduled user.
In the embodiment, the currently used person of camera detection mobile terminal is used to ensure detection whether for pre-set user The currently used person of mobile terminal whether be predesignated subscriber's method general applicability.
Example two:Start the iris detection module of the mobile terminal;Detect the iris of the iris detection module collection Whether information matches with the iris information of pre-set user;If matching, it is determined that the currently used person of the mobile terminal is predetermined User;Otherwise, it determines the currently used person of the mobile terminal is nonscheduled user.
In the embodiment, whether the currently used person of iris detection mobile terminal is used for pre-set user, is ensured mobile whole End is also able to detect that whether currently used person is pre-set user in the environment in dark, and the testing result degree of accuracy It is high.
Referring to Fig. 5, the embodiment of the present invention additionally provides a kind of mobile terminal 500, including:
Detection module 510, for detecting time interval of the current time apart from the alarm clock calling time of mobile terminal, if Less than predetermined user sleep duration.
Reminding module 520, for being less than user sleep duration in the time interval, and detect described mobile whole When end is in bright screen state, prompt whether to need to reset the alarm clock calling time.
Wherein, the mobile terminal 500 also includes:
Logging modle, in default measurement period, respectively record daily described in mobile terminal lasting dormancy when Long maximum, wherein the default measurement period includes at least two days.
Computing module, for calculating being averaged for the maximum for continuing sleep time in the default measurement period Value, as user's sleep duration.
Wherein, the reminding module includes:
First detection sub-module, for when the time interval is less than user sleep duration, detecting the user The difference slept between duration and the time interval, if more than or equal to the first preset duration threshold value.
First prompting submodule, for being more than or equal to the first preset duration threshold value in the difference, and detect institute When stating mobile terminal and being in bright screen state, prompt whether to need to reset the alarm clock calling time.
First processing submodule, if being less than the first preset duration threshold value for the difference, is performed after preset duration The difference that the detection user sleeps between duration and the time interval, if more than or equal to preset duration threshold value The step of.
Wherein, the reminding module includes:
Second detection sub-module, for being less than user sleep duration in the time interval, and detect the shifting When dynamic terminal is in bright screen state, detect whether the application program that the mobile terminal is currently run is default application program.
Second prompting submodule, if being non-default application program for the application program that the mobile terminal is currently run, Then prompt whether to need to reset the alarm clock calling time.
3rd prompting submodule, if being default application program for the application program that the mobile terminal is currently run, When the display interface for detecting the mobile terminal is in desktop, prompt whether to need to reset the alarm clock calling time.
Wherein, the reminding module includes:
3rd detection sub-module, for being less than user sleep duration in the time interval, and detect the shifting When dynamic terminal is in bright screen state, whether the currently used person for detecting the mobile terminal is predesignated subscriber.
4th prompting submodule, for when the currently used person of the mobile terminal is predesignated subscriber, prompting whether to need Reset the alarm clock calling time.
Wherein, the 3rd detection sub-module includes:
Recording unit, for being less than user sleep duration in the time interval, and detect the mobile terminal During in bright screen state, the duration that the mobile terminal is in bright screen state is recorded.
First detection unit, for detecting whether the duration is more than or equal to the second preset duration threshold value.
Second detection unit, for when the duration is more than or equal to the second preset duration threshold value, detecting institute Whether the currently used person for stating mobile terminal is predesignated subscriber.
Wherein, the 3rd detection sub-module also includes:
Statistic unit, for when the currently used person of the mobile terminal is nonscheduled user, statistic mixed-state to be described in The currently used person of mobile terminal is the detection number of nonscheduled user.
First processing units, for when the detection number is less than or equal to default value, performing the detection institute The step of whether duration is more than or equal to the second preset duration threshold value stated.
Wherein, the 3rd detection sub-module includes:
3rd detection unit, for detecting the unlocking manner when mobile terminal is unlocked.
Second processing unit, if being unlocked for the mobile terminal by the unlocking manner of identification, it is determined that described The currently used person of mobile terminal is predesignated subscriber.
Wherein, the 3rd detection sub-module includes:
Start unit, for starting the camera of the mobile terminal.
4th detection unit, the facial image for detecting facial image that the camera collects and pre-set user are No matching.
3rd processing unit, if for matching, it is determined that the currently used person of the mobile terminal is predesignated subscriber.
Wherein, the reminding module includes:
Display sub-module, the prompting frame of the alarm clock calling time is reseted for showing on the mobile terminal.
Second processing submodule, if for detecting that the behaviour of the alarm clock calling time is reseted in the cancellation in the prompting frame Instruct, then keep former alarm clock calling time and exit the display prompting frame.
3rd processing submodule, will be corresponding if the operational order for detecting the closing alarm clock in the prompting frame The alarm clock of the alarm clock calling time is closed, and exits the display prompting frame.
Fourth process submodule, if referring to for the operation for reseting the alarm clock calling time detected in the prompting frame Order, then be adjusted to for the second time by the alarm clock calling time from the very first time, and exits the display prompting frame.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 1 to Fig. 4 embodiment of the method Each process, to avoid repeating, repeat no more here.
Mobile terminal 500 in such scheme, by detecting current time apart from the alarm clock calling time of mobile terminal Whether time interval is less than predetermined user sleep duration;And it is less than user's sleep duration and inspection in the time interval When measuring mobile terminal and being in bright screen state, prompt whether to need to reset the alarm clock calling time.The program can reach Before alarm clock calling time, the alarm clock calling event of the alarm clock calling time is evaded in advance, avoids user from being adjusted due to forgetting Whole alarm clock calling time closes the alarm clock of the alarm clock calling time, when causing mobile terminal according to the alarm clock calling Between when being reminded, influence user's sleep or rest.And this programme is carried out when detecting that mobile terminal is in bright screen state Whether prompting needs to reset alarm clock calling time, can exclude to be not used mobile terminal is to be prompted whether to need weight in user If the situation of alarm clock calling time, so as to ensure to carry out to prompt the validity for reseting alarm clock calling time.
Fig. 6 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
The mobile terminal 600 includes but is not limited to:It is radio frequency unit 601, mixed-media network modules mixed-media 602, audio output unit 603, defeated Enter unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor The part such as 610 and power supply 611.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 6 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 610, for detecting time interval of the current time apart from the alarm clock calling time of mobile terminal, Whether predetermined user sleep duration is less than;It is less than user sleep duration in the time interval, and detects institute When stating mobile terminal and being in bright screen state, prompt whether to need to reset the alarm clock calling time.
The mobile terminal 600, by detecting time interval of the current time apart from the alarm clock calling time of mobile terminal Whether predetermined user sleep duration is less than;And it is less than user's sleep duration in the time interval and detects movement When terminal is in bright screen state, prompt whether to need to reset the alarm clock calling time.The program can reach alarm clock calling Before time, the alarm clock calling event of the alarm clock calling time is evaded in advance, avoids user due to forgetting that adjusting alarm clock carries The awake time closes the alarm clock of the alarm clock calling time, causes mobile terminal to be carried according to the alarm clock calling time When waking up, user's sleep or rest are influenceed.And this programme is when detecting that mobile terminal is in bright screen state, prompted whether Need to reset alarm clock calling time, whether can exclude that mobile terminal is not used in user is to be prompted to need to reset alarm clock to carry The situation of awake time, so as to ensure to carry out to prompt the validity for reseting alarm clock calling time.
It should be understood that in the embodiment of the present invention, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 610;In addition, will be up Data are sent to base station.Generally, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 602 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be receiving by radio frequency unit 601 or mixed-media network modules mixed-media 602 or in memory 609 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 603 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 600 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input block 604 is used to receive audio or video signal.Input block 604 can include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 606.Picture frame after the processing of graphics processor 6041 can be deposited Storage is transmitted in memory 609 (or other storage mediums) or via radio frequency unit 601 or mixed-media network modules mixed-media 602.Mike Wind 6042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 601 by being converted in the case of telephone calling model.
Mobile terminal 600 also includes at least one sensor 605, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 6061, and proximity transducer can close when mobile terminal 600 is moved in one's ear Display panel 6061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 606 is used for the information for showing the information inputted by user or being supplied to user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 6061.
User input unit 607 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 607 include contact panel 6071 and Other input equipments 6072.Contact panel 6071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 6071 or in contact panel 6071 Neighbouring operation).Contact panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area Manage the order that device 610 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 6071.Except contact panel 6071, user input unit 607 can also include other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 6071 can be covered on display panel 6061, when contact panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touch The type for touching event provides corresponding visual output on display panel 6061.Although in figure 6, contact panel 6071 and display Panel 6061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 6071 and display panel 6061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 608 is the interface that external device (ED) is connected with mobile terminal 600.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 600 can be used in the He of mobile terminal 600 Data are transmitted between external device (ED).
Memory 609 can be used for storage software program and various data.Memory 609 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 609 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 609, and call and be stored in storage Data in device 609, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) to all parts power supply, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, memory 609, is stored in On memory 609 and the computer program that can be run on the processor 610, the computer program are performed by processor 610 The each process for the reminding method embodiment that the above-mentioned alarm clocks of Shi Shixian are set, and identical technique effect can be reached, to avoid weight It is multiple, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each mistake for the reminding method embodiment that above-mentioned alarm clock is set when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (22)

  1. A kind of 1. reminding method that alarm clock is set, applied to mobile terminal, it is characterised in that methods described includes:
    Detect time interval of the current time apart from the alarm clock calling time of mobile terminal, if sleep less than predetermined user Dormancy duration;
    When being less than user sleep duration in the time interval, and detecting that the mobile terminal is in bright screen state, carry Whether show needs to reset the alarm clock calling time.
  2. 2. the reminding method that alarm clock according to claim 1 is set, it is characterised in that the detection current time distance is moved The time interval of the alarm clock calling time of dynamic terminal, if described before the step of user's sleep duration being obtained ahead of time Method also includes:
    In default measurement period, respectively record daily described in mobile terminal lasting sleep time maximum, wherein institute Stating default measurement period includes at least two days;
    The average value of the maximum for continuing sleep time in the default measurement period is calculated, when being slept as user It is long.
  3. 3. the reminding method that alarm clock according to claim 1 is set, it is characterised in that described to be less than in the time interval The user sleeps duration, and when detecting the mobile terminal and be in bright screen state, and whether prompting, which needs to reset the alarm clock, carries The step of awake time, including:
    The time interval be less than the user sleep duration when, detect the user sleep duration and the time interval it Between difference, if more than or equal to the first preset duration threshold value;
    It is more than or equal to the first preset duration threshold value in the difference, and detects that the mobile terminal is in bright screen state When, prompt whether to need to reset the alarm clock calling time;
    If the difference is less than the first preset duration threshold value, detection user's sleep duration is performed after preset duration With the difference between the time interval, if the step of more than or equal to preset duration threshold value.
  4. 4. the reminding method that alarm clock according to claim 1 is set, it is characterised in that described to be less than in the time interval The user sleeps duration, and when detecting that the mobile terminal be in bright screen state, whether prompting needs to reset the alarm clock The step of reminder time, including:
    When being less than user sleep duration in the time interval, and detecting that the mobile terminal is in bright screen state, inspection Survey whether the application program that the mobile terminal is currently run is default application program;
    If the application program that the mobile terminal is currently run is non-default application program, prompt whether to need to reset described make a noise Clock reminder time;
    If the application program that the mobile terminal is currently run is default application program, the aobvious of the mobile terminal is being detected When showing that interface is in desktop, prompt whether to need to reset the alarm clock calling time.
  5. 5. the reminding method that alarm clock according to claim 1 is set, it is characterised in that described to be less than in the time interval The user sleeps duration, and when detecting that the mobile terminal be in bright screen state, whether prompting needs to reset the alarm clock The step of reminder time, including:
    When being less than user sleep duration in the time interval, and detecting that the mobile terminal is in bright screen state, inspection Whether the currently used person for surveying the mobile terminal is predesignated subscriber;
    When the currently used person of the mobile terminal is predesignated subscriber, prompt whether to need to reset the alarm clock calling time.
  6. 6. the reminding method that alarm clock according to claim 5 is set, it is characterised in that described to be less than in the time interval The user sleeps duration, and when detecting that the mobile terminal be in bright screen state, detects currently making for the mobile terminal The step of whether user is predesignated subscriber, including:
    When being less than user sleep duration in the time interval, and detecting that the mobile terminal is in bright screen state, note Record the duration that the mobile terminal is in bright screen state;
    Detect whether the duration is more than or equal to the second preset duration threshold value;
    When the duration is more than or equal to the second preset duration threshold value, the currently used person of the mobile terminal is detected Whether it is predesignated subscriber.
  7. 7. the reminding method that alarm clock according to claim 6 is set, it is characterised in that described to be more than in the duration Or during equal to the second preset duration threshold value, the step of whether currently used person for detecting the mobile terminal is predesignated subscriber it Afterwards, it is described to be less than the user in the time interval and sleep duration, and when detecting that the mobile terminal is in bright screen state, The step of whether currently used person for detecting the mobile terminal is predesignated subscriber, in addition to:
    When the currently used person of the mobile terminal is nonscheduled user, statistic mixed-state is currently used to the mobile terminal Person is the detection number of nonscheduled user;
    When the detection number is less than or equal to default value, perform it is described detect the duration whether be more than or The step of equal to the second preset duration threshold value.
  8. 8. the reminding method that alarm clock according to claim 5 is set, it is characterised in that the detection mobile terminal The step of whether currently used person is predesignated subscriber, including:
    Detect the unlocking manner when mobile terminal is unlocked;
    If the mobile terminal is unlocked by the unlocking manner of identification, it is determined that the currently used person of the mobile terminal is Predesignated subscriber.
  9. 9. the reminding method that alarm clock according to claim 5 is set, it is characterised in that the detection mobile terminal The step of whether currently used person is predesignated subscriber, including:
    Start the camera of the mobile terminal;
    Detect whether the facial image that the camera collects matches with the facial image of pre-set user;
    If matching, it is determined that the currently used person of the mobile terminal is predesignated subscriber.
  10. 10. the reminding method that alarm clock according to claim 1 is set, it is characterised in that whether the prompting needs to reset The step of alarm clock calling time, including:
    The prompting frame of the alarm clock calling time is reseted in display on the mobile terminal;
    If detecting, the operational order of the alarm clock calling time is reseted in the cancellation in the prompting frame, keeps former alarm clock calling Time simultaneously exits the display prompting frame;
    If detecting the operational order of the closing alarm clock in the prompting frame, the alarm clock of the corresponding alarm clock calling time is closed Close, and exit the display prompting frame;
    If the operational order for reseting the alarm clock calling time in the prompting frame is detected, by the alarm clock calling time It was adjusted to for the second time from the very first time, and exits the display prompting frame.
  11. 11. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Detection module, for detecting time interval of the current time apart from the alarm clock calling time of mobile terminal, if less than pre- The user's sleep duration first determined;
    Reminding module, for being less than user sleep duration in the time interval, and detect that the mobile terminal is in During bright screen state, prompt whether to need to reset the alarm clock calling time.
  12. 12. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Logging modle, in default measurement period, respectively record daily described in mobile terminal lasting sleep time Maximum, wherein the default measurement period includes at least two days;
    Computing module, for calculating the average value of the maximum for continuing sleep time in the default measurement period, make For user's sleep duration.
  13. 13. mobile terminal according to claim 11, it is characterised in that the reminding module includes:
    First detection sub-module, for when the time interval is less than user sleep duration, detecting user's sleep Difference between duration and the time interval, if more than or equal to the first preset duration threshold value;
    First prompting submodule, for being more than or equal to the first preset duration threshold value in the difference, and detect the shifting When dynamic terminal is in bright screen state, prompt whether to need to reset the alarm clock calling time;
    First processing submodule, if being less than the first preset duration threshold value for the difference, after preset duration described in execution Detect the difference that the user sleeps between duration and the time interval, if more than or equal to the step of preset duration threshold value Suddenly.
  14. 14. mobile terminal according to claim 11, it is characterised in that the reminding module includes:
    Second detection sub-module, for being less than user sleep duration in the time interval, and detect described mobile whole When end is in bright screen state, detect whether the application program that the mobile terminal is currently run is default application program;
    Second prompting submodule, if being non-default application program for the application program that the mobile terminal is currently run, carry Whether show needs to reset the alarm clock calling time;
    3rd prompting submodule, if being default application program for the application program that the mobile terminal is currently run, examining When measuring the display interface of the mobile terminal and being in desktop, prompt whether to need to reset the alarm clock calling time.
  15. 15. mobile terminal according to claim 11, it is characterised in that the reminding module includes:
    3rd detection sub-module, for being less than user sleep duration in the time interval, and detect described mobile whole When end is in bright screen state, whether the currently used person for detecting the mobile terminal is predesignated subscriber;
    4th prompting submodule, for when the currently used person of the mobile terminal is predesignated subscriber, prompting whether to need weight If the alarm clock calling time.
  16. 16. mobile terminal according to claim 15, it is characterised in that the 3rd detection sub-module includes:
    Recording unit, for being less than user sleep duration in the time interval, and detect that the mobile terminal is in During bright screen state, the duration that the mobile terminal is in bright screen state is recorded;
    First detection unit, for detecting whether the duration is more than or equal to the second preset duration threshold value;
    Second detection unit, for when the duration is more than or equal to the second preset duration threshold value, detecting the shifting Whether the currently used person of dynamic terminal is predesignated subscriber.
  17. 17. mobile terminal according to claim 16, it is characterised in that the 3rd detection sub-module also includes:
    Statistic unit, for when the currently used person of the mobile terminal is nonscheduled user, statistic mixed-state to the movement The currently used person of terminal is the detection number of nonscheduled user;
    First processing units, for when the detection number is less than or equal to default value, performing and being held described in the detection The step of whether continuous duration is more than or equal to the second preset duration threshold value.
  18. 18. mobile terminal according to claim 15, it is characterised in that the 3rd detection sub-module includes:
    3rd detection unit, for detecting the unlocking manner when mobile terminal is unlocked;
    Second processing unit, if being unlocked for the mobile terminal by the unlocking manner of identification, it is determined that the movement The currently used person of terminal is predesignated subscriber.
  19. 19. mobile terminal according to claim 15, it is characterised in that the 3rd detection sub-module includes:
    Start unit, for starting the camera of the mobile terminal;
    4th detection unit, for detect facial image that the camera collects and pre-set user facial image whether Match somebody with somebody;
    3rd processing unit, if for matching, it is determined that the currently used person of the mobile terminal is predesignated subscriber.
  20. 20. mobile terminal according to claim 11, it is characterised in that the reminding module includes:
    Display sub-module, the prompting frame of the alarm clock calling time is reseted for showing on the mobile terminal;
    Second processing submodule, if the operation that the alarm clock calling time is reseted in the cancellation for detecting in the prompting frame refers to Order, then keep former alarm clock calling time and exit the display prompting frame;
    3rd processing submodule, if the operational order for detecting the closing alarm clock in the prompting frame, described in corresponding The alarm clock of alarm clock calling time is closed, and exits the display prompting frame;
    Fourth process submodule, if for detecting the operational order for reseting the alarm clock calling time in the prompting frame, The alarm clock calling time was then adjusted to for the second time from the very first time, and exits the display prompting frame.
  21. 21. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute State the computer program run on processor, the computer program realized during the computing device as claim 1 to The step of reminding method that alarm clock any one of 10 is set.
  22. 22. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, realizing that the alarm clock as any one of claim 1 to 10 is set when the computer program is executed by processor The step of reminding method.
CN201710979592.XA 2017-10-19 2017-10-19 Alarm clock setting prompting method, mobile terminal and computer readable storage medium Active CN107613140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710979592.XA CN107613140B (en) 2017-10-19 2017-10-19 Alarm clock setting prompting method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710979592.XA CN107613140B (en) 2017-10-19 2017-10-19 Alarm clock setting prompting method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107613140A true CN107613140A (en) 2018-01-19
CN107613140B CN107613140B (en) 2020-10-20

Family

ID=61077857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710979592.XA Active CN107613140B (en) 2017-10-19 2017-10-19 Alarm clock setting prompting method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107613140B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068003A (en) * 2018-09-25 2018-12-21 努比亚技术有限公司 Sleep alarm clock setting method, device, mobile terminal and readable storage medium storing program for executing
CN110461032A (en) * 2019-09-05 2019-11-15 北京安云世纪科技有限公司 A kind of electricity-saving control method and device of mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268455A (en) * 2014-10-13 2015-01-07 深圳市中兴移动通信有限公司 Mobile terminal, and information protection method and device thereof
CN104506729A (en) * 2014-12-25 2015-04-08 广东欧珀移动通信有限公司 Application program disturbance avoiding method and device
CN104883436A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Information hiding method and apparatus
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
CN106469057A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method cancelling alarm clock and mobile terminal
US20170238864A1 (en) * 2015-09-30 2017-08-24 Apple Inc. Adjusting alarms based on sleep onset latency
CN107147788A (en) * 2017-05-08 2017-09-08 深圳天珑无线科技有限公司 A kind of alarm clock prompting method, device and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268455A (en) * 2014-10-13 2015-01-07 深圳市中兴移动通信有限公司 Mobile terminal, and information protection method and device thereof
CN104506729A (en) * 2014-12-25 2015-04-08 广东欧珀移动通信有限公司 Application program disturbance avoiding method and device
CN104883436A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Information hiding method and apparatus
US20170238864A1 (en) * 2015-09-30 2017-08-24 Apple Inc. Adjusting alarms based on sleep onset latency
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
CN106469057A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method cancelling alarm clock and mobile terminal
CN107147788A (en) * 2017-05-08 2017-09-08 深圳天珑无线科技有限公司 A kind of alarm clock prompting method, device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109068003A (en) * 2018-09-25 2018-12-21 努比亚技术有限公司 Sleep alarm clock setting method, device, mobile terminal and readable storage medium storing program for executing
CN110461032A (en) * 2019-09-05 2019-11-15 北京安云世纪科技有限公司 A kind of electricity-saving control method and device of mobile terminal

Also Published As

Publication number Publication date
CN107613140B (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN108174044A (en) A kind of alarm clock setting method and mobile terminal
CN107832110A (en) A kind of information processing method and mobile terminal
CN109561219A (en) Music adjusting method, device, mobile terminal and readable storage medium storing program for executing
CN108418950B (en) Message prompt method and mobile terminal
CN108063999A (en) A kind of dust-proof network detecting method, mobile terminal
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
CN107979697A (en) A kind of based reminding method and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN108391008A (en) A kind of message prompt method and mobile terminal
CN107948404A (en) A kind of method, terminal device and computer-readable recording medium for handling message
CN110149628A (en) A kind of information processing method and terminal device
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN108881782A (en) A kind of video call method and terminal device
CN107749306A (en) A kind of method and mobile terminal for vibrating optimization
CN110113487A (en) A kind of information prompting method, mobile terminal and computer readable storage medium
CN110138963A (en) A kind of message treatment method and mobile terminal
CN107613140A (en) Reminding method, mobile terminal and the computer-readable recording medium that alarm clock is set
CN109257489A (en) A kind of display methods and mobile terminal
CN109474747A (en) A kind of information cuing method and mobile terminal
CN107819957A (en) A kind of electricity based reminding method, mobile terminal
CN108196663A (en) A kind of face identification method, mobile terminal
CN107908941A (en) The operating method and mobile terminal of application program

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
GR01 Patent grant
GR01 Patent grant