CN105303361B - Alarm clock adjusting method and device and terminal - Google Patents

Alarm clock adjusting method and device and terminal Download PDF

Info

Publication number
CN105303361B
CN105303361B CN201410369838.8A CN201410369838A CN105303361B CN 105303361 B CN105303361 B CN 105303361B CN 201410369838 A CN201410369838 A CN 201410369838A CN 105303361 B CN105303361 B CN 105303361B
Authority
CN
China
Prior art keywords
alarm clock
time
preset
ringing
user
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.)
Active
Application number
CN201410369838.8A
Other languages
Chinese (zh)
Other versions
CN105303361A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410369838.8A priority Critical patent/CN105303361B/en
Publication of CN105303361A publication Critical patent/CN105303361A/en
Application granted granted Critical
Publication of CN105303361B publication Critical patent/CN105303361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electromechanical Clocks (AREA)
  • Electric Clocks (AREA)

Abstract

The embodiment of the invention discloses an alarm clock adjusting method, an alarm clock adjusting device and a terminal, which are used for intelligently adjusting the ringing time of an alarm clock according to the use habit of the alarm clock of a user. The method provided by the embodiment of the invention comprises the following steps: recording operation data of a user for operating the alarm clock; analyzing the recorded historical 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 embodiment of the invention, the operation data is recorded, the recorded historical operation data is analyzed to obtain an analysis result capable of reflecting the use habit of the alarm clock 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 is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.

Description

Alarm clock adjusting method and device and terminal
Technical Field
The invention relates to an electric communication technology, in particular to an alarm clock adjusting method, an alarm clock adjusting device and a terminal.
Background
The alarm clock is used for carrying out alarm clock reminding in the modes of ringing and/or vibration and the like at the set ringing time according to the presetting of a user, is widely applied to daily life, and brings great convenience to the daily life of people, for example, the alarm clock for getting up in the morning.
For convenience, a user usually sets a certain alarm clock at a time to perform alarm clock reminding in a plurality of corresponding years, months or days, for example, set an alarm clock a: alarm clock reminders were made every monday at 8:00 am.
Then, in an actual usage scenario, people often do not turn off the alarm clock at the corresponding ring time, taking the alarm clock a as an example, a user may turn off the alarm clock in a delayed manner, for example, 8:10, on a plurality of mondays, or may turn off the alarm clock in advance on some mondays, for example, 7:50, which indicates that the ring time set by the user does not conform to the usage habit of the alarm clock of the user, and if the alarm clock is manually adjusted every day according to the usage habit of the alarm clock of the user, the alarm clock is often troublesome and the experience feeling is poor.
Disclosure of Invention
The embodiment of the invention provides an alarm clock adjusting method, an alarm clock adjusting device and a terminal, which can intelligently adjust the ringing time of an alarm clock according to the use habit of the alarm clock of a user.
A first aspect of an embodiment of the present invention provides an alarm clock adjusting method, including:
recording operation data of a user for operating the alarm clock;
analyzing the recorded historical operation data to obtain an analysis result;
and setting the ringing time of the alarm clock according to the analysis result.
A second aspect of the embodiments of the present invention provides an alarm clock adjusting apparatus, including:
the recording unit is used for recording operation data of a user for operating the alarm clock;
the analysis unit is used for analyzing the recorded historical operation data to obtain an analysis result;
and the setting unit is used for setting the ringing time of the alarm clock according to the analysis result obtained by the analysis unit.
A third aspect of an embodiment of the present invention provides a terminal, including an alarm clock adjusting apparatus according to claims 10 to 17.
According to the technical scheme provided by the embodiment of the invention, the operation data is recorded, the recorded historical operation data is analyzed to obtain an analysis result capable of reflecting the use habit of the alarm clock 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 is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an alarm clock adjusting method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of an alarm clock adjusting method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another embodiment of an alarm clock adjusting method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of an alarm clock adjusting method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of an alarm clock adjusting method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of an alarm clock adjusting apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another embodiment of an alarm clock adjusting apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another embodiment of an alarm clock adjusting apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another embodiment of an alarm clock adjusting apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another embodiment of an alarm clock adjusting apparatus according to an embodiment of the present invention;
fig. 11 is a schematic diagram of an embodiment of a terminal in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an alarm clock adjusting method, an alarm clock adjusting device and a terminal, which are used for intelligently adjusting the ringing time of an alarm clock according to the use habit of the alarm clock of a user and are respectively explained in detail below.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of an alarm clock adjusting method according to an embodiment of the present invention includes:
101. recording operation data of a user for operating the alarm clock;
it should be noted that the alarm clock is set for the user once, and alarm clock reminding is performed at the corresponding ring time in each preset time period, for example, every year, every month or at a certain time every day. In this embodiment, the alarm clock adjusting device records operation data of the user operating the alarm clock in each time period.
102. Analyzing the recorded historical operation data to obtain an analysis result;
after the alarm clock adjusting device records the operation data of the user on the alarm clock in each time period, the historical operation data of the alarm clock can be obtained, and the analysis is carried out on the basis of the historical operation data, so that the analysis result capable of reflecting the use habits of the user on the alarm clock can be obtained.
103. Setting the ringing time of the alarm clock according to the analysis result;
on the basis of the analysis result, the alarm clock adjusting device sets the ringing time which is more in line with the alarm clock using habit of the user.
In the technical scheme provided by the embodiment of the invention, the alarm clock adjusting device records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the user, and better experience is provided for the user to use the alarm clock in life.
It is understood that there are many different specific implementations of the analysis process of the historical operation data, which are described below:
firstly, whether the ringing time set by the user needs to be adjusted forwards is analyzed.
Referring to fig. 2, another embodiment of the method for adjusting an alarm clock according to the embodiment of the present invention includes:
201. recording operation data of a user for operating the alarm clock;
it should be noted that the alarm clock is set for the user once, and alarm clock reminding is performed at the corresponding alarm time in each preset alarm cycle, for example, every year, every month or at a certain time every day. In this embodiment, the alarm clock adjusting device records operation data of the user operating the alarm clock in each time period.
In this embodiment, the operation data includes an alarm clock operation type, and the alarm clock operation type includes early turn-off, delayed turn-off, and on-time turn-off, and it is understood that in practical application, the operation data may include other operation parameters, such as an alarm clock identifier, an actual turn-off time of the alarm clock, and the like, besides the alarm clock operation type, and this is not limited herein.
In this embodiment, the number of the alarm clocks may be one or more, which is not limited herein, and when the number of the alarm clocks is multiple, the corresponding operation data of the corresponding alarm clock may be obtained through the alarm clock identifier in the operation data.
202. Counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
the preset time period can be user-defined or default setting of the system, and is not limited here, and only the preset time period is required to be ensured to be larger than the ringing period of the alarm clock, of course, the longer the corresponding selected time of the preset time period is, more operation data of the alarm clock can be counted by the alarm clock adjusting device, and the accuracy of the analysis result can be improved conveniently.
203. Judging whether N1 is larger than N3 and N1 is larger than N2, if so, executing step 204, otherwise, executing step 208;
that is, the alarm clock adjusting means compares the values of N1, N2 and N3, and if N1 is the maximum, step 204 is performed, and if not N1 is the maximum, step 208 is performed.
204. Judging whether the difference value between N1 and N3 is greater than a first preset value, if so, executing step 205, and if not, executing step 208;
when it is determined that N1 is greater than N3 and N1 is greater than N2, the alarm clock adjusting device further determines whether a preset alarm clock early condition is satisfied, in this embodiment, the preset alarm clock early condition is specifically that a difference between N1 and N3 is greater than a first preset value, where the first preset value is N0/2, where N0 represents a sum of N1, N2, and N3. It is understood that, in practical applications, other preset alarm clock early conditions may also be used, for example, the percentage of N1 in N0 is greater than a certain preset value, and the preset alarm clock early conditions are not limited herein. In addition, the specific value of the first preset value is not unique, and the first preset value can be set to other values related to N0 as required, and is not limited herein.
In the present embodiment, step 203 and step 204 are used to analyze whether the ring time set by the user needs to be adjusted forward.
205. Determining that a preset alarm clock early condition is met;
if the difference between N1 and N3 is greater than the first preset value, the alarm clock adjustment device determines that a preset alarm clock early condition is met.
In other embodiments, when the user does not have high accuracy requirement on whether the ring time needs to be adjusted forward, the determination of the alarm clock early condition may be cancelled, and steps 204 to 205 are not executed, that is, step 206 is directly executed when it is determined that N1 is greater than N3 and N1 is greater than N2.
206. Calculating the bell lead according to a preset lead adjusting rule;
in this embodiment, the calculating, by the alarm clock adjusting device according to the preset early adjustment rule, the alarm clock advance amount specifically includes: acquiring each time of the alarm clock in the preset time period, wherein the time is the difference between the ringing time set by a user and the actual closing time of the alarm clock; and taking the average value of each time of early time as the ring advance.
It is understood that, in practical applications, the alarm clock adjustment device may also use other manners to calculate the ring advance according to the preset advance adjustment rule, for example, the ring advance is fixedly set to 1 minute or some other specific empirical value, and the manner of calculating the ring advance is not limited herein.
207. Adjusting the ringing time set by the user forward according to the ringing lead;
namely, the alarm clock adjusting device forwards adjusts the ringing time set by the user by the size of the ringing advance.
208. Executing other processes;
the specific process may be other specific implementation manners of the analysis process of the historical operation data, or may be a process of directly executing the process and ending, which is not limited herein.
In the technical scheme provided by the embodiment of the invention, the alarm clock adjusting device records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, the alarm clock adjusting device analyzes the recorded historical operation data, specifically, whether the ringing time set by the user needs to be adjusted forward is analyzed, and when it is determined that the ringing time set by the user needs to be adjusted forward, the alarm clock adjusting device calculates the alarm lead according to the preset early adjustment rule and adjusts the ringing time set by the user forward according to the alarm lead, so that the alarm clock time of the alarm clock is intelligently adjusted according to the alarm clock using habit of the user, and better experience is provided for the user to use the alarm clock in life.
And secondly, analyzing whether the ringing time set by the user needs to be adjusted backwards or not.
Referring to fig. 3, another embodiment of the method for adjusting an alarm clock according to the embodiment of the present invention includes:
301. recording operation data of a user for operating the alarm clock;
302. counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
in this embodiment, the processes from step 301 to step 302 are the same as the processes from step 201 to step 202 in the embodiment shown in fig. 2, and are not described again here.
303. Judging whether N2 is larger than N3 and N2 is larger than N1, if so, executing a step 304, and if not, executing a step 308;
that is, the alarm clock adjusting means compares the values of N1, N2 and N3, and if N2 is the maximum, performs step 305, and if not N2 is the maximum, performs step 304.
304. Judging whether the difference value between N2 and N3 is greater than a second preset value, if so, executing a step 305, and if not, executing a step 308;
when it is determined that N2 is greater than N3 and N2 is greater than N1, the alarm clock adjusting device further determines whether a preset alarm clock delay condition is satisfied, in this embodiment, the preset alarm clock delay condition is specifically that a difference between N2 and N3 is greater than a second preset value, where the second preset value is N0/2, where N0 represents a sum of N1, N2, and N3. It is understood that, in practical applications, other preset alarm delay conditions may be used, for example, the percentage of N2 in N0 is greater than a certain preset value, and the preset alarm early condition is not limited herein. In addition, the specific value of the second preset value is not unique, and the second preset value can be set to other values related to N0 according to needs, and is not limited herein.
In the present embodiment, steps 303 and 304 are used to analyze whether the ring time set by the user needs to be adjusted backward.
305. Determining that a preset alarm clock delay condition is met;
if the difference between N2 and N3 is greater than the second preset value, the alarm clock adjustment means determines that a preset alarm clock delay condition is satisfied.
In other embodiments, when the user does not have high accuracy requirement on whether the ring time needs to be adjusted backward, the determination of the alarm clock delay condition may be cancelled, and steps 304 to 305 are not executed, that is, when it is determined that N2 is greater than N3 and N2 is greater than N1, step 306 is directly executed.
306. Calculating ringing delay amount according to a preset delay adjustment rule;
in this embodiment, the calculating, by the alarm clock adjusting device according to the preset delay adjustment rule, the ringing delay amount specifically includes: obtaining each time delay time of the alarm clock in the preset time period, wherein the delay time is the difference between the actual closing time of the alarm clock and the ringing time set by a user; the average value of the delay times is used as the ringing delay amount.
It is understood that, in practical applications, the alarm clock adjusting apparatus may also use other manners to calculate the ringing delay amount according to the preset delay adjustment rule, for example, the ringing delay amount is fixedly set to 1 minute or some other specific empirical value, and the specific manner of calculating the ringing delay amount is not limited herein.
307. Adjusting the ringing time set by the user backwards according to the ringing delay amount;
namely, the alarm clock adjusting device adjusts the ringing time set by the user backwards by the size of one ringing delay amount.
308. Executing other processes;
the specific process may be other specific implementation manners of the analysis process of the historical operation data, or may be a process of directly executing the process and ending, which is not limited herein.
In the technical scheme provided by the embodiment of the invention, the alarm clock adjusting device records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, the alarm clock adjusting apparatus analyzes the recorded historical operation data, specifically, whether the ringing time set by the user needs to be adjusted backwards is analyzed, and when it is determined that the ringing time set by the user needs to be adjusted backwards, the alarm clock adjusting apparatus calculates the ringing delay amount according to the preset delay adjustment rule and adjusts the ringing time set by the user backwards according to the ringing delay amount, thereby intelligently adjusting the ringing time of the alarm clock according to the alarm clock usage habit of the user, and providing better experience for the user to use the alarm clock in life.
And thirdly, analyzing whether the ringing time set by the user needs to be kept unchanged.
Referring to fig. 4, another embodiment of the method for adjusting an alarm clock according to the embodiment of the present invention includes:
401. recording operation data of a user for operating the alarm clock;
402. counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
in this embodiment, the processes from step 401 to step 402 are the same as the processes from step 201 to step 202 in the embodiment shown in fig. 2, and are not described again here.
403. Judging whether N3 is greater than or equal to N1 and N3 is greater than or equal to N2, if yes, executing step 404, and if not, executing step 406;
that is, the alarm clock adjusting means compares the values of N1, N2, and N3, and performs step 404 if N3 is N1 or more and N3 is N2 or more, and performs step 406 if N3 is N1 or more and N3 is N2 or more are not satisfied, during the preset time period.
In this embodiment, step 403 is used to analyze whether the ringing time set by the user needs to be kept unchanged.
404. Confirming that the ring adjustment amount of the alarm clock is zero;
that is, when it is judged that N3 is equal to or greater than N1 and N3 is equal to or greater than N2, the alarm clock adjusting means confirms that the ringing adjustment amount of the alarm clock is zero.
405. According to the ringing adjustment amount, not adjusting the ringing time set by the user;
namely, the alarm clock adjusting device keeps the ringing time set by the user unchanged.
406. Executing other processes;
if N3 is not satisfied, and N1 is greater than or equal to N3526 and N3 is greater than or equal to N2, other flows are executed, and the specific flow may be other specific implementations of the analysis process of the historical operation data, or may be directly executed to end the flow, which is not limited herein.
In the technical scheme provided by the embodiment of the invention, the alarm clock adjusting device records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, the alarm clock adjusting device analyzes the recorded historical operation data, specifically, whether the ringing time set by the user needs to be kept unchanged or not is analyzed, and when it is determined that the ringing time set by the user needs to be kept unchanged, the ringing time set by the user is not adjusted, so that the alarm clock can be intelligently adjusted according to the alarm clock using habit of the user, and better experience is provided for the user to use the alarm clock in life.
In practical applications, it can be understood that the above analysis manners may be used in combination, and other analysis manners may also be adopted, and the specific analysis manner is not limited herein. Referring to fig. 5, another embodiment of the method for adjusting an alarm clock according to the embodiment of the present invention includes:
501. recording operation data of a user for operating the alarm clock;
502. counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
in this embodiment, the processes from step 501 to step 502 are the same as the processes from step 201 to step 202 in the embodiment shown in fig. 2, and are not described again here.
503. Comparing the values of N1, N2 and N3, if N1 is greater than N3 and N1 is greater than N2, executing step 504, if N2 is greater than N3 and N2 is greater than N1, executing step 508, if N3 is greater than or equal to N1 and N3 is greater than or equal to N2, executing step 511, and if the other results, ending the flow;
that is, the alarm clock adjusting apparatus compares the values of N1, N2, and N3, and performs different processes according to different comparison results.
If the values of N1, N2, and N3 neither satisfy N1 being greater than N3 and N1 being greater than N2, nor satisfy N2 being greater than N3 and N2 being greater than N1, and do not satisfy N3 being greater than or equal to N1 and N3 being greater than or equal to N2, the process ends, for example: n1 is equal to N2 and N2 is less than N3.
504. Judging whether the difference value between N1 and N3 is greater than a first preset value, if so, executing step 505, and if not, ending the process;
when it is determined that N1 is greater than N3 and N1 is greater than N2, the alarm clock adjusting device further determines whether a preset alarm clock early condition is satisfied, in this embodiment, the preset alarm clock early condition is specifically that a difference between N1 and N3 is greater than a first preset value, where the first preset value is N0/2, where N0 represents a sum of N1, N2, and N3. It is understood that, in practical applications, other preset alarm clock early conditions may also be used, for example, the percentage of N1 in N0 is greater than a certain preset value, and the preset alarm clock early conditions are not limited herein. In addition, the specific value of the first preset value is not unique, and the first preset value can be set to other values related to N0 as required, and is not limited herein.
In this embodiment, steps 503 and 504 are used to analyze whether the ring time set by the user needs to be adjusted forward.
And if the difference value between the N1 and the N3 is not met and is larger than the first preset value, the process is ended.
505. Determining that a preset alarm clock early condition is met;
if the difference between N1 and N3 is greater than the first preset value, the alarm clock adjustment device determines that a preset alarm clock early condition is met.
In other embodiments, when the user does not have high demand on accuracy of whether the ring time needs to be adjusted forward, the determination of the alarm clock early condition may be cancelled, and steps 504 to 505 are not executed, that is, when it is determined that N1 is greater than N3 and N1 is greater than N2, step 506 is directly executed.
506. Calculating the bell lead according to a preset lead adjusting rule;
in this embodiment, the calculating, by the alarm clock adjusting device according to the preset early adjustment rule, the alarm clock advance amount specifically includes: acquiring each time of the alarm clock in the preset time period, wherein the time is the difference between the ringing time set by a user and the actual closing time of the alarm clock; and taking the average value of each time of early time as the ring advance.
It is understood that, in practical applications, the alarm clock adjustment device may also use other manners to calculate the ring advance according to the preset advance adjustment rule, for example, the ring advance is fixedly set to 1 minute or some other specific empirical value, and the manner of calculating the ring advance is not limited herein.
507. Adjusting the ringing time set by the user forward according to the ringing lead;
namely, the alarm clock adjusting device forwards adjusts the ringing time set by the user by the size of the ringing advance.
508. Judging whether the difference value between N2 and N3 is greater than a second preset value, if so, executing a step 509, and if not, ending the process;
when it is determined that N2 is greater than N3 and N2 is greater than N1, the alarm clock adjusting device further determines whether a preset alarm clock delay condition is satisfied, in this embodiment, the preset alarm clock delay condition is specifically that a difference between N2 and N3 is greater than a second preset value, where the second preset value is N0/2, where N0 represents a sum of N1, N2, and N3. It is understood that, in practical applications, other preset alarm delay conditions may be used, for example, the percentage of N2 in N0 is greater than a certain preset value, and the preset alarm early condition is not limited herein. In addition, the specific value of the second preset value is not unique, and the second preset value can be set to other values related to N0 according to needs, and is not limited herein.
In this embodiment, steps 503 and 508 are used to analyze whether the ring time set by the user needs to be adjusted backwards.
And if the difference value between the N2 and the N3 is not met and is larger than the second preset value, the process is ended.
509. Determining that a preset alarm clock delay condition is met;
if the difference between N2 and N3 is greater than the second preset value, the alarm clock adjustment means determines that a preset alarm clock delay condition is satisfied.
In other embodiments, when the user does not have high demand on the accuracy of the backward adjustment of the ring time, the determination of the alarm clock delay condition may be cancelled, and steps 508 to 509 are not executed, that is, when it is determined that N2 is greater than N3 and N2 is greater than N1, step 510 is directly executed.
510. Calculating ringing delay amount according to a preset delay adjustment rule;
in this embodiment, the calculating, by the alarm clock adjusting device according to the preset delay adjustment rule, the ringing delay amount specifically includes: obtaining each time delay time of the alarm clock in the preset time period, wherein the delay time is the difference between the actual closing time of the alarm clock and the ringing time set by a user; the average value of the delay times is used as the ringing delay amount.
It is understood that, in practical applications, the alarm clock adjusting apparatus may also use other manners to calculate the ringing delay amount according to the preset delay adjustment rule, for example, the ringing delay amount is fixedly set to 1 minute or some other specific empirical value, and the specific manner of calculating the ringing delay amount is not limited herein.
511. Adjusting the ringing time set by the user backwards according to the ringing delay amount;
namely, the alarm clock adjusting device adjusts the ringing time set by the user backwards by the size of one ringing delay amount.
512. Confirming that the ring adjustment amount of the alarm clock is zero;
that is, when it is judged that N3 is equal to or greater than N1 and N3 is equal to or greater than N2, the alarm clock adjusting means confirms that the ringing adjustment amount of the alarm clock is zero.
513. According to the ringing adjustment amount, not adjusting the ringing time set by the user;
namely, the alarm clock adjusting device keeps the ringing time set by the user unchanged.
In the technical scheme provided by the embodiment of the invention, the alarm clock adjusting device records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, the analyzing the recorded historical operation data by the alarm clock adjusting device specifically includes analyzing whether the ring time set by the user needs to be adjusted forward, calculating the ring advance according to a preset early adjustment rule and adjusting the ring time set by the user forward according to the ring advance when it is determined that the ring time set by the user needs to be adjusted forward, analyzing whether the ring time set by the user needs to be adjusted backward, calculating the ring delay according to a preset delay adjustment rule and adjusting the ring time set by the user backward according to the ring delay when it is determined that the ring time set by the user needs to be adjusted backward, analyzing whether the ring time set by the user needs to be kept unchanged, and not adjusting the ring time set by the user when it is determined that the ring time set by the user needs to be kept unchanged, therefore, the alarm clock ringing time can be intelligently adjusted according to the alarm clock use habit of the user, and better experience is provided for the user to use the alarm clock in life.
For convenience of understanding, the alarm clock adjusting method described in the above embodiment is described in detail in the following practical application scenario, specifically:
the user sets an alarm clock A: every Monday 8:00, namely 8:00 is the ringing time set by the user, the ringing period of the alarm clock A is every week (7 days), and the alarm clock A starts alarm clock reminding at the week Monday 8: 00.
The user operates the alarm clock once every Monday of each ringing period, and records whether the operation is closed in advance, closed in delay or closed on time and the actual closing time of the alarm clock. Taking the preset time period as 8 ringing cycles (i.e. eight weeks) as an example, the operation data of the user for operating the alarm clock includes:
the first operation is as follows: closing on time, wherein the actual closing time is 8: 00;
the second operation is as follows: delayed closing, wherein the actual closing time is 8: 02;
the third operation is as follows: delay closing, wherein the time closing time is 8: 02;
the fourth operation is: delayed closing, wherein the actual closing time is 8: 04;
the fifth operation is: delayed closing, wherein the actual closing time is 8: 04;
the sixth operation is: delayed closing, wherein the actual closing time is 8: 06;
the seventh operation is as follows: delayed closing, wherein the actual closing time is 8: 06;
the eighth operation is: and closing on time, wherein the actual closing time is 8: 00.
The eight operations are historical operation data in eight weeks, and statistics show that:
number of early shutdowns N1 is 0
Number of delayed closures N2 was 6
Number of on-time shutdowns N3 is 2
The total number of operations N0 was 8
As can be seen from the determination, if N2 is greater than N3, N2 is greater than N1, and the difference between N2 and N3 is greater than N0/2, it can be determined that the alarm time set by the user needs to be adjusted backward, and the alarm delay amount is calculated:
the second delay time is 0:02
The third time delay time is 0:02
The fourth delay time is 0:04
The fifth delay time is 0:04
The sixth delay time is 0:06
The seventh time delay time is 0:06
The average value of the delay time of the alarm clock A in eight weeks is 0:03, namely the ringing delay amount is 0: 03.
Therefore, the ringing time 8:00 set by the user is adjusted backward by 0:03, i.e. the alarm time set by the alarm clock A is automatically adjusted to 8: 03.
According to the technical scheme provided by the embodiment of the invention, the operation data is recorded, the recorded historical operation data is analyzed to obtain an analysis result capable of reflecting the use habit of the alarm clock 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 is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
With reference to fig. 6, the method for adjusting an alarm clock in the embodiment of the present invention is described above, and an embodiment of an alarm clock adjusting device in the embodiment of the present invention includes:
the recording unit 601 is used for recording operation data of a user operating the alarm clock;
an analyzing unit 602, configured to analyze the recorded historical operation data to obtain an analysis result;
a setting unit 603, configured to set a ring time of the alarm clock according to the analysis result obtained by the analysis unit.
For convenience of understanding, the following describes an internal operation process of the alarm clock adjusting apparatus in this embodiment by taking a specific application scenario as an example:
the recording unit 601 records operation data of a user operating the alarm clock, the analyzing unit 602 analyzes the recorded historical operation data to obtain an analysis result, and the setting unit 603 sets the alarm time of the alarm clock according to the analysis result.
In the technical scheme provided by the embodiment of the invention, the operation data is recorded by the recording unit 601, the recorded historical operation data is analyzed by the analyzing unit 602 to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and the ringing time of the alarm clock is set by the setting unit 603 according to the analysis result, so that the ringing time of the alarm clock is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
It will be appreciated that the analysis unit 602 may have a variety of different specific configurations, as described below:
the specific structure of the alarm clock adjusting device capable of analyzing whether the ringing time set by the user needs to be adjusted forwards or not is as follows:
referring to fig. 7, another embodiment of the alarm clock adjusting apparatus according to the embodiment of the present invention includes:
a recording unit 701, configured to record operation data of an alarm clock operated by a user;
an analyzing unit 702, configured to analyze the recorded historical operation data to obtain an analysis result;
a setting unit 703, configured to set the ringing time of the alarm clock according to the analysis result obtained by the analysis unit;
the operation data comprises alarm clock operation types, wherein the alarm clock operation types comprise early closing, delayed closing and on-time closing;
in this embodiment, the analyzing unit 702 specifically includes:
the first statistical module 7021 is configured to count the number of times N1 of early closing, the number of times N2 of delayed closing, and the number of times N3 of on-time closing of the alarm clock in a preset time period;
a first calculating module 7022, configured to calculate a ring advance according to a preset early adjustment rule when N1 is greater than N3 and N1 is greater than N2 and a preset alarm clock early condition is met;
the setting unit 703 is specifically configured to adjust the ringing time set by the user forward according to the ringing advance.
Optionally, in this embodiment, the first computing module 7022 may include:
the first obtaining submodule 7022a is configured to obtain each time of the alarm clock in the preset time period, where the time is a difference between a ringing time set by a user and an alarm turn-off time;
a first calculating submodule 7022b, configured to use the average value of the respective early times as the ring advance.
Optionally, the analyzing unit 702 in this embodiment further includes:
the first judging module 7023 is configured to judge whether a difference between N1 and N3 is greater than a first preset value, where the first preset value is N0/2, where N0 denotes a sum of N1, N2, and N3;
a first determining module 7024, configured to determine that a preset alarm clock early condition is met when the first determining module determines that the difference between N1 and N3 is greater than a first preset value.
In the technical scheme provided by the embodiment of the invention, the operation data is recorded by the recording unit 701, the recorded historical operation data is analyzed by the analyzing unit 702 to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and the ringing time of the alarm clock is set by the setting unit 703 according to the analysis result, so that the ringing time of the alarm clock is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, analyzing the recorded historical operation data specifically includes analyzing whether the ringing time set by the user needs to be adjusted forward, and when it is determined that the ringing time set by the user needs to be adjusted forward, calculating the ringing lead according to a preset early adjustment rule and adjusting the ringing time set by the user forward according to the ringing lead, so that the ringing time of the alarm clock is intelligently adjusted according to the alarm clock usage habit of the user, and better experience is provided for the user to use the alarm clock in life.
The specific structure of the alarm clock adjusting device capable of analyzing whether the ringing time set by the user needs to be adjusted backwards or not comprises the following steps:
referring to fig. 8, another embodiment of the alarm clock adjusting apparatus according to the embodiment of the present invention includes:
a recording unit 801, configured to record operation data of an alarm clock operated by a user;
an analysis unit 802, configured to analyze the recorded historical operation data to obtain an analysis result;
a setting unit 803, configured to set a ring time of the alarm clock according to the analysis result obtained by the analysis unit;
the operation data comprises alarm clock operation types, wherein the alarm clock operation types comprise early closing, delayed closing and on-time closing;
in this embodiment, the analysis unit 802 specifically includes:
the second counting module 8021 is configured to count the number of early closing times N1, the number of delayed closing times N2, and the number of on-time closing times N3 of the alarm clock in a preset time period;
a second calculating module 8022, configured to calculate a ring delay amount according to a preset delay adjustment rule when N2 is greater than N3 and N2 is greater than N1 and a preset alarm delay condition is satisfied.
The setting unit 803 is specifically configured to adjust the ringing time set by the user backward according to the ringing delay amount.
Optionally, the second computing module 8022 in this embodiment may include:
a second obtaining submodule 8022a, configured to obtain each delay time of the alarm clock within the preset time period, where the delay time is a difference between an alarm turn-off time and a ring time set by a user;
a second calculating submodule 8022b, configured to use an average value of the delay times as the ringing delay amount.
Optionally, the analyzing unit 802 in this embodiment further includes:
the second judging module 8023 is configured to judge whether a difference value between N2 and N3 is greater than a second preset value, where the second preset value is N0/2, and N0 denotes a sum of N1, N2, and N3;
a second determining module 8024, configured to determine that a preset alarm clock delay condition is met when the second determining module determines that the difference between N2 and N3 is greater than a second preset value.
In the technical scheme provided by the embodiment of the invention, the operation data is recorded by the recording unit 801, the recorded historical operation data is analyzed by the analyzing unit 802 to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and the ringing time of the alarm clock is set by the setting unit 803 according to the analysis result, so that the ringing time of the alarm clock is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, analyzing the recorded historical operation data specifically includes analyzing whether the ringing time set by the user needs to be adjusted backwards, and when it is determined that the ringing time set by the user needs to be adjusted backwards, calculating a ringing delay amount according to a preset delay adjustment rule and adjusting the ringing time set by the user backwards according to the ringing delay amount, thereby realizing intelligent adjustment of the ringing time of the alarm clock according to the alarm clock usage habit of the user, and providing better experience for the user to use the alarm clock in life.
Thirdly, whether the specific structure of the alarm clock adjusting device which needs to keep the ringing time set by the user unchanged is analyzed:
referring to fig. 9, another embodiment of the alarm clock adjusting apparatus according to the embodiment of the present invention includes:
a recording unit 901, configured to record operation data of an alarm clock operated by a user;
an analyzing unit 902, configured to analyze the recorded historical operation data to obtain an analysis result;
a setting unit 903, configured to set a ring time of the alarm clock according to the analysis result obtained by the analysis unit;
the operation data comprises alarm clock operation types, wherein the alarm clock operation types comprise early closing, delayed closing and on-time closing;
in this embodiment, the analyzing unit 902 specifically includes:
the third counting module 9021 is configured to count the number of early closing times N1, the number of delayed closing times N2, and the number of on-time closing times N3 of the alarm clock in a preset time period;
a third calculating module 9022, configured to confirm that the alarm clock ringing adjustment amount is zero when N3 is greater than or equal to N1 and N3 is greater than or equal to N2;
the setting unit 903 is specifically configured to not adjust the ringing time set by the user according to the ringing adjustment amount.
In the technical scheme provided by the embodiment of the invention, the operation data is recorded by the recording unit 901, the recorded historical operation data is analyzed by the analyzing unit 902 to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and the ringing time of the alarm clock is set by the setting unit 903 according to the analysis result, so that the ringing time of the alarm clock is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, analyzing the recorded historical operation data specifically includes analyzing whether the ringing time set by the user needs to be kept unchanged, and when it is determined that the ringing time set by the user needs to be kept unchanged, not adjusting the ringing time set by the user, so that the ringing time of the alarm clock is intelligently adjusted according to the alarm clock using habit of the user, and better experience is provided for the user to use the alarm clock in life.
In practical applications, it can be understood that the above analysis unit structures may be used in combination, and other analysis unit structures may also be adopted, and the specific analysis unit structure is not limited herein. Referring to fig. 10, another embodiment of the alarm clock adjusting apparatus in the embodiment of the present invention includes:
a recording unit 1001 for recording operation data of a user operating an alarm clock;
the analysis unit 1002 is configured to analyze the recorded historical operation data to obtain an analysis result;
a setting unit 1003, configured to set a ringing time of the alarm clock according to the analysis result obtained by the analysis unit;
the operation data comprises alarm clock operation types, wherein the alarm clock operation types comprise early closing, delayed closing and on-time closing;
in this embodiment, the analyzing unit 1002 specifically includes:
the counting module 10021 is configured to count the number of early closing times N1, the number of delayed closing times N2, and the number of on-time closing times N3 of the alarm clock in a preset time period;
the first calculating module 10024 is configured to calculate a ring advance according to a preset early adjustment rule when N1 is greater than N3 and N1 is greater than N2 and a preset alarm clock early condition is met;
a second calculating module 10027, configured to calculate a ring delay amount according to a preset delay adjustment rule when N2 is greater than N3 and N2 is greater than N1 and a preset alarm delay condition is met;
a third calculating module 10028, configured to confirm that the alarm clock ringing adjustment amount is zero when N3 is greater than or equal to N1 and N3 is greater than or equal to N2;
the setting unit 1003 is specifically configured to adjust the ring time set by the user forward according to the ring advance, adjust the ring time set by the user backward according to the ring delay, and not adjust the ring time set by the user according to the ring adjustment.
Optionally, in this embodiment, the first calculating module 10024 may include:
the first obtaining sub-module 10024a is configured to obtain each time of the early time of the alarm clock within the preset time period, where the early time is a difference between a ring time set by a user and an alarm turn-off time;
the first calculating sub-module 10024b is configured to use the average of the respective early times as the ring advance.
Optionally, the analyzing unit 1002 in this embodiment further includes:
the first determining module 10022 is configured to determine whether a difference between N1 and N3 is greater than a first preset value, where the first preset value is N0/2, and N0 represents a sum of N1, N2, and N3;
the first determining module 10023 is configured to determine that a preset alarm clock early condition is met when the first determining module determines that the difference between N1 and N3 is greater than a first preset value.
Optionally, in this embodiment, the second calculating module 10027 may include:
a second obtaining sub-module 10027a, configured to obtain each delay time of the alarm clock within the preset time period, where the delay time is a difference between an alarm turn-off time and a ring time set by a user;
the second calculating submodule 10027b is configured to use an average value of the delay times as the ringing delay amount.
Optionally, the analyzing unit 1002 in this embodiment further includes:
a second determining module 10025, configured to determine whether a difference between N2 and N3 is greater than a second preset value, where the second preset value is N0/2, and N0 denotes a sum of N1, N2, and N3;
a second determining module 10026, configured to determine that a preset alarm clock delay condition is met when the second determining module determines that the difference between N2 and N3 is greater than a second preset value.
In the technical scheme provided by the embodiment of the invention, the operation data is recorded by the recording unit 1001, the recorded historical operation data is analyzed by the analyzing unit 1002 to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and the ringing time of the alarm clock is set by the setting unit 1003 according to the analysis result, so that the ringing time of the alarm clock is intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
Further, in this embodiment, analyzing the recorded historical operation data specifically includes analyzing whether the ring time set by the user needs to be adjusted forward, calculating a ring advance according to a preset early adjustment rule and adjusting the ring time set by the user forward according to the ring advance when it is determined that the ring time set by the user needs to be adjusted forward, analyzing whether the ring time set by the user needs to be adjusted backward, calculating a ring delay according to a preset delay adjustment rule and adjusting the ring time set by the user backward according to the ring delay when it is determined that the ring time set by the user needs to be adjusted backward, analyzing whether the ring time set by the user needs to be kept unchanged, and not adjusting the ring time set by the user when it is determined that the ring time set by the user needs to be kept unchanged, thereby realizing intelligent adjustment of the ring time of the alarm clock according to the alarm clock usage habit of the user, the alarm clock provides better experience for users to use the alarm clock in life.
The invention also discloses a terminal, which comprises the alarm clock adjusting device shown in the embodiment of fig. 6 to 10, and the terminal in the embodiment of the invention is described in detail below with reference to fig. 11. As shown in fig. 11, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and the detailed technical details are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 11 is a block diagram showing a partial structure of a cellular phone related to a terminal provided by an embodiment of the present invention. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 11:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 1180 included in the terminal further has the following functions:
recording operation data of a user for operating the alarm clock;
analyzing the recorded historical operation data to obtain an analysis result;
and setting the ringing time of the alarm clock according to the analysis result.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
if N1 is larger than N3 and N1 is larger than N2 and the preset alarm clock early condition is met, calculating the ring advance according to a preset early adjustment rule;
and adjusting the ringing time set by the user forward according to the ringing lead.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
acquiring each time of the alarm clock in the preset time period, wherein the time is the difference between the ringing time set by a user and the actual closing time of the alarm clock;
and taking the average value of each time of early time as the ring advance.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
judging whether the difference value between N1 and N3 is larger than a first preset value or not, and if so, determining that a preset alarm clock early condition is met; the first preset value is N0/2, wherein N0 represents the sum of N1, N2 and N3.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
if N2 is greater than N3, N2 is greater than N1 and the preset alarm clock delay condition is met, calculating the ringing delay amount according to a preset delay adjustment rule;
and adjusting the ringing time set by the user backwards according to the ringing delay amount.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
acquiring each time delay time of the alarm clock in the preset time period, wherein the delay time is the difference between the actual closing time of the alarm clock and the ringing time set by a user;
and taking the average value of the delay time as the ringing delay amount.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
judging whether the difference value between N2 and N3 is greater than a second preset value or not, and if so, determining that a preset alarm clock delay condition is met; the second preset value is N0/2, wherein N0 represents the sum of N1, N2 and N3.
In some embodiments of the invention, the processor 1180 is further configured to perform the following operations:
counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
if N3 is greater than or equal to N1 and N3 is greater than or equal to N2, confirming that the ring tone adjustment quantity of the alarm clock is zero;
and not adjusting the ringing time set by the user according to the ringing adjustment amount.
In the technical scheme provided by the embodiment of the invention, the terminal records the operation data, analyzes the recorded historical operation data to obtain an analysis result capable of reflecting the use habit of the alarm clock of the user, and sets the ringing time of the alarm clock according to the analysis result, so that the ringing time of the alarm clock can be intelligently adjusted according to the use habit of the alarm clock of the user, and better experience is provided for the user to use the alarm clock in life.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (18)

