CN106464760B - Clock adding method and device - Google Patents

Clock adding method and device Download PDF

Info

Publication number
CN106464760B
CN106464760B CN201680000915.XA CN201680000915A CN106464760B CN 106464760 B CN106464760 B CN 106464760B CN 201680000915 A CN201680000915 A CN 201680000915A CN 106464760 B CN106464760 B CN 106464760B
Authority
CN
China
Prior art keywords
time zone
clock
country
zone clock
module
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
CN201680000915.XA
Other languages
Chinese (zh)
Other versions
CN106464760A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Publication of CN106464760A publication Critical patent/CN106464760A/en
Application granted granted Critical
Publication of CN106464760B publication Critical patent/CN106464760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the disclosure provides a clock adding method and device, and belongs to the field of mobile terminals. The clock adding method comprises the following steps: receiving a country category; displaying a plurality of time zone clocks corresponding to the country category; receiving a selection signal of a target time zone clock in a plurality of time zone clocks; adding the target time zone clock to a user clock group. The embodiment solves the problems that the related technology can only add the time zone clock through the city, but the time zone clock added through the city by the user out of country is not accurate; the effect that the user can add the time zone clock according to the country type and can accurately add the proper time zone clock to the user clock group according to the self requirement is achieved.

Description

Clock adding method and device
Technical Field
The embodiment of the disclosure relates to the field of mobile terminals, in particular to a clock adding method and device.
Background
A clock App (Application program) is an App that is used daily on a mobile terminal frequently. Since users may use mobile terminals in different cities, current clock apps all support multi-time zone display functions.
In the related art, a clock adding method is provided, when a user needs to add a time zone clock, a plurality of candidate time zone clocks are displayed in a clock App according to cities, for example: abixin GMT (Greenwich mean time ) +0: 00; adelaide GMT +9: 30; arabic Keckyl GMT-6: 00; alzel GMT +1:00, and so on. The user can select a time zone clock corresponding to a city as a target time zone clock to be added to the user clock group.
Disclosure of Invention
In order to solve the problem that the related art can only add a time zone clock through a city, but a user abroad does not have to be accurate in adding the time zone clock through the city, the embodiment of the disclosure provides a clock adding method and device. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a clock adding method, including:
receiving a country category;
displaying a plurality of time zone clocks corresponding to the country types, wherein each time zone clock corresponds to one time zone;
receiving a selection signal of a target time zone clock in a plurality of time zone clocks;
the target time zone clock is added to the user clock group.
In an alternative embodiment, displaying several time zone clocks corresponding to a country category includes:
displaying the standard time zone clock corresponding to the country category according to a first priority;
displaying the non-standard time zone clock corresponding to the country type according to a second priority;
wherein the first priority is higher than the second priority.
In an alternative embodiment, displaying several time zone clocks corresponding to a country category includes:
acquiring the searched times corresponding to each time zone clock corresponding to the country type;
sequencing clocks of each time zone according to the searched times to obtain a sequencing result;
and displaying the clocks of the time zones according to the sequencing result.
In an alternative embodiment, displaying several time zone clocks corresponding to a country category includes:
determining a time zone clock corresponding to the current geographic location from a plurality of time zone clocks corresponding to the country category;
displaying a time zone clock corresponding to the current geographic position according to a first priority;
displaying the time zone clock which does not correspond to the current geographical position according to a second priority;
wherein the first priority is higher than the second priority.
In an optional embodiment, the method further comprises:
determining an adding mode of a time zone clock, wherein the adding mode comprises a country adding mode or a geographical position adding mode;
performing a step of receiving a country category when the addition mode is a country addition mode;
when the adding mode is a geographic position adding mode, determining a first geographic position, wherein the first geographic position is a geographic position obtained by positioning at a first moment;
determining a target time zone clock based on the first geographic location;
the target time zone clock is added to the user clock group.
In an alternative embodiment, determining the target time zone clock based on the first geographical location comprises:
and inquiring a time zone clock corresponding to the first geographical position, and determining the inquired time zone clock as a target time zone clock.
In an optional embodiment, the method further comprises:
determining a second geographical position, wherein the second geographical position is a geographical position obtained by positioning at a second moment, and the second moment is later than the first moment;
detecting whether the second geographical position and the first geographical position belong to the same city or the same country;
and when the second geographical position and the first geographical position do not belong to the same city or the same country, deleting the target time zone clock from the user clock group.
In an alternative embodiment, determining the target time zone clock based on the first geographical location comprises:
acquiring travel information corresponding to the current time period, wherein the travel information comprises a destination;
detecting whether a distance between the first geographic location and the destination is less than a first threshold;
and if the distance between the first geographic position and the destination is smaller than a first threshold value, inquiring a time zone clock corresponding to the destination, and determining the inquired time zone clock as a target time zone clock.
In an optional embodiment, the method further comprises:
determining a second geographical position, wherein the second geographical position is a geographical position obtained by positioning at a second moment, and the second moment is later than the first moment;
detecting whether the second geographic position and the destination belong to the same city or the same country;
and when the second geographic position and the destination do not belong to the same city or the same country, deleting the target time zone clock from the user clock group.
According to a second aspect of the embodiments of the present disclosure, there is provided a clock adding apparatus including:
a receiving module configured to receive a country category;
a display module configured to display a plurality of time zone clocks corresponding to the country category, each time zone clock corresponding to a time zone;
a receiving module further configured to receive a selection signal of a target time zone clock among the several time zone clocks;
an adding module configured to add the target time zone clock to the user clock group.
In an alternative embodiment, a display module includes: a first display sub-module;
the first display submodule is configured to display the standard time zone clock corresponding to the country category according to a first priority; displaying the non-standard time zone clock corresponding to the country type according to a second priority;
wherein the first priority is higher than the second priority.
In an alternative embodiment, a display module includes: a second display sub-module;
a second display sub-module configured to acquire the number of times searched corresponding to each time zone clock corresponding to the country category; sequencing clocks of each time zone according to the searched times to obtain a sequencing result; and displaying the clocks of the time zones according to the sequencing result.
In an alternative embodiment, a display module includes: a third display sub-module;
a third display sub-module configured to determine a time zone clock corresponding to the current geographical location among a plurality of time zone clocks corresponding to the country category; displaying a time zone clock corresponding to the current geographic position according to a first priority; displaying the time zone clock which does not correspond to the current geographical position according to a second priority;
wherein the first priority is higher than the second priority.
In an optional embodiment, the apparatus further comprises: the system comprises a determining module, a positioning module and a query module;
a determination module configured to determine an addition mode of the time zone clock, the addition mode including a country addition mode or a geographic location addition mode;
a receiving module configured to receive a country category when the addition mode is a country addition mode;
a positioning module configured to determine a first geographical position when the adding mode is a geographical position adding mode, the first geographical position being a geographical position obtained by positioning at a first moment;
a query module configured to determine a target time zone clock based on the first geographical location;
an adding module configured to add the target time zone clock to the user clock group.
In an alternative embodiment, the query module is configured to query a time zone clock corresponding to the first geographical location, and determine the queried time zone clock as the target time zone clock.
In an optional embodiment, the apparatus further comprises: a detection module and a deletion module;
a positioning module configured to determine a second geographic location, the second geographic location being a geographic location located at a second time, the second time being later than the first time;
a detection module configured to detect whether the second geographical location and the first geographical location belong to the same city or the same country;
a deleting module configured to delete the target time zone clock from the user clock group when the second geographical location does not belong to the same city or the same country as the first geographical location.
In an optional embodiment, the query module further includes: the device comprises an acquisition unit, a detection unit and a query unit;
an acquisition unit configured to acquire travel information corresponding to a current time period, the travel information including a destination;
a detection unit configured to detect whether a distance between the first geographical location and the destination is less than a first threshold;
and the query unit is configured to query a time zone clock corresponding to the destination and determine the queried time zone clock as a target time zone clock if the distance between the first geographic position and the destination is smaller than a first threshold.
In an optional embodiment, the apparatus further comprises: a detection module and a deletion module;
a positioning module configured to determine a second geographic location, the second geographic location being a geographic location located at a second time, the second time being later than the first time;
a detection module configured to detect whether the second geographic location and the destination belong to the same city or the same country;
a deleting module configured to delete the target time zone clock from the user clock group when the second geographic location does not belong to the same city or the same country as the destination.
According to a third aspect of the embodiments of the present disclosure, there is provided a clock adding apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a country category;
displaying a plurality of time zone clocks corresponding to the country types, wherein each time zone clock corresponds to one time zone;
receiving a selection signal of a target time zone clock in a plurality of time zone clocks;
the target time zone clock is added to the user clock group.
The technical scheme provided by the embodiment of the disclosure has the beneficial effects that:
displaying time zone clocks according to the country types, and adding target time zone clocks to a user clock group according to selection signals of a user for the target time zone clocks of a plurality of time zone clocks; the problem that the time zone clock can only be added through the city in the related technology, but the time zone clock added through the city by a user out of country is not accurate is solved; the effect that the user can add the time zone clock according to the country type and can accurately add the proper time zone clock to the user clock group according to the self requirement is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 shows a flowchart of a clock adding method provided by an exemplary embodiment of the present disclosure;
FIG. 2 shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
FIG. 3A is a schematic interface diagram illustrating a clock adding method according to another exemplary embodiment of the disclosure;
FIG. 3B is a schematic interface diagram illustrating a clock adding method according to another exemplary embodiment of the disclosure;
FIG. 4 shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
FIG. 5 is a schematic interface diagram illustrating a clock adding method according to another exemplary embodiment of the present disclosure;
FIG. 6 shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
FIG. 7 is a schematic interface diagram illustrating a clock adding method according to another exemplary embodiment of the present disclosure;
FIG. 8 shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
fig. 9 shows a flowchart of a clock adding method provided by another exemplary embodiment of the present disclosure;
FIG. 10A shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
FIG. 10B illustrates a first geographic location versus destination distance diagram provided by another exemplary embodiment of the present disclosure;
FIG. 10C illustrates a flow chart of a clock addition method provided by another exemplary embodiment of the present disclosure;
FIG. 11 shows a flow chart of a clock addition method provided by another example embodiment of the present disclosure;
FIG. 12 is a schematic interface diagram illustrating a clock adding method according to another exemplary embodiment of the present disclosure;
fig. 13 shows a block diagram of a clock adding apparatus provided in an exemplary embodiment of the present disclosure;
fig. 14 shows a block diagram of a mobile terminal provided by an exemplary embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The mobile terminal provided in the embodiment of the present disclosure may be a mobile phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, a laptop computer, and the like, and has a portable mobile capability.
The Time Zone clock is a clock divided by a Time Zone (Time Zone). The meaning of a time zone is that an area on earth is defined using the same time. In 1884 when an international longitude conference was held in washington, the world was defined to be divided into 24 time zones. (12 time zones east and west, respectively). The United kingdom (Greenwich-astronomical old address) is defined as a middle time zone (zero time zone), an east 1-12 zone and a west 1-12 zone. Each time zone spans 15 degrees longitude and the time is exactly 1 hour. The last 12 th east and west regions are each 7.5 degrees across longitude, bounded by 180 degrees of the east and west longitude. The time on the central meridian of each time zone is the time uniformly adopted in the time zone, and is called zone time, and the time difference between two adjacent time zones is 1 hour. For example, the time of east 8 of China is always 1 hour earlier than that of east 7 of Thailand and 1 hour later than that of east 9 of Japan. Therefore, the person who travels abroad must adjust his watch at any time to be consistent with the local time. When walking in the west, the watch is required to be slowed down for 1 hour (for example, 2 points are dialed to 1 point) every time one time zone passes; whenever you go east, you need to dial the watch faster by 1 hour (say 1 to 2). And define the uk (greenwich astronomical old address) as the principal meridian, i.e. the zero hour (24 hour) meridian.
In current mobile terminals, a clock App is usually provided. The clock App is provided with an international clock function, namely, a user can select a group of time zone clocks as a user clock group.
Fig. 1 shows a flowchart of a clock adding method according to an exemplary embodiment of the present disclosure. The present embodiment is exemplified by applying the clock adding method to a mobile terminal. The method comprises the following steps:
in step 102, a country category is received;
optionally, the country categories include: united states, uk, japan, france, germany, finland, israel, sweden, italy, canada, etc.
In step 104, displaying a plurality of time zone clocks corresponding to the country category;
each country category corresponds to at least one time zone clock.
For example, china corresponds to five time zones: the east five regions (the east meridian is 75 degrees), the east six regions (the east meridian is 90 degrees), the east seven regions (the east meridian is 105 degrees), the east eight regions (the east meridian is 120 degrees), and the east nine regions (the east meridian is 135 degrees).
Each time zone clock corresponds to one time zone, and each time zone clock corresponds to a plurality of cities.
For example, time zone clock A corresponds to time zone GMT-6:00, time zone clock A also corresponds to city: albertky, edmonton, bolder, etc.
In step 106, receiving a selection signal of a target time zone clock of a plurality of time zone clocks;
alternatively, the user selects a target time zone clock among the plurality of time zone clocks.
In step 108, the target time zone clock is added to the user clock group.
In summary, the clock adding method provided in this embodiment displays the time zone clocks according to the country category, and adds the target time zone clocks to the user clock group according to the selection signal of the user for the target time zone clocks of the time zone clocks; the problem that the time zone clock can only be added through the city in the related technology, but the time zone clock added through the city by a user out of country is not accurate is solved; the effect that the user can add the time zone clock according to the country type and can accurately add the proper time zone clock to the user clock group according to the self requirement is achieved.
Optionally, there are at least three different implementations of the above step 104:
firstly, a mode of preferentially displaying a standard time zone clock;
the standard time zone clock is a time zone clock which is generally determined to be uniformly used in all regions of the country when one country covers a plurality of time zones.
Secondly, a mode of sequencing and displaying according to the searched times;
since each time zone clock is searched by the user, the display can be sorted according to the searched times of each time zone clock.
And thirdly, a mode of preferentially displaying the time zone clock corresponding to the current geographic position.
Each time zone clock corresponds to one or more regions (cities), and the time zone clock corresponding to the current geographical position is preferentially displayed according to the distance between each city and the current geographical position.
The three different implementations are described below with reference to fig. 2 to 7.
Fig. 2 shows a flowchart of a clock adding method according to another exemplary embodiment of the present disclosure. The present embodiment is exemplified by applying the clock adding method to a mobile terminal. The method comprises the following steps:
in step 201, a country category is received;
in step 202, a plurality of time zone clocks corresponding to the country category are inquired;
each country category corresponds to at least one time zone clock. Each time zone clock corresponds to one time zone, and each time zone clock corresponds to at least one city. Alternatively, when one time zone clock corresponds to two or more cities, the time zone clock is displayed a plurality of times according to different city names.
Optionally, the mobile terminal stores a corresponding relationship between "country category + time zone clock" inside. Or, the mobile terminal stores the corresponding relation between the country category and the city and the corresponding relation between the city and the time zone clock. Alternatively, cities may use regions divided by other units instead, such as: administrative districts, provinces, cities, counties, etc.
The mobile terminal inquires a plurality of time zone clocks corresponding to the country types in the corresponding relation stored in the mobile terminal.
Optionally, the server stores a corresponding relationship between "country category + time zone clock". Or, the mobile terminal stores the corresponding relation between the country category and the city and the corresponding relation between the city and the time zone clock.
The mobile terminal sends a query request to the server, wherein the query request carries a country category; the server inquires a plurality of time zone clocks corresponding to the country types in the corresponding relation stored in the server; the server sends a plurality of time zone clocks corresponding to the country types to the mobile terminal; the mobile terminal receives several time zone clocks corresponding to the country category.
Alternatively, when the time zone clocks corresponding to the country category are two or more, there is a case where one time zone clock is a standard time zone clock. The standard time zone clock is a time zone clock which is generally determined to be uniformly used in all regions of the country when one country covers a plurality of time zones.
For example, the corresponding time zone clock in china includes five: GMT +5:00 Kunlun mountain, GMT +6:00 Tibet, GMT +7:00 Xian, GMT +8:00 Beijing, and GMT +9:00 Changbai mountain. Wherein GMT +8:00 Beijing is a standard time zone clock.
In step 203, displaying the standard time zone clock corresponding to the country category according to a first priority; displaying the non-standard time zone clock corresponding to the country type according to a second priority;
optionally, the displaying according to the first priority includes: the sequence is at least one of displayed in the first place, displayed according to a preset font, displayed according to a preset color, displayed according to a preset background, and displayed by adding preset characters or marks or icons.
Optionally, displaying according to a second priority, including but not limited to: at least one of a random display, a display in an initial order, a display in a time zone order, a display in a near-far order from the current geographic location.
Referring to fig. 3A schematically, after the user inputs the country category "china" in the first interface 32, the mobile terminal obtains five time zone clocks. Wherein, GMT +8:00 Beijing is a standard time zone clock, and the other four time zone clocks are non-standard time zone clocks. The mobile terminal displays the sequence of 'GMT +8:00 Beijing' in the first position according to the bold font in the second interface 34, and notes a predetermined character after 'GMT +8:00 Beijing': (Standard). And the other four non-standard time zone clocks are displayed in the second place to the fourth place in sequence.
In step 204, receiving a selection signal of a target time zone clock of a plurality of time zone clocks;
the user selects a target time zone clock from several time zone clocks. Alternatively, when the mobile terminal includes a touch screen, the user generates a selection signal for selecting a target time zone clock on the touch screen by a click touch operation.
In step 205, the target time zone clock is added to the user clock group.
Referring schematically to FIG. 3B, the user clicks "GMT +8:00 Beijing" in the second interface 34, and the mobile terminal adds "GMT +8:00 Beijing" to the user's clock group.
Optionally, the user clock group includes at least one time zone clock, and if the time zone clock added this time already exists in the user clock group, the mobile terminal generates a prompt message for prompting that the time zone clock has already been added.
In summary, the clock adding method provided in this embodiment displays the time zone clocks according to the country category, and adds the target time zone clocks to the user clock group according to the selection signal of the user for the target time zone clocks of the time zone clocks; the problem that the time zone clock can only be added through the city in the related technology, but the time zone clock added through the city by a user out of country is not accurate is solved; the effect that the user can add the time zone clock according to the country type and can accurately add the proper time zone clock to the user clock group according to the self requirement is achieved.
The clock adding method provided by the embodiment further displays the standard time zone clock corresponding to the country category according to the first priority; displaying the non-standard time zone clock corresponding to the country type according to a second priority; the standard time zone clock corresponding to the country type can be highlighted, the possibility that the standard time zone clock is selected by a user is increased, when the country uses the unified standard time zone clock, the user can be assisted to add the correct time zone clock, the situation that the time zone clock added by the user according to a city is different from the standard time zone clock of the country type is avoided, the time zone clock addition error is avoided, and therefore the accuracy of the time zone clock added by the user according to the country type is guaranteed.
In a second implementation manner of step 104, step 203 may be alternatively implemented as steps 203a to 203c, as shown in fig. 4:
in step 203a, acquiring the searched times corresponding to each time zone clock corresponding to the country type;
optionally, each time the user searches the time zone clock from the server, the server updates the searched times corresponding to the time zone clock.
Optionally, the mobile terminal sends an acquisition request to the server, where the acquisition request carries an identifier corresponding to each time zone clock; the server inquires the searched times corresponding to each time zone clock according to the acquisition request; and the server sends the inquired searched times to the mobile terminal.
Illustratively, Table one shows the number of times searched corresponding to each time zone clock.
Time zone clock Number of times of being searched
GMT +5:00 Kunlun mountain 44
GMT +6:00 Tibet 52456
GMT +7:00 Xian' an 427522
GMT +8:00 Beijing 212232214
GMT+9:00 Changbai mountain 12
Watch 1
In step 203b, sorting the clocks of each time zone according to the searched times to obtain a sorting result;
and the mobile terminal sorts the clocks of the time zones according to the sequence of the searched times from large to small to obtain a sorting result.
Taking table one as an example, the sorting result is: GMT +8:00 Beijing > GMT +7:00 Xian > GMT +6:00 Tibet > GMT +5:00 Kunlun mountain > GMT +9:00 Changbai mountain.
In step 203c, the clocks of the respective time zones are displayed according to the sorting result.
And the mobile terminal displays the clocks of the time zones according to the sequence of the sequencing results from high to low.
Referring schematically to fig. 5, after the user enters the country category "china" in the first interface 52, the mobile terminal obtains five time zone clocks. The mobile terminal sorts the GMT +8:00 Beijing in the first order in the second interface 54 to display; sorting the 'GMT +7:00 Xian' into a second order to be displayed; sorting the 'GMT +6:00 Tibet' in the third position for display; sequencing 'GMT +5:00 Kunlun mountain' at the fourth position for display; "GMT +9:00 Changbai mountain" is sorted in the fifth place for display.
Different from the embodiment shown in fig. 2, the clock adding method provided in this embodiment sorts the multiple time zone clocks corresponding to the country category according to the number of times to be searched, and displays the time zone clocks in the order from high to low according to the sorting result; the time zone clock with more searched times can be displayed preferentially, the possibility that the time zone clock with more searched times is selected by a user is increased, the user can be assisted to add the correct time zone clock, and therefore the accuracy of the time zone clock added by the user according to the country type is guaranteed.
In a third implementation of step 104, the above step 203 can be alternatively implemented as step 203d and step 203e, as shown in fig. 6:
in step 203d, determining a time zone clock corresponding to the current geographic location from a plurality of time zone clocks corresponding to the country category;
for users who often go abroad, a time zone clock is added after arriving at a city in another country. At this time, the time zone clock that the user wishes to add is the time zone clock corresponding to the current geographical location or the standard time zone clock of the country.
The mobile terminal obtains the current geographic position through a positioning technology. Location techniques include, but are not limited to: at least one of an iBeacon (iBeacon) technology, a GPS (Global Positioning System) technology, a WIFI (wireless fidelity) Positioning technology, and a base station Positioning technology.
Optionally, the mobile terminal stores a correspondence between a time zone clock and a city (region). And the mobile terminal inquires a time zone clock corresponding to the current geographic position in the corresponding relation.
Optionally, the server stores a correspondence between time zone clocks and cities (regions). The mobile terminal sends the current geographic position to the server, the server inquires a time zone clock corresponding to the current geographic position, and the time zone clock corresponding to the current geographic position is sent to the mobile terminal.
In step 203e, displaying the time zone clock corresponding to the current geographical location according to a first priority; displaying the time zone clock which does not correspond to the current geographical position according to a second priority;
optionally, the display is performed according to a first priority, including but not limited to: the sequence is at least one of displayed in the first place, displayed according to a preset font, displayed according to a preset color, displayed according to a preset background, and displayed by adding preset characters or marks or icons.
Optionally, displaying according to a second priority, including but not limited to: at least one of a random display, a display in an initial order, a display in a time zone order, a display in a near-far order from the current geographic location.
Referring schematically to fig. 7, after the user inputs the country category "china" in the first interface 72, the mobile terminal obtains five time zone clocks. Assuming that the time zone clock corresponding to the current geographic location is "GMT +9:00 changbai mountain", the mobile terminal displays "GMT +9:00 changbai mountain" sorted in the first place in the second interface 74, and a predetermined character "current location" is added after "GMT +9:00 changbai mountain"; the other four time zone clocks are displayed in the second to fifth order.
Different from the embodiment shown in fig. 2, in the clock adding method provided in this embodiment, the time zone clock corresponding to the current geographical location is displayed according to the first priority, and the time zone clock not corresponding to the current geographical location is displayed according to the second priority; the time zone clock corresponding to the current geographical position can be displayed more prominently, the possibility that the time zone clock corresponding to the current geographical position is selected by a user is increased, the user can be assisted in adding the correct time zone clock, and therefore the accuracy of the time zone clock added by the user according to the country category is guaranteed.
It should be noted that the display modes shown in fig. 2 to fig. 7 can be implemented by combining two or three of them, which is easily understood by those skilled in the art based on the above disclosure and is not described herein again.
In addition to adding time zone clocks using country categories, embodiments of the present disclosure also provide a method for adding time zone clocks via real-time geographic locations. As shown in the embodiment of fig. 8 below:
fig. 8 shows a flowchart of a clock adding method according to another embodiment of the present disclosure. The present embodiment is exemplified by applying the clock adding method to a mobile terminal. The method comprises the following steps:
in step 801, a first geographic location is determined, wherein the first geographic location is a geographic location obtained by positioning at a first moment;
for users who often go abroad, a time zone clock is added after arriving at a city in another country. At this time, the time zone clock that the user wishes to add is the time zone clock corresponding to the current geographical location or the standard time zone clock of the country.
The mobile terminal obtains a first geographical position through a positioning technology. Location techniques include, but are not limited to: at least one of an iBeacon (iBeacon) technology, a GPS (Global Positioning System) technology, a WIFI (wireless fidelity) Positioning technology, and a base station Positioning technology.
Alternatively, the first time is a time determined at every predetermined time interval, such as a time determined at every 3 hours.
In step 802, a target time zone clock is determined based on the first geographical location;
and the mobile terminal inquires a time zone clock corresponding to the first geographical position and determines the inquired time zone clock as a target time zone clock.
Optionally, the mobile terminal stores a correspondence between a time zone clock and a city (region). And the mobile terminal inquires a time zone clock corresponding to the first geographic position in the corresponding relation.
Optionally, the server stores a correspondence between time zone clocks and cities (regions). The mobile terminal sends a first geographical position to the server, the server inquires a time zone clock corresponding to the first geographical position, and sends the time zone clock corresponding to the first geographical position to the mobile terminal. Correspondingly, the mobile terminal receives a time zone clock corresponding to the first geographical location.
Optionally, the mobile terminal detects whether the first geographic location is a resident geographic location, and if the first geographic location is not the resident geographic location, queries a time zone clock corresponding to the first geographic location; if the first geographic location is a resident geographic location, the first geographic location is ignored. Or the mobile terminal stores a time zone clock corresponding to the resident geographic position, and detects whether the time zone clock corresponding to the first geographic position is different from the time zone clock corresponding to the resident geographic position; if the two are different, determining the time zone clock corresponding to the first geographical position as a target time zone clock; if the two are the same, the query result is ignored.
In step 803, the target time zone clock is added to the user clock group.
Optionally, the user clock group includes at least one time zone clock, and if the time zone clock added this time already exists in the user clock group, the mobile terminal generates a prompt message for prompting that the time zone clock has already been added.
Optionally, the mobile terminal displays the first request box before adding the target time zone clock to the user clock group. The first request box is used for inquiring whether the user allows to add the target time zone clock; when the adding is allowed, adding the target time zone clock to the user clock group; when the addition is not allowed, the time zone clock is not added.
In summary, the clock adding method provided in this embodiment can add the time zone clock according to the current geographical location of the mobile terminal, simplify the operation of adding the time zone clock by the user, and assist the user in adding the correct time zone clock.
In an alternative embodiment based on fig. 8, the mobile terminal is also able to remove the added time zone clock according to the current geographical location. Referring to fig. 9, step 803 may also optionally include the following steps:
in step 804, a second geographic location is determined, where the second geographic location is a geographic location located at a second time, and the second time is later than the first time;
and the mobile terminal acquires the second geographic position through a positioning technology. Location techniques include, but are not limited to: at least one of an iBeacon (iBeacon) technology, a GPS (Global Positioning System) technology, a WIFI (wireless fidelity) Positioning technology, and a base station Positioning technology.
Optionally, the second time is a time determined at predetermined time intervals, such as every 3 hours, and the second time is later than the first time.
In step 805, detecting whether the second geographical location and the first geographical location belong to the same city or the same country;
when the second geographical location and the first geographical location do not belong to the same city or the same country, go to step 806; when the second geographical location and the first geographical location belong to the same city or the same country, step 807 is entered.
In step 806, when the second geographical location does not belong to the same city or the same country as the first geographical location, deleting the target time zone clock from the user clock group;
optionally, when the second geographical location and the first geographical location do not belong to the same city or the same country, the mobile terminal automatically deletes the target time zone clock from the user clock group.
Alternatively, the mobile terminal displays the second request frame before deleting the target time zone clock from the user clock group. The second request box is used for inquiring whether the user allows to delete the target time zone clock; when the deletion is allowed, deleting the target time zone clock from the user clock group; when the addition and deletion are not allowed, the time zone clock is not deleted.
In step 807, the target time zone clock is reserved in the user clock group when the second geographical location belongs to the same city or country as the first geographical location.
In summary, in the clock adding method provided in this embodiment, when the second geographical location and the first geographical location do not belong to the same city or the same country, the target time zone clock is automatically deleted from the user clock group; according to the geographical position change of the user, the time zone clock which is not used any more can be deleted in a self-adaptive manner, and the storage resource and the calculation resource of the mobile terminal are saved.
The embodiment of the disclosure also provides a method for adding the time zone clock through the travel information. As shown in the fig. 10A embodiment below.
Fig. 10A shows a flowchart of a clock adding method according to another embodiment of the present disclosure. The present embodiment is exemplified by applying the clock adding method to a mobile terminal. The method comprises the following steps:
in step 1001, determining a first geographic location, where the first geographic location is a geographic location obtained by positioning at a first time;
for users who often go abroad, a time zone clock is added after arriving at a city in another country. At this time, the time zone clock that the user wishes to add is the time zone clock corresponding to the current geographical location or the standard time zone clock of the country.
The mobile terminal obtains a first geographical position through a positioning technology. Location techniques include, but are not limited to: at least one of an iBeacon (iBeacon) technology, a GPS (Global Positioning System) technology, a WIFI (wireless fidelity) Positioning technology, and a base station Positioning technology.
Alternatively, the first time is a time determined at every predetermined time interval, such as a time determined at every 5 hours.
In step 1002, obtaining travel information corresponding to a current time period, the travel information including a destination;
optionally, the mobile terminal obtains the travel information in other applications. Other applications include, but are not limited to, mapping applications, travel applications, calendar applications, notes applications, and the like. The trip information includes, but is not limited to: origin, destination, intermediate site, vehicle travel time information or location information, etc.
Optionally, the mobile terminal obtains the geographic location of the destination from a mapping application. The geographic location includes, but is not limited to, latitude and longitude information.
In step 1003, detecting whether the distance between the first geographic location and the destination is less than a first threshold;
optionally, the mobile terminal detects whether the distance between the first geographic location and the destination is smaller than a first threshold according to the longitude and latitude information of the first geographic location and the longitude and latitude information of the destination.
In step 1004, if the distance between the first geographic location and the destination is less than the first threshold, querying a time zone clock corresponding to the destination, and determining the queried time zone clock as the target time zone clock.
Optionally, the mobile terminal stores a correspondence between a time zone clock and a city (region). And the mobile terminal inquires the time zone clock corresponding to the destination in the corresponding relation. Optionally, the server queries a corresponding time zone clock according to the latitude and longitude information of the destination.
Optionally, the server stores a correspondence between time zone clocks and cities (regions). The mobile terminal transmits the location information of the destination to the server, the server inquires a time zone clock corresponding to the location information of the destination, and transmits the time zone clock corresponding to the destination to the mobile terminal. Correspondingly, the mobile terminal receives a time zone clock corresponding to the destination.
If the distance between the first geographical location and the destination is not less than the first threshold value, the current time zone clock remains unchanged.
As schematically shown in fig. 10B, assuming a start a, a destination C and a first threshold S0, when the distance of the distance S1 between the first geographical position B1 and the destination C is not less than the first threshold S0, the mobile terminal keeps the current time zone clock unchanged. When the distance S2 between the first geographical location B2 and the destination C is less than the first threshold S0, the mobile terminal inquires a time zone clock corresponding to the destination C and determines the inquired time zone clock as a target time zone clock.
In step 1005, the target time zone clock is added to the user clock group.
Optionally, the user clock group includes at least one time zone clock, and if the time zone clock added this time already exists in the user clock group, the mobile terminal generates a prompt message for prompting that the time zone clock has already been added.
Optionally, the mobile terminal displays a third request box before adding the target time zone clock to the user clock group. The third request box is used for inquiring whether the user allows adding the target time zone clock; when the adding is allowed, adding the target time zone clock to the user clock group; when the addition is not allowed, the time zone clock is not added.
In summary, the clock adding method provided in this embodiment can add the time zone clock according to the travel information, and can add the time zone clock when the user reaches the vicinity of the destination, so that the user can perform operation in advance, and can simplify the operation of the user when adding the time zone clock, and assist the user in adding the correct time zone clock.
It should be noted that step 1002, step 1003, and step 1004 in the embodiment shown in fig. 10A may be used as an alternative to step 802 in the embodiment shown in fig. 8.
In an alternative embodiment based on fig. 10C, the mobile terminal is also able to remove the added time zone clock according to the travel information. Referring to fig. 10C, step 1005 may optionally be followed by the following steps:
in step 1006, a second geographic location is determined, where the second geographic location is a geographic location located at a second time, and the second time is later than the first time;
and the mobile terminal acquires the second geographic position through a positioning technology. Location techniques include, but are not limited to: at least one of an iBeacon (iBeacon) technology, a GPS (Global Positioning System) technology, a WIFI (wireless fidelity) Positioning technology, and a base station Positioning technology.
Optionally, the second time is a time determined at predetermined time intervals, such as every 5 hours, and the second time is later than the first time.
In step 1007, it is detected whether the second geographic location and the destination belong to the same city or the same country;
when the second geographic location and the destination do not belong to the same city or the same country, go to step 1008; when the second geographic location and the destination belong to the same city or the same country, go to step 1009.
In step 1008, the target time zone clock is deleted from the user clock set when the second geographic location does not belong to the same city or country as the destination.
Alternatively, when the second geographical location does not belong to the same city or country as the destination, the mobile terminal automatically deletes the target time zone clock from the user clock group.
Alternatively, the mobile terminal displays a fourth request frame before deleting the target time zone clock from the user clock group. The fourth request box is used for inquiring whether the user allows deleting the target time zone clock; when the deletion is allowed, deleting the target time zone clock from the user clock group; when the addition and deletion are not allowed, the time zone clock is not deleted.
In step 1009, the target time zone clock is reserved in the user clock group when the second geographic location and the destination belong to the same city or the same country.
In summary, in the clock adding method provided in this embodiment, when the second geographic location and the destination do not belong to the same city or the same country, the target time zone clock is automatically deleted from the user clock group; according to the geographical position change of the user, the time zone clock which is not used any more can be deleted in a self-adaptive manner, and the storage resource and the calculation resource of the mobile terminal are saved.
It should be noted that the clock adding method shown in fig. 10A to 10C can be implemented in combination with the embodiments shown in fig. 8 and 9. This is readily apparent to those skilled in the art based on the foregoing disclosure and will not be described herein in any detail.
In an alternative embodiment, adding time zone clocks according to country category and adding time zone clocks according to geographical location can be combined to be implemented as a new embodiment. Fig. 11 shows a flowchart of a clock adding method according to another embodiment of the present disclosure. The method comprises the following steps:
in step 1101, determining an addition mode of a time zone clock, the addition mode comprising a country addition mode or a geographical location addition mode;
optionally, referring in conjunction with fig. 12, the mobile terminal displays an add clock interface 1220. In the upper right hand corner of the add clock interface 1220, an expand button is included. When the user clicks on the expand button, an add mode selection box 1240 appears. The addition mode selection box 1240 includes an option "add by country" and an option "add by location", and when the option "add by country" is selected, the mobile terminal determines that the addition mode is a country addition mode; when the option "add by location" is selected, the mobile terminal determines the addition mode as an add by geographic location mode.
In step 1102, when the add mode is a country add mode, receiving a country category;
in step 1103, a number of time zone clocks corresponding to the country category are queried;
in step 1104, a number of time zone clocks corresponding to the country category are displayed;
in step 1105, receiving a selection signal for a target time zone clock of a plurality of time zone clocks;
in step 1106, add the target time zone clock to the user clock group;
the implementation details of steps 1102 to 1106 can refer to the embodiments shown in fig. 1 to 7.
In step 1107, when the adding mode is the geographical location adding mode, a first geographical location is determined, and the first geographical location is a geographical location obtained by positioning at a first moment;
in step 1108, a target time zone clock is determined based on the first geographic location;
in step 1109, the target time zone clock is added to the user clock group
Implementation details of steps 1107 to 1109 may refer to the embodiments shown in fig. 8 to fig. 10C.
Another point to be noted is that the positioning technology used by the mobile terminal includes, but is not limited to: at least one of an iBeacon technology, a GPS technology, a WIFI positioning technology and a base station positioning technology. Wherein:
the iBeacon technology: some places are selected as reference points in advance, a Bluetooth Low Energy (BLE) device is set at each reference point, the Bluetooth Low Energy device periodically sends out broadcast frames, and a mobile terminal supporting BLE can receive the broadcast frames and perform positioning according to the broadcast frames. Optionally, the broadcast frame includes a UUID field, a Major field, a Minor field, and a Measured Power field. UUID is a 128-bit identifier conforming to the ISO/IEC 11578:19126 standard; the Major field comprises the address information of the reference point, and the Minor comprises the identification of the reference point; the measuredPower field comprises the reference received signal strength when the distance between the low-power-consumption Bluetooth device and the mobile terminal is 1m, and the mobile device can estimate the distance between the low-power-consumption Bluetooth device and the mobile device according to the reference received signal strength and the actual received signal strength, so that the positioning of the geographic position is realized.
GPS technology is a positioning technology based on satellite positioning. Common Satellite positioning systems include the BeiDou Navigation Satellite System (BDS) in china and the GLONASS Satellite Navigation System (GLONASS) in russia in addition to the GPS System in the united states. In the embodiments of the present disclosure, the GPS technology is used as a generic term of a satellite positioning system. The mobile terminal calculates the distance between the mobile terminal and 3 to 4 satellites according to the received signals of 3 to 4 satellites, and then solves the position of the mobile terminal according to a distance formula in the three-dimensional coordinates (X, Y, Z).
The WIFI positioning technology is used for positioning the mobile terminal according to a wireless access point where the mobile terminal currently resides. For example, when the installation location registered by the wireless access point during installation is "XX building XX office", and the mobile terminal currently resides in the wireless access point, the location where the mobile terminal is located is "XX building XX office" according to the identifier of the wireless access point.
The base station Location technology is also called Location Based Service (LBS), and measures downlink pilot signals of different base stations through a mobile terminal to obtain Time of Arrival (TOA) or Time Difference of Arrival (TDOA) of the downlink pilot signals of different base stations, and calculates the geographical Location of the mobile terminal by using a trigonometric formula estimation algorithm according to the measurement result and combining with the coordinates of the base stations.
Fig. 13 shows a block diagram of a clock adding apparatus according to an embodiment of the present disclosure. The clock adding device can be realized by a special hardware circuit or a combination of the hardware and the software to form all or part of the mobile terminal. The device includes:
a receiving module 1320 configured to receive a country category;
a display module 1340 configured to display a number of time zone clocks corresponding to the country category;
the receiving module 1320, further configured to receive a selection signal of a target time zone clock in a plurality of the time zone clocks;
an adding module 1360 configured to add the target time zone clock to the user clock group.
In summary, the clock adding apparatus provided in this embodiment displays the time zone clocks according to the country category, and adds the target time zone clocks to the user clock group according to the selection signal of the user for the target time zone clocks of the time zone clocks; the problem that the time zone clock can only be added through the city in the related technology, but the time zone clock added through the city by a user out of country is not accurate is solved; the effect that the user can add the time zone clock according to the country type and can accurately add the proper time zone clock to the user clock group according to the self requirement is achieved.
In an alternative embodiment provided based on fig. 13, the display module 1340 includes: a first display sub-module;
the first display submodule is configured to display the standard time zone clock corresponding to the country category according to a first priority; displaying the non-standard time zone clock corresponding to the country category according to a second priority;
wherein the first priority is higher than the second priority.
In an alternative embodiment provided based on fig. 13, the display module 1340 includes: a second display sub-module;
the second display submodule is configured to acquire the searched times corresponding to each time zone clock corresponding to the country category; sequencing the time zone clocks according to the searched times to obtain a sequencing result; and displaying each time zone clock according to the sequencing result.
In an alternative embodiment provided based on fig. 13, the display module 1340 includes: a third display sub-module;
the third display sub-module is configured to determine a time zone clock corresponding to the current geographic location from among the time zone clocks corresponding to the country category; displaying a time zone clock corresponding to the current geographic position according to a first priority; displaying the time zone clock which does not correspond to the current geographic position according to a second priority;
wherein the first priority is higher than the second priority.
In an alternative embodiment provided based on fig. 13, the apparatus further comprises: the system comprises a determining module, a positioning module and a query module;
the determination module is configured to determine an addition mode of a time zone clock, wherein the addition mode comprises a country addition mode or a geographic position addition mode;
the receiving module configured to receive the country category when the addition mode is the country addition mode;
the positioning module is configured to determine a first geographic position when the adding mode is the geographic position adding mode, wherein the first geographic position is a geographic position obtained by positioning at a first moment;
the query module configured to determine a target time zone clock from the first geographic location;
the adding module is configured to add the target time zone clock to a user clock group.
In an alternative embodiment provided based on fig. 13, the query module is configured to query a time zone clock corresponding to the first geographical location, and determine the queried time zone clock as a target time zone clock.
In an alternative embodiment provided based on fig. 13, the apparatus further comprises: a detection module and a deletion module;
the positioning module is configured to determine a second geographic location, where the second geographic location is a geographic location obtained by positioning at a second time, and the second time is later than the first time;
the detection module is configured to detect whether the second geographic location and the first geographic location belong to the same city or the same country;
the deleting module is configured to delete the target time zone clock from the user clock group when the second geographical location and the first geographical location do not belong to the same city or the same country.
In an optional embodiment provided based on fig. 13, the query module further includes: the device comprises an acquisition unit, a detection unit and a query unit;
the acquisition unit is configured to acquire travel information corresponding to a current time period, the travel information including a destination;
the detection unit configured to detect whether a distance between the first geographic location and the destination is less than a first threshold;
the inquiring unit is configured to inquire a time zone clock corresponding to the destination if the distance between the first geographic location and the destination is smaller than a first threshold, and determine the inquired time zone clock as a target time zone clock.
In an alternative embodiment provided based on fig. 13, the apparatus further comprises: a detection module and a deletion module;
the positioning module is configured to determine a second geographic location, where the second geographic location is a geographic location obtained by positioning at a second time, and the second time is later than the first time;
the detection module is configured to detect whether the second geographic location and the destination belong to the same city or the same country;
the deleting module is configured to delete the target time zone clock from the user clock group when the second geographic location and the destination do not belong to the same city or the same country.
FIG. 14 is a block diagram of a mobile terminal shown in accordance with an exemplary embodiment. For example, the mobile terminal 1400 may be a mobile phone, a computer, a digital broadcast mobile terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 14, mobile terminal 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and a communication component 1416.
Processing component 1402 generally controls overall operation of mobile terminal 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1418 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1402 can include one or more modules that facilitate interaction between processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
Memory 1404 is configured to store various types of data to support operation at mobile terminal 1400. Examples of such data include instructions for any application or method operating on mobile terminal 1400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1404 may be implemented by any type of volatile or non-volatile storage device or combination of devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 1406 provide power to the various components of the mobile terminal 1400. The power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 1400.
The multimedia component 1408 includes a screen that provides an output interface between the mobile terminal 1400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 1400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the mobile terminal 1400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 further includes a speaker for outputting audio signals.
I/O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1414 includes one or more sensors to provide various aspects of state assessment for the mobile terminal 1400. For example, sensor component 1414 may detect an open/closed state of mobile terminal 1400, a relative positioning of components, such as a display and keypad of mobile terminal 1400, a change in location of mobile terminal 1400 or a component of mobile terminal 1400, a presence or absence of user contact with mobile terminal 1400, an orientation or acceleration/deceleration of mobile terminal 1400, and a change in temperature of mobile terminal 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1414 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 1416 is configured to facilitate communications between mobile terminal 1400 and other devices in a wired or wireless manner. The mobile terminal 1400 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1416 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the clock addition methods provided in the above-described method embodiments.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1404 that includes instructions executable by the processor 1418 of the mobile terminal 1400 to perform the clock addition method described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (14)

1. A clock addition method, the method comprising:
determining an adding mode of a time zone clock, wherein the adding mode comprises a country adding mode or a geographical position adding mode;
receiving a country category when the add mode is the country add mode;
displaying a plurality of time zone clocks corresponding to the country types according to the corresponding relation between the countries and the time zone clocks;
receiving a selection signal of a target time zone clock in a plurality of time zone clocks;
adding the target time zone clock to a user clock group;
when the adding mode is the geographical position adding mode, determining a first geographical position, wherein the first geographical position is a geographical position obtained by positioning at a first moment;
determining a target time zone clock according to the first geographical position;
adding the target time zone clock to a user clock group;
wherein said determining a target time zone clock based on said first geographical location comprises:
acquiring travel information corresponding to a current time period, wherein the travel information comprises a destination;
detecting whether a distance between the first geographic location and the destination is less than a first threshold;
if the distance between the first geographic position and the destination is smaller than a first threshold value, inquiring a time zone clock corresponding to the destination, and determining the inquired time zone clock as a target time zone clock;
determining a second geographic position, wherein the second geographic position is obtained by positioning at a second moment, and the second moment is later than the first moment;
detecting whether the second geographic location and the destination belong to the same city or the same country;
and when the second geographic position and the destination do not belong to the same city or the same country, deleting the target time zone clock from the user clock group.
2. The method according to claim 1, wherein said displaying a number of time zone clocks corresponding to said country category according to a correspondence between countries and time zone clocks comprises:
displaying the standard time zone clock corresponding to the country category according to a first priority;
displaying the non-standard time zone clock corresponding to the country category according to a second priority;
wherein the first priority is higher than the second priority.
3. The method according to claim 1, wherein said displaying a number of time zone clocks corresponding to said country category according to a correspondence between countries and time zone clocks comprises:
acquiring the searched times corresponding to each time zone clock corresponding to the country type;
sequencing the time zone clocks according to the searched times to obtain a sequencing result;
and displaying each time zone clock according to the sequencing result.
4. The method according to claim 1, wherein said displaying a number of time zone clocks corresponding to said country category according to a correspondence between countries and time zone clocks comprises:
determining a time zone clock corresponding to the current geographic location from among a plurality of time zone clocks corresponding to the country category;
displaying a time zone clock corresponding to the current geographic position according to a first priority;
displaying the time zone clock which does not correspond to the current geographic position according to a second priority;
wherein the first priority is higher than the second priority.
5. The method of claim 1, wherein determining a target time zone clock based on the first geographical location comprises:
and inquiring a time zone clock corresponding to the first geographical position, and determining the inquired time zone clock as a target time zone clock.
6. The method of claim 5, further comprising:
determining a second geographic position, wherein the second geographic position is obtained by positioning at a second moment, and the second moment is later than the first moment;
detecting whether the second geographical position and the first geographical position belong to the same city or the same country;
and when the second geographical position and the first geographical position do not belong to the same city or the same country, deleting the target time zone clock from the user clock group.
7. A clock adding apparatus, characterized in that the apparatus comprises:
a receiving module configured to receive a country category;
the display module is configured to display a plurality of time zone clocks corresponding to the country types according to the corresponding relation between the countries and the time zone clocks;
the receiving module is further configured to receive a selection signal of a target time zone clock of a plurality of the time zone clocks;
an adding module configured to add the target time zone clock to a user clock group;
the device further comprises: the system comprises a determining module, a positioning module and a query module;
the determination module is configured to determine an addition mode of a time zone clock, wherein the addition mode comprises a country addition mode or a geographic position addition mode;
the receiving module configured to receive the country category when the addition mode is the country addition mode;
the positioning module is configured to determine a first geographic position when the adding mode is the geographic position adding mode, wherein the first geographic position is a geographic position obtained by positioning at a first moment;
the query module configured to determine a target time zone clock from the first geographic location;
the adding module is configured to add the target time zone clock to a user clock group;
the query module further comprises: the device comprises an acquisition unit, a detection unit and a query unit;
the acquisition unit is configured to acquire travel information corresponding to a current time period, the travel information including a destination;
the detection unit configured to detect whether a distance between the first geographic location and the destination is less than a first threshold;
the inquiring unit is configured to inquire a time zone clock corresponding to the destination if the distance between the first geographic position and the destination is smaller than a first threshold value, and determine the inquired time zone clock as a target time zone clock;
the device further comprises: a detection module and a deletion module;
the positioning module is configured to determine a second geographic location, where the second geographic location is a geographic location obtained by positioning at a second time, and the second time is later than the first time;
the detection module is configured to detect whether the second geographic location and the destination belong to the same city or the same country;
the deleting module is configured to delete the target time zone clock from the user clock group when the second geographic location and the destination do not belong to the same city or the same country.
8. The apparatus of claim 7, wherein the display module comprises: a first display sub-module;
the first display submodule is configured to display the standard time zone clock corresponding to the country category according to a first priority; displaying the non-standard time zone clock corresponding to the country category according to a second priority;
wherein the first priority is higher than the second priority.
9. The apparatus of claim 7, wherein the display module comprises: a second display sub-module;
the second display submodule is configured to acquire the searched times corresponding to each time zone clock corresponding to the country category; sequencing the time zone clocks according to the searched times to obtain a sequencing result; and displaying each time zone clock according to the sequencing result.
10. The apparatus of claim 7, wherein the display module comprises: a third display sub-module;
the third display sub-module is configured to determine a time zone clock corresponding to the current geographic location from among the time zone clocks corresponding to the country category; displaying a time zone clock corresponding to the current geographic position according to a first priority; displaying the time zone clock which does not correspond to the current geographic position according to a second priority;
wherein the first priority is higher than the second priority.
11. The apparatus of claim 7,
the query module is configured to query a time zone clock corresponding to the first geographical location, and determine the queried time zone clock as a target time zone clock.
12. The apparatus of claim 11, further comprising: a detection module and a deletion module;
the positioning module is configured to determine a second geographic location, where the second geographic location is a geographic location obtained by positioning at a second time, and the second time is later than the first time;
the detection module is configured to detect whether the second geographic location and the first geographic location belong to the same city or the same country;
the deleting module is configured to delete the target time zone clock from the user clock group when the second geographical location and the first geographical location do not belong to the same city or the same country.
13. A clock adding apparatus, characterized in that the apparatus comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
determining an adding mode of a time zone clock, wherein the adding mode comprises a country adding mode or a geographical position adding mode;
receiving a country category when the add mode is the country add mode;
displaying a plurality of time zone clocks corresponding to the country types according to the corresponding relation between the countries and the time zone clocks;
receiving a selection signal of a target time zone clock in a plurality of time zone clocks;
adding the target time zone clock to a user clock group;
when the adding mode is the geographical position adding mode, determining a first geographical position, wherein the first geographical position is a geographical position obtained by positioning at a first moment;
determining a target time zone clock according to the first geographical position;
adding the target time zone clock to a user clock group;
wherein said determining a target time zone clock based on said first geographical location comprises:
acquiring travel information corresponding to a current time period, wherein the travel information comprises a destination;
detecting whether a distance between the first geographic location and the destination is less than a first threshold;
if the distance between the first geographic position and the destination is smaller than a first threshold value, inquiring a time zone clock corresponding to the destination, and determining the inquired time zone clock as a target time zone clock;
determining a second geographic position, wherein the second geographic position is obtained by positioning at a second moment, and the second moment is later than the first moment;
detecting whether the second geographic location and the destination belong to the same city or the same country;
and when the second geographic position and the destination do not belong to the same city or the same country, deleting the target time zone clock from the user clock group.
14. A computer-readable storage medium, characterized in that a program is stored in the storage medium, the program being executed by hardware to implement the clock adding method according to any one of claims 1 to 6.
CN201680000915.XA 2016-09-23 2016-09-23 Clock adding method and device Active CN106464760B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/099836 WO2018053789A1 (en) 2016-09-23 2016-09-23 Clock addition method and device

Publications (2)

Publication Number Publication Date
CN106464760A CN106464760A (en) 2017-02-22
CN106464760B true CN106464760B (en) 2020-04-03

Family

ID=58215238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680000915.XA Active CN106464760B (en) 2016-09-23 2016-09-23 Clock adding method and device

Country Status (2)

Country Link
CN (1) CN106464760B (en)
WO (1) WO2018053789A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198495A (en) * 2019-12-27 2020-05-26 重庆金康特智能穿戴技术研究院有限公司 Time display method, device, equipment and medium of wearable equipment
CN111176106A (en) * 2019-12-31 2020-05-19 重庆金康特智能穿戴技术研究院有限公司 Time zone switching display method, intelligent watch, device and storage medium
CN113038227A (en) * 2021-02-04 2021-06-25 东莞市金锐显数码科技有限公司 Clock display method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257693A (en) * 2007-02-06 2008-09-03 Lg电子株式会社 Mobile terminal and world time display method thereof
CN105025438A (en) * 2015-06-10 2015-11-04 惠州Tcl移动通信有限公司 Mobile terminal position notification method and system
CN105407219A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Time updating method and device of mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984342A (en) * 2013-01-06 2013-03-20 深圳桑菲消费通信有限公司 Method of setting for world time clock of mobile terminal
JP2015014515A (en) * 2013-07-05 2015-01-22 キヤノン株式会社 Cycle time zone setting method when site cycle time is acquired from user

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257693A (en) * 2007-02-06 2008-09-03 Lg电子株式会社 Mobile terminal and world time display method thereof
CN105025438A (en) * 2015-06-10 2015-11-04 惠州Tcl移动通信有限公司 Mobile terminal position notification method and system
CN105407219A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Time updating method and device of mobile terminal

Also Published As

Publication number Publication date
WO2018053789A1 (en) 2018-03-29
CN106464760A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US10267641B2 (en) Navigation method and device
KR102092057B1 (en) Method and apparatus for sharing location information of electronic device
CN109274732B (en) Geographic position obtaining method and device, electronic equipment and storage medium
CN105933862B (en) Intelligent terminal positioning method and device and mobile terminal
US10451434B2 (en) Information interaction method and device
US10194273B2 (en) Positioning information processing method and apparatus
US20180342029A1 (en) Method, apparatus terminal device, and computer readable storage medium for invoking a virtual public transport card
CN106464760B (en) Clock adding method and device
EP3173925B1 (en) Interface display method and apparatus, computer program and recording medium
EP3026876A1 (en) Method for acquiring recommending information, terminal and server
CN105530601A (en) Position displaying method and mobile communication device thereof
CN104008129A (en) Position information processing method, device and terminal
US9706347B2 (en) Method and device for determining position
CN105488074B (en) Photo clustering method and device
CN109241206B (en) Route query method and device
CN110715672A (en) Navigation path planning method and device
CN105430170B (en) Message synchronization method and device and electronic equipment
US20110151901A1 (en) Apparatus and method for determining user information in specific area in mobile terminal
US20120131509A1 (en) Portable terminal and method of utilizing background image of portable terminal
CN110399566B (en) Position searching method and device and electronic equipment
CN108595716B (en) Information display method and device and computer readable storage medium
WO2021012194A1 (en) Paging method and apparatus, and travel route reporting method and apparatus
CN107976171B (en) Information processing method, device and equipment
CN105338160B (en) Event reminding method and device
TWI572184B (en) Location display method, portable communication apparatus using the method and computer program product using the 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
GR01 Patent grant
GR01 Patent grant