CN101060680A - A method and device for querying the world times on the mobile communication terminal - Google Patents

A method and device for querying the world times on the mobile communication terminal Download PDF

Info

Publication number
CN101060680A
CN101060680A CNA2007101108206A CN200710110820A CN101060680A CN 101060680 A CN101060680 A CN 101060680A CN A2007101108206 A CNA2007101108206 A CN A2007101108206A CN 200710110820 A CN200710110820 A CN 200710110820A CN 101060680 A CN101060680 A CN 101060680A
Authority
CN
China
Prior art keywords
city
time
benchmark
date
respect
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
Application number
CNA2007101108206A
Other languages
Chinese (zh)
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 CNA2007101108206A priority Critical patent/CN101060680A/en
Publication of CN101060680A publication Critical patent/CN101060680A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Calculators And Similar Devices (AREA)
  • Telephone Function (AREA)

Abstract

The disclosed world-time query method on a mobile communication terminal comprises: setting the reference city, setting date and time of the reference city, selecting objective city, and calculating the time difference, calculating the relative time, and displaying. The relative device comprises: an input module, a storage module, a calculation module, and a display module. This invention makes user query any city data and time fast and conveniently.

Description

A kind of method and device of on mobile communication terminal, realizing the universal time inquiry
Technical field
The invention belongs to communication technical field, particularly a kind of method and device of on mobile communication terminal, realizing the universal time query function.
Background technology
The exploitation of universal time module makes the user can inquire about the date and time of different cities in the world in the mobile communication terminal.For the mobile phone of CDMA standard, the system time of standby interface comes from the time of GPS; For the mobile phone of GSM standard, the system time of standby interface comes from user's oneself setting.In the existing in the market mobile phone, the universal time function in some mobile phone can be selected city on the world map by the direction button, shows the longitude and latitude coordinate in the city that will inquire about and time zone, the current date and time in this city; And some mobile phone can also realize further that local zone time is provided with this function except realizing above-mentioned functions, and promptly the user can be provided with the date and time in the acquiescence city of current demonstration after entering the universal time interface.
At present, the universal time function has satisfied the requirement of the date and time in other cities of user inquiring to a certain extent in the mobile phone.The user can be by the direction button on the operation universal time interface, selects to want the city inquired about on world map, and then obtains the date and time in this city.But this inquiry is very limited, and the time that the user can only inquire about with standby interface is the date and time in other cities of benchmark, can not realize the inquiry of being undertaken by base period and time are set oneself.Such as, one he goes to New York at second day airplane the user of Pekinese, and the time in New York can't realize on existing mobile phone when the hope inquiry was taken off.In addition, prior art can not realize the benchmark city being set and the inquiry of the universal time that carries out by user oneself; For another example, one he will be in transit to San Francisco by Frankfort the user of Pekinese, however when wishing in Beijing that inquiring about Frankfort takes off the time in San Francisco on present mobile phone, also can't realize.
Summary of the invention
The object of the present invention is to provide a kind of method that on mobile communication terminal, realizes the universal time inquiry, this method make the user can be in own selection reference city, oneself set on the basis of date and time in benchmark city, the search purposes city is with respect to the date and time in benchmark city.
Another object of the present invention is to provide a kind of device of realizing the inquiry universal time on mobile communication terminal, this device can be realized aforementioned the inventive method, is used for following on mobile communication terminal according to the user inquiring about universal time.
For achieving the above object, the method that realizes the universal time inquiry on mobile communication terminal that the present invention proposes comprises:
Step is set in a benchmark city, sets the benchmark city as required by the user;
The date and time in a benchmark city is set step, is set the date and time in benchmark city as required by the user;
Step is set in a purpose city, sets the purpose city as required by the user;
A time difference calculation procedure after benchmark city and the setting of purpose city, is calculated the time difference of purpose city with respect to the benchmark city;
A relative time calculation procedure with respect to the time difference in benchmark city, the benchmark city date and time of having set, is calculated the date and time of purpose city with respect to the benchmark city according to the purpose city that has calculated;
A step display is shown to the user to the purpose city that calculates with respect to the date and time in benchmark city.
When setting benchmark city and purpose city, the user can import relevant city title by modes such as keyboard input, handwriting input, phonetic entries and set, also can set by the city title of selecting to be stored in advance in the mobile communication terminal, when the user entered setting of benchmark city or purpose city setting step, mobile communication terminal system in time provided the city title of having stored to select for the user.
The device of realizing the inquiry universal time on mobile communication terminal that the present invention proposes comprises input module, memory module, computing module and display module.Input module is used for the needed information of user input query, comprises information such as benchmark city and date and time thereof, purpose city; Memory module is used for storing relevant resource information, comprises each city title of the world, the coordinate of each city on world map, the information such as time zone at each place, city; Computing module is used for finishing relative time and calculates, and behind the date and time in given benchmark city, purpose city and benchmark city, calculates the date and time of purpose city with respect to the benchmark city, and result of calculation is offered display module; Display module is used for the purpose city that will calculate and shows on the communication terminal displays screen with respect to the date and time result in benchmark city.
Compare the universal time query function that existing mobile communication terminal has, the present invention is implemented in the longitude and latitude coordinate in the city that demonstration will be inquired about on the world map and the current date and time in this city except satisfying the user by button, and the user can be provided with outside the initial city that shows, interface, also increased the user newly under the situation of the date and time of having selected benchmark city and purpose city and input reference city, the function of the date and time in any purpose city that sets in the inquiry memory module.User's inquiry needs to rely on the time of standby interface no longer as before, no matter is the date and time in benchmark city, purpose city or benchmark city, as long as by user oneself setting, the just Query Result that can obtain wanting.
Description of drawings
Fig. 1 is the method flow diagram that the present invention realizes the universal time inquiry.
Fig. 2 is that the present invention provides the reference interface that the benchmark city is selected, the purpose city is selected and benchmark city date and time is provided with for the user.
Fig. 3 is the Query Result demonstration reference interface of the object of the invention city with respect to the date and time in given benchmark city.
Fig. 4 is the apparatus module figure that the present invention realizes the universal time inquiry.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail.
As shown in Figure 1, the present invention realizes the method for universal time inquiry on mobile communication terminal, comprising:
The first step, the user is provided with benchmark city and date and time thereof, comprises that specifically the date and time in a benchmark city setting step and a benchmark city is set step, is set the date and time in benchmark city, benchmark city as required respectively by the user;
In second step, the user is provided with the purpose city, sets the purpose city of date to be checked and time as required;
In the 3rd step,, calculate the time difference of purpose city with respect to the benchmark city according to benchmark city of having set and purpose city;
The 4th step calculated the date and time of purpose city with respect to the benchmark city, with respect to the time difference in benchmark city, the benchmark city date and time of having set, calculated the date and time of purpose city with respect to the benchmark city according to the purpose city that has calculated;
The 5th step showed the date and time of purpose city with respect to the benchmark city, promptly result of calculation was shown to the user, realized the purpose of user inquiring universal time.
In the above-described embodiments, be that benchmark city and date and time setting thereof are arranged in the purpose city before being provided with, the precedence relationship but these two steps itself are not inevitable that is to say can the purpose city be set to be arranged in before benchmark city and the date and time setting thereof.Moreover, the benchmark city is set and the date and time setting in benchmark city does not have inevitable precedence relationship yet, has relative independentability.
The inventive method is when setting benchmark city and purpose city, the user can import relevant city title by modes such as keyboard input, handwriting input, phonetic entries and set, also can set by the city title of selecting to be stored in advance in the mobile communication terminal, when the user entered setting of benchmark city or purpose city setting step, mobile communication terminal system in time provided the city title of having stored to select for the user.For example, referring to Fig. 2, the user is after entering the universal time interface, select " relative time inquiry " this option, after entering " relative time inquiry " interface, can be in the city title that system provides selection reference city and purpose city, the benchmark city is chosen as " Beijing " among the figure, the purpose city is chosen as " New York ".
Among Fig. 2, the date in the benchmark city of user's input is " 2007/01/25 ", and promptly the date comprises year, month, day information, and the time in the benchmark city of user's input is " 10:25 ", and promptly the time comprises hour, minute information.The date and time in benchmark city, purpose city, benchmark city is set and is finished, the user is by " inquiry " key, mobile communication terminal system is carried out above-mentioned the 3rd step and the 4th step, then result of calculation is offered the user by " demonstration relative time " interface, referring to Fig. 3, finish the universal time query script.
In above-mentioned the 3rd step, can calculate the time difference of purpose city by the GMT with respect to the benchmark city, at first obtain benchmark city and purpose city respectively with respect to time of GMT by the array in the inquiring communication terminal internal storage, deduct the purpose city with respect to time of GMT with the benchmark city with respect to time of GMT again, promptly obtain the time difference in these two cities.Such as, with Beijing is the benchmark city, with New York is the purpose city, then can obtain Beijing at Dong8Qu from the inquiry of the array the communication terminal internal storage, promptly faster 8 hours than the GMT, New York is at Xi5Qu, and promptly than the GMT slower 5 hours, the former deducts the latter, and to obtain New York be-13 hours the time difference with respect to the Pekinese.Otherwise Beijing is+13 hours with respect to the time difference in New York.
In above-mentioned the 4th step, the date and time according to the benchmark city of user input adds the time difference that the 3rd step calculated, and promptly obtains the time and date in purpose city.Such as, with Beijing is the benchmark city, to be divided into the time in benchmark city in 25 days 10: 25 February of 2007 Beijing time, be the purpose city with New York, the time that can calculate New York 10: 25 on the 25th February of 2007 Beijing time is 21: 25 on the 24th February in 2007.
As from the foregoing, a kind of specific implementation of the inventive method embodies as follows:
The user is after entering the universal time interface, by selecting " relative time inquiry " option to enter " relative time inquiry " interface, on " relative time inquiry " interface, set the date and time in benchmark city, purpose city, benchmark city, select " inquiry " option to start time difference calculation procedure and relative time calculation procedure then, relative time result of calculation offers the user by " demonstration relative time " interface, finishes the universal time inquiry.
As shown in Figure 4, realizing that the device of universal time querying method of the present invention comprises four modules, is respectively input module, memory module, computing module and display module.Input module is used for the needed information of user input query, comprises information such as benchmark city and date and time thereof, purpose city; Memory module is used for storing relevant resource information, comprises each city title of the world, the coordinate of each city on world map, the information such as time zone at each place, city; Computing module is used for finishing relative time and calculates, and behind the date and time in given benchmark city, purpose city and benchmark city, calculates the date and time of purpose city with respect to the benchmark city, and result of calculation is offered display module; Display module is used for the purpose city that will calculate and shows on the communication terminal displays screen with respect to the date and time result in benchmark city.
Described computing module is finished relative time as follows and is calculated: at first obtain benchmark city and purpose city respectively with respect to time of GMT by the array in the inquiring communication terminal internal storage, subtract the purpose city with respect to time of GMT with the benchmark city with respect to time of GMT then, obtain the time difference of purpose city with respect to the benchmark city; The date and time in the benchmark city of setting according to the user adds the time difference that calculates again, obtains the time and date of purpose city with respect to the benchmark city.
The inventive method and device can realize that the user under the situation of the date and time of having selected benchmark city and purpose city and input reference city, inquires about the function of the date and time in any purpose city.User's inquiry needs to rely on the time of standby interface no longer as before, no matter is the date and time in benchmark city, purpose city or benchmark city, as long as by user oneself setting, the just Query Result that can obtain wanting.

Claims (9)

1, a kind of method that realizes the universal time inquiry on mobile communication terminal is characterized in that comprising:
Step is set in a benchmark city, sets the benchmark city as required by the user;
The date and time in a benchmark city is set step, is set the date and time in benchmark city as required by the user;
Step is set in a purpose city, sets the purpose city as required by the user;
A time difference calculation procedure after benchmark city and the setting of purpose city, is calculated the time difference of purpose city with respect to the benchmark city;
A relative time calculation procedure with respect to the time difference in benchmark city, the benchmark city date and time of having set, is calculated the date and time of purpose city with respect to the benchmark city according to the purpose city that has calculated;
A step display is shown to the user to the purpose city that calculates with respect to the date and time in benchmark city.
2, method according to claim 1 is characterized in that, the setting in benchmark city and purpose city is imported relevant city title by keyboard input, handwriting input or phonetic entry mode and realized.
3, method according to claim 1, it is characterized in that, the setting in benchmark city and purpose city, realize by the city title of selecting to be stored in advance in the mobile communication terminal, when the user entered setting of benchmark city or purpose city setting step, mobile communication terminal system in time provided the city title of having stored to select for the user.
According to claim 1 or 2 or 3 described methods, it is characterized in that 4, the date in the benchmark city of setting comprises year, month, day information, the time in the benchmark city of setting comprises hour, minute information;
In described time difference calculation procedure, calculate the time difference of purpose city by the GMT with respect to the benchmark city, at first obtain benchmark city and purpose city respectively with respect to time of GMT by the array in the inquiring communication terminal internal storage, deduct the purpose city with respect to time of GMT with the benchmark city with respect to time of GMT again, obtain the time difference in these two cities.
5, according to claim 1 or 2 or 3 described methods, it is characterized in that, in described relative time calculation procedure, the date and time in the benchmark city of setting according to the user, add the time difference that time difference calculation procedure calculates, obtain the time and date of purpose city with respect to the benchmark city.
6, method according to claim 4, it is characterized in that, in described relative time calculation procedure, the date and time in the benchmark city of setting according to the user, add the time difference that time difference calculation procedure calculates, obtain the time and date of purpose city with respect to the benchmark city.
7, method according to claim 6, it is characterized in that, the user is after entering the universal time interface, by selecting " relative time inquiry " option to enter " relative time inquiry " interface, on " relative time inquiry " interface, set the date and time in benchmark city, purpose city, benchmark city, select " inquiry " option to start time difference calculation procedure and relative time calculation procedure then, relative time result of calculation offers the user by " demonstration relative time " interface, finishes the universal time inquiry.
8, a kind of device of realizing the universal time inquiry on mobile communication terminal is characterized in that comprising input module, memory module, computing module and display module;
Input module is used for the needed information of user input query, comprises benchmark city and date and time thereof, purpose urban information; Memory module is used for storing relevant resource information, comprises each city title of the world, the coordinate of each city on world map, the time-zone information at each place, city; Computing module is used for finishing relative time and calculates, and behind the date and time in given benchmark city, purpose city and benchmark city, calculates the date and time of purpose city with respect to the benchmark city, and result of calculation is offered display module; Display module is used for the purpose city that will calculate and shows on the communication terminal displays screen with respect to the date and time result in benchmark city.
9, device according to claim 8 is characterized in that computing module finishes relative time as follows and calculate:
At first obtain benchmark city and purpose city respectively with respect to time of GMT by the array in the inquiring communication terminal internal storage, deduct the purpose city with respect to time of GMT with the benchmark city with respect to time of GMT then, obtain the time difference of purpose city with respect to the benchmark city; The date and time in the benchmark city of setting according to the user adds the time difference that calculates again, obtains the time and date of purpose city with respect to the benchmark city.
CNA2007101108206A 2007-06-11 2007-06-11 A method and device for querying the world times on the mobile communication terminal Pending CN101060680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101108206A CN101060680A (en) 2007-06-11 2007-06-11 A method and device for querying the world times on the mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101108206A CN101060680A (en) 2007-06-11 2007-06-11 A method and device for querying the world times on the mobile communication terminal

Publications (1)

Publication Number Publication Date
CN101060680A true CN101060680A (en) 2007-10-24

Family

ID=38866518

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101108206A Pending CN101060680A (en) 2007-06-11 2007-06-11 A method and device for querying the world times on the mobile communication terminal

Country Status (1)

Country Link
CN (1) CN101060680A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455657A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Method for setting world time zone alarm clock and apparatus thereof
CN103455565A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client side and system for obtaining time information through input method
CN110012171A (en) * 2019-04-10 2019-07-12 惠州Tcl移动通信有限公司 Time display method, device, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455657A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Method for setting world time zone alarm clock and apparatus thereof
CN103455565A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client side and system for obtaining time information through input method
CN103455565B (en) * 2013-08-18 2018-09-11 苏州量跃信息科技有限公司 Method, client and the system of temporal information are obtained by input method
CN110012171A (en) * 2019-04-10 2019-07-12 惠州Tcl移动通信有限公司 Time display method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN102176206B (en) Periphery searching method and device of points of interest
US20190007792A1 (en) Methods and apparatus for providing map locations in user applications using url strings
US8032155B2 (en) Method of applying a spherical correction to map data for rendering direction-of-travel paths on a wireless communications device
US20110197200A1 (en) Decoding location information in content for use by a native mapping application
DE112013002803B4 (en) Method, system and device for providing a three-dimensional transition animation for a change in a map view
US20100087230A1 (en) Mobile communication device user interface
US20130009994A1 (en) Methods and apparatus to generate virtual-world environments
US20080134088A1 (en) Device for saving results of location based searches
EP1840521A2 (en) Methods and apparatus for associating mapping functionality and information in contact lists of mobile communication devices
US20100179750A1 (en) Navigating at a wireless device
TW201024671A (en) Navigation method and system of geo-locations by identifying web pages
CN101514898B (en) Mobile terminal, method for showing points of interest and system thereof
EP2615562A1 (en) Method for generating map phone book, as well as electronic map and mobile terminal
CN1723727A (en) Device and method for generating an alert signal
CN106534478B (en) Map information display system based on asynchronous loading
CN103186677A (en) Information display method and information display device
CN103247226A (en) Method and device for determining electronic map
CN104615673A (en) Client-side interface display method and device
CN107807759B (en) Address display method, device, equipment and user interface system
CN101060680A (en) A method and device for querying the world times on the mobile communication terminal
CN106453822B (en) Map information display method based on asynchronous loading
CN101063612A (en) Navigation system and method thereof
US9830359B2 (en) Marking and searching mobile content by location
CN101004444A (en) Method of GPS associated positioning by using information stored in address book on device
CN103067561A (en) Display method, device and electronic terminal

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