CN102750630B - Automatically adjust the method and apparatus of alarm clock - Google Patents

Automatically adjust the method and apparatus of alarm clock Download PDF

Info

Publication number
CN102750630B
CN102750630B CN201210235621.9A CN201210235621A CN102750630B CN 102750630 B CN102750630 B CN 102750630B CN 201210235621 A CN201210235621 A CN 201210235621A CN 102750630 B CN102750630 B CN 102750630B
Authority
CN
China
Prior art keywords
date
alarm clock
need
adjustment
change
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
CN201210235621.9A
Other languages
Chinese (zh)
Other versions
CN102750630A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210235621.9A priority Critical patent/CN102750630B/en
Publication of CN102750630A publication Critical patent/CN102750630A/en
Application granted granted Critical
Publication of CN102750630B publication Critical patent/CN102750630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

A method for automatic adjustment alarm clock, comprises the following steps: obtain work rest date table and alarm clock calling table, in described work rest date table, comprise work date and rest date, comprise alarm clock date and non-alarm clock date in described alarm clock calling table; Contrast described work rest date table and described alarm clock calling table, the need of searching in described alarm clock calling table are adjusted the date, and described need be to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date on the adjustment date; In described alarm clock calling table, needing the adjustment date if described is the alarm clock date, and changing described need be the non-alarm clock date on the adjustment date, and needing to adjust the date if described is the non-alarm clock date, and changing described need be the alarm clock date on the adjustment date. Said method does not need user to carry out loaded down with trivial details operation to carry out alarm clock setting, improved user's operation ease. A kind of device of automatic adjustment alarm clock is also provided in addition.

Description

Automatically adjust the method and apparatus of alarm clock
[technical field]
The present invention relates to field of computer technology, relate to especially a kind of method and apparatus of automatic adjustment alarm clock.
[background technology]
The method of traditional automatic adjustment alarm clock, the alarm time generally setting in advance user, with jingle bell or/and the form of vibration is carried out alarm clock calling. And user is for convenient, general disposable certain time point that alarm time is the every day on Monday to Friday is set, because generally, be regular working day Monday to Friday, Saturday and Sunday are normal day off.
But, working day be not unalterable be Monday to Friday, in the time running into official holiday, the time on regular working day and day off likely can be exchanged. Therefore, user is change alarm time manually, and after official holiday finishes, again recalls to again original alarm time, operates comparatively loaded down with trivial details; And if user forgets change alarm time, likely alarm clock is not reminded when this prompting, and alarm clock has been reminded should not be noisy time, thereby causes causing inconvenience to the user.
[summary of the invention]
Based on this, be necessary to provide a kind of method of the automatic adjustment alarm clock that can increase operation ease.
A method for automatic adjustment alarm clock, comprises the following steps:
Obtain work rest date table and alarm clock calling table, in described work rest date table, comprise work date and rest date, in described alarm clock calling table, comprise alarm clock date and non-alarm clock date;
Contrast described work rest date table and described alarm clock calling table, the need of searching in described alarm clock calling table are adjusted the date, and described need be to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date on the adjustment date;
In described alarm clock calling table, needing the adjustment date if described is the alarm clock date, and changing described need be the non-alarm clock date on the adjustment date, and needing to adjust the date if described is the non-alarm clock date, and changing described need be the alarm clock date on the adjustment date.
Therein in an embodiment, described in described alarm clock calling table, needing to adjust the date if described is the alarm clock date, and changing described need be the non-alarm clock date on the adjustment date, be the non-alarm clock date if described need are adjusted the date, change the step that the described need adjustment date be the alarm clock date and comprise:
Need whether change the described alarm clock setting that needs to adjust the date by the Preset Time point reminding user before the adjustment date described;
In the time receiving the confirmation change directive, in described alarm clock calling table, needing to adjust the date if described is the alarm clock date, and changing described need be the non-alarm clock date on the adjustment date, if needing to adjust the date described is the non-alarm clock date, and changing described need be the alarm clock date on the adjustment date.
In an embodiment, whether described Preset Time point reminding user before described need are adjusted the date changes the described step that needs the alarm clock setting of adjusting the date comprises therein:
Search the continuous date section that comprises two or more and need adjust the date, the need that described continuous date section comprises are adjusted the number of days that in the date, adjacent two need are adjusted date interval and are no more than threshold value;
Whether the Preset Time point reminding user before described continuous date section changes need that described continuous date section comprises is adjusted the alarm clock setting on date;
Described in the time receiving the confirmation change directive, in described alarm clock calling table, needing to adjust the date if described is the alarm clock date, and changing described need be the non-alarm clock date on the adjustment date, needing to adjust the date if described be the non-alarm clock date, changes that described to need to adjust the date be that the step on alarm clock date is:
In the time receiving the confirmation change directive, in described alarm clock calling table, if it is the alarm clock date that the need that described continuous date section comprises are adjusted the date, changing described need be the non-alarm clock date on the adjustment date, need the adjustment date be the non-alarm clock date if described continuous date section comprises, changing described need be the alarm clock date on the adjustment date.
In an embodiment, described method also comprises therein:
In the time receiving cancellation change directive, do not change the described alarm clock setting that needs to adjust the date.
In an embodiment, described method also comprises therein:
The alarm clock date comprising in described alarm clock calling table is carried out alarm clock calling.
Based on this, be also necessary to provide a kind of device of the automatic adjustment alarm clock that can increase operation ease.
A device for automatic adjustment alarm clock, comprising:
Date table acquisition module, for obtaining work rest date table and alarm clock calling table, comprises work date and rest date in described work rest date table, comprises alarm clock date and non-alarm clock date in described alarm clock calling table;
Need to adjust and day search module, be used for contrasting described work rest date table and described alarm clock calling table, the need of searching in described alarm clock calling table are adjusted the date, and described need be to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date on the adjustment date;
Alarm clock change module, at described alarm clock calling table, need be the alarm clock date if described on the adjustment date, and changing described need be the non-alarm clock date on the adjustment date, and needing the adjustment date if described is the non-alarm clock date, and changing described need be the alarm clock date on the adjustment date.
In an embodiment, described device also comprises alarm clock change prompting module therein, for need whether changing the described alarm clock setting that needs to adjust the date by the Preset Time point reminding user before the adjustment date described;
Described alarm clock change module is in the time receiving the confirmation change directive, in described alarm clock calling table, if needing to adjust the date described is the alarm clock date, changing described need be the non-alarm clock date on the adjustment date, if needing to adjust the date described is the non-alarm clock date, and changing described need be the alarm clock date on the adjustment date.
Therein in an embodiment, described alarm clock change prompting module is for searching the continuous date section that comprises two or more and need adjust the date, need that described continuous date section comprises are adjusted the number of days that in the date, adjacent two need are adjusted date interval and are no more than threshold value, and whether the Preset Time point reminding user before described continuous date section changes the alarm clock setting on the need adjustment date that described continuous date section comprises;
Described alarm clock change module is in the time receiving the confirmation change directive, in described alarm clock calling table, if it is the alarm clock date that the need that described continuous date section comprises are adjusted the date, changing described need be the non-alarm clock date on the adjustment date, need the adjustment date be the non-alarm clock date if described continuous date section comprises, changing described need be the alarm clock date on the adjustment date.
In an embodiment, described alarm clock change module, also in the time receiving cancellation change directive, is not changed the described alarm clock setting that needs to adjust the date therein.
In an embodiment, described device also comprises therein:
Alarm clock calling module, carries out alarm clock calling for the alarm clock date comprising at described alarm clock calling table.
The method and apparatus of above-mentioned automatic adjustment alarm clock, be while rest date or non-alarm clock date being the work date when the alarm clock date in alarm clock calling table, the setting of reminding user change alarm clock, in the time getting user's confirmation change directive, can automatically change alarm clock setting, do not need user to carry out loaded down with trivial details operation and carry out alarm clock setting, improved user's operation ease.
[brief description of the drawings]
Fig. 1 is the schematic flow sheet of the method for the automatic adjustment alarm clock in an embodiment;
Fig. 2 is the schematic flow sheet of the method for the automatic adjustment alarm clock in another embodiment;
Fig. 3 is the schematic flow sheet of the method for the automatic adjustment alarm clock in another embodiment;
Fig. 4 is a prompting interface schematic diagram that the reminding user change alarm clock in embodiment arranges;
Fig. 5 is the structural representation of the device of the automatic adjustment alarm clock in an embodiment;
Fig. 6 is the structural representation of the device of the automatic adjustment alarm clock in another embodiment.
[detailed description of the invention]
As shown in Figure 1, in one embodiment, a kind of method of automatic adjustment alarm clock, comprises the following steps:
Step S102, obtains work rest date table and alarm clock calling table, in work rest date table, comprises work date and rest date, comprises alarm clock date and non-alarm clock date in alarm clock calling table.
In one embodiment, the work date comprising in work rest date table is the date that needs work, for example, generally be the work date Monday to Friday, Saturday and Sunday are the rest date, (for example, because official holiday is adjusted in the work situation on day off) under special circumstances, any one day of Monday to Friday is all likely the rest date, and Saturday or Sunday may be also the work dates.
Concrete, the alarm clock date comprising in alarm clock calling table is the date that alarm clock carries out alarm clock calling, but not the alarm clock date is the date that alarm clock does not carry out alarm clock calling.
In one embodiment, the work rest date shows to comprise the continuous date in default date section, for example all dates in 1 year. In another embodiment, work rest date table can comprise the discrete date, for example, can only comprise the official holiday in 1 year and will be adjusted into the workaday date normal day off.
In one embodiment, can be from default website, download work rest date table. In another embodiment, can provide the interface that the work rest date is set. In the time getting user the instruction on work rest date is set, eject the interface that the work rest date is set. It is work date, Saturday and Sunday to be default section work rest date on the date table on rest date that this interface can comprise acquiescence MONDAY to FRIDAY. User can arrange some special date in the work rest date of acquiescence table. Change certain date while being the instruction on work date or rest date when getting user, according to user's instruction, being set this date is work date or rest date.
In one embodiment, can provide the interface that alarm clock day is set for seven days according to a week. In the time getting user the instruction of alarm clock day is set, eject according to the interface that alarm clock day is set for seven days in a week. Further, obtain user and arrange a few day instructions for alarm clock day in a week, preserve the week alarm clock day information that user arranges, for example, Monday is to Friday.
The alarm clock calling table of the default date section of week alarm clock day Information generation that can arrange according to user in one embodiment. For example, generate the alarm clock calling table of a year. The date range of the alarm clock calling table generating will comprise the maximum date range that the date in work rest date table crosses over.
Concrete, if a certain date coupling week alarm clock day information in default date section is the alarm clock date by this date stamp, otherwise is labeled as the non-alarm clock date in alarm clock calling table. For example, information is week alarm clock day: Monday is to Friday. It is the alarm clock date by the date stamp of the some day in default date Duan Zhongwei Monday to Friday.
Step S104, contrast work rest date table and alarm clock calling table, the need of searching in alarm clock calling table are adjusted the date, and needing to adjust the date is to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date.
Step S108, in alarm clock calling table, adjusting the date if need is the alarm clock date, and change need be the non-alarm clock date on the adjustment date, and adjusting the date if need is the non-alarm clock date, and change need be the alarm clock date on the adjustment date.
In the present embodiment, in the time that the need adjustment date is the work date, arranging and needing the adjustment date be the alarm clock date, in the time that the need adjustment date is the rest date, arranging and needing the adjustment date is the non-alarm clock date, does not need user by loaded down with trivial details operation change alarm clock setting, thereby has improved user's operation ease.
As shown in Figure 2, in one embodiment, a kind of method of automatic adjustment alarm clock, comprises the following steps:
Step S202, obtains work rest date table and alarm clock calling table, in work rest date table, comprises work date and rest date, comprises alarm clock date and non-alarm clock date in alarm clock calling table.
Step S204, contrast work rest date table and alarm clock calling table, the need of searching in alarm clock calling table are adjusted the date, and needing to adjust the date is to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date.
Step S206, whether the Preset Time point reminding user before need are adjusted the date changes the alarm clock setting that needs to adjust the date.
For example, can adjust the previous day or two days reminding user on date at need and whether change the alarm clock setting that needs to adjust the date.
In one embodiment, can eject prompting interface by the Preset Time point before need are adjusted the date. Remind the need that comprise after change in interface adjust the alarm clock setting on date and confirm option and cancel option. In the time confirming that option is pressed, trigger and confirm change directive, in the time that cancellation option is pressed, triggers and cancel change directive. For example, if need the adjustment date to be all work date and non-alarm clock date, remind interface to show and whether need are adjusted to the information that date change is the alarm clock date. In the time confirming being pressed of option, can change the alarm clock setting that needs to adjust the date. In the time that cancellation option is pressed, do not carry out any operation.
In one embodiment, remind interface also to comprise the option of no longer reminding. In the time that the option of no longer reminding is pressed, triggers the Preset Time point reminding user of cancellation before need are adjusted the date and whether change the instruction that needs the alarm clock of adjusting the date to arrange. In the time receiving this instruction, put no longer reminding user at above-mentioned Preset Time and whether change the alarm clock setting that needs to adjust the date.
Step S208, in the time receiving the confirmation change directive, in alarm clock calling table, adjusting the date if need is the alarm clock date, and change need be the non-alarm clock date on the adjustment date, and adjusting the date if need is the non-alarm clock date, and change need be the alarm clock date on the adjustment date.
In the present embodiment, in the time receiving the confirmation change directive, just change alarm clock setting, can facilitate user according to actual conditions change or the setting of change alarm clock, if desired change alarm clock setting, user only need to trigger and confirm instruction, do not need manually to enter alarm clock interface is set, at alarm clock, change alarm clock in interface is set, and if do not need to change alarm clock setting, user need not do any operation. Thereby the present embodiment has improved user's operation ease.
As shown in Figure 3, in one embodiment, a kind of method of automatic adjustment alarm clock, comprises the following steps:
Step S302, obtains work rest date table and alarm clock calling table, in work rest date table, comprises work date and rest date, comprises alarm clock date and non-alarm clock date in alarm clock calling table.
Step S304, contrast work rest date table and alarm clock calling table, the need of searching in alarm clock calling table are adjusted the date, and needing to adjust the date is to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date.
Step S306, searches the continuous date section that comprises two or more and need adjust the date, and the need that date section comprises are continuously adjusted the number of days that in the date, adjacent two need are adjusted date interval and are no more than threshold value.
For example, need the adjustment date to comprise: 2012-4-4,2012-4-28,2012-4-30,2012-5-1,2012-6-22 etc. If threshold value is one day, 2012-4-28,2012-4-30, these three need of 2012-5-1 are adjusted adjacent two need adjustment date interval in the date and are no more than one day, and these three need are adjusted a continuous date section of dates composition.
Step S308, whether the Preset Time point reminding user before continuous date section changes the alarm clock setting on the need adjustment date that continuous date section comprises.
Taking above-mentioned phase Consecutive Days section 2012-4-28,2012-4-30,2012-5-1 as example, if current 2012-4-28(Saturday) be working day and be non-alarm clock day, 2012-4-30(Monday) for day off and be alarm clock day, 2012-5-1(Tuesday) for day off and be alarm clock day, can eject prompting interface as shown in Figure 4, whether reminding user changes to 2012-4-28 and alarm clock day, 2012-4-30 changes to non-alarm clock day, 2012-5-1 changes to non-alarm clock day. Remind in interface and also can comprise and confirm option and cancel option. In the time confirming that option is pressed, trigger and confirm change directive, in the time that cancellation option is pressed, triggers and cancel change directive.
Step S310, in the time receiving the confirmation change directive, in alarm clock calling table, if it is the alarm clock date that the need that date section comprises are continuously adjusted the date, change need be the non-alarm clock date on the adjustment date, need the adjustment date be the non-alarm clock date if continuous date section comprises, change need be the alarm clock date on the adjustment date.
Taking above-mentioned example as example, in the time receiving the confirmation change directive, can in alarm clock calling table, 2012-4-28 be changed to and alarm clock day, 2012-4-30 change to non-alarm clock day, 2012-5-1 changes to non-alarm clock day.
In one embodiment, the method for above-mentioned automatic adjustment alarm clock also comprises step: in the time receiving cancellation change directive, do not change the alarm clock setting that needs to adjust the date.
In one embodiment, the method for above-mentioned automatic adjustment alarm clock also comprises step: the alarm clock date comprising in alarm clock calling table is carried out alarm clock calling.
Concrete, the mode that can put to preset at the Preset Time on alarm clock date is carried out alarm clock calling, for example, play the music of preliminary election in preset, or/and vibrate specified device etc.
As shown in Figure 5, in one embodiment, a kind of device of automatic adjustment alarm clock, comprises date table acquisition module 502, needs to adjust and search module 504, alarm clock change module 508 day, wherein:
Date table acquisition module 302, for obtaining work rest date table and alarm clock calling table, comprises work date and rest date in work rest date table, comprises alarm clock date and non-alarm clock date in alarm clock calling table.
In one embodiment, the work date comprising in work rest date table is the date that needs work, for example, generally be the work date Monday to Friday, Saturday and Sunday are the rest date, (for example, because official holiday is adjusted in the work situation on day off) under special circumstances, any one day of Monday to Friday is all likely the rest date, and Saturday or Sunday may be also the work dates.
Concrete, the alarm clock date comprising in alarm clock calling table is the date that alarm clock carries out alarm clock calling, but not the alarm clock date is the date that alarm clock does not carry out alarm clock calling.
In one embodiment, the work rest date shows to comprise the continuous date in default date section, for example all dates in 1 year. In another embodiment, work rest date table can comprise the discrete date, for example, can only comprise the official holiday in 1 year and will be adjusted into the workaday date normal day off.
In one embodiment, date table acquisition module 502 can be from default website, download work rest date table. In another embodiment, the date is shown acquisition module 502 interface that the work rest date is set can be provided. In the time getting user the instruction on work rest date is set, date table acquisition module 502 can eject the interface that the work rest date is set. It is work date, Saturday and Sunday to be default section work rest date on the date table on rest date that this interface can comprise acquiescence MONDAY to FRIDAY. User can arrange some special date in the work rest date of acquiescence table. Change certain date while being the instruction on work date or rest date when getting user, it is work date or rest date that date table acquisition module 502 can arrange this date according to user's instruction.
In one embodiment, the date is shown acquisition module 502 interface that alarm clock day is set for seven days according to a week can be provided. In the time getting user the instruction of alarm clock day is set, date table acquisition module 502 can eject the interface that alarm clock day is set for seven days according to a week. Further, date table acquisition module 502 can obtain user the instructions that a few days of one week are alarm clock day are set, and preserves the week alarm clock day information that user arranges, and for example, Monday is to Friday.
The alarm clock calling table of the default date section of week alarm clock day Information generation that in one embodiment, date table acquisition module 502 can arrange according to user. For example, generate the alarm clock calling table of a year. The date range of the alarm clock calling table generating will comprise the maximum date range that the date in work rest date table crosses over.
Concrete, if date table acquisition module 502 can be used for a certain date coupling week alarm clock day information in default date section, in alarm clock calling table, be the alarm clock date by this date stamp, otherwise be labeled as the non-alarm clock date. For example, information is week alarm clock day: Monday is to Friday. It is the alarm clock date by the date stamp of the some day in default date Duan Zhongwei Monday to Friday.
Need to adjust and search module 504 day for contrasting work rest date table and alarm clock calling table, the need of searching in alarm clock calling table are adjusted the date, and needing to adjust the date is to be all the date on work date and non-alarm clock date or to be all the rest date and the date on alarm clock date.
Alarm clock change module 508 is in the time receiving the confirmation change directive, and in alarm clock calling table, adjusting the date if need is the alarm clock date, and changing and need adjusting the date is the non-alarm clock date, and adjusting the date if need is the non-alarm clock date, and changing and need adjusting the date is the alarm clock date.
This is implemented in full example, in the time that the need adjustment date is the work date, arranging and needing the adjustment date is the alarm clock date, in the time that the need adjustment date is the rest date, arranging and needing the adjustment date is the non-alarm clock date, do not need user by loaded down with trivial details operation change alarm clock setting, thereby improved user's operation ease.
As shown in Figure 6, in one embodiment, the device of above-mentioned automatic adjustment alarm clock also comprises:
Whether alarm clock change prompting module 506 changes for the Preset Time point reminding user before adjusting the date at need the alarm clock setting that needs to adjust the date.
In the present embodiment, alarm clock change module 508 is in the time receiving the confirmation change directive, in alarm clock calling table, adjusting the date if need is the alarm clock date, change need be the non-alarm clock date on the adjustment date, and adjusting the date if need be the non-alarm clock date, and change need be the alarm clock date on the adjustment date.
For example, can adjust the previous day or two days reminding user on date at need and whether change the alarm clock setting that needs to adjust the date.
In one embodiment, alarm clock change prompting module 506 can eject prompting interface by the Preset Time point before need are adjusted the date. Remind the need that comprise after change in interface adjust the alarm clock setting on date and confirm option and cancel option. In the time confirming that option is pressed, alarm clock change prompting module 506 can trigger confirmation change directive, and in the time that cancellation option is pressed, alarm clock change prompting module 506 can trigger cancellation change directive. For example, if need the adjustment date to be all work date and non-alarm clock date, remind interface to show and whether need are adjusted to the information that date change is the alarm clock date.
In one embodiment, remind interface also to comprise the option of no longer reminding. In the time that the option of no longer reminding is pressed, alarm clock change prompting module 506 can trigger the Preset Time point reminding user of cancellation before need are adjusted the date and whether change the instruction that needs the alarm clock of adjusting the date to arrange. In the time receiving this instruction, put no longer reminding user at above-mentioned Preset Time and whether change the alarm clock setting that needs to adjust the date.
This is implemented in full example, in the time receiving the confirmation change directive, just change alarm clock setting, can facilitate user according to actual conditions change or the setting of change alarm clock, if desired change alarm clock setting, user only need to trigger and confirm instruction, do not need manually to enter alarm clock interface is set, at alarm clock, change alarm clock in interface is set, and if do not need to change alarm clock setting, user need not do any operation. Thereby improve user's operation ease.
In another embodiment, alarm clock change prompting module 506 is for searching the continuous date section that comprises two or more and need adjust the date, the need that continuously date section comprises are adjusted the number of days that in the date, adjacent two need are adjusted date interval and are no more than threshold value, and whether the Preset Time point reminding user before date section continuously changes the alarm clock setting on the need adjustment date that continuous date section comprises.
For example, need the adjustment date to comprise: 2012-4-4,2012-4-28,2012-4-30,2012-5-1,2012-6-22 etc. If threshold value is one day, and these three need of 2012-4-28,2012-4-30,2012-5-1 are adjusted in dates adjacent two need and are adjusted date interval and be no more than one day, and these three need are adjusted a continuous date section of dates composition.
Taking above-mentioned phase Consecutive Days section 2012-4-28,2012-4-30,2012-5-1 as example, if current 2012-4-28(Saturday) be working day and be non-alarm clock day, 2012-4-30(Monday) for day off and be alarm clock day, 2012-5-1(Tuesday) for day off and be alarm clock day, alarm clock change prompting module 506 can eject prompting interface as shown in Figure 4, and whether reminding user changes to 2012-4-28 and alarm clock day, 2012-4-30 change to non-alarm clock day, 2012-5-1 changes to non-alarm clock day. Remind in interface and also can comprise and confirm option and cancel option. In the time confirming that option is pressed, alarm clock change prompting module 506 triggers confirms change directive, and in the time that cancellation option is pressed, alarm clock change prompting module 506 triggers cancels change directive.
Alarm clock change module 508 is in the time receiving the confirmation change directive, in alarm clock calling table, if it is the alarm clock date that the need that date section comprises are continuously adjusted the date, change need be the non-alarm clock date on the adjustment date, need the adjustment date be the non-alarm clock date if continuous date section comprises, change need be the alarm clock date on the adjustment date.
Taking above-mentioned example as example, in the time receiving the confirmation change directive, alarm clock change module 508 can change to 2012-4-28 and alarm clock day, 2012-4-30 change to non-alarm clock day in alarm clock calling table, 2012-5-1 changes to non-alarm clock day.
In one embodiment, alarm clock change module 508, also in the time receiving cancellation change directive, is not changed the alarm clock setting that needs to adjust the date.
In one embodiment, the device of above-mentioned automatic adjustment alarm clock also comprises alarm clock calling module (not shown), carries out alarm clock calling for the alarm clock date comprising at alarm clock calling table.
Concrete, the mode that alarm clock calling module can be put to preset at the Preset Time on alarm clock date is carried out alarm clock calling, for example, play the music of preliminary election in preset, or/and vibrate specified device etc.
The method and apparatus of above-mentioned automatic adjustment alarm clock, be while rest date or non-alarm clock date being the work date when the alarm clock date in alarm clock calling table, the setting of reminding user change alarm clock, in the time getting user's confirmation change directive, can automatically change alarm clock setting, do not need user to carry out loaded down with trivial details operation and carry out alarm clock setting, improved user's operation ease.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (6)

1. a method of automatically adjusting alarm clock, comprises the following steps:
Obtain work rest date table and alarm clock calling table, in described work rest date table, comprise the work dateWith the rest date, in described alarm clock calling table, comprise alarm clock date and non-alarm clock date;
Contrast described work rest date table and described alarm clock calling table, search the need in described alarm clock calling tableAdjust the date, described need be date or the day off of being all that is all work date and non-alarm clock date on the adjustment dateThe date on phase and alarm clock date;
Search the continuous date section that comprises two or more and need adjust the date, described continuous date section comprisesNeed adjust the number of days that adjacent two need are adjusted date interval in the date and be no more than threshold value;
Whether the Preset Time point reminding user before described continuous date section changes described continuous date section bagThe need that contain are adjusted the alarm clock setting on date, and eject comprise the prompting interface confirming option and cancel option forFamily arranges;
In the time receiving the confirmation change directive, in described alarm clock calling table, if described continuous date section is wrappedIt is the alarm clock date that the need that contain are adjusted the date, and changing described need be the non-alarm clock date on the adjustment date, if described companyIt need be the non-alarm clock date on the adjustment date that continuous date section comprises, and changing described need be the alarm clock date on the adjustment date.
2. the method for automatic adjustment alarm clock according to claim 1, is characterized in that, described method alsoComprise:
In the time receiving cancellation change directive, do not change the described alarm clock setting that needs to adjust the date.
3. the method for automatic adjustment alarm clock according to claim 1 and 2, is characterized in that, described sideMethod also comprises:
The alarm clock date comprising in described alarm clock calling table is carried out alarm clock calling.
4. a device of automatically adjusting alarm clock, is characterized in that, comprising:
Date table acquisition module, for obtaining work rest date table and alarm clock calling table, described work is had a restIn date table, comprise work date and rest date, in described alarm clock calling table, comprise alarm clock date and non-alarm clockDate;
Need to adjust and day search module, for contrasting described work rest date table and described alarm clock calling table, look intoLook for the need in described alarm clock calling table to adjust the date, described need are adjusted the date for being all work date and non-alarm clockDate on date or be all the rest date and the date on alarm clock date;
Alarm clock change prompting module, for searching the continuous date that comprises two or more and need adjust the dateSection, the number of days that the need that described continuous date section comprises are adjusted adjacent two need adjustment date interval in the date is superCross threshold value, whether the Preset Time point reminding user before described continuous date section changes the described continuous dateThe need that section comprises are adjusted the alarm clock setting on date, and eject to comprise and confirm option and the prompting interface of cancelling optionArrange for user;
Alarm clock change module, in the time receiving the confirmation change directive, in described alarm clock calling table, ifIt is the alarm clock date that the need that described continuous date section comprises are adjusted the date, and changing described need be non-on the adjustment dateOn the alarm clock date, need be the non-alarm clock date if described continuous date section comprises on the adjustment date, changes described needAdjusting the date is the alarm clock date.
5. the device of automatic adjustment alarm clock according to claim 4, is characterized in that, described alarm clock moreChange module also in the time receiving cancellation change directive, do not change the described alarm clock setting that needs to adjust the date.
6. according to the device of the automatic adjustment alarm clock described in claim 4 or 5, it is characterized in that described dressAlso put and comprise:
Alarm clock calling module, carries out alarm clock calling for the alarm clock date comprising at described alarm clock calling table.
CN201210235621.9A 2012-07-09 2012-07-09 Automatically adjust the method and apparatus of alarm clock Active CN102750630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210235621.9A CN102750630B (en) 2012-07-09 2012-07-09 Automatically adjust the method and apparatus of alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210235621.9A CN102750630B (en) 2012-07-09 2012-07-09 Automatically adjust the method and apparatus of alarm clock

Publications (2)

Publication Number Publication Date
CN102750630A CN102750630A (en) 2012-10-24
CN102750630B true CN102750630B (en) 2016-05-18

Family

ID=47030785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210235621.9A Active CN102750630B (en) 2012-07-09 2012-07-09 Automatically adjust the method and apparatus of alarm clock

Country Status (1)

Country Link
CN (1) CN102750630B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188399A (en) * 2013-03-20 2013-07-03 北京小米科技有限责任公司 Method, device and terminal for controlling alarm clock rings
CN103309736A (en) * 2013-07-01 2013-09-18 蓝贤秦 Timer setting and executing method
CN104427106B (en) * 2013-08-29 2019-06-28 腾讯科技(深圳)有限公司 Reminder events processing method, device, terminal and server
CN103685736A (en) * 2013-11-25 2014-03-26 上海斐讯数据通信技术有限公司 Clock on and off reminding method and system
CN104951921A (en) * 2014-03-26 2015-09-30 联想移动通信科技有限公司 Method and device for prompting festivals and holidays
CN104519203B (en) * 2014-09-02 2017-04-26 重庆市华森心时代实业有限公司 Alarm clock setting prompting method and system
CN104580721A (en) * 2014-12-31 2015-04-29 深圳市金立通信设备有限公司 Alarm clock implementation method for terminal
CN104767885A (en) * 2015-03-25 2015-07-08 广东欧珀移动通信有限公司 Alarm clock adjustment method and terminal
CN105262775A (en) * 2015-11-12 2016-01-20 北京百纳威尔无线通信设备有限公司 Alarm clock controlling method and device, alarm clock and electronic equipment
CN105847579A (en) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 Clock implementation method and device
CN106027773A (en) * 2016-05-09 2016-10-12 青岛海信移动通信技术股份有限公司 Alarm clock reminding method and alarm clock reminding apparatus
CN107222624A (en) * 2017-06-05 2017-09-29 广东欧珀移动通信有限公司 Application control method and related product
CN107423950B (en) * 2017-07-07 2021-07-23 北京小米移动软件有限公司 Alarm clock setting method and device
CN110866733B (en) * 2019-11-04 2022-09-02 北京小米移动软件有限公司 Information processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997950A (en) * 2010-05-19 2011-03-30 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for realizing alarm clock
CN201957120U (en) * 2010-12-31 2011-08-31 上海华勤通讯技术有限公司 Network alarm clock system and mobile terminal with network alarm clock function
CN102223451A (en) * 2011-07-01 2011-10-19 北京百纳威尔科技有限公司 Alarm clock handling method and device thereof for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997950A (en) * 2010-05-19 2011-03-30 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for realizing alarm clock
CN201957120U (en) * 2010-12-31 2011-08-31 上海华勤通讯技术有限公司 Network alarm clock system and mobile terminal with network alarm clock function
CN102223451A (en) * 2011-07-01 2011-10-19 北京百纳威尔科技有限公司 Alarm clock handling method and device thereof for mobile terminal

Also Published As

Publication number Publication date
CN102750630A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102750630B (en) Automatically adjust the method and apparatus of alarm clock
CN103885738B (en) display terminal device, information display system and information display control method
JP4493603B2 (en) Schedule management portable terminal and method thereof
CN106488037B (en) Calendar prompting method and device
CN104182399B (en) Memorandum based reminding method and device
CN102821199B (en) Reminding method of memo of hand-held apparatus
CN102170498A (en) Event reminding method and event reminding system based on mobile terminal
CN101014065A (en) Method and device of automatic reminding information
CN102413228A (en) Communication information prompting method, system and mobile terminal thereof
CN102231775A (en) Message reminding method and system based on communication terminal
CN101706555B (en) Method for reminding of battery electric quantity and mobile communication terminal
CN104618582A (en) Schedule reminding method and device and clock
US20120122433A1 (en) Method, apparatus, and terminal for setting schedule of communication terminal
CN101552835A (en) Method of mobile phone information cue and mobile phones
CN103491249A (en) Mobile terminal alarm clock prompt cancelling method and mobile terminal
CN105989460A (en) Method and device for setting prompting time in advance
US20200014782A1 (en) Schedule Processing Method and Electronic Terminal
CN102368795A (en) Method for setting mobile phone wallpaper
CN106296116A (en) Generate the method and device of information
CN102474291B (en) The method for information display of portable terminal and the equipment of use the method
CN103179259A (en) Contextual model automatically adjusting mobile phone and method
CN201789545U (en) Mobile phone with alarm clock function
CN201503539U (en) Multi-timing self-recording voice reminding electronic clock
CN106411447A (en) Play control method and device, and terminal
CN102572082A (en) Use method for networked mobile phone alarm clock

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