CN105303361A - Alarm clock adjusting method and device as well as terminal - Google Patents
Alarm clock adjusting method and device as well as terminal Download PDFInfo
- Publication number
- CN105303361A CN105303361A CN201410369838.8A CN201410369838A CN105303361A CN 105303361 A CN105303361 A CN 105303361A CN 201410369838 A CN201410369838 A CN 201410369838A CN 105303361 A CN105303361 A CN 105303361A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- time
- preset
- user
- jingle bell
- 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
Links
Landscapes
- Electromechanical Clocks (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses an alarm clock adjusting method and device as well as a terminal, and aims at intelligently adjusting the ringing time of the alarm clock according to the alarm clock using habit of the user. The method comprises the following steps: recording operation data generated by operating the alarm clock by the user; analyzing the recorded history operation data to obtain an analysis result; and setting the ringing time of the alarm clock according to the analysis result. According to the technical scheme provided by the invention, the operation data is recorded, the recorded history operation data is analyzed to obtain the analysis result which reflects the alarm clock using habit of the user, and the ringing time of the alarm clock is set according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the alarm clocking using habit of the user, and better experience is provided for the alarm clock using of the user in life.
Description
Technical field
The present invention relates to electrical communication technology, particularly relate to a kind of alarm clock method of adjustment and device, terminal.
Background technology
Alarm clock is used for presetting according to user, and carry out alarm clock calling at the ring time of setting in modes such as bell sound and/or vibrations, it is widely used in daily life, brings great convenience to daily life, such as, and the wakeup alarm clock in morning.
Conveniently, user is usually disposable arranges a certain alarm clock in year, the moon of multiple correspondence or in a few days carry out alarm clock calling, such as, and setting A alarm clock: the morning, 8:00 carried out alarm clock calling on each Monday.
Then in actual use scenes, people just close alarm clock at the ring time of correspondence, for above-mentioned A alarm clock, user may at multiple this alarm clock of late release on Monday, and such as 8:10 closes, also this alarm clock may be closed ahead of time on some Monday, such as 7:50, this shows this ring time that user sets and does not meet the alarm clock use habit of user, if manually adjust this alarm clock every day according to the alarm clock use habit of user, then often cumbersome, experience sense is poor.
Summary of the invention
Embodiments provide a kind of alarm clock method of adjustment and device, terminal, can according to the ring time of the alarm clock use habit adjustment alarm clock of user.
The first aspect of the embodiment of the present invention provides a kind of alarm clock method of adjustment, comprising:
The service data that recording user operates alarm clock;
Carry out analysis obtain analysis result to recording the historical operating data that obtains;
The ring time of described alarm clock is set according to described analysis result.
Embodiment of the present invention second aspect provides a kind of alarm clock adjusting gear, comprising:
Record cell, for the service data that recording user operates alarm clock;
Analytic unit, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock.
The embodiment of the present invention third aspect provides a kind of terminal, comprises the alarm clock adjusting gear as described in claim 10 to 17.
In the technical scheme that the embodiment of the present invention provides, by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Accompanying drawing explanation
Fig. 1 is alarm clock method of adjustment embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of alarm clock method of adjustment in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of alarm clock method of adjustment in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of alarm clock method of adjustment in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of alarm clock method of adjustment in the embodiment of the present invention;
Fig. 6 is alarm clock adjusting gear embodiment schematic diagram in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of alarm clock adjusting gear in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of alarm clock adjusting gear in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of alarm clock adjusting gear in the embodiment of the present invention;
Figure 10 is another embodiment schematic diagram of alarm clock adjusting gear in the embodiment of the present invention;
Figure 11 is terminal embodiment schematic diagram in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of alarm clock method of adjustment and device, terminal, for the ring time of the alarm clock use habit adjustment alarm clock according to user, be described in detail respectively below.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, in the embodiment of the present invention, alarm clock method of adjustment embodiment comprises:
101, recording user service data that alarm clock is operated;
It should be noted that, this alarm clock is the disposable setting of user, and the ring time in correspondence within preset each time cycle is carried out alarm clock calling, such as every year, monthly or a certain moment of every day.In the present embodiment, the service data that in each time cycle, user operates this alarm clock recorded by alarm clock adjusting gear.
102, the historical operating data obtained record carries out analysis and obtains analysis result;
Alarm clock adjusting gear is after recording the service data that in each time cycle, user operates this alarm clock, just the historical operating data for this alarm clock can be obtained, the basis of above-mentioned historical operating data is analyzed, just can obtain the analysis result of the alarm clock use habit that can reflect user.
103, according to the ring time of analysis result setting alarm clock;
On the basis of above-mentioned analysis result, the setting of alarm clock adjusting gear more meets the ring time of the alarm clock use habit of user.
In the technical scheme that the embodiment of the present invention provides, alarm clock adjusting gear is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Be understandable that can there be multiple different specific implementation to the analytic process of historical operating data, illustrate respectively below:
One, the ring time analyzed the need of user being set adjusts forward.
Specifically refer to Fig. 2, in the embodiment of the present invention, another embodiment of alarm clock method of adjustment comprises:
201, recording user service data that alarm clock is operated;
It should be noted that, this alarm clock is the disposable setting of user, and carries out alarm clock calling by within preset each jingle bell cycle at the ring time of correspondence, such as every year, monthly or a certain moment of every day.In the present embodiment, the service data that in each time cycle, user operates this alarm clock recorded by alarm clock adjusting gear.
In the present embodiment, service data comprises alarm clock action type, this alarm clock action type comprises closedown, late release ahead of time and closes on time, be understandable that, in actual applications, service data is except can comprising above-mentioned alarm clock action type, other operating parameter can also be comprised, such as, the actual shut-in time etc. of alarm clock mark, alarm clock, be not construed as limiting herein.
In the present embodiment, the quantity of alarm clock can be one or more, is not construed as limiting herein, when the quantity of alarm clock is multiple, obtains the respective operations data of corresponding alarm clock by the alarm clock mark in service data.
The times N 3 of 202, adding up the times N 1 of closing ahead of time of alarm clock in preset time period, the times N 2 of late release and closing on time;
This preset time period can be user-defined, also can be the setting of system default, be not construed as limiting herein, only need ensure that this preset time period is greater than the jingle bell cycle of this alarm clock, certainly, this preset time period corresponding time chosen is longer, can be more for the service data of this alarm clock of alarm clock adjusting gear statistics, is convenient to improve precision of analysis.
203, judge whether to meet N1 and be greater than N3 and N1 is greater than N2, if so, then perform step 204, if not, then perform step 208;
Namely alarm clock adjusting gear compares the numerical value of N1, N2 and N3, if N1 is maximum, then performs step 204, maximum if not N1, then perform step 208.
204, judge whether the difference of N1 and N3 is greater than the first preset value, if so, then perform step 205, if not, then perform step 208;
When judge meet N1 be greater than N3 and N1 is greater than N2 time, alarm clock adjusting gear judges whether that meeting preset alarm clock does sth. in advance condition further, in the present embodiment, the difference that the preset alarm clock condition of doing sth. in advance is specially N1 and N3 is greater than the first preset value, this first preset value is N0/2, wherein, N0 represents N1, N2 and N3 sum.Being understandable that, in actual applications, can also be that condition done sth. in advance by other preset alarm clocks, and such as, the number percent of N1 shared by N0 is greater than a certain preset value, is not construed as limiting the preset alarm clock condition of doing sth. in advance herein.In addition, the concrete numerical value of the first prevalue is not unique yet, as required the first preset value can be set to other numerical value relevant to N0, be not construed as limiting herein.
In the present embodiment, step 203 and step 204 adjust forward for the ring time analyzed the need of user being set.
205, determine that meeting preset alarm clock does sth. in advance condition;
If the difference meeting N1 and N3 is greater than the first preset value, then alarm clock adjusting gear determines that meeting preset alarm clock does sth. in advance condition.
In some other embodiment, when user is not high the need of the accuracy requirement adjusted forward to ring time, also can cancels the judgement of alarm clock being done sth. in advance to condition, not perform step 204 to 205, namely judge meet N1 be greater than N3 and N1 is greater than N2 time, directly execution step 206.
206, jingle bell lead is calculated according to the regulation rule ahead of time preset;
In the present embodiment, alarm clock adjusting gear calculates jingle bell lead according to the ahead of time regulation rule preset and specifically comprises: obtain each time of this alarm clock in this preset time period time ahead of time, and the time of should doing sth. in advance is the ring time that sets of user and the difference between the quarter-bell actual shut-in time; The mean value of time is done sth. in advance as this jingle bell lead using described each time.
Be understandable that, in actual applications, alarm clock adjusting gear calculates jingle bell lead according to the regulation rule ahead of time preset can also adopt other modes, such as, being fixedly installed by jingle bell lead is 1 minute or other a certain concrete empirical values, is not construed as limiting the account form of jingle bell lead herein.
207, according to jingle bell lead, the ring time that user sets is adjusted forward;
Namely the ring time that user sets by alarm clock adjusting gear adjusts forward the size of a jingle bell lead.
208, other flow processs are performed;
Concrete flow process can be other specific implementations of the analytic process to historical operating data, also can be directly to perform flow process to terminate, and does not limit herein.
In the technical scheme that the embodiment of the present invention provides, alarm clock adjusting gear is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, alarm clock adjusting gear is specially to analyze to the historical operating data analysis that record obtains and adjusts forward the need of ring time user set, and when determining to need the ring time that user sets to adjust forward, calculate jingle bell lead according to the regulation rule ahead of time preset and according to jingle bell lead, the ring time that user sets is adjusted forward, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Two, the ring time analyzed the need of user being set adjusts backward.
Specifically refer to Fig. 3, in the embodiment of the present invention, another embodiment of alarm clock method of adjustment comprises:
301, recording user service data that alarm clock is operated;
The times N 3 of 302, adding up the times N 1 of closing ahead of time of alarm clock in preset time period, the times N 2 of late release and closing on time;
In the present embodiment, step 301 to step 302 with embodiment illustrated in fig. 2 in step 201 identical to step 202 process, repeat no more herein.
303, judge whether to meet N2 and be greater than N3 and N2 is greater than N1, if so, then perform step 304, if not, then perform step 308;
Namely alarm clock adjusting gear compares the numerical value of N1, N2 and N3, if N2 is maximum, then performs step 305, maximum if not N2, then perform step 304.
304, judge whether the difference of N2 and N3 is greater than the second preset value, if so, then perform step 305, if not, then perform step 308;
When judge meet N2 be greater than N3 and N2 is greater than N1 time, alarm clock adjusting gear judges whether that meeting preset alarm clock postpones condition further, in the present embodiment, the difference that preset alarm clock delay condition is specially N2 and N3 is greater than the second preset value, this second preset value is N0/2, wherein, N0 represents N1, N2 and N3 sum.Be understandable that, in actual applications, can also be that other preset alarm clocks postpone condition, such as, the number percent of N2 shared by N0 be greater than a certain preset value, is not construed as limiting the preset alarm clock condition of doing sth. in advance herein.In addition, the concrete numerical value of the second prevalue is not unique yet, as required the second preset value can be set to other numerical value relevant to N0, be not construed as limiting herein.
In the present embodiment, step 303 and step 304 adjust backward for the ring time analyzed the need of user being set.
305, determine that meeting preset alarm clock postpones condition;
If the difference meeting N2 and N3 is greater than the second preset value, then alarm clock adjusting gear determines that meeting preset alarm clock postpones condition.
In some other embodiment, when user is not high the need of the accuracy requirement adjusted backward to ring time, also can cancels judgement alarm clock being postponed to condition, not perform step 304 to 305, namely judge meet N2 be greater than N3 and N2 is greater than N1 time, directly execution step 306.
306, jingle bell retardation is calculated according to the delay regulation rule preset;
In the present embodiment, alarm clock adjusting gear calculates jingle bell retardation according to the delay regulation rule preset and specifically comprises: each the time delay obtaining this alarm clock in this preset time period, and this time delay is the difference between the ring time that sets of quarter-bell actual shut-in time and user; Using the mean value of this each time delay as this jingle bell retardation.
Be understandable that, in actual applications, alarm clock adjusting gear calculates jingle bell retardation according to the delay regulation rule preset can also adopt other modes, such as, jingle bell retardation being fixedly installed is 1 minute or other a certain concrete empirical values, is not construed as limiting the concrete account form of jingle bell retardation herein.
307, according to jingle bell retardation, the ring time that user sets is adjusted backward;
Namely the ring time that user sets by alarm clock adjusting gear adjusts the size of a jingle bell retardation backward.
308, other flow processs are performed;
Concrete flow process can be other specific implementations of the analytic process to historical operating data, also can be directly to perform flow process to terminate, and does not limit herein.
In the technical scheme that the embodiment of the present invention provides, alarm clock adjusting gear is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, alarm clock adjusting gear is specially to analyze to the historical operating data analysis that record obtains and adjusts backward the need of ring time user set, and when determining to need the ring time that user sets to adjust backward, calculate jingle bell retardation according to the delay regulation rule preset and according to jingle bell retardation, the ring time that user sets adjusted backward, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Three, analyze the need of keeping the ring time of user's setting constant.
Specifically refer to Fig. 4, in the embodiment of the present invention, another embodiment of alarm clock method of adjustment comprises:
401, recording user service data that alarm clock is operated;
The times N 3 of 402, adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and closing on time;
In the present embodiment, step 401 to step 402 with embodiment illustrated in fig. 2 in step 201 identical to step 202 process, repeat no more herein.
403, judge whether to meet N3 and be more than or equal to N1 and N3 is more than or equal to N2, if so, then perform step 404, if not, then perform step 406;
Namely in this preset time period, alarm clock adjusting gear compares the numerical value of N1, N2 and N3, if meet N3 to be more than or equal to N1 and N3 is more than or equal to N2, then performs step 404, if do not meet N3 to be more than or equal to N1 and N3 is more than or equal to N2, then performs step 406.
In the present embodiment, step 403 is for analyzing the need of keeping the ring time of user's setting constant.
404, the jingle bell adjustment amount of confirmation alarm clock is zero;
Namely, when judging to meet N3 and be more than or equal to N1 and N3 being more than or equal to N2, alarm clock adjusting gear confirms that the jingle bell adjustment amount of alarm clock is zero.
405, according to jingle bell adjustment amount, the ring time of user's setting is not adjusted;
Namely alarm clock adjusting gear keeps the ring time of user's setting constant.
406, other flow processs are performed;
If do not meet N3 to be more than or equal to N1 and N3 is more than or equal to N2, then perform other flow processs, concrete flow process can be other specific implementations of the analytic process to historical operating data, also can be directly perform flow process to terminate, not limit herein.
In the technical scheme that the embodiment of the present invention provides, alarm clock adjusting gear is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, alarm clock adjusting gear is specially analysis the need of keeping the ring time of user's setting constant to recording the historical operating data analysis obtained, and when determining to need to keep the ring time of user's setting constant, do not adjust the ring time of user's setting, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Above three kinds of specific implementations of the analytic process of historical operating data are illustrated, in actual applications, be understandable that, can be combined above-mentioned analysis mode, can also adopt other analysis mode, concrete analysis mode does not limit herein.Below to be described in detail in conjunction with above-mentioned three kinds of analysis modes, specifically please refer to Fig. 5, in the embodiment of the present invention, another embodiment of alarm clock method of adjustment comprises:
501, recording user service data that alarm clock is operated;
The times N 3 of 502, adding up the times N 1 of closing ahead of time of alarm clock in preset time period, the times N 2 of late release and closing on time;
In the present embodiment, step 501 to step 502 with embodiment illustrated in fig. 2 in step 201 identical to step 202 process, repeat no more herein.
503, the numerical value of N1, N2 and N3 is compared, if N1 is greater than N3 and N1 is greater than N2, then perform step 504, if N2 is greater than N3 and N2 is greater than N1, then perform step 508, if N3 is more than or equal to N1 and N3 is more than or equal to N2, then perform step 511, if other results, then flow process terminates;
Namely alarm clock adjusting gear compares the numerical value of N1, N2 and N3, performs different flow processs according to different comparative results.
If the numerical value of N1, N2 and N3 neither meets N1 and is greater than N3 and N1 is greater than N2, do not meet N2 yet and be greater than N3 and N2 is greater than N1, and do not meet N3 be more than or equal to N1 and N3 is more than or equal to N2 time, flow process terminates, as: N1 equals N2 and N2 is less than N3.
504, judge whether the difference of N1 and N3 is greater than the first preset value, if so, then perform step 505, if not, then flow process terminates;
When judge meet N1 be greater than N3 and N1 is greater than N2 time, alarm clock adjusting gear judges whether that meeting preset alarm clock does sth. in advance condition further, in the present embodiment, the difference that the preset alarm clock condition of doing sth. in advance is specially N1 and N3 is greater than the first preset value, this first preset value is N0/2, wherein, N0 represents N1, N2 and N3 sum.Being understandable that, in actual applications, can also be that condition done sth. in advance by other preset alarm clocks, and such as, the number percent of N1 shared by N0 is greater than a certain preset value, is not construed as limiting the preset alarm clock condition of doing sth. in advance herein.In addition, the concrete numerical value of the first prevalue is not unique yet, as required the first preset value can be set to other numerical value relevant to N0, be not construed as limiting herein.
In the present embodiment, step 503 and step 504 adjust forward for the ring time analyzed the need of user being set.
If the difference not meeting N1 and N3 is greater than the first preset value, then flow process terminates.
505, determine that meeting preset alarm clock does sth. in advance condition;
If the difference meeting N1 and N3 is greater than the first preset value, then alarm clock adjusting gear determines that meeting preset alarm clock does sth. in advance condition.
In some other embodiment, when user is not high the need of the accuracy requirement adjusted forward to ring time, also can cancels the judgement of alarm clock being done sth. in advance to condition, not perform step 504 to 505, namely judge meet N1 be greater than N3 and N1 is greater than N2 time, directly execution step 506.
506, jingle bell lead is calculated according to the regulation rule ahead of time preset;
In the present embodiment, alarm clock adjusting gear calculates jingle bell lead according to the ahead of time regulation rule preset and specifically comprises: obtain each time of this alarm clock in this preset time period time ahead of time, and the time of should doing sth. in advance is the ring time that sets of user and the difference between the quarter-bell actual shut-in time; The mean value of time is done sth. in advance as this jingle bell lead using described each time.
Be understandable that, in actual applications, alarm clock adjusting gear calculates jingle bell lead according to the regulation rule ahead of time preset can also adopt other modes, such as, being fixedly installed by jingle bell lead is 1 minute or other a certain concrete empirical values, is not construed as limiting the account form of jingle bell lead herein.
507, according to jingle bell lead, the ring time that user sets is adjusted forward;
Namely the ring time that user sets by alarm clock adjusting gear adjusts forward the size of a jingle bell lead.
508, judge whether the difference of N2 and N3 is greater than the second preset value, if so, then perform step 509, if not, then flow process terminates;
When judge meet N2 be greater than N3 and N2 is greater than N1 time, alarm clock adjusting gear judges whether that meeting preset alarm clock postpones condition further, in the present embodiment, the difference that preset alarm clock delay condition is specially N2 and N3 is greater than the second preset value, this second preset value is N0/2, wherein, N0 represents N1, N2 and N3 sum.Be understandable that, in actual applications, can also be that other preset alarm clocks postpone condition, such as, the number percent of N2 shared by N0 be greater than a certain preset value, is not construed as limiting the preset alarm clock condition of doing sth. in advance herein.In addition, the concrete numerical value of the second prevalue is not unique yet, as required the second preset value can be set to other numerical value relevant to N0, be not construed as limiting herein.
In the present embodiment, step 503 and step 508 adjust backward for the ring time analyzed the need of user being set.
If the difference not meeting N2 and N3 is greater than the second preset value, then flow process terminates.
509, determine that meeting preset alarm clock postpones condition;
If the difference meeting N2 and N3 is greater than the second preset value, then alarm clock adjusting gear determines that meeting preset alarm clock postpones condition.
In some other embodiment, when user is not high the need of the accuracy requirement adjusted backward to ring time, also can cancels judgement alarm clock being postponed to condition, not perform step 508 to 509, namely judge meet N2 be greater than N3 and N2 is greater than N1 time, directly execution step 510.
510, jingle bell retardation is calculated according to the delay regulation rule preset;
In the present embodiment, alarm clock adjusting gear calculates jingle bell retardation according to the delay regulation rule preset and specifically comprises: each the time delay obtaining this alarm clock in this preset time period, and this time delay is the difference between the ring time that sets of quarter-bell actual shut-in time and user; Using the mean value of this each time delay as this jingle bell retardation.
Be understandable that, in actual applications, alarm clock adjusting gear calculates jingle bell retardation according to the delay regulation rule preset can also adopt other modes, such as, jingle bell retardation being fixedly installed is 1 minute or other a certain concrete empirical values, is not construed as limiting the concrete account form of jingle bell retardation herein.
511, according to jingle bell retardation, the ring time that user sets is adjusted backward;
Namely the ring time that user sets by alarm clock adjusting gear adjusts the size of a jingle bell retardation backward.
512, the jingle bell adjustment amount of confirmation alarm clock is zero;
Namely, when judging to meet N3 and be more than or equal to N1 and N3 being more than or equal to N2, alarm clock adjusting gear confirms that the jingle bell adjustment amount of alarm clock is zero.
513, according to described jingle bell adjustment amount, the ring time of user's setting is not adjusted;
Namely alarm clock adjusting gear keeps the ring time of user's setting constant.
In the technical scheme that the embodiment of the present invention provides, alarm clock adjusting gear is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, alarm clock adjusting gear is analyzed specifically to comprise analyzing to the historical operating data that record obtains and is adjusted forward the need of ring time user set, and when determining to need the ring time that user sets to adjust forward, calculate jingle bell lead according to the regulation rule ahead of time preset and according to jingle bell lead, the ring time that user sets is adjusted forward, and analysis adjusts backward the need of ring time user set, and when determining to need the ring time that user sets to adjust backward, calculate jingle bell retardation according to the delay regulation rule preset and according to jingle bell retardation, the ring time that user sets adjusted backward, also analyze the need of keeping the ring time of user's setting constant, and when determining to need to keep the ring time of user's setting constant, do not adjust the ring time of user's setting, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
For ease of understanding, with a practical application scene, the alarm clock method of adjustment described in above-described embodiment is described in detail below, concrete:
User arranges an alarm clock A: 8:00 on every Mondays, and namely 8:00 is the ring time that user sets, and the jingle bell cycle of this alarm clock A is weekly (7 days), and alarm clock A starts alarm clock calling by 8:00 Monday weekly.
In the Monday in each jingle bell cycle, with once operating this alarm clock per family, and record this operation be close in advance, late release or on time close, and actual shut-in time of alarm clock.Be 8 jingle bell cycles (namely eight weeks) for preset time period below, user comprises the service data that alarm clock operates:
First time is operating as: close, the actual shut-in time is 8:00 on time;
Second time is operating as: late release, and the actual shut-in time is 8:02;
Third time is operating as: late release, and shut-in time time is 8:02;
Be operating as 4th time: late release, the actual shut-in time is 8:04;
Be operating as 5th time: late release, the actual shut-in time is 8:04;
Be operating as 6th time: late release, the actual shut-in time is 8:06;
Be operating as 7th time: late release, the actual shut-in time is 8:06;
Be operating as 8th time: close, the actual shut-in time is 8:00 on time.
The above-mentioned historical operating data be operating as in eight weeks for eight times, add up known:
The times N 1 of closing ahead of time is 0
The times N 2 of late release is 6
The times N 3 of on time closing is 2
Total number of operations N0 is 8
From judgement, N2 is greater than N3 and N2 is greater than N1, and the difference of N2 and N3 is greater than N0/2, then can determine needs the ring time by user sets to adjust backward, and calculates jingle bell retardation:
Time delay is 0:02 for the second time
Time delay third time is 0:02
4th time delay is 0:04
5th time delay is 0:04
6th time delay is 0:06
7th time delay is 0:06
Calculate known, in eight weeks, the mean value of each the time delay of this alarm clock A is 0:03, and namely jingle bell retardation is 0:03.
Therefore, the ring time 8:00 that user sets is adjusted 0:03 backward, the alarm time by the setting of A alarm clock is adjusted to 8:03 automatically.
In the technical scheme that the embodiment of the present invention provides, by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Be described the alarm clock method of adjustment in the embodiment of the present invention above, be described below, refer to Fig. 6 to the alarm clock adjusting gear in the embodiment of the present invention, in the embodiment of the present invention, alarm clock adjusting gear embodiment comprises:
Record cell 601, for the service data that recording user operates alarm clock;
Analytic unit 602, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit 603, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock.
For ease of understanding, below for an embody rule scene, the inner working flow process of alarm clock adjusting gear in the present embodiment is described:
The service data that record cell 601 recording user operates alarm clock, analytic unit 602 carries out analysis to the historical operating data that record obtains and obtains analysis result, and setup unit 603 sets the ring time of described alarm clock according to described analysis result.
In the technical scheme that the embodiment of the present invention provides, described service data is recorded by record cell 601, and unit 602 is analyzed recording the historical operating data obtained by analysis, to obtain the analysis result of the alarm clock use habit that can reflect user, and set the ring time of described alarm clock according to this analysis result by setup unit 603, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Be understandable that, this analytic unit 602 can have multiple different concrete structure, illustrates respectively below:
One, the concrete structure of the alarm clock adjusting gear adjusted forward the need of ring time user set can be analyzed:
Specifically refer to Fig. 7, in the embodiment of the present invention, another embodiment of alarm clock adjusting gear comprises:
Record cell 701, for the service data that recording user operates alarm clock;
Analytic unit 702, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit 703, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock;
This service data comprises alarm clock action type, and this alarm clock action type comprises closedown, late release ahead of time and closes on time;
In the present embodiment, analytic unit 702 is specially:
First statistical module 7021, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
First computing module 7022, for being greater than N3 and N1 is greater than N2 as N1, and meeting preset alarm clock when doing sth. in advance condition, calculating jingle bell lead according to the regulation rule ahead of time preset;
This setup unit 703 is specifically for adjusting the ring time that user sets forward according to described jingle bell lead.
Alternatively, in the present embodiment, the first computing module 7022 can comprise:
First obtains submodule 7022a, and for obtaining each time of described alarm clock in described preset time period time ahead of time, described to do sth. in advance the time be the ring time that sets of user and the difference between the quarter-bell shut-in time;
First calculating sub module 7022b, for doing sth. in advance the mean value of time as described jingle bell lead using described each time.
Alternatively, the analytic unit 702 in the present embodiment also comprises further:
First judge module 7023, for judging whether the difference of N1 and N3 is greater than the first preset value, described first preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
First determination module 7024, for when described first judge module judges that the difference of N1 and N3 is greater than the first preset value, determines that meeting preset alarm clock does sth. in advance condition.
In the technical scheme that the embodiment of the present invention provides, described service data is recorded by record cell 701, and unit 702 is analyzed recording the historical operating data obtained by analysis, to obtain the analysis result of the alarm clock use habit that can reflect user, and set the ring time of described alarm clock according to this analysis result by setup unit 703, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, be specially to analyze adjust forward the need of the ring time that user is set recording the historical operating data analysis that obtains, and when determining to need the ring time that user sets to adjust forward, calculate jingle bell lead according to the regulation rule ahead of time preset and according to jingle bell lead, the ring time that user sets is adjusted forward, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
One, the concrete structure of the alarm clock adjusting gear adjusted backward the need of ring time user set can be analyzed:
Specifically refer to Fig. 8, in the embodiment of the present invention, another embodiment of alarm clock adjusting gear comprises:
Record cell 801, for the service data that recording user operates alarm clock;
Analytic unit 802, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit 803, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock;
This service data comprises alarm clock action type, and this alarm clock action type comprises closedown, late release ahead of time and closes on time;
In the present embodiment, analytic unit 802 is specially:
Second statistical module 8021, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
Second computing module 8022, for being greater than N3 and N2 is greater than N1 as N2, and meeting preset alarm clock when postponing condition, calculating jingle bell retardation according to the delay regulation rule preset.
This setup unit 803 is specifically for adjusting the ring time that user sets backward according to described jingle bell retardation.
Alternatively, in the present embodiment, the second computing module 8022 can comprise:
Second obtains submodule 8022a, and for obtaining each time delay of the described alarm clock in described preset time period, described time delay is the difference between the ring time that sets of quarter-bell shut-in time and user;
Second calculating sub module 8022b, for using the mean value of described each time delay as described jingle bell retardation.
Alternatively, the analytic unit 802 in the present embodiment also comprises further:
Second judge module 8023, for judging whether the difference of N2 and N3 is greater than the second preset value, described second preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
Second determination module 8024, for when described second judge module judges that the difference of N2 and N3 is greater than the second preset value, determines that meeting preset alarm clock postpones condition.
In the technical scheme that the embodiment of the present invention provides, described service data is recorded by record cell 801, and unit 802 is analyzed recording the historical operating data obtained by analysis, to obtain the analysis result of the alarm clock use habit that can reflect user, and set the ring time of described alarm clock according to this analysis result by setup unit 803, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, be specially to analyze adjust backward the need of the ring time that user is set recording the historical operating data analysis that obtains, and when determining to need the ring time that user sets to adjust backward, calculate jingle bell retardation according to the delay regulation rule preset and according to jingle bell retardation, the ring time that user sets adjusted backward, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Three, the concrete structure the need of the constant alarm clock adjusting gear of the ring time keeping user to set can be analyzed:
Specifically refer to Fig. 9, in the embodiment of the present invention, another embodiment of alarm clock adjusting gear comprises:
Record cell 901, for the service data that recording user operates alarm clock;
Analytic unit 902, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit 903, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock;
This service data comprises alarm clock action type, and this alarm clock action type comprises closedown, late release ahead of time and closes on time;
In the present embodiment, analytic unit 902 is specially:
3rd statistical module 9021, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
3rd computing module 9022, for when N3 is more than or equal to N1 and N3 is more than or equal to N2, confirms that the jingle bell adjustment amount of described alarm clock is zero;
This setup unit 903, specifically for according to described jingle bell adjustment amount, does not adjust the ring time of user's setting.
In the technical scheme that the embodiment of the present invention provides, described service data is recorded by record cell 901, and unit 902 is analyzed recording the historical operating data obtained by analysis, to obtain the analysis result of the alarm clock use habit that can reflect user, and set the ring time of described alarm clock according to this analysis result by setup unit 903, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, analysis is specially the need of keeping the ring time of user's setting constant to recording the historical operating data analysis obtained, and when determining to need to keep the ring time of user's setting constant, do not adjust the ring time of user's setting, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Above three kinds of alarm clock adjusting gears of the analytic unit with different structure are illustrated, in actual applications, be understandable that, can be combined above-mentioned analytic unit structure, can also adopt other analytic unit structure, concrete analytic unit structure does not limit herein.Below to be described in detail in conjunction with above-mentioned three kinds of analytic unit structures, specifically please refer to Figure 10, in the embodiment of the present invention, another embodiment of alarm clock adjusting gear comprises:
Record cell 1001, for the service data that recording user operates alarm clock;
Analytic unit 1002, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit 1003, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock;
This service data comprises alarm clock action type, and this alarm clock action type comprises closedown, late release ahead of time and closes on time;
In the present embodiment, analytic unit 1002 is specially:
Statistical module 10021, for the times N 3 of adding up the times N 1 of closing ahead of time of alarm clock in preset time period, the times N 2 of late release and close on time;
First computing module 10024, for being greater than N3 and N1 is greater than N2 as N1, and meeting preset alarm clock when doing sth. in advance condition, calculating jingle bell lead according to the regulation rule ahead of time preset;
Second computing module 10027, for being greater than N3 and N2 is greater than N1 as N2, and meeting preset alarm clock when postponing condition, calculating jingle bell retardation according to the delay regulation rule preset;
3rd computing module 10028, for when N3 is more than or equal to N1 and N3 is more than or equal to N2, confirms that the jingle bell adjustment amount of described alarm clock is zero;
This setup unit 1003 is specifically for adjusting the ring time that user sets forward according to described jingle bell lead, and for the ring time that user sets being adjusted backward according to described jingle bell retardation, also for according to described jingle bell adjustment amount, do not adjust the ring time of user's setting.
Alternatively, the first computing module 10024 can comprise in the present embodiment:
First obtains submodule 10024a, and for obtaining each time of described alarm clock in described preset time period time ahead of time, described to do sth. in advance the time be the ring time that sets of user and the difference between the quarter-bell shut-in time;
First calculating sub module 10024b, for doing sth. in advance the mean value of time as described jingle bell lead using described each time.
Alternatively, the analytic unit 1002 in the present embodiment also comprises further:
First judge module 10022, for judging whether the difference of N1 and N3 is greater than the first preset value, described first preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
First determination module 10023, for when described first judge module judges that the difference of N1 and N3 is greater than the first preset value, determines that meeting preset alarm clock does sth. in advance condition.
Alternatively, in the present embodiment, the second computing module 10027 can comprise:
Second obtains submodule 10027a, and for obtaining each time delay of the described alarm clock in described preset time period, described time delay is the difference between the ring time that sets of quarter-bell shut-in time and user;
Second calculating sub module 10027b, for using the mean value of described each time delay as described jingle bell retardation.
Alternatively, the analytic unit 1002 in the present embodiment also comprises further:
Second judge module 10025, for judging whether the difference of N2 and N3 is greater than the second preset value, described second preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
Second determination module 10026, for when described second judge module judges that the difference of N2 and N3 is greater than the second preset value, determines that meeting preset alarm clock postpones condition.
In the technical scheme that the embodiment of the present invention provides, described service data is recorded by record cell 1001, and unit 1002 is analyzed recording the historical operating data obtained by analysis, to obtain the analysis result of the alarm clock use habit that can reflect user, and set the ring time of described alarm clock according to this analysis result by setup unit 1003, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Further, in the present embodiment, analyze specifically to comprise analyzing adjust forward the need of the ring time that user is set recording the historical operating data that obtains, and when determining to need the ring time that user sets to adjust forward, calculate jingle bell lead according to the regulation rule ahead of time preset and according to jingle bell lead, the ring time that user sets is adjusted forward, and analysis adjusts backward the need of ring time user set, and when determining to need the ring time that user sets to adjust backward, calculate jingle bell retardation according to the delay regulation rule preset and according to jingle bell retardation, the ring time that user sets adjusted backward, also analyze the need of keeping the ring time of user's setting constant, and when determining to need to keep the ring time of user's setting constant, do not adjust the ring time of user's setting, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
The invention also discloses a kind of terminal, comprise if Fig. 6 is to alarm clock adjusting gear embodiment illustrated in fig. 10, below in conjunction with Figure 11, the terminal in the embodiment of the present invention is described in detail.As shown in figure 11, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can for comprising mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), POS (PointofSales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Figure 11 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to Figure 11, mobile phone comprises: radio frequency (RadioFrequency, RF) parts such as circuit 1110, storer 1120, input block 1130, display unit 1140, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity (wirelessfidelity, WiFi) module 1170, processor 1180 and power supply 1190.It will be understood by those skilled in the art that the handset structure shown in Figure 11 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Figure 11 each component parts to mobile phone:
RF circuit 1110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 1180; In addition, the up data of design are sent to base station.Usually, RF circuit 1110 includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (LowNoiseAmplifier, LNA), diplexer etc.In addition, RF circuit 1110 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication, GSM), general packet radio service (GeneralPacketRadioService, GPRS), CDMA (CodeDivisionMultipleAccess, CDMA), Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA), Long Term Evolution (LongTermEvolution, LTE), Email, Short Message Service (ShortMessagingService, SMS) etc.
Storer 1120 can be used for storing software program and module, and processor 1180 is stored in software program and the module of storer 1120 by running, thus performs various function application and the data processing of mobile phone.Storer 1120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 1120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 1130 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone and function controls the input of relevant key signals.Particularly, input block 1130 can comprise contact panel 1131 and other input equipments 1132.Contact panel 1131, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 1131 or near contact panel 1131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 1131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1180, and the order that energy receiving processor 1180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 1131.Except contact panel 1131, input block 1130 can also comprise other input equipments 1132.Particularly, other input equipments 1132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 1140 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 1140 can comprise display panel 1141, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detects thereon or after neighbouring touch operation, send processor 1180 to determine the type of touch event, on display panel 1141, provide corresponding vision to export with preprocessor 1180 according to the type of touch event.Although in fig. 11, contact panel 1131 and display panel 1141 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 1131 and display panel 1141 and realize the input and output function of mobile phone.
Mobile phone also can comprise at least one sensor 1150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 1141, proximity transducer when mobile phone moves in one's ear, can cut out display panel 1141 and/or backlight.As the one of motion sensor, accelerometer sensor can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the audio interface between user and mobile phone.Voicefrequency circuit 1160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 1161, by loudspeaker 1161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, voice data is converted to after being received by voicefrequency circuit 1160, after again voice data output processor 1180 being processed, through RF circuit 1110 to send to such as another mobile phone, or export voice data to storer 1120 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 1170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 11 shows WiFi module 1170, be understandable that, it does not belong to must forming of mobile phone, can omit in the scope of essence not changing invention as required completely.
Processor 1180 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 1120 and/or module is stored in by running or performing, and call the data be stored in storer 1120, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 1180 can comprise one or more processing unit; Preferably, processor 1180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1180.
Mobile phone also comprises the power supply 1190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 1180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 1180 included by this terminal also has following functions:
The service data that recording user operates alarm clock;
Carry out analysis obtain analysis result to recording the historical operating data that obtains;
According to the ring time of analysis result setting alarm clock.
In some embodiments of the invention, processor 1180 is also for performing following operation:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N1 is greater than N3 and N1 is greater than N2, and meet preset alarm clock and do sth. in advance condition, then calculate jingle bell lead according to the regulation rule ahead of time preset;
According to described jingle bell lead, the ring time that user sets is adjusted forward.
In some embodiments of the invention, processor 1180 is also for performing following operation:
Obtain each time of the described alarm clock in described preset time period time ahead of time, the described time is ahead of time the ring time that sets of user and the difference between the quarter-bell actual shut-in time;
The mean value of time is done sth. in advance as described jingle bell lead using described each time.
In some embodiments of the invention, processor 1180 is also for performing following operation:
Judge whether the difference of N1 and N3 is greater than the first preset value, if so, then determine that meeting preset alarm clock does sth. in advance condition; Described first preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum.
In some embodiments of the invention, processor 1180 is also for performing following operation:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N2 is greater than N3 and N2 is greater than N1, and meet preset alarm clock delay condition, then calculate jingle bell retardation according to the delay regulation rule preset;
According to described jingle bell retardation, the ring time that user sets is adjusted backward.
In some embodiments of the invention, processor 1180 is also for performing following operation:
Obtain each time delay of the described alarm clock in described preset time period, described time delay is the difference between the ring time that sets of quarter-bell actual shut-in time and user;
Using the mean value of described each time delay as described jingle bell retardation.
In some embodiments of the invention, processor 1180 is also for performing following operation:
Judge whether the difference of N2 and N3 is greater than the second preset value, if so, then determine that meeting preset alarm clock postpones condition; Described second preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum.
In some embodiments of the invention, processor 1180 is also for performing following operation:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N3 is more than or equal to N1 and N3 is more than or equal to N2, then confirm that the jingle bell adjustment amount of described alarm clock is zero;
According to described jingle bell adjustment amount, do not adjust the ring time of user's setting.
In the technical scheme that the embodiment of the present invention provides, terminal is by recording described service data, and analyze recording the historical operating data obtained, to obtain the analysis result of the alarm clock use habit that can reflect user, and the ring time of described alarm clock is set according to this analysis result, thus the ring time realized according to the alarm clock use habit adjustment alarm clock of user, for user uses alarm clock to provide better experience in life.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (18)
1. an alarm clock method of adjustment, is characterized in that, comprising:
The service data that recording user operates alarm clock;
Carry out analysis obtain analysis result to recording the historical operating data that obtains;
The ring time of described alarm clock is set according to described analysis result.
2. alarm clock method of adjustment as claimed in claim 1, it is characterized in that, described service data comprises alarm clock action type, and described alarm clock action type comprises closedown, late release ahead of time and closes on time.
3. alarm clock method of adjustment as claimed in claim 2, is characterized in that, describedly carries out analysis and obtains analysis result to recording the historical operating data obtained and comprise:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N1 is greater than N3 and N1 is greater than N2, and meet preset alarm clock and do sth. in advance condition, then calculate jingle bell lead according to the regulation rule ahead of time preset;
The described ring time setting described alarm clock according to described analysis result is specially:
According to described jingle bell lead, the ring time that user sets is adjusted forward.
4. alarm clock method of adjustment as claimed in claim 3, is characterized in that, the regulation rule ahead of time that described foundation is preset calculates jingle bell lead and comprises:
Obtain each time of the described alarm clock in described preset time period time ahead of time, the described time is ahead of time the ring time that sets of user and the difference between the quarter-bell actual shut-in time;
The mean value of time is done sth. in advance as described jingle bell lead using described each time.
5. alarm clock method of adjustment as claimed in claim 3, it is characterized in that, the described preset alarm clock condition of doing sth. in advance comprises:
Judge whether the difference of N1 and N3 is greater than the first preset value, if so, then determine that meeting preset alarm clock does sth. in advance condition; Described first preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum.
6. alarm clock method of adjustment as claimed in claim 2, is characterized in that, describedly carries out analysis and obtains analysis result to recording the historical operating data obtained and comprise:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N2 is greater than N3 and N2 is greater than N1, and meet preset alarm clock delay condition, then calculate jingle bell retardation according to the delay regulation rule preset;
The described ring time setting described alarm clock according to described analysis result is specially:
According to described jingle bell retardation, the ring time that user sets is adjusted backward.
7. alarm clock method of adjustment as claimed in claim 6, is characterized in that, the delay regulation rule that described foundation is preset calculates jingle bell retardation and comprises:
Obtain each time delay of the described alarm clock in described preset time period, described time delay is the difference between the ring time that sets of quarter-bell actual shut-in time and user;
Using the mean value of described each time delay as described jingle bell retardation.
8. alarm clock method of adjustment as claimed in claim 6, is characterized in that, described preset alarm clock postpones condition and comprises:
Judge whether the difference of N2 and N3 is greater than the second preset value, if so, then determine that meeting preset alarm clock postpones condition; Described second preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum.
9. alarm clock method of adjustment as claimed in claim 2, is characterized in that, describedly carries out analysis and obtains analysis result to recording the historical operating data obtained and comprise:
The times N 3 of doing sth. in advance the times N 1 of closedown, the times N 2 of late release and closing on time of described alarm clock in statistics preset time period;
If N3 is more than or equal to N1 and N3 is more than or equal to N2, then confirm that the jingle bell adjustment amount of described alarm clock is zero;
The described ring time setting described alarm clock according to described analysis result is specially:
According to described jingle bell adjustment amount, do not adjust the ring time of user's setting.
10. an alarm clock adjusting gear, is characterized in that, comprising:
Record cell, for the service data that recording user operates alarm clock;
Analytic unit, the historical operating data for obtaining record carries out analysis and obtains analysis result;
Setup unit, the described analysis result for obtaining according to described analytic unit sets the ring time of described alarm clock.
11. alarm clock adjusting gears as claimed in claim 10, it is characterized in that, described service data comprises alarm clock action type, and described alarm clock action type comprises closedown, late release ahead of time and closes on time; Described analytic unit comprises:
First statistical module, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
First computing module, for being greater than N3 and N1 is greater than N2 as N1, and meeting preset alarm clock when doing sth. in advance condition, calculating jingle bell lead according to the regulation rule ahead of time preset;
Described setup unit is specifically for adjusting the ring time that user sets forward according to described jingle bell lead.
12. alarm clock adjusting gears as claimed in claim 11, it is characterized in that, described first computing module comprises:
First obtains submodule, and for obtaining each time of described alarm clock in described preset time period time ahead of time, described to do sth. in advance the time be the ring time that sets of user and the difference between the quarter-bell shut-in time;
First calculating sub module, for doing sth. in advance the mean value of time as described jingle bell lead using described each time.
13. alarm clock adjusting gears as claimed in claim 11, it is characterized in that, described analytic unit also comprises:
First judge module, for judging whether the difference of N1 and N3 is greater than the first preset value, described first preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
First determination module, for when described first judge module judges that the difference of N1 and N3 is greater than the first preset value, determines that meeting preset alarm clock does sth. in advance condition.
14. alarm clock adjusting gears as claimed in claim 10, it is characterized in that, described service data comprises alarm clock action type, and described alarm clock action type comprises closedown, late release ahead of time and closes on time; Described analytic unit comprises:
Second statistical module, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
Second computing module, for being greater than N3 and N2 is greater than N1 as N2, and meeting preset alarm clock when postponing condition, calculating jingle bell retardation according to the delay regulation rule preset;
Described setup unit is specifically for adjusting the ring time that user sets backward according to described jingle bell retardation.
15. alarm clock adjusting gears as claimed in claim 14, it is characterized in that, described second computing module comprises:
Second obtains submodule, and for obtaining each time delay of the described alarm clock in described preset time period, described time delay is the difference between the ring time that sets of quarter-bell shut-in time and user;
Second calculating sub module, for using the mean value of described each time delay as described jingle bell retardation.
16. alarm clock adjusting gears as claimed in claim 14, it is characterized in that, described analytic unit also comprises:
Second judge module, for judging whether the difference of N2 and N3 is greater than the second preset value, described second preset value is N0/2, and wherein, N0 represents N1, N2 and N3 sum;
Second determination module, for when described second judge module judges that the difference of N2 and N3 is greater than the second preset value, determines that meeting preset alarm clock postpones condition.
17. alarm clock adjusting gears as claimed in claim 10, it is characterized in that, described service data comprises alarm clock action type, and described alarm clock action type comprises closedown, late release ahead of time and closes on time; Described analytic unit comprises:
3rd statistical module, for the times N 3 of adding up the times N 1 of closing ahead of time of described alarm clock in preset time period, the times N 2 of late release and close on time;
3rd computing module, for when N3 is more than or equal to N1 and N3 is more than or equal to N2, confirms that the jingle bell adjustment amount of described alarm clock is zero;
Described setup unit, specifically for according to described jingle bell adjustment amount, does not adjust the ring time of user's setting.
18. 1 kinds of terminals, is characterized in that, comprise the alarm clock adjusting gear as described in claim 10 to 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410369838.8A CN105303361B (en) | 2014-07-30 | 2014-07-30 | Alarm clock adjusting method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410369838.8A CN105303361B (en) | 2014-07-30 | 2014-07-30 | Alarm clock adjusting method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105303361A true CN105303361A (en) | 2016-02-03 |
CN105303361B CN105303361B (en) | 2020-06-05 |
Family
ID=55200598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410369838.8A Active CN105303361B (en) | 2014-07-30 | 2014-07-30 | Alarm clock adjusting method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105303361B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107194669A (en) * | 2017-05-26 | 2017-09-22 | 北京小米移动软件有限公司 | time adjusting method and device |
CN107222625A (en) * | 2017-06-09 | 2017-09-29 | 珠海格力电器股份有限公司 | Method and device for controlling alarm clock reminding |
CN107341644A (en) * | 2016-04-29 | 2017-11-10 | 宇龙计算机通信科技(深圳)有限公司 | A kind of alarm clock establishing method and terminal |
WO2018027369A1 (en) * | 2016-08-06 | 2018-02-15 | 胡明祥 | User feedback-based method for stopping automatic curtain opening according to alarm clock on mobile phone and automatic curtain |
WO2018027370A1 (en) * | 2016-08-06 | 2018-02-15 | 胡明祥 | Adjustment method for alarm clock-based curtain opening technology and automatic curtain |
CN110574355A (en) * | 2017-06-30 | 2019-12-13 | Oppo广东移动通信有限公司 | Alarm clock reminding method and device, storage medium and electronic equipment |
CN110880303A (en) * | 2019-12-09 | 2020-03-13 | Oppo广东移动通信有限公司 | Backlight brightness adjusting method and system, storage medium and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030001727A1 (en) * | 2001-06-29 | 2003-01-02 | Steinmark Daniel E. | System and method for creating an adjusted alarm time |
CN101626419A (en) * | 2008-07-07 | 2010-01-13 | 英华达(南京)科技有限公司 | Hand-held device and method for adjusting prompting time according to weather forecast |
CN103188399A (en) * | 2013-03-20 | 2013-07-03 | 北京小米科技有限责任公司 | Method, device and terminal for controlling alarm clock rings |
CN103369082A (en) * | 2012-04-05 | 2013-10-23 | 富泰华工业(深圳)有限公司 | System and method for controlling alarm clock of electronic device |
WO2014029208A1 (en) * | 2012-08-22 | 2014-02-27 | 华为终端有限公司 | Control method for alarm clock of electronic device and electronic device |
CN103645629A (en) * | 2013-10-28 | 2014-03-19 | 三星电子(中国)研发中心 | Alarm clock timing method |
-
2014
- 2014-07-30 CN CN201410369838.8A patent/CN105303361B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030001727A1 (en) * | 2001-06-29 | 2003-01-02 | Steinmark Daniel E. | System and method for creating an adjusted alarm time |
CN101626419A (en) * | 2008-07-07 | 2010-01-13 | 英华达(南京)科技有限公司 | Hand-held device and method for adjusting prompting time according to weather forecast |
CN103369082A (en) * | 2012-04-05 | 2013-10-23 | 富泰华工业(深圳)有限公司 | System and method for controlling alarm clock of electronic device |
WO2014029208A1 (en) * | 2012-08-22 | 2014-02-27 | 华为终端有限公司 | Control method for alarm clock of electronic device and electronic device |
CN103188399A (en) * | 2013-03-20 | 2013-07-03 | 北京小米科技有限责任公司 | Method, device and terminal for controlling alarm clock rings |
CN103645629A (en) * | 2013-10-28 | 2014-03-19 | 三星电子(中国)研发中心 | Alarm clock timing method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341644A (en) * | 2016-04-29 | 2017-11-10 | 宇龙计算机通信科技(深圳)有限公司 | A kind of alarm clock establishing method and terminal |
WO2018027369A1 (en) * | 2016-08-06 | 2018-02-15 | 胡明祥 | User feedback-based method for stopping automatic curtain opening according to alarm clock on mobile phone and automatic curtain |
WO2018027370A1 (en) * | 2016-08-06 | 2018-02-15 | 胡明祥 | Adjustment method for alarm clock-based curtain opening technology and automatic curtain |
CN107194669A (en) * | 2017-05-26 | 2017-09-22 | 北京小米移动软件有限公司 | time adjusting method and device |
CN107222625A (en) * | 2017-06-09 | 2017-09-29 | 珠海格力电器股份有限公司 | Method and device for controlling alarm clock reminding |
CN107222625B (en) * | 2017-06-09 | 2019-12-31 | 珠海格力电器股份有限公司 | Method and device for controlling alarm clock reminding |
CN110574355A (en) * | 2017-06-30 | 2019-12-13 | Oppo广东移动通信有限公司 | Alarm clock reminding method and device, storage medium and electronic equipment |
CN110880303A (en) * | 2019-12-09 | 2020-03-13 | Oppo广东移动通信有限公司 | Backlight brightness adjusting method and system, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105303361B (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105303361A (en) | Alarm clock adjusting method and device as well as terminal | |
CN103024205B (en) | Method, device and terminal for controlling power | |
CN104243671B (en) | Volume adjusting method, device and electronic equipment | |
CN102833419B (en) | Method and terminal for controlling screen state | |
CN103076917B (en) | A kind of method of adjustment of display interface fluency and terminal | |
CN103281687A (en) | Network flow management method and device of double-card terminal | |
CN104571529A (en) | Application wake method and mobile terminal | |
CN104834529A (en) | Method and device for optimizing performance of application | |
CN103455407A (en) | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal | |
CN103473011A (en) | Mobile terminal, and performance detecting method and performance detecting device for mobile terminal | |
CN104383681A (en) | Game process control method and device as well as mobile terminal | |
CN104427083A (en) | Volume adjusting method and device | |
CN104426919A (en) | Page sharing method, device and system | |
CN104598476A (en) | Message aggregation display method and information display method and relevant device | |
CN104200211A (en) | Image binaryzation method and device | |
CN103702028A (en) | Method and device for controlling shooting and terminal equipment | |
CN105260087A (en) | Information display method and terminal | |
CN103634717A (en) | Method, device and terminal equipment utilizing earphone to control | |
CN104571979A (en) | Method and device for realizing split-screen views | |
CN104133757A (en) | Method for obtaining memory information and terminal | |
CN105430600A (en) | Data transmission method and terminal | |
CN105519086A (en) | Method and device for controlling proximity optical sensor, and mobile terminal | |
CN105930077A (en) | Method and device for adjusting size of objects displayed by screens | |
CN103634468A (en) | Method, device and terminal equipment for processing alarm clock | |
CN104850274A (en) | Method and device for realizing key function by infrared induction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |