Nothing Special   »   [go: up one dir, main page]

CN101707639B - Alarm clock setting method and device - Google Patents

Alarm clock setting method and device Download PDF

Info

Publication number
CN101707639B
CN101707639B CN 200910221500 CN200910221500A CN101707639B CN 101707639 B CN101707639 B CN 101707639B CN 200910221500 CN200910221500 CN 200910221500 CN 200910221500 A CN200910221500 A CN 200910221500A CN 101707639 B CN101707639 B CN 101707639B
Authority
CN
China
Prior art keywords
time
alarm
effective
section
corresponding relation
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
CN 200910221500
Other languages
Chinese (zh)
Other versions
CN101707639A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200910221500 priority Critical patent/CN101707639B/en
Priority to PCT/CN2010/071959 priority patent/WO2010148733A1/en
Publication of CN101707639A publication Critical patent/CN101707639A/en
Application granted granted Critical
Publication of CN101707639B publication Critical patent/CN101707639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an alarm clock setting method and a device. The method comprises that a user terminal acquires the corresponding relationship of alarming time and an effectively time period of the alarming time set by a user, wherein, the corresponding relationship comprises a plurality of unidentical alarming times, and each alarming time corresponds to an effective time period; determination step: the user terminal determines the next effective alarming time according to the current time and the above corresponding relationship; acquiring step: the user terminal acquires the effective time period corresponding to the alarming time in the above corresponding relationship and acquires starting time of the effective time period; and execution step: the user terminal sets the alarming time determined in the determination step as the effective alarming time when the starting time acquired in the acquiring step reaches, and returns to execute the determination step under the condition that the alarming time corresponding to the next effective time period is set in the above corresponding relationship. By the invention, the alarm clock can be alternately set, thus improving the experience of users.

Description

Alarm clock setting method and device
Technical field
The present invention relates to mobile communication and electronic technology field, particularly, relate to a kind of alarm clock setting method and device.
Background technology
At present, along with popularizing of user terminal, the alarm clock function of user terminal has become one of the most frequently used function of present user.According to existing alarm clock setting method, the user once can only arrange an alarm time in user terminal, be that the user is when the alarm clock function that user's terminal provides, (for example need to set in advance the type of alarm time, alarm clock startup, every day alarm clock, working day alarm clock, alarm clock etc. weekly), after setting is finished, if the current time of user terminal arrived the alarm time that the user arranges, alarm clock will sound, reminding user.
Although existing alarm clock setting method can satisfy user's needs substantially, in some cases, this alarm clock setting method can not be user-friendly to.For example, the work unit of user's first provides the regular bus of picking on and off duty, and wherein, the working regular bus rests in the doorway, residential quarter that first is lived, and odd number month, 7:00 dispatched a car, and even number month, 8:00 dispatched a car.Therefore, June, first will arrange the alarm clock calling oneself of 7:30 and get up; And July, first will change the alarm time of 7:30 into the 6:30 prompting and oneself get up.According to existing alarm clock setting method, first need to be revised as 6:30 with alarm time before 1 morning of July 6:30 after June 30, alarm clock rang, if forget modification, then July 1, alarm clock still is that 7:30 sounds, thereby will cause first to incur loss through delay regular bus.Perhaps, the operating time of supposing user's second is to carry out shift work system, and a week is on day shift, 8:00 working in morning; One week was on the night shift, 18:00 working in evening.In this case, if in the first week, second will be made as 7:30 to alarm time, and in next week, second need to change alarm time into 17:30.Therefore, the first weekend in week, it is 17:30 that second needs the time update alarm time, has revised if second is forgotten, then next Monday in week, alarm clock still is that 7:30 sounds.Therefore, require second all needing to revise alarm time weekend weekly, if second has forgotten to reset alarm time, then may cause second to miss the time.
In the prior art, owing in the user terminal alarm time can only be set once, therefore, in the time need to different alarm times being set in the different time periods, the user need to reset alarm clock frequently, thereby makes troubles for user's use, has reduced user's experience.
Summary of the invention
Cause the user to experience the problem of reduction for an alarm time can only be set in the user terminal in the prior art and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of improved alarm clock setting method and device, one of to address the above problem at least.
According to an aspect of the present invention, provide a kind of alarm clock setting method.
Alarm clock setting method according to the present invention comprises: user terminal obtain alarm time that the user arranges and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in this corresponding relation, and each alarm time correspondence section effective time; Determining step, user terminal is determined the alarm time that the next one comes into force according to current time and above-mentioned corresponding relation; Obtaining step, user terminal obtain in the above-mentioned corresponding relation section effective time corresponding to alarm time of determining with determining step, and obtain the zero-time of this of section effective time; Execution in step, when the zero-time arrival that obtaining step obtains, the alarm time that the user terminal determining step is determined is set to effective alarm time, and is provided with in above-mentioned corresponding relation in the situation of alarm time of next effective time of section correspondence, returns the execution determining step.
Further, after carrying out above-mentioned obtaining step, the method also comprises: the zero-time that user terminal calculating obtaining step obtains and the time interval between the current time; Arrange and the startup timer, wherein, the timing length of this timer is the above-mentioned time interval; When timer arrives timing length, trigger execution in step.
Further, also comprise in the corresponding relation of above-mentioned alarm time and section effective time: the prompting mode corresponding with each alarm time respectively.
Further, after the alarm time that determining step is determined was set to effective alarm time, the method also comprised: when the alarm time arrival that determining step is determined, adopt the prompting mode corresponding with this alarm time to point out.
Further, after obtaining the above-mentioned corresponding relation of setting, the method also comprises: this is stated corresponding relation be kept in the nonvolatile memory.
Further, it is one of following that section effective time that records in the above-mentioned corresponding relation comprises: effective time section zero-time and concluding time; Effective time section zero-time and duration; Repetition period and effective time section duration.
According to another aspect of the present invention, provide a kind of alarm clock setting device.
Alarm clock setting device according to the present invention comprises: human-computer interaction module, memory module, Time Calculation module, real-time time control (Real Time Control is referred to as RTC) module and Executive Module.Wherein, human-computer interaction module, be used to the user to provide and carry out the menu interface that alarm clock arranges, obtain alarm time that the user arranges and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in this corresponding relation, and each alarm time correspondence section effective time; Memory module is used for preserving above-mentioned corresponding relation; The Time Calculation module, be used for reading the current time, obtaining above-mentioned corresponding relation from human-computer interaction module or memory module from the RTC module, the alarm time that definite next one comes into force, and calculate alarm time corresponding effective time section zero-time and the time interval between the current time, and this time interval is registered to the RTC module; The RTC module is used for providing the time, and carries out timing according to the above-mentioned time interval, sends interrupt signal when timing time arrives this time interval; Executive Module is used for this interrupt signal of response, and the alarm time that the above-mentioned next one comes into force is set to current effective alarm time.
Particularly, above-mentioned RTC module can comprise: time control unit is used to system that the time is provided; Receiving element is used for receiving the above-mentioned time interval from the Time Calculation module; Timer, its timing length are this time interval, are used for timing; The signal generation unit is used for generating above-mentioned interrupt signal when timer expiry.
Preferably, above-mentioned memory module is nonvolatile memory.
By the present invention, a plurality of alarm times and section effective time corresponding to each alarm time that the user arranges obtained in employing, and the alarm time of correspondence is set to effective alarm clock effective time in each section, having solved in the prior art in the user terminal once can only an alarm time and cause the user to experience the problem of reduction, and then the alternately alarm clock of having expanded user terminal arranges function, improved user's experience.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the alarm clock setting method of the embodiment of the invention;
Fig. 2 is the flow chart according to the embodiment of the invention one;
Fig. 3 is the flow chart according to the embodiment of the invention two;
Fig. 4 is the structural representation according to the alarm clock setting device of the embodiment of the invention;
Fig. 5 is the structural representation according to the RTC module in the alarm clock setting device of the embodiment of the invention;
Fig. 6 arranges the interface schematic diagram for a kind of alarm clock according to the embodiment of the invention;
Fig. 7 arranges the interface schematic diagram for a kind of alternately alarm clock according to the embodiment of the invention.
Embodiment
Functional overview
In the prior art, owing to lacking the embodiment that two or more alarm times (namely replacing alarm clock) are processed be set simultaneously, thereby cause the user to experience the problem of reduction, for this problem, the embodiment of the invention provides a kind of plan of establishment of alarm clock, by this scheme, at first, obtain the alarm time of setting and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in the corresponding relation, and each alarm time corresponding one effective time section, afterwards according to the corresponding relation of current time and setting, the alarm time that definite next one comes into force, obtain section effective time corresponding with this alarm time in the corresponding relation, and obtain the zero-time of this of section effective time, then, zero-time when arriving in this of section effective time, this alarm time is set to current effective alarm time, and above-mentioned steps is carried out in circulation, until execute all alarm times in the corresponding relation of setting.
In the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
In embodiments of the present invention, at first provide a kind of alarm clock setting method.Fig. 1 is the flow chart according to the alarm clock setting method of the embodiment of the invention, and as shown in Figure 1, the method to set up of alarm clock of the present invention mainly may further comprise the steps (step 101-step 107):
Step 101, user terminal obtain the alarm time of user's setting in the corresponding relation of the section effective time of alarm time, wherein, comprise a plurality of incomplete same alarm times in the above-mentioned corresponding relation, and each alarm time correspondence section effective time;
In specific implementation process, the user can arrange by the man-machine interface of user terminal a plurality of alarm times and section effective time corresponding to each time.
In concrete the application, in corresponding relation, can directly record zero-time and the concluding time of corresponding with each alarm time effective time of section, the corresponding relation that example is as shown in table 1; Perhaps, also can record each alarm time corresponding effective time section zero-time and duration, as shown in table 2.Perhaps, in embodiments of the present invention, also can adopt periodic mode that alarm clock is set, the repetition period that record arranges in corresponding relation and each alarm time effective time section duration, for example, in the table 3, the user is provided with two alarm times, section effective time of each alarm time is 1 month, and per two repeat, and namely the alarm time of first month is 6:00, the alarm time of second month is 6:30, trimestral alarm time is 6:00, and the 4th month alarm time is 6:30, with this cycle execution.And when the user arranged periodic mode, the user can also arrange the effective time of this time setting, such as, in 1 year, carry out according to this periodic mode.
Preferably, the user also can when each alarm time is set, arrange prompting mode corresponding to this alarm time, the duration of jingle bell, volume and music etc.Specifically can arrange according to user's hobby.
Table 1.
Figure G2009102215007D00061
Table 2.
Figure G2009102215007D00072
Table 3.
Figure G2009102215007D00073
And, after above-mentioned corresponding relation is finished in setting, can will preserve above-mentioned corresponding relation, thus so that can be according to effective alarm time of this correspondence setting user terminal.Preferably, this corresponding relation can be kept in the nonvolatile memory, for example, and FLASH or EEPROM etc.
Step 103, user terminal are determined the alarm time that the next one comes into force according to current time and above-mentioned corresponding relation;
Particularly, can obtain the current time of user terminal, the time period that arranges in current time and the above-mentioned corresponding relation is compared, determine the next effective time section nearest apart from the current time, and obtain and alarm time corresponding to this of section effective time;
Take above-mentioned table 1 as example, if the current time is June 1, then the next effective time section nearest apart from the current time be July 1 to July 31, be 7:00 with alarm time corresponding to this of section effective time.
In specific implementation process, current time may be in certain of the section effective time, in this case, current effective alarm time is the alarm time of this of section correspondence effective time, perhaps, current time may be not yet in any one that arranges in the section effective time, in this case, the current alarm time that is not provided with.Take the corresponding relation shown in the table 1 as example, if the current time is May 30, then in any one that arranges in the section, if the current time is June 5, then the current time is not in first section effective time (being that June 1 was to June 30) that arranges effective time the current time.
Step 105, user terminal obtain in the above-mentioned corresponding relation effective time section corresponding with the alarm time that obtains in the step 103, and obtain the zero-time of this of section effective time;
Step 107, in the zero-time when arriving of this of section effective time, above-mentioned alarm time is set to effective alarm time, and also is provided with in above-mentioned corresponding relation in the situation of alarm time of next effective time of section correspondence, returns execution in step 103.
In specific implementation process, get access to the zero-time of above-mentioned effective time of section in execution after, can calculate the time interval of this zero-time and current time, then arrange and start moving timer this time interval is carried out timing, wherein, the timing length of this timer is the above-mentioned time interval, when timer arrives above-mentioned timing length, trigger step 107, above-mentioned alarm time is set to current effective alarm time.
In specific implementation process, also can adopt alternate manner to above-mentioned effective time section zero-time carry out timing, for example, take second alarm time of table 1 corresponding effective time section as example, moment corresponding to zero-time of section this is effective time: 0: 0 on the 1st July, to be divided into unit, can obtain one time the current time every 1 minute, judge whether the current time is 0: 0 on the 1st July, if, then trigger step 107, thus realize to this effective time section zero-time carry out timing.
After above-mentioned alarm time is provided with current effective alarm time, in effective time corresponding to this alarm time in the section, when this alarm time arrives, if be provided with the prompting mode corresponding with alarm time in the above-mentioned corresponding relation, then adopt the prompting mode corresponding with this alarm time to point out.
The specific implementation process of the alarm clock setting method that the embodiment of the invention is provided below in conjunction with specific embodiment describes.
Below among the embodiment, the alarm clock plan of establishment that the embodiment of the invention provides is described as example as the user terminal of alarm clock setting take mobile phone, the technical scheme that provides of the embodiment of the invention is not limited to mobile phone in actual applications, can also be used for other electric terminal, to realize the alarm clock function of other electric terminals, for example, the handheld terminal such as electronic dictionary.
And, in following examples, take the user two alarm times (namely alternately alarm time) are set and describe as example.
Embodiment one
In the present embodiment, the process of alarm time is elaborated to arranging alternately in mobile phone.
Fig. 2 is the particular flow sheet of the alarm clock setting up procedure of the present embodiment, and as shown in Figure 2, the alarm clock setting up procedure specifically can may further comprise the steps (step 201-step 206) in the present embodiment:
Step 201, user enter the alarm clock setup menu, and alarm clock arranges beginning;
Step 202, user arrange time, type, alerting pattern of alarm clock etc., set here alarm time are called " the first alarm time ";
Step 203, " alarm time the is alternately " function of judging whether the user needs to arrange, if so, then execution in step 204; Otherwise then the alarm clock setting up procedure finishes, execution in step 206;
Step 204, user enter " alarm time is arranged alternately " menu, the alarm time of replacement is set, claiming to arrange alarm time herein is " the second alarm time ", and section effective time of " the first alarm time ", " the second alarm time " correspondence is set respectively;
Step 205, mobile phone are according to above-mentioned first alarm time of current time and user's setting and section effective time of the second alarm time difference correspondence, the alarm time that definite next one comes into force, in the present embodiment, current time is in the effective time of above-mentioned the first alarm time in the section, the effective alarm clock that is current phone is above-mentioned the first alarm time, then the next alarm time that comes into force is above-mentioned the second alarm time, obtains the zero-time of the second alarm time;
In concrete the application, section effective time that the first alarm time is corresponding corresponding with the second alarm time effective time section can be continuous, perhaps, also can interval certain hour section between these two effective time sections, be specially which kind of situation the present invention and be not construed as limiting, in the present invention, only need to obtain the second alarm time effective time section zero-time get final product.
Particularly, if the corresponding relation that the user arranges is shown in above-mentioned table 1 and table 2, then can directly from this corresponding relation, obtain second alarm time effective time section zero-time, if the corresponding relation that the user arranges as shown in Table 3 above, then can according to the concluding time of alarm time corresponding to current time (being the first alarm time in the present embodiment), determine the zero-time of the second alarm clock.
When two effective time the section consecutive hours, the second alarm time corresponding effective time section zero-time be the alternately time point of two alarm times.
In the present embodiment, suppose the second alarm time corresponding effective time section zero-time be the alternately time point of two alarm times.
After getting access to above-mentioned alternately time point, this is replaced time point be registered to RTC module on the mobile phone, when the arrival of mobile phone time should replace time point, the RTC module will be sent interrupt signal to cell phone system, cell phone system receives this interrupt signal, and above-mentioned the second alarm time is set to current effective alarm time;
Step 206, the parameters that user in the alarm clock setting up procedure is arranged is saved in the nonvolatile memory of mobile phone, and the alarm clock setting up procedure finishes, and the user can get back to standby interface by on-hook key.
Embodiment two
In this enforcement, mobile phone by as after above-mentioned embodiment one described step finishes alarm clock and arranges, the hocket process of prompting of a plurality of alarm times that arrange according to the user is elaborated.
Fig. 3 is the flow chart of after the alarm clock setting is finished in the present embodiment the user being pointed out, and as shown in Figure 3, mobile phone carries out alarm clock prompting to the user and mainly can may further comprise the steps (step 301-step 303) in the present embodiment:
Step 301, to the start time point of the next alarm time that comes into force (being the alternately time point in above-described embodiment one), the RTC module is sent interrupt signal to cell phone system;
After step 302, cell phone system received this interrupt signal, this alarm time was set to effective alarm time, and read section effective time corresponding to alarm time that the next one comes into force from nonvolatile memory;
Step 303, the effective time section corresponding according to above-mentioned alarm time calculate the start time point of this of section effective time, and this start time point is registered to the RTC module, return execution in step 301.
According to the embodiment of the invention, also provide a kind of setting device of alarm clock.
Fig. 4 is according to the structural representation of the alarm clock setting device of the embodiment of the invention, as shown in Figure 4, the alarm clock setting device of the embodiment of the invention comprises: human-computer interaction module 40, memory module 41, Time Calculation module 42, RTC module 43 and Executive Module 44, wherein, human-computer interaction module 40, be used to the user to provide and carry out the menu interface that alarm clock arranges, obtain alarm time that the user arranges and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in this corresponding relation, and each alarm time correspondence section effective time; Memory module 41 is used for preserving the above-mentioned corresponding relation that the user arranges by human-computer interaction module 40; Time Calculation module 42, be used for reading the current time, reading above-mentioned corresponding relation from human-computer interaction module 40 or memory module 41 from RTC module 43, the alarm time that definite next one comes into force, and calculate alarm time corresponding effective time section zero-time and the time interval between the current time, and the time interval is registered to RTC module 43; RTC module 43 is used for providing the time, and carries out timing according to the time interval, sends interrupt signal when the timing time interval time of advent; Executive Module 44 is used for the response interrupt signal, and the alarm time that the next one comes into force is set to current effective alarm time.
Fig. 5 is the structural representation of above-mentioned RTC module 43, as shown in Figure 5, RTC module 43 is comprised of following part: time control unit 431, receiving element 432, timer 433 and signal generation unit 434, wherein, time control unit 431 is used to system that the time is provided; Receiving element 432 is used for receiving the time interval from Time Calculation module 42; Timer 433, its timing length are the time interval, are used for timing; Signal generation unit 434 is used for generating interrupt signal when timer expiry.
Preferably, above-mentioned memory module 41 is nonvolatile memory.
In concrete the application, above-mentioned Executive Module 44 can be realized by the operating system of user terminal.
Embodiment three
In conjunction with above-mentioned Fig. 4, once user's first is as example for situation in the background technology, and the technical scheme that the embodiment of the invention is provided describes.
In the present embodiment, the technical scheme that adopts the embodiment of the invention to provide is carried out the alarm clock setting, and implementation is:
On June 1st, 2009, user's first arranged alarm clock at user terminal, and the interface is set can as shown in Figure 6, specifically comprise following operation:
(1), alarm time is made as 07:30;
(2), the user terminal function is made as common alarm clock and start alarm clock, wherein, common alarm clock and start alarm clock represent respectively if user terminal is to start shooting, then arrived 07:30, if the user terminal alarm clock will sound and user terminal shuts down, then arrived 07:30, user terminal will Auto Power On and alarm clock sound;
(3), the alarm clock type is set to the alarm clock on working day;
(4), in the alerting pattern option, it is " GoodMorning " that " sound " option is decided to be; Elect " vibration " pattern as " unlatching " state; " text " is set to " working of getting up ".
(5), user's first selects " alarm time is arranged alternately " menu, namely will carry out the setting of alarm time alternate functions, the interface is set as shown in Figure 7;
Particularly, alarm time is arranged alternately process and can comprises following operation:
(1), the current alarm time that has arranged (being 07:30) corresponding effective time of section is set; Be set to 1 month herein;
(2), next alarm time is set to 06:30;
(3), section effective time corresponding to alarm time of above-mentioned alarm time (being 06:30) is set, same, herein should effective time section also be set to 1 month.Because what the user arranged is to replace alarm time, namely user terminal is alternately carried out above-mentioned two alarm times, and for user terminal, its repetition period is 2 months.
Then after finishing above-mentioned the setting, user terminal is carried out following operation:
At first, user terminal obtains the corresponding relation of alarm time that the user arranges and section effective time, with the above-mentioned alarm time of user's setting and effective time section represent with form can be as shown in table 4;
Table 4.
Figure G2009102215007D00141
Then, according to current time (current time of user terminal is 0: 0: 0 on the 1st June in 2009 in the present embodiment) and section effective time corresponding to current alarm time, the alarm time that definite next one comes into force is 6:30, and the zero-time that further calculates next alarm time is 0: 0: 0 on the 1st July in 2009, the start time point of this alarm time is registered to the RTC module, the RTC module is carried out timing, on June 2nd, 2009 to 7: 30 on the 30th, the user terminal alarm clock sounds;
For example, time interval between 0: 0: 0 on the 1st July in 2009 of the zero-time of current time and next alarm time (be in the present embodiment 30 days whole) can be converted into the needed unit of RTC module, for example take millisecond as unit, it is 2592000000 milliseconds, the read-write interface of this value by the RTC module, for example the I2C interface is written to the Interruption register in the RTC module.In the RTC inside modules, every through 1 millisecond, the value in the Interruption register will subtract 1, and when being decremented to 0, then the zero-time of next alarm time arrives;
0: 0: 0 on the 1st July in 2009 is when arriving, the RTC module is sent interrupt signal to client terminal system (being equivalent to the Executive Module among Fig. 4), client terminal system receives this interrupt signal, from nonvolatile memory, read alarm time 06:30 corresponding to current slot, alarm time is revised as 06:30.The family terminal is read the term of validity corresponding to this alarm time from nonvolatile memory be 1 month, and according to July 1 2009 current time, calculating the zero-time that next alarm time comes into force is 0: 0: 0 on the 1st August in 2009, and the zero-time that new alarm time is come into force is registered to the RTC module.On July 1st, 2009, the user terminal alarm clock sounded to 6: 30 on the 31st, and the rest may be inferred, August, September ... alarm time can change automatically, does not need the first manual modification, nor with worrying to forget modification, very convenient.
In sum, the set handling scheme of the alarm clock that provides by the embodiment of the invention, to user terminals such as mobile phones two and plural alarm time and corresponding section effective time thereof are set, when the effective alarm time of the next one arrives, from nonvolatile memory, read corresponding alarm time section effective time, calculate next alarm time start time point, and with this execution that moves in circles, realized alternately alarm clock function, thereby expanded the alarm clock alternate functions of user terminal, improved user's experience.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. an alarm clock setting method is characterized in that, comprising:
User terminal obtain alarm time that the user arranges and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in the described corresponding relation, and each alarm time correspondence section effective time;
Determining step, described user terminal is determined the alarm time that the next one comes into force according to current time and described corresponding relation;
Obtaining step, described user terminal obtain in the described corresponding relation section effective time corresponding to alarm time of determining with described determining step, and obtain the zero-time of this of section effective time;
Execution in step, when the zero-time arrival that described obtaining step obtains, the alarm time that the described determining step of described user terminal is determined is set to effective alarm time, and in described corresponding relation, be provided with in the situation of alarm time of next effective time of section correspondence, return and carry out described determining step.
2. method according to claim 1 is characterized in that, after carrying out described obtaining step, described method also comprises:
Described user terminal calculates zero-time that described obtaining step obtains and the time interval between the current time;
Arrange and the startup timer, wherein, the timing length of described timer is the described time interval;
When described timer arrives described timing length, trigger described execution in step.
3. method according to claim 1 is characterized in that, also comprises in the described corresponding relation of described alarm time and section effective time: the prompting mode corresponding with each alarm time respectively.
4. method according to claim 3 is characterized in that, after the alarm time that described determining step is determined was set to effective alarm time, described method also comprised:
When the alarm time arrival that described determining step is determined, adopt the prompting mode corresponding with this alarm time to point out.
5. each described method in 4 according to claim 1 is characterized in that, after obtaining the described corresponding relation of setting, described method also comprises:
Described corresponding relation is kept in the nonvolatile memory.
6. each described method in 4 according to claim 1 is characterized in that, it is one of following that section effective time that records in the described corresponding relation comprises:
Effective time section zero-time and concluding time;
Effective time section zero-time and duration;
Repetition period and effective time section duration.
7. an alarm clock setting device is characterized in that, comprising:
Human-computer interaction module, be used to the user to provide and carry out the menu interface that alarm clock arranges, obtain alarm time that the user arranges and alarm time effective time section corresponding relation, wherein, comprise a plurality of incomplete same alarm times in the described corresponding relation, and each alarm time correspondence section effective time;
Memory module is used for preserving described corresponding relation;
The Time Calculation module, be used for reading the current time, obtaining described corresponding relation from described human-computer interaction module or described memory module from real-time time control RTC module, the alarm time that definite next one comes into force, and calculate alarm time corresponding effective time section zero-time and the time interval between the current time, and the described time interval is registered to described RTC module;
Described RTC module is used for providing the time, and carries out timing according to the described time interval, sends interrupt signal when timing time arrives the described time interval;
Executive Module is used for responding described interrupt signal, and the alarm time that the described next one comes into force is set to current effective alarm time.
8. device according to claim 7 is characterized in that, described RTC module comprises:
Time control unit is used to system that the time is provided;
Receiving element is used for receiving the described time interval from described Time Calculation module;
Timer, its timing length are the described time interval, are used for timing;
The signal generation unit is used for generating described interrupt signal when described timer expiry.
9. according to claim 7 or 8 described devices, it is characterized in that, described memory module is nonvolatile memory.
CN 200910221500 2009-11-17 2009-11-17 Alarm clock setting method and device Active CN101707639B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200910221500 CN101707639B (en) 2009-11-17 2009-11-17 Alarm clock setting method and device
PCT/CN2010/071959 WO2010148733A1 (en) 2009-11-17 2010-04-21 Method and device for setting alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910221500 CN101707639B (en) 2009-11-17 2009-11-17 Alarm clock setting method and device

Publications (2)

Publication Number Publication Date
CN101707639A CN101707639A (en) 2010-05-12
CN101707639B true CN101707639B (en) 2013-01-16

Family

ID=42377827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910221500 Active CN101707639B (en) 2009-11-17 2009-11-17 Alarm clock setting method and device

Country Status (2)

Country Link
CN (1) CN101707639B (en)
WO (1) WO2010148733A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5689188B2 (en) 2011-06-22 2015-03-25 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Alarm method and apparatus
CN103369082B (en) * 2012-04-05 2017-09-22 富泰华工业(深圳)有限公司 The alarm clock managing and control system and alarm clock management-control method of electronic installation
CN102891932B (en) * 2012-10-17 2014-04-09 广东欧珀移动通信有限公司 Mobile phone and alarm realization method thereof
CN103067580B (en) * 2012-12-24 2015-10-28 广东欧珀移动通信有限公司 Multiple temporal is arranged and based reminding method and device
CN103051805B (en) * 2012-12-28 2014-10-29 广东欧珀移动通信有限公司 Method and device for alarm clock timing and mobile terminal
CN103139384A (en) * 2013-01-31 2013-06-05 广东欧珀移动通信有限公司 Method, device and mobile terminal of alarm clock reminding
CN104469000A (en) * 2014-12-02 2015-03-25 小米科技有限责任公司 Implementation method and device for terminal alarm
CN104866337A (en) * 2015-04-24 2015-08-26 深圳市金立通信设备有限公司 Terminal
CN104869231A (en) * 2015-04-24 2015-08-26 深圳市金立通信设备有限公司 Alarm clock arrangement method
CN105827799B (en) * 2015-08-28 2020-03-31 维沃移动通信有限公司 Alarm clock reminding method of terminal equipment and terminal equipment
CN106201229A (en) * 2016-07-22 2016-12-07 乐视控股(北京)有限公司 The collocation method of a kind of alarm clock information and equipment
CN108322590A (en) * 2017-01-17 2018-07-24 中兴通讯股份有限公司 A kind of alarm clock setting method and device
CN107222640B (en) * 2017-07-10 2020-09-08 珠海格力电器股份有限公司 Alarm clock reminding method, alarm clock reminding device and mobile terminal
CN108512993B (en) * 2018-02-28 2020-10-02 维沃移动通信有限公司 Timing reminding method and mobile terminal
CN108345349A (en) * 2018-03-07 2018-07-31 杭州万高科技股份有限公司 Method, system, equipment and computer storage media when a kind of alarm clock is walked

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2664036Y (en) * 2003-10-25 2004-12-15 潘德荣 Periodical alarm clock
CN1749887A (en) * 2004-09-13 2006-03-22 华为技术有限公司 Method for realizing multipoint alarm clock in electronic equipment
CN101571710A (en) * 2009-06-04 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Alarm clock calling method, device and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100698281B1 (en) * 2006-01-24 2007-03-22 엘지전자 주식회사 Method for notice service of contents right and Mobile Terminal of that
CN1921657A (en) * 2006-08-01 2007-02-28 江苏高通科技实业有限公司 Method for setting and switching of mobile phone state

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2664036Y (en) * 2003-10-25 2004-12-15 潘德荣 Periodical alarm clock
CN1749887A (en) * 2004-09-13 2006-03-22 华为技术有限公司 Method for realizing multipoint alarm clock in electronic equipment
CN101571710A (en) * 2009-06-04 2009-11-04 宇龙计算机通信科技(深圳)有限公司 Alarm clock calling method, device and mobile terminal

Also Published As

Publication number Publication date
WO2010148733A1 (en) 2010-12-29
CN101707639A (en) 2010-05-12

Similar Documents

Publication Publication Date Title
CN101707639B (en) Alarm clock setting method and device
CN101043684B (en) Method for managing conflicting schedules in mobile communication terminal
CN106569585B (en) A kind of method and terminal managing program process
CN103095880A (en) Timing reminding method of mobile terminal and mobile terminal
CN102946469A (en) Voice broadcasting method and device of mobile terminal, and mobile terminal
CN101295165A (en) Methods and systems for controlling alarm clocks
CN103491249A (en) Mobile terminal alarm clock prompt cancelling method and mobile terminal
CN102170498A (en) Event reminding method and event reminding system based on mobile terminal
CN101848275A (en) The method that mobile terminal apparatus and startup are used
CN102098389A (en) Method and device for automatically reminding schedule as well as terminal equipment
CN101217729A (en) A method and system for birthday reminding setting of the contract persons
CN106792578B (en) Event reminding message pushing method and device
CN101488995A (en) Communication terminal and communication prompt method
CN102724363A (en) Alarm clock prompt method of mobile terminal
CN105117897A (en) Shutdown reminding method and device
CN100419601C (en) Method for realizing multipoint alarm clock in electronic equipment
CN104917875A (en) Unprocessed information prompting method and apparatus
CN103218710B (en) The based reminding method of mobile terminal, device and mobile terminal
CN105306720A (en) Alarm clock and implementation method thereof
US20140141716A1 (en) Method for Rapid Information Synchronization Using Near Field Communication
CN107493312B (en) Service calling method and device
CN104902058A (en) Method and device for setting call reminder
CN103220426A (en) Prompting method and prompting device of terminal alarm clock and mobile terminal
WO2017166665A1 (en) Calendar event mode switching method and apparatus based on mobile terminal, and electronic device
CN101291499A (en) Mobile terminal and alarm clock implementing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant