CN102455657A - Method for setting world time zone alarm clock and apparatus thereof - Google Patents
Method for setting world time zone alarm clock and apparatus thereof Download PDFInfo
- Publication number
- CN102455657A CN102455657A CN2010105115501A CN201010511550A CN102455657A CN 102455657 A CN102455657 A CN 102455657A CN 2010105115501 A CN2010105115501 A CN 2010105115501A CN 201010511550 A CN201010511550 A CN 201010511550A CN 102455657 A CN102455657 A CN 102455657A
- Authority
- CN
- China
- Prior art keywords
- time zone
- time
- alarm
- alarm clock
- zone
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method for setting a world time zone alarm clock. The method comprises the following steps: setting a time zone which the alarm clock belongs to and an alarm clock time; determining whether the current time zone is the time zone which the alarm clock belongs to; when the current time zone is not the time zone which the alarm clock belongs to, updating the alarm clock time to be the alarm clock time of the current time zone. The invention also provides a corresponding apparatus. By using the method for setting the world time zone alarm clock and the apparatus thereof provided in the invention, the alarm clock time can be automatically updated according to changes of the time zone set by a user. Convenience can be provided for usage of the user.
Description
Technical field
The present invention relates to the communications field, specially refer to a kind of method and apparatus that world time zone's alarm clock is set.
Background technology
Along with people's work life busy day by day also obtained being widely used as the alarm clock function of one of portable terminal basic functions such as mobile phone.More and more users that often go on business when hoping to be in different time zone, remain at the time quarter-bell in a certain specific time zone, when being in New York or South Africa as the user, hope to be fixed on Beijing time 10 quarter-bells, participation Beijing video conference of 10 general headquarters' every day.And existing alarm clock can only be provided with the alarm time in current time zone; If the user has changed the time zone; The time of alarm clock is not do renewal, and for example the user is set to 10 quarter-bells every day in Beijing, when the user goes on business to New York; Alarm time still is 10 points of New York time, and Beijing time this moment is 2 points.If this moment, the user still want at Beijing time 10 quarter-bells, just need manually alarm time to be re-set as point in afternoons 18.This alarm clock setting method uses to the user and makes troubles.
Summary of the invention
Fundamental purpose of the present invention is that a kind of method and apparatus that world time zone's alarm clock is set is provided, and can upgrade alarm time automatically according to the variation that the user is provided with the time zone.
The present invention proposes a kind of method that world time zone's alarm clock is set, and comprising:
Affiliated time zone of alarm clock and alarm time are set;
Judge whether current time zone is time zone under the alarm clock;
When under the non-alarm clock in current time zone during the time zone, upgrade the alarm time that said alarm time is current time zone.
Preferably, said renewal alarm time is current time zone alarm time comprises:
Calculate the time difference in the affiliated time zone of current time zone and alarm clock;
Confirm the alarm time in current time zone according to the said time difference;
The alarm time that shows current time zone.
Preferably, saidly judge that whether current time zone is under the alarm clock before the time zone, comprising carrying out:
Current time zone is set.
Preferably, carrying out said the setting under the alarm clock before the time zone and alarm time, comprising:
Time-piece is set, and said time-piece comprises at least two cities and corresponding time zone thereof.
Preferably, after the said renewal alarm time of execution is the alarm time in current time zone, comprising:
When the alarm time in said current time zone arrives, trigger alarm clock.
The present invention also proposes a kind of device that world time zone's alarm clock is set, and comprising:
First is provided with module, is used to be provided with affiliated time zone of alarm clock and alarm time;
Judge module is used to judge whether current time zone is time zone under the alarm clock;
Update module, when being used under the non-alarm clock in current time zone the time zone, upgrading alarm time is the alarm time in current time zone.
Preferably, said update module comprises:
Computing unit is used to calculate time difference in time zone under current time zone and the alarm clock;
Confirm the unit, be used for confirming the alarm time in current time zone according to the said time difference;
Display unit is used to show the alarm time in current time zone.
Preferably, the said device that world time zone's alarm clock is set also comprises:
Second is provided with module, is used to be provided with current time zone.
Preferably, the said device that world time zone's alarm clock is set also comprises:
The 3rd is provided with module, is used to be provided with time-piece, and said time-piece comprises at least two cities and corresponding time zone thereof.
Preferably, the said device that world time zone's alarm clock is set also comprises:
Trigger module is used for when the alarm time in current time zone arrives, triggering alarm clock.
A kind of method and apparatus that world time zone's alarm clock is set that the present invention proposes can upgrade alarm time automatically according to the variation that the user is provided with the time zone, for the user uses convenience is provided.
Description of drawings
Fig. 1 is a kind of schematic flow sheet that method one embodiment of world time zone's alarm clock is set of the present invention;
Upgrade the schematic flow sheet of alarm time among method one embodiment that Fig. 2 is provided with world time zone's alarm clock for the present invention is a kind of;
Fig. 3 is a kind of schematic flow sheet that the another embodiment of method of world time zone's alarm clock is set of the present invention;
Fig. 4 is a kind of structural representation that device one embodiment of world time zone's alarm clock is set of the present invention;
The structural representation of update module among device one embodiment that Fig. 5 is provided with world time zone's alarm clock for the present invention is a kind of;
Fig. 6 is a kind of structural representation that the another embodiment of device of world time zone's alarm clock is set of the present invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Fundamental purpose of the present invention is that a kind of method and apparatus that world time zone's alarm clock is set is provided, and can upgrade alarm time automatically according to the variation in user time zone.
With reference to Fig. 1, a kind of method one embodiment that world time zone's alarm clock is set of the present invention is proposed, comprising:
Step S101 is provided with affiliated time zone of alarm clock and alarm time.
When alarm clock was set, portable terminal was the universal time alarm clock for the user provides an alarm clock options, promptly Greenwich Mean Time alarm clock, select for the user provides the time zone then, portable terminal selects to confirm time zone and alarm time under the alarm clock according to the user.
Step S102 judges whether current time zone is time zone under the alarm clock.
Step S103, when under the non-alarm clock in current time zone during the time zone, upgrading alarm time is the alarm time in current time zone.
Portable terminal at first need be judged current time zone, if the time zone is consistent under current time zone and this alarm clock, and the alarm time the when time that then is shown to user's alarm time and quarter-bell is setting.If the time zone is inconsistent under current time zone and this alarm clock, then be shown to the time of user's alarm time and quarter-bell, need through converting zebra time.In the preset time-piece of portable terminal, search; This time-piece comprises the corresponding time zone in each city and each city; Can get two time differences between the time zone through searching time-piece; The alarm time that is provided with being added or deduct the time difference, be the pairing alarm time in current time zone, also is the alarm time that is shown to the user.
As one be in New York the user need set 10 alarm clock every day Beijing time, then at first selecting alarm clock options is the universal time alarm clock, selects time zone, Beijing and alarm time then.Portable terminal judges that at first current time zone is New York, and the elapsed time converts, and the New York time of 10 correspondences Beijing time is 18 points, and then the mobile terminal displays alarm time is 18 points, and when 18 of New York times quarter-bell.If the user has switched to the time zone, London after having set this alarm clock, the alarm time that portable terminal shows after converting is a 2:00 AM.
The time-piece that it should be noted that the universal time alarm clock should be provided with tabulation with the universal time of portable terminal and be consistent, in order to avoid produce error, the renewal of alarm time is applicable to the time zone change, does not comprise the change of user to cell phone clock.
A kind of method that world time zone's alarm clock is set that the present invention proposes can be upgraded alarm time automatically according to the variation that the user is provided with the time zone, for the user uses convenience is provided.
With reference to Fig. 2, the present invention is a kind of to be provided with among method one embodiment of world time zone's alarm clock, and step S103 can comprise:
Step S1031 calculates time difference in time zone under current time zone and the alarm clock.
In the preset time-piece of portable terminal, search, this time-piece comprises the corresponding time zone in each city and each city, can get two time differences between the time zone through searching time-piece.
Step S1032 confirms the alarm time in current time zone according to the time difference.
The alarm time that is provided with being added or deduct the time difference, be the pairing alarm time in current time zone, also is the alarm time that is shown to the user.
Step S1033 shows the alarm time in current time zone.
With reference to Fig. 3, a kind of another embodiment of method that world time zone's alarm clock is set of the present invention is proposed, in the above-described embodiments, before execution in step S101, comprising:
Step S100 is provided with time-piece, and time-piece comprises at least two cities and corresponding time zone thereof.
Portable terminal is provided with a time-piece in advance, and method to set up is following:
struct_CITY_ITEM
{
Const CHAR*name; / * city name */
Float fTimeZoneNumber; / * time zone */
}T_CityItem
T_CityItem CityItem [24]=/ * tabulation city name from top to bottom be map city from left to right arrange */
{
" London ", and 0} ,/* zero district * // * 0*/
" Paris ", and 1} ,/* Dong Yi district * // * 1*/
" Berlin ", and 1} ,/* Dong Yi district * // * 2*/
" Rome ", and 1} ,/* Dong Yi district * // * 3*/
" Athens ", and 2} ,/* Dong Er district * // * 4*/
" Cape Town ", and 2} ,/* Dong Er district * // * 5*/
" Moscow ", and 3} ,/* Dong San district * // * 6*/
" Tehran ", and 3+0.5} ,/* east district * three thirty // * 7*/
" Karachi ", and 5} ,/* Dong Wu district * // * 8*/
" Delhi ", and 5+0.5} ,/* east district * five thirty // * 9*/
" Bangkok ", and 7} ,/* east seven districts * // * 10*/
" Beijing ", and 8} ,/* Dong Ba district * // * 11*/
Tokyo ", and 9} ,/* Dong Jiu district * // * 12*/
" Adelaide ", and 9+0.5} ,/* east district * nine thirty // * 13*/
" Sydney ", and 10} ,/* Dong Shi district * // * 14*/
" Auckland ", and 12} ,/* east No.12 District * // * 15*/
" Honolulu ", and-10} ,/* Xi Shi district * // * 16*/
" Anchorage ", and-9} ,/* Xi Jiu district * // * 17*/
" Los Angeles "), and-8} ,/* Xi Ba district * // * 18*/
" Denver ", and-7} ,/* west seven districts * // * 19*/
" Mexico City ", and-6} ,/* west six districts * // * 20*/
" New York "), and-5} ,/* Xi Wu district * // * 21*/
" Santiago ", and-4} ,/* Xisi district * // * 22*/
(" Brasilia " ,-3} ,/* Xi San district * // * 23*/
}
Before execution in step S102, also comprise:
Step S1011 is provided with current time zone.
After execution in step S103, comprising:
Step S104 when the alarm time in current time zone arrives, triggers alarm clock.
A kind of method that world time zone's alarm clock is set that the present invention proposes can be upgraded alarm time automatically according to the variation that the user is provided with the time zone, for the user uses convenience is provided.Further, can being provided with correspondingly selectively, time-piece supplies the user to select.
With reference to Fig. 4, a kind of device one embodiment that world time zone's alarm clock is set of the present invention is proposed, comprising:
First is provided with module 10, is used to be provided with affiliated time zone of alarm clock and alarm time;
When alarm clock was set, portable terminal was the universal time alarm clock for the user provides an alarm clock options, promptly Greenwich Mean Time alarm clock, select for the user provides the time zone then, first is provided with module 10 selects to confirm time zone and alarm time under the alarm clock according to the user.
As one be in New York the user need set 10 alarm clock every day Beijing time, then at first selecting alarm clock options is the universal time alarm clock, first module 10 time zone, selection Beijing and alarm times is set then.Portable terminal judges that at first current time zone is New York, and 30 elapsed time of update module convert, and the New York time of 10 correspondences Beijing time is 18 points, and then the mobile terminal displays alarm time is 18 points, and when 18 of New York times quarter-bell.If the user has switched to the time zone, London after having set this alarm clock, the alarm time that update module 30 shows after converting is a 2:00 AM.
The time-piece that it should be noted that the universal time alarm clock should be provided with tabulation with the universal time of portable terminal and be consistent, in order to avoid produce error, the renewal of alarm time is applicable to the time zone change, does not comprise the change of user to cell phone clock.
A kind of device that world time zone's alarm clock is set that the present invention proposes can upgrade alarm time automatically according to the variation that the user is provided with the time zone, for the user uses convenience is provided.
With reference to Fig. 5, in a kind of device one embodiment that world time zone's alarm clock is set of the present invention, update module 30 comprises:
In the preset time-piece of portable terminal, search, this time-piece comprises the corresponding time zone in each city and each city, and through searching time-piece, computing unit 31 can get two time differences between the time zone.
Confirm that unit 32 adds or deduct the time difference with the alarm time that is provided with, and is the pairing alarm time in current time zone, this alarm time of display unit 33 explicit users.
With reference to Fig. 6, a kind of another embodiment of device that world time zone's alarm clock is set of the present invention is proposed, in the above-mentioned device embodiment that world time zone's alarm clock is set, also comprise:
The 3rd is provided with module 40, is used to be provided with time-piece, and this time-piece comprises at least two cities and corresponding time zone thereof;
Second is provided with module 50, is used to be provided with current time zone;
The 3rd is provided with module 40 is provided with a time-piece in advance, and method to set up is following:
struct_CITY_ITEM
{
Const CHAR*name; / * city name */
Float fTimeZoneNumber; / * time zone */
}T_CityItem
T_CityItem CityItem [24]=/ * tabulation city name from top to bottom be map city from left to right arrange */
{
" London ", and 0} ,/* zero district * // * 0*/
" Paris ", and 1} ,/* Dong Yi district * // * 1*/
" Berlin ", and 1} ,/* Dong Yi district * // * 2*/
" Rome ", and 1} ,/* Dong Yi district * // * 3*/
" Athens ", and 2} ,/* Dong Er district * // * 4*/
" Cape Town ", and 2} ,/* Dong Er district * // * 5*/
" Moscow ", and 3} ,/* Dong San district * // * 6*/
" Tehran ", and 3+0.5} ,/* east district * three thirty // * 7*/
" Karachi ", and 5} ,/* Dong Wu district * // * 8*/
" Delhi ", and 5+0.5} ,/* east district * five thirty // * 9*/
" Bangkok ", and 7} ,/* east seven districts * // * 10*/
" Beijing ", and 8} ,/* Dong Ba district * // * 11*/
Tokyo ", and 9} ,/* Dong Jiu district * // * 12*/
" Adelaide ", and 9+0.5} ,/* east district * nine thirty // * 13*/
" Sydney ", and 10} ,/* Dong Shi district * // * 14*/
" Aucklan d ", and 12} ,/* east No.12 District * // * 15*/
" Honolulu ", and-10} ,/* Xi Shi district * // * 16*/
" Anchorage ", and-9} ,/* Xi Jiu district * // * 17*/
" Los Angeles "), and-8} ,/* Xi Ba district * // * 18*/
" Denver ", and-7} ,/* west seven districts * // * 19*/
" Mexico City ", and-6} ,/* west six districts * // * 20*/
" New York "), and-5} ,/* Xi Wu district * // * 21*/
" Santiago ", and-4} ,/* Xisi district * // * 22*/
(" Brasilia " ,-3} ,/* Xi San district * // * 23*/
}
A kind of device that world time zone's alarm clock is set that the present invention proposes can upgrade alarm time automatically according to the variation that the user is provided with the time zone, for the user uses convenience is provided.Further, can being provided with correspondingly selectively, time-piece supplies the user to select.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (10)
1. the method that world time zone's alarm clock is set is characterized in that, comprising:
Affiliated time zone of alarm clock and alarm time are set;
Judge whether current time zone is time zone under the alarm clock;
When under the non-alarm clock in current time zone during the time zone, upgrade the alarm time that said alarm time is current time zone.
2. the method that world time zone's alarm clock is set as claimed in claim 1 is characterized in that, the alarm time that said renewal alarm time is current time zone comprises:
Calculate the time difference in the affiliated time zone of current time zone and alarm clock;
Confirm the alarm time in current time zone according to the said time difference;
The alarm time that shows current time zone.
3. according to claim 1 or claim 2 the method that world time zone's alarm clock is set is characterized in that, saidly judges that whether current time zone is under the alarm clock before the time zone, comprising carrying out:
Current time zone is set.
4. the method that world time zone's alarm clock is set as claimed in claim 3 is characterized in that, is carrying out said the setting under the alarm clock before the time zone and alarm time, comprising:
Time-piece is set, and said time-piece comprises at least two cities and corresponding time zone thereof.
5. according to claim 1 or claim 2 the method that world time zone's alarm clock is set is characterized in that, is carrying out after said renewal alarm time is the alarm time in current time zone, comprising:
When the alarm time in said current time zone arrives, trigger alarm clock.
6. the device that world time zone's alarm clock is set is characterized in that, comprising:
First is provided with module, is used to be provided with affiliated time zone of alarm clock and alarm time;
Judge module is used to judge whether current time zone is time zone under the alarm clock;
Update module, when being used under the non-alarm clock in current time zone the time zone, upgrading alarm time is the alarm time in current time zone.
7. the device that world time zone's alarm clock is set as claimed in claim 6 is characterized in that, said update module comprises:
Computing unit is used to calculate time difference in time zone under current time zone and the alarm clock;
Confirm the unit, be used for confirming the alarm time in current time zone according to the said time difference;
Display unit is used to show the alarm time in current time zone.
8. like claim 6 or the 7 described devices that world time zone's alarm clock is set, it is characterized in that, also comprise:
Second is provided with module, is used to be provided with current time zone.
9. like claim 6 or the 7 described devices that world time zone's alarm clock is set, it is characterized in that, also comprise:
The 3rd is provided with module, is used to be provided with time-piece, and said time-piece comprises at least two cities and corresponding time zone thereof.
10. like claim 6 or the 7 described devices that world time zone's alarm clock is set, it is characterized in that, also comprise:
Trigger module is used for when the alarm time in current time zone arrives, triggering alarm clock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105115501A CN102455657A (en) | 2010-10-19 | 2010-10-19 | Method for setting world time zone alarm clock and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105115501A CN102455657A (en) | 2010-10-19 | 2010-10-19 | Method for setting world time zone alarm clock and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102455657A true CN102455657A (en) | 2012-05-16 |
Family
ID=46038944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105115501A Pending CN102455657A (en) | 2010-10-19 | 2010-10-19 | Method for setting world time zone alarm clock and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102455657A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864287A (en) * | 2017-11-10 | 2018-03-30 | 佛山市百里洲科技有限公司 | A kind of method that across time zone alarm clock of mobile phone is fixed automatically |
WO2019061109A1 (en) * | 2017-09-27 | 2019-04-04 | 深圳传音通讯有限公司 | Display method and display apparatus for clock of smart device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6587398B1 (en) * | 2000-08-11 | 2003-07-01 | Motorola Inc. | Method and apparatus for providing selectable roaming and non-roaming alarms |
CN1848882A (en) * | 2005-04-14 | 2006-10-18 | Lg电子株式会社 | Method of setting a time alarm in a mobile communication terminal and an apparatus for implementing the same |
CN101060680A (en) * | 2007-06-11 | 2007-10-24 | 中兴通讯股份有限公司 | A method and device for querying the world times on the mobile communication terminal |
CN101539756A (en) * | 2009-04-27 | 2009-09-23 | 中兴通讯股份有限公司 | Implementation method and device of alarm clock |
-
2010
- 2010-10-19 CN CN2010105115501A patent/CN102455657A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6587398B1 (en) * | 2000-08-11 | 2003-07-01 | Motorola Inc. | Method and apparatus for providing selectable roaming and non-roaming alarms |
CN1848882A (en) * | 2005-04-14 | 2006-10-18 | Lg电子株式会社 | Method of setting a time alarm in a mobile communication terminal and an apparatus for implementing the same |
CN101060680A (en) * | 2007-06-11 | 2007-10-24 | 中兴通讯股份有限公司 | A method and device for querying the world times on the mobile communication terminal |
CN101539756A (en) * | 2009-04-27 | 2009-09-23 | 中兴通讯股份有限公司 | Implementation method and device of alarm clock |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019061109A1 (en) * | 2017-09-27 | 2019-04-04 | 深圳传音通讯有限公司 | Display method and display apparatus for clock of smart device |
CN111417905A (en) * | 2017-09-27 | 2020-07-14 | 深圳传音通讯有限公司 | Display method and display device for clock of intelligent equipment |
CN111417905B (en) * | 2017-09-27 | 2021-10-22 | 深圳传音通讯有限公司 | Display method and display device for clock of intelligent equipment |
CN107864287A (en) * | 2017-11-10 | 2018-03-30 | 佛山市百里洲科技有限公司 | A kind of method that across time zone alarm clock of mobile phone is fixed automatically |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210382589A1 (en) | Portable information terminal for automatically displaying software application recommendations | |
CN102187285B (en) | Communications device having a commute time function and methods of use thereof | |
EP2677775B1 (en) | Method and Apparatus for Performing Capability Discovery of Rich Communication Suite in a Portable Terminal | |
CN102857637B (en) | A kind of associated person information acquisition methods, system and device | |
JP6740898B2 (en) | Map recording device, program and map recording method | |
CN103885738A (en) | Display Terminal Apparatus, Information Display System, Information Display Control Method And Storage Medium Storing Program Thereof | |
KR20140017642A (en) | Method and device for automatic display of applications on home screen | |
WO2014040484A1 (en) | Schedule management method and device | |
CN102109998A (en) | Managing method and managing device for shortcut icons of application programs and terminal adopting managing device | |
US10747832B2 (en) | Portable information terminal and application recommending method thereof | |
CN103747414A (en) | Method for updating state information and mobile terminals | |
WO2013155918A1 (en) | Scheduled task execution method and device, computer readable storage medium, graphical user interface, and mobile terminal | |
JP6074190B2 (en) | Terminal device and control method of terminal device | |
KR20160029573A (en) | Method for time zone setting using the location information and electronic device supporting the same | |
JP6642415B2 (en) | Map display device, program and map display method | |
CN102455657A (en) | Method for setting world time zone alarm clock and apparatus thereof | |
CN107870378B (en) | Weather forecast display device, display control method, recording medium, and electronic timepiece | |
US9185518B2 (en) | Mobile terminal and controlling method thereof | |
JPH09167138A (en) | Portable information terminal | |
CN101894141B (en) | Information prompting method for access of mobile terminal to mobile Internet website and mobile terminal | |
CN103900601A (en) | Event reminding method and device based on navigation map | |
KR20060121478A (en) | Method for setting and displaying class schedule of telecommunication terminal | |
JP5397510B2 (en) | Terminal device and program | |
KR100639340B1 (en) | Method for Displaying World time of Mobile Communication Terminal and Mobile Communication Terminal using the same | |
JP6220712B2 (en) | Mobile terminal and mobile terminal control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120516 |