1. An alarm clock adjusting method is characterized by comprising the following steps:
recording operation data of a user for operating an alarm clock, wherein the operation data comprises alarm clock operation types, and the alarm clock operation types comprise early closing, delayed closing and on-time closing;
counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period;
determining an analysis result according to the number of early closing N1, the number of delayed closing N2 and the number of on-time closing N3;
and adjusting the ringing time set by the user forwards, backwards or not according to the analysis result.
2. Alarm clock adjustment method according to claim 1,
the determining the analysis result according to the number of early closing N1, the number of delayed closing N2 and the number of on-time closing N3 comprises:
if N1 is larger than N3 and N1 is larger than N2 and the preset alarm clock early condition is met, calculating the ring advance according to a preset early adjustment rule;
the forward adjustment of the ringing time set by the user according to the analysis result is specifically as follows:
and adjusting the ringing time set by the user forward according to the ringing lead.
3. The method as claimed in claim 2, wherein the calculating the ring advance according to the preset advance adjusting rule comprises:
acquiring each time of the alarm clock in the preset time period, wherein the time is the difference between the ringing time set by a user and the actual closing time of the alarm clock;
and taking the average value of each time of early time as the ring advance.
4. The alarm clock adjustment method of claim 2, wherein the preset alarm clock early condition comprises:
judging whether the difference value between N1 and N3 is larger than a first preset value or not, and if so, determining that a preset alarm clock early condition is met; the first preset value is N0/2, wherein N0 represents the sum of N1, N2 and N3.
5. Alarm clock adjustment method according to claim 1,
the determining the analysis result according to the number of early closing N1, the number of delayed closing N2 and the number of on-time closing N3 comprises:
if N2 is greater than N3, N2 is greater than N1 and the preset alarm clock delay condition is met, calculating the ringing delay amount according to a preset delay adjustment rule;
the step of adjusting the ring time set by the user backwards according to the analysis result specifically comprises:
and adjusting the ringing time set by the user backwards according to the ringing delay amount.
6. The alarm clock adjustment method as claimed in claim 5, wherein the calculating the ringing delay amount according to the preset delay adjustment rule comprises:
acquiring each time delay time of the alarm clock in the preset time period, wherein the delay time is the difference between the actual closing time of the alarm clock and the ringing time set by a user;
and taking the average value of the delay time as the ringing delay amount.
7. The alarm clock adjustment method of claim 5, wherein the preset alarm clock delay condition comprises:
judging whether the difference value between N2 and N3 is greater than a second preset value or not, and if so, determining that a preset alarm clock delay condition is met; the second preset value is N0/2, wherein N0 represents the sum of N1, N2 and N3.
8. Alarm clock adjustment method according to claim 1,
the determining the analysis result according to the number of early closing N1, the number of delayed closing N2 and the number of on-time closing N3 comprises:
if N3 is greater than or equal to N1 and N3 is greater than or equal to N2, confirming that the ring tone adjustment quantity of the alarm clock is zero;
the step of not adjusting the ringing time set by the user according to the analysis result specifically comprises:
and not adjusting the ringing time set by the user according to the ringing adjustment amount.
9. An alarm clock adjusting device, comprising:
the alarm clock control device comprises a recording unit, a judging unit and a control unit, wherein the recording unit is used for recording operation data of a user for operating an alarm clock, the operation data comprises alarm clock operation types, and the alarm clock operation types comprise early closing, delayed closing and on-time closing;
the analysis unit is used for counting the number N1 of early closing times, the number N2 of delayed closing times and the number N3 of on-time closing times of the alarm clock in a preset time period; determining an analysis result according to the number of early closing N1, the number of delayed closing N2 and the number of on-time closing N3;
and the setting unit is used for adjusting the ringing time set by the user forwards, backwards or not according to the analysis result obtained by the analysis unit.
10. Alarm clock adjustment device according to claim 9, characterized in that the analysis unit comprises:
the first calculation module is used for calculating the ring advance according to a preset early regulation rule when N1 is greater than N3, N1 is greater than N2 and a preset alarm clock early condition is met;
the setting unit is specifically configured to adjust the ringing time set by the user forward according to the ringing advance.
11. The alarm clock adjustment apparatus of claim 10, wherein the first calculation module comprises:
the first obtaining submodule is used for obtaining each time of the alarm clock in the preset time period, wherein the early time is the difference value between the ringing time set by a user and the alarm closing time;
and the first calculation submodule is used for taking the average value of each early time as the ring advance.
12. Alarm clock adjustment device according to claim 10, characterized in that the analysis unit further comprises:
the first judgment module is used for judging whether the difference value between N1 and N3 is larger than a first preset value, wherein the first preset value is N0/2, and N0 represents the sum of N1, N2 and N3;
and the first determining module is used for determining that a preset alarm clock early condition is met when the first judging module judges that the difference value between the N1 and the N3 is greater than a first preset value.
13. Alarm clock adjustment means according to claim 9,
the second calculation module is used for calculating the ringing delay amount according to a preset delay adjustment rule when N2 is greater than N3, N2 is greater than N1 and a preset alarm clock delay condition is met;
the setting unit is specifically configured to adjust the ringing time set by the user backwards according to the ringing delay amount.
14. The alarm clock adjustment apparatus of claim 13, wherein the second calculation module comprises:
the second obtaining submodule is used for obtaining each time delay time of the alarm clock in the preset time period, and the delay time is a difference value between alarm closing time and ringing time set by a user;
and the second calculation submodule is used for taking the average value of the delay times as the ringing delay amount.
15. Alarm clock adjustment device according to claim 13, characterized in that the analysis unit further comprises:
the second judgment module is used for judging whether the difference value between N2 and N3 is larger than a second preset value, wherein the second preset value is N0/2, and N0 represents the sum of N1, N2 and N3;
and the second determination module is used for determining that the preset alarm clock delay condition is met when the second judgment module judges that the difference value between the N2 and the N3 is greater than a second preset value.
16. Alarm clock adjustment means according to claim 9,
a third calculating module, configured to confirm that the alarm clock ringing adjustment amount is zero when N3 is greater than or equal to N1 and N3 is greater than or equal to N2;
the setting unit is specifically configured to not adjust the ringing time set by the user according to the ringing adjustment amount.
17. A terminal, characterized in that it comprises an alarm clock adjusting device according to any one of claims 9 to 16.
18. A storage medium, characterized in that a software program and a module are stored in the storage medium, which when executed implement the alarm clock adjusting method according to any one of claims 1 to 8.
CN201410369838.8A 2014-07-30 2014-07-30 Alarm clock adjusting method and device and terminal Active CN105303361B (en)

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 CN105303361A (en) 2016-02-03
CN105303361B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
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
WO2018027370A1 (en) * 2016-08-06 2018-02-15 胡明祥 Adjustment method for alarm clock-based curtain opening technology and automatic curtain
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
CN107194669A (en) * 2017-05-26 2017-09-22 北京小米移动软件有限公司 time adjusting method and device
CN107222625B (en) * 2017-06-09 2019-12-31 珠海格力电器股份有限公司 Method and device for controlling alarm clock reminding
WO2019000467A1 (en) * 2017-06-30 2019-01-03 广东欧珀移动通信有限公司 Alarm clock prompt method and apparatus, storage medium, and electronic device
CN110880303A (en) * 2019-12-09 2020-03-13 Oppo广东移动通信有限公司 Backlight brightness adjusting method and system, storage medium and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6940395B2 (en) * 2001-06-29 2005-09-06 Intel Corporation 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
CN103369082B (en) * 2012-04-05 2017-09-22 富泰华工业(深圳)有限公司 The alarm clock managing and control system and alarm clock management-control method of electronic installation
CN102866774B (en) * 2012-08-22 2015-12-16 华为终端有限公司 The alarm clock control method of electronic equipment and electronic equipment
CN103188399A (en) * 2013-03-20 2013-07-03 北京小米科技有限责任公司 Method, device and terminal for controlling alarm clock rings
CN103645629B (en) * 2013-10-28 2016-05-04 三星电子(中国)研发中心 A kind of alarm clock timing method

Also Published As

Publication number Publication date
CN105303361A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN105303361B (en) Alarm clock adjusting method and device and terminal
CN108112063B (en) Power management method, power management device, terminal and readable storage medium
CN106293445B (en) Method and device for acquiring application program use data and terminal equipment
CN107465803B (en) Intelligent reminding method, terminal, wearable device and system
CN107272872B (en) Power saving control method and related product
CN103024205B (en) Method, device and terminal for controlling power
CN109246291B (en) Mobile terminal and sleep reminding method and device
CN102833419B (en) Method and terminal for controlling screen state
CN107222364B (en) Method and device for controlling data receiving mode and mobile terminal
CN110334124B (en) Compression algorithm selection method, device and equipment
CN105100197B (en) The method and device of application is installed
CN107317918B (en) Parameter setting method and related product
CN108337533B (en) Video compression method and device
TWI549076B (en) Electronic devices and service management methods thereof
CN110597793A (en) Data management method and device, electronic equipment and computer readable storage medium
CN110798511B (en) Method for predicting number of daily active users of target APP and computer equipment
CN110022405B (en) Radio frequency parameter adjusting method, device and storage medium
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN107040658B (en) Mobile terminal and method and device for controlling screen thereof
CN106851050B (en) Motion detection method and device and mobile equipment
CN110277097B (en) Data processing method and related equipment
CN106095566B (en) Response control method and mobile terminal
CN108600906B (en) Playing control method and device for multiple sound boxes
CN107290951B (en) Alarm clock setting method and related product
CN107329547B (en) Temperature control method and device and mobile terminal

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