WO2018053789A1 - 时钟添加方法及装置 - Google Patents

时钟添加方法及装置 Download PDF

Info

Publication number
WO2018053789A1
WO2018053789A1 PCT/CN2016/099836 CN2016099836W WO2018053789A1 WO 2018053789 A1 WO2018053789 A1 WO 2018053789A1 CN 2016099836 W CN2016099836 W CN 2016099836W WO 2018053789 A1 WO2018053789 A1 WO 2018053789A1
Authority
WO
WIPO (PCT)
Prior art keywords
time zone
clock
geographic location
country
module
Prior art date
Application number
PCT/CN2016/099836
Other languages
English (en)
French (fr)
Inventor
邹易兴
闫晓鹏
张旭华
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN201680000915.XA priority Critical patent/CN106464760B/zh
Priority to PCT/CN2016/099836 priority patent/WO2018053789A1/zh
Publication of WO2018053789A1 publication Critical patent/WO2018053789A1/zh

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

Definitions

  • the embodiments of the present disclosure relate to the field of mobile terminals, and in particular, to a clock adding method and apparatus.
  • the Clock App is an application that is used more frequently on a mobile terminal. Since users may use mobile terminals in different cities, current clock apps support multiple time zone display functions.
  • a clock adding method is provided in the related art.
  • multiple candidate time zone clocks are displayed by the city in the clock App, for example: Abidjan GMT (Greenwich MeanTime, Greenwich Mean Time) + 0: 00; Sydney GMT+9:30; Albuquerque GMT-6:00; Algiers GMT+1:00 and so on.
  • the user can select a time zone clock corresponding to a city and add it as a target time zone clock to the user clock group.
  • the embodiment of the present disclosure provides a clock adding method and device.
  • the technical solution is as follows:
  • a clock adding method comprising:
  • a number of time zone clocks corresponding to country categories are displayed, including:
  • the first priority is higher than the second priority.
  • a number of time zone clocks corresponding to country categories are displayed, including:
  • Each time zone clock is displayed according to the sort result.
  • a number of time zone clocks corresponding to country categories are displayed, including:
  • the first priority is higher than the second priority.
  • the method further includes:
  • the adding mode includes a country adding mode or a geographic location adding mode
  • the adding mode is the geographic location adding mode, determining the first geographic location, where the first geographic location is the geographical location obtained at the first moment;
  • determining the target time zone clock based on the first geographic location includes:
  • the time zone clock corresponding to the first geographic location is queried, and the queried time zone clock is determined as the target time zone clock.
  • the method further includes:
  • Determining a second geographic location where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • the target time zone clock is deleted from the user clock group.
  • determining the target time zone clock based on the first geographic location includes:
  • the method further includes:
  • Determining a second geographic location where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • the target time zone clock is deleted from the user clock group.
  • a clock adding apparatus comprising:
  • a receiving module configured to receive a country category
  • a display module configured to display a plurality of time zone clocks corresponding to country categories, each time zone clock corresponding to a time zone;
  • a receiving module further configured to receive a selection signal for a target time zone clock in the plurality of time zone clocks
  • the display module includes: a first display submodule
  • the first display sub-module is configured to display the standard time zone clock corresponding to the country category according to the first priority; and display the non-standard time zone clock corresponding to the country category according to the second priority;
  • the first priority is higher than the second priority.
  • the display module includes: a second display submodule
  • the second display sub-module is configured to acquire the number of times of searching corresponding to each time zone clock corresponding to the country category; sort the clocks of each time zone according to the number of times of searching, to obtain a sorting result; and perform clocks for each time zone according to the sorting result display.
  • the display module includes: a third display submodule
  • a third display sub-module configured to: determine, in a plurality of time zone clocks corresponding to the country category, a time zone clock corresponding to the current geographic location; display the time zone clock corresponding to the current geographic location according to the first priority; The time zone clock that does not correspond to the current geographic location is displayed according to the second priority;
  • the first priority is higher than the second priority.
  • the apparatus further includes: a determining module, a positioning module, and a query module;
  • a determining module configured to determine an adding mode of the time zone clock, the adding mode including a country adding mode or a geographic location adding mode;
  • a receiving module configured to receive a country category when the add mode is a country add mode
  • a positioning module configured to determine a first geographic location when the adding mode is a geographic location adding mode, where the first geographic location is a geographical location obtained at the first moment;
  • a query module configured to determine a target time zone clock according to the first geographic location
  • the query module is configured to query a time zone clock corresponding to the first geographic location, and determine the queried time zone clock as the target time zone clock.
  • the apparatus further includes: a detecting module and a deleting module;
  • a positioning module configured to determine a second geographic location, where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • a detecting module configured to detect whether the second geographic location and the first geographic location belong to the same city or the same country
  • And deleting the 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 first geographic location.
  • the query module further includes: an obtaining unit, a detecting unit, and a query unit;
  • An obtaining unit configured to acquire trip information corresponding to a current time period, where the trip information includes a destination
  • a detecting unit configured to detect whether a distance between the first geographic location and the destination is less than a first threshold
  • the query unit is configured to: if the distance between the first geographic location and the destination is less than the first threshold, query the time zone clock corresponding to the destination, and determine the queried time zone clock as the target time zone clock.
  • the apparatus further includes: a detecting module and a deleting module;
  • a positioning module configured to determine a second geographic location, where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • a detecting module configured to detect whether the second geographic location and the destination belong to the same city or the same country
  • the deletion module is 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.
  • a clock adding apparatus comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the target time zone clock is added to the user clock group according to the user's selection signal of the target time zone clock of several time zone clocks; the related technology can only add the time zone clock through the city, but the user who goes abroad The time zone clock added by the city is not necessarily accurate; the user can add the time zone clock according to the country category, and can accurately add the appropriate time zone clock to the user clock group according to his own needs.
  • FIG. 1 is a flow chart showing a clock adding method provided by an exemplary embodiment of the present disclosure
  • FIG. 2 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure
  • FIG. 3A is a schematic diagram showing an interface of a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 3B is a schematic diagram showing an interface of a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 4 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram showing an interface of a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 6 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram showing an interface of a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 8 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 9 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 10A illustrates a flowchart of a clock adding method provided by another exemplary embodiment of the present disclosure
  • FIG. 10B is a schematic diagram showing the distance between a first geographic location and a destination provided by another exemplary embodiment of the present disclosure.
  • FIG. 10C is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 11 is a flowchart showing a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of an interface of a clock adding method provided by another exemplary embodiment of the present disclosure.
  • FIG. 13 is a block diagram of a clock adding apparatus provided by 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.
  • the mobile terminal provided in the embodiment of the present disclosure may be a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, and an MP4 (Moving Picture Experts Group Audio).
  • Layer IV Motion imaging experts compress standard audio layers 4) players and laptop portable computers, etc., terminals with portable mobility capabilities.
  • the time zone clock is a clock divided by Time Zone.
  • the meaning of the time zone means that the regions on the earth use the same time definition.
  • the United Kingdom (the former site of the Greenwich Observatory) is defined as the Central Time Zone (Zero Time Zone), East 1-12 Zone, and West 1-12 Zone.
  • Each time zone spans 15 degrees of longitude and the time is exactly 1 hour.
  • the last East and West 12th districts each have a longitude of 7.5 degrees and are bounded by 180 degrees east and west.
  • the time on the central meridian of each time zone is the time uniformly used in this time zone.
  • zone When it is called zone, the time difference between two adjacent time zones is 1 hour. For example, the time in the East 8th district of China is one hour earlier than the time in the East 7th district of Thailand, and one hour later than the time in the East 9th district of Japan. Therefore, people who travel abroad must adjust their watches at any time to be consistent with local time. When going west, every time zone is over, you should slow down the watch for 1 hour (for example, 2 o'clock to 1 o'clock); if you go east, every time zone, you have to dial the watch for 1 hour (for example, 1 o'clock) 2:00). It also stipulates that the United Kingdom (the old site of the Greenwich Observatory) is the first meridian, that is, the zero hour (24 o'clock) warp.
  • United Kingdom the old site of the Greenwich Observatory
  • a clock App In current mobile terminals, a clock App is usually provided. An international clock function is provided in the clock app, that is, the user can select a set of time zone clocks as the user clock group.
  • FIG. 1 shows a flow chart of a clock adding method provided by an exemplary embodiment of the present disclosure. This embodiment is exemplified by the clock adding method applied to the mobile terminal. The method includes:
  • step 102 receiving a country category
  • the country categories include: the United States, the United Kingdom, Japan, France, Germany, Finland, Israel, Sweden, Italy, Canada, and the like.
  • step 104 a number of time zone clocks corresponding to country categories are displayed;
  • Each country category corresponds to at least one time zone clock.
  • China corresponds to five time zones: Dongwu District (central meridian 75 degrees east longitude), Dongliu District (central meridian 90 degrees east longitude), Dongqi District (central meridian 105 degrees east longitude), Dongba District (central meridian longitude 120 degrees east longitude) ), East Kowloon District (central meridian 135 degrees east longitude).
  • Each time zone clock corresponds to one time zone, and each time zone clock corresponds to multiple cities.
  • time zone clock A corresponds to the time zone GMT-6:00, and the time zone clock A also corresponds to the city: Albuquerque, Edmonton, Boulder, and the like.
  • step 106 receiving a selection signal for a target time zone clock in a plurality of time zone clocks
  • the user selects a target time zone clock among a plurality of time zone clocks.
  • step 108 the target time zone clock is added to the user clock group.
  • the clock adding method adds the target time zone clock to the user clock group according to the selection signal of the target time zone clock of the user for several time zone clocks by displaying the time zone clock according to the country category;
  • Related technologies can only add a time zone clock through the city, but the time zone clock added by the users abroad is not necessarily accurate; the user can add the time zone clock according to the country category, and can accurately add the appropriate time zone clock according to his own needs. The effect of the user clock group.
  • step 104 there are at least three different implementation manners in the foregoing step 104:
  • the standard time zone clock means that when a country covers multiple time zones, one of the time zone clocks is usually determined to be the time zone clock used uniformly in all regions of the country.
  • each time zone clock Since each time zone clock is searched by the user, it can be sorted according to the number of times of search for each time zone clock.
  • the time zone clock corresponding to the current geographic location is preferentially displayed.
  • Each time zone clock corresponds to one or more regions (cities), and the time zone clock corresponding to the current geographic location is preferentially displayed according to the distance between each city and the current geographic location.
  • FIG. 2 shows a flow chart of a clock adding method provided by another exemplary embodiment of the present disclosure. This embodiment is exemplified by the clock adding method applied to the mobile terminal. The method includes:
  • step 201 receiving a country category
  • step 202 querying a number of time zone clocks corresponding to the country category
  • 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.
  • the time zone clock is displayed multiple times according to different city names.
  • the mobile terminal internally stores a correspondence between “country category + time zone clock”.
  • the mobile terminal internally stores a correspondence relationship between "country category + city” and a correspondence relationship between "city + time zone clock”.
  • the city may also use regional replacements according to other units, such as administrative districts, provinces, cities, counties, and the like.
  • the mobile terminal queries a plurality of time zone clocks corresponding to the country category in the internally stored correspondence.
  • the correspondence between the “country category + time zone clock” is stored in the server.
  • the mobile terminal internally stores a correspondence relationship between "country category + city” and a correspondence relationship between "city + time zone clock”.
  • the mobile terminal sends a query request to the server, where the query request carries a country category; the server queries a plurality of time zone clocks corresponding to the country category in the internally stored correspondence relationship; the server sends the mobile terminal terminal a number of time zone clocks corresponding to the country category. The mobile terminal receives a number of time zone clocks corresponding to the country category.
  • time zone clock corresponding to the country category is two or more
  • the standard time zone clock means that when a country covers multiple time zones, one of the time zone clocks is usually determined to be the time zone clock used uniformly in all regions of the country.
  • China's corresponding time zone clock includes five: GMT+5:00 Kunlun Mountain, GMT+6:00 China, GMT+7:00 Xi'an, GMT+8:00 Beijing, GMT+9:00 Changbai Mountain.
  • GMT+8:00 Beijing is the standard time zone clock.
  • step 203 the standard time zone clock corresponding to the country category is displayed according to the first priority; and the non-standard time zone clock corresponding to the country category is displayed according to the second priority;
  • the displaying is performed according to the first priority, including: sorting is performed in the first position, displaying according to a predetermined font, displaying according to a predetermined color, displaying according to a predetermined background, adding a predetermined text or a logo or an icon to display At least one of them.
  • displaying according to the second priority including but not limited to: random display, displaying in alphabetical order, displaying in time zone order, sorting display according to distance from the current geographic location.
  • the mobile terminal obtains five time zone clocks. Among them, GMT+8:00 Beijing is the standard time zone clock, and the other four time zone clocks are non-standard time zone clocks.
  • the mobile terminal sorts "GMT+8:00 Beijing” in the first place according to the bold font, and adds the predetermined text after the "GMT+8:00 Beijing”: (standard).
  • the other four non-standard time zone clocks are displayed in the second to fourth positions in sequence.
  • step 204 a selection signal is received for a target time zone clock in a plurality of time zone clocks
  • the user selects the target time zone clock from a number of time zone clocks.
  • the mobile terminal includes a touch screen
  • the user when the mobile terminal includes a touch screen, the user generates a selection signal on the touch screen by clicking a touch operation, the selection signal being used to select a target time zone clock.
  • step 205 the target time zone clock is added to the user clock group.
  • the user clock group includes at least one time zone clock. If the time zone clock added this time already exists in the user clock group, the mobile terminal generates prompt information, where the prompt information is used to indicate that the time zone clock has been added.
  • the clock adding method adds the target time zone clock to the user clock group according to the selection signal of the target time zone clock of the user for several time zone clocks by displaying the time zone clock according to the country category;
  • Related technologies can only add a time zone clock through the city, but the time zone clock added by the users abroad is not necessarily accurate; the user can add the time zone clock according to the country category, and can accurately add the appropriate time zone clock according to his own needs. The effect of the user clock group.
  • 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; and the non-standard time zone clock corresponding to the country category according to the second priority.
  • Line display enables the standard time zone clock corresponding to the country category to be highlighted, increasing the possibility that the standard time zone clock is selected by the user.
  • the country uses a unified standard time zone clock, it can assist the user to add the correct time zone clock to avoid
  • the user adds a time zone clock according to the city to the standard time zone clock of the country category, avoiding the time zone clock addition error, thus ensuring the accuracy of the time zone clock added by the user according to the country category.
  • step 203 can be implemented as step 203a to step 203c instead, as shown in FIG. 4:
  • step 203a the number of times of searching corresponding to each time zone clock corresponding to the country category is obtained
  • the server updates the number of times of searching corresponding to the time zone clock.
  • 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 queries the number of times of searching corresponding to each time zone clock according to the acquisition request; the server searches the queried search The number of times is sent to the mobile terminal.
  • Table 1 shows the number of searches corresponding to each time zone clock.
  • each time zone clock is sorted according to the number of times of searching, to obtain a sorting result
  • the mobile terminal sorts each time zone clock according to the order in which the number of searches is from large to small, and obtains the sort result.
  • the ranking result is: GMT+8:00 Beijing>GMT+7:00 Xi'an>GMT+6:00 China>GMT+5:00 Kunlun Mountain>GMT+9:00 Changbai Mountain.
  • step 203c the respective time zone clocks are displayed in accordance with the sorting result.
  • the mobile terminal displays the time zones of each time zone in descending order of the sorting result.
  • the mobile terminal obtains five time zone clocks.
  • the mobile terminal sorts “GMT+8:00 Beijing” in the first place for display; sorts “GMT+7:00 Xi'an” in the second place for display; “GMT+6:00 carbohydrates” "Sorting is displayed in the third place; “GMT+5:00 Kunlun Mountain” is sorted in the fourth place for display; “GMT+9:00 Changbai Mountain” is sorted in the fifth place for display.
  • the clock adding method provided in this embodiment sorts the plurality of time zone clocks corresponding to the country category according to the number of times of searching, according to the order of the sorting results from high to low,
  • the time zone clock is displayed; the time zone clock with more search times can be displayed more preferentially, and the possibility that the time zone clock with more search times is selected by the user is increased, which can assist the user to add the correct time zone clock, thereby ensuring the user The accuracy of the time zone clock added by the user based on the country category.
  • step 203 can be implemented as step 203d and step 203e instead, as shown in FIG.
  • step 203d determining, in a plurality of time zone clocks corresponding to the country category, a time zone clock corresponding to the current geographic location;
  • the time zone clock that the user wants to add is the time zone clock corresponding to the current geographic location or the standard time zone clock of the country.
  • the mobile terminal acquires the current geographic location through the positioning technology.
  • the positioning technology includes, but is not limited to, at least one of iBeacon technology, GPS (Global Positioning System) technology, WIFI (Wireless Fidelity) positioning technology, and base station positioning technology.
  • the mobile terminal stores a correspondence between a time zone clock and a city (region).
  • the mobile terminal queries the time zone clock corresponding to the current geographic location.
  • the server stores the correspondence between the time zone clock and the city (region).
  • the mobile terminal sends the current geographic location to the server, and the server queries the time zone clock corresponding to the current geographic location, and sends a time zone clock corresponding to the current geographic location to the mobile terminal.
  • step 203e the time zone clock corresponding to the current geographic location is displayed according to the first priority; the time zone clock not corresponding to the current geographic location is displayed according to the second priority;
  • displaying according to the first priority including but not limited to: sorting is performed in the first position, displayed in a predetermined font, displayed in a predetermined color, displayed according to a predetermined background, Fill in at least one of a predetermined text or logo or icon for display.
  • displaying according to the second priority including but not limited to: random display, displaying in alphabetical order, displaying in time zone order, sorting display according to distance from the current geographic location.
  • 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 sorts “GMT+9:00 Changbai Mountain” in the first position for display in the second interface 74, and “GMT+9” :00 Changbai Mountain is added with the predetermined text "current location"; the remaining four time zone clocks are displayed in the second to fifth position.
  • the clock adding method provided in this embodiment displays the time zone clock corresponding to the current geographic location according to the first priority, and the time zone clock that does not correspond to the current geographic location is in accordance with the first embodiment.
  • the second priority is displayed; the time zone clock corresponding to the current geographic location can be displayed more prominently, and the possibility that the time zone clock corresponding to the current geographic location is selected by the user is increased, and the user can be added to the correct time zone clock, thereby ensuring The accuracy of the time zone clock added by the user based on the country category.
  • FIG. 2 to FIG. 7 can be implemented in two or two combinations or three combinations, which will be easily understood by those skilled in the art based on the above disclosure, and will not be further described herein.
  • embodiments of the present disclosure also provide a method of adding a time zone clock through a real-time geographic location. As shown in the following figure 8 embodiment:
  • FIG. 8 is a flowchart of a clock adding method provided by another embodiment of the present disclosure. This embodiment is exemplified by the clock adding method applied to the mobile terminal. The method includes:
  • a first geographic location is determined, where the first geographic location is a geographic location that is located at the first time;
  • the time zone clock that the user wants to add is the time zone clock corresponding to the current geographic location or the standard time zone clock of the country.
  • Positioning technology includes but is not limited to: iBeacon technology, GPS (Global Positioning System) technology, WIFI At least one of (Wireless Fidelity) positioning technology and base station positioning technology.
  • the first time is a time determined every predetermined time interval, such as a time determined every three hours.
  • a target time zone clock is determined according to the first geographic location
  • the mobile terminal queries the time zone clock corresponding to the first geographic location, and determines the queried time zone clock as the target time zone clock.
  • the mobile terminal stores a correspondence between a time zone clock and a city (region).
  • the mobile terminal queries the time zone clock corresponding to the first geographic location in the correspondence.
  • the server stores the correspondence between the time zone clock and the city (region).
  • the mobile terminal sends a first geographic location to the server, and the server queries the time zone clock corresponding to the first geographic location, and sends a time zone clock corresponding to the first geographic location to the mobile terminal.
  • the mobile terminal receives a time zone clock corresponding to the first geographic location.
  • the mobile terminal detects whether the first geographic location is a resident geographic location, and if the first geographic location is not a resident geographic location, queries a time zone clock corresponding to the first geographic location; if the first geographic location is a resident geographic location Location, the first location is ignored.
  • the mobile terminal stores a time zone clock corresponding to the resident geographical location, and the mobile terminal detects whether the time zone clock corresponding to the first geographic location is different from the time zone clock corresponding to the resident geographical location; if the two are different, The time zone clock corresponding to the first geographic location is determined as the target time zone clock; if the two are the same, the query result is ignored.
  • step 803 the target time zone clock is added to the user clock group.
  • the user clock group includes at least one time zone clock. If the time zone clock added this time already exists in the user clock group, the mobile terminal generates prompt information, where the prompt information is used to indicate that the time zone clock has been added.
  • 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 to query whether the user is allowed to add the target time zone clock; when the current addition is allowed, the target time zone clock is added to the user clock group; when the current addition is not allowed, the time zone clock is not added.
  • the clock adding method provided in this embodiment can automatically add a time zone clock according to the current geographic location of the mobile terminal, which can simplify the operation when the user adds the time zone clock, and assist the user to add the correct time zone clock.
  • the mobile terminal is also capable of adding according to the current geographic location
  • the time zone clock is removed. Referring to FIG. 9, after step 803, the method further includes the following steps:
  • a second geographic location is determined, where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • the mobile terminal acquires the second geographic location by using a positioning technology.
  • the positioning technology includes, but is not limited to, at least one of iBeacon technology, GPS (Global Positioning System) technology, WIFI (Wireless Fidelity) positioning technology, and base station positioning technology.
  • the second time is a time determined every predetermined time interval, such as a time determined every 3 hours, and the second time is later than the first time.
  • step 805 it is detected whether the second geographic location and the first geographic location belong to the same city or the same country;
  • step 806 when the second geographic location does not belong to the same city or the same country, the process proceeds to step 807.
  • step 806 when the second geographic location and the first geographic location do not belong to the same city or the same country, the target time zone clock is deleted from the user clock group;
  • the mobile terminal automatically deletes the target time zone clock from the user clock group.
  • the mobile terminal displays a second request box before deleting the target time zone clock from the user clock group.
  • the second request box is used to query whether the user is allowed to delete the target time zone clock; when the deletion is allowed, the target time zone clock is deleted from the user clock group; when the current deletion is not allowed, the time zone clock is not deleted.
  • step 807 when the second geographic location belongs to the same city or the same country as the first geographic location, the target time zone clock is reserved in the user clock group.
  • the clock adding method provided in this embodiment automatically deletes 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 first geographic location;
  • the position change adaptively deletes the time zone clock that is no longer used, saving storage resources and computing resources of the mobile terminal.
  • Embodiments of the present disclosure also provide a method of adding a time zone clock through travel information. This is shown in the following Figure 10A embodiment.
  • FIG. 10A is a flowchart of a clock adding method provided by another embodiment of the present disclosure. This embodiment The clock adding method is applied to the mobile terminal for illustration. The method includes:
  • a first geographic location is determined, where the first geographic location is a geographic location that is located at the first time;
  • the time zone clock that the user wants to add is the time zone clock corresponding to the current geographic location or the standard time zone clock of the country.
  • the mobile terminal acquires the first geographic location by using a positioning technology.
  • the positioning technology includes, but is not limited to, at least one of iBeacon technology, GPS (Global Positioning System) technology, WIFI (Wireless Fidelity) positioning technology, and base station positioning technology.
  • the first moment is a moment determined every predetermined time interval, such as a time determined every 5 hours.
  • step 1002 the travel information corresponding to the current time period is acquired, and the travel information includes a destination;
  • the mobile terminal acquires trip information in other applications.
  • Other applications include, but are not limited to, map apps, travel apps, calendar apps, and note pad apps.
  • the itinerary information includes but is not limited to: origin, destination, intermediate station, vehicle running time information or location information, and the like.
  • the mobile terminal obtains the geographic location of the destination from the map application.
  • Geographic locations include, but are not limited to, latitude and longitude information.
  • step 1003 it is detected whether the distance between the first geographic location and the destination is less than a first threshold
  • the mobile terminal detects, according to the latitude and longitude information of the first geographic location and the latitude and longitude information of the destination, whether the distance between the first geographic location and the destination is less than a first threshold.
  • step 1004 if the distance between the first geographic location and the destination is less than the first threshold, the time zone clock corresponding to the destination is queried, and the queried time zone clock is determined as the target time zone clock.
  • the mobile terminal stores a correspondence between a time zone clock and a city (region).
  • the mobile terminal queries the time zone clock corresponding to the destination.
  • the server queries the corresponding time zone clock according to the latitude and longitude information of the destination.
  • the server stores the correspondence between the time zone clock and the city (region).
  • the mobile terminal transmits the location information of the destination to the server, the server queries the time zone clock corresponding to the location information of the destination, and transmits a time zone clock corresponding to the destination to the mobile terminal.
  • mobile end receives the time zone clock corresponding to the destination.
  • the current time zone clock remains unchanged.
  • the mobile terminal when the distance of the distance S1 between the first geographic location B1 and the destination C is not less than the first threshold S0, the mobile terminal remains The current time zone clock is unchanged.
  • the mobile terminal queries the time zone clock corresponding to the destination C, and determines the queried time zone clock as the target time zone clock.
  • step 1005 the target time zone clock is added to the user clock group.
  • the user clock group includes at least one time zone clock. If the time zone clock added this time already exists in the user clock group, the mobile terminal generates prompt information, where the prompt information is used to indicate that the time zone clock has been added.
  • 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 to ask the user whether to allow the target time zone clock to be added; when the current addition is allowed, the target time zone clock is added to the user clock group; when the current addition is not allowed, the time zone clock is not added.
  • the clock adding method provided in this embodiment can automatically add a time zone clock according to the travel information, and can add a time zone clock when the user reaches the vicinity of the destination, so that the user can operate in advance, and can simplify the time when the user adds the time zone clock. The operation assists the user in adding the correct time zone clock.
  • step 1002, step 1003, and step 1004 in the embodiment shown in FIG. 10A can be used as an alternative to step 802 of the embodiment shown in FIG. 8.
  • the mobile terminal is also capable of removing the added time zone clock based on the trip information.
  • the method further includes the following steps:
  • a second geographic location is determined, where the second geographic location is a geographic location that is located at a second time, and the second time is later than the first time;
  • the mobile terminal acquires the second geographic location by using a positioning technology.
  • the positioning technology includes, but is not limited to, at least one of iBeacon technology, GPS (Global Positioning System) technology, WIFI (Wireless Fidelity) positioning technology, and base station positioning technology.
  • the second time is a time determined every predetermined time interval, such as a time determined every 5 hours, and the second time is later than the first time.
  • step 1007 it is detected whether the second geographic location and the destination belong to the same city or the same country;
  • step 1008 when the second geographic location does not belong to the same city or the same country, the process proceeds to step 1008; when the second geographic location and the destination belong to the same city or the same country, the process proceeds to step 1009.
  • step 1008 when the second geographic location does not belong to the same city or the same country as the destination, the target time zone clock is deleted from the user clock group.
  • the mobile terminal automatically deletes the target time zone clock from the user clock group.
  • the mobile terminal displays a fourth request box before deleting the target time zone clock from the user clock group.
  • the fourth request box is used to query whether the user is allowed to delete the target time zone clock; when the deletion is allowed, the target time zone clock is deleted from the user clock group; when the current deletion is not allowed, the time zone clock is not deleted. .
  • step 1009 when the second geographic location and the destination belong to the same city or the same country, the target time zone clock is retained in the user clock group.
  • the clock adding method provided in this embodiment automatically deletes 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;
  • the time zone clock that is no longer used is adaptively deleted, and the storage resources and computing resources of the mobile terminal are saved.
  • FIG. 11 is a flowchart of a clock adding method provided by another embodiment of the present disclosure. The method includes:
  • step 1101 determining an add mode of the time zone clock, where the add mode includes a country add mode or a geographic location add mode;
  • the mobile terminal displays an add clock interface 1220.
  • an extension button is included in the upper right corner of the add clock interface 1220.
  • an add mode selection box 1240 appears in the upper right corner of the add clock interface 1220.
  • the add mode selection box 1240 includes the options "Add by country” and the option “Add by location”, when the option "Add by country” is selected, the mobile terminal determines the add mode as the country Add mode; when the option "Add by location” is selected, the mobile terminal determines that the add mode is to add mode by geographic location.
  • step 1102 when the add mode is the country add mode, the country category is received;
  • step 1103 querying a number of time zone clocks corresponding to the country category
  • step 1104 a number of time zone clocks corresponding to the country category are displayed;
  • step 1105 a selection signal for a target time zone clock in a plurality of time zone clocks is received
  • step 1106 the target time zone clock is added to the user clock group
  • steps 1102 to 1106 For details of the implementation of steps 1102 to 1106, reference may be made to the embodiment shown in FIGS. 1 through 7.
  • step 1107 when the adding mode is the geographic location adding mode, determining the first geographic location, where the first geographic location is the geographical location obtained at the first moment;
  • step 1108 determining a target time zone clock according to the first geographic location
  • step 1109 the target time zone clock is added to the user clock group.
  • steps 1107 to 1109 For details of the implementation of steps 1107 to 1109, reference may be made to the embodiment shown in FIGS. 8 to 10C.
  • the positioning technology used by the mobile terminal includes, but is not limited to, at least one of iBeacon technology, GPS technology, WIFI positioning technology, and base station positioning technology. among them:
  • the Bluetooth low energy device pre-select some locations as reference points, and set a Bluetooth Low Energy (BLE) device at each reference point.
  • the Bluetooth low energy device periodically sends out broadcast frames and supports BLE mobile terminals.
  • the broadcast frame can be received and positioned according to the broadcast frame.
  • the broadcast frame includes a UUID field, a Major field, a Minor field, and a Measured Power field.
  • the UUID is a 128-bit identifier conforming to the ISO/IEC 11578:19126 standard; the Major field includes the address information of the reference point, Minor includes the identifier of the reference point; and the Measured Power field includes the distance between the Bluetooth low-power device and the mobile terminal at 1 m.
  • the mobile device can estimate the distance between the low-power Bluetooth device and the mobile device according to the reference received signal strength and the actual received signal strength, thereby realizing the location of the geographic location.
  • GPS technology is a positioning technology based on satellite positioning.
  • the common satellite positioning system includes China's BeiDou Navigation Satellite System (BDS) and Russia's GLONASS satellite navigation system (GLONASS).
  • BDS BeiDou Navigation Satellite System
  • GLONASS GLONASS satellite navigation system
  • the GPS technology is collectively referred to as a satellite positioning system.
  • the mobile terminal estimates the distance between the mobile terminal and 3 to 4 satellites through the received signals of 3 to 4 satellites, and then solves the position of the mobile terminal according to the distance formula in the three-dimensional coordinates (X, Y, Z). ).
  • the WIFI positioning technology is to locate the mobile terminal according to the wireless access point currently camped on by the mobile terminal.
  • the installation location registered by the wireless access point during installation is “XX Building XX Office”, and when the mobile terminal currently resides at the wireless access point, the mobile terminal is located according to the identifier of the wireless access point.
  • the location is “XX Building XX Office”.
  • the base station positioning technology is also called a location based service (LBS), and the downlink pilot signals of different base stations are measured by the mobile terminal, and the time of arrival (Time of Arrival, TOA) or time difference of arrival of the downlink pilot signals of different base stations is obtained.
  • Time Difference of Arrival (TDOA) according to the measurement result and combined with the coordinates of the base station, the triangular formula estimation algorithm is used to calculate the geographical position of the mobile terminal.
  • FIG. 13 is a block diagram showing the structure of a clock adding apparatus according to an embodiment of the present disclosure.
  • the clock adding device can be implemented as a whole or a part of the mobile terminal through a dedicated hardware circuit, or a combination of hardware and software.
  • the device includes:
  • the receiving module 1320 is configured to receive a country category
  • the display module 1340 is configured to display a plurality of time zone clocks corresponding to the country category;
  • the receiving module 1320 is further configured to receive a selection signal for a target time zone clock of the plurality of time zone clocks;
  • An add module 1360 is configured to add the target time zone clock to a user clock group.
  • the clock adding apparatus adds the target time zone clock to the user clock group according to the selection signal of the target time zone clock of the plurality of time zone clocks by displaying the time zone clock according to the country category;
  • Related technologies can only add a time zone clock through the city, but the time zone clock added by the users abroad is not necessarily accurate; the user can add the time zone clock according to the country category, and can accurately add the appropriate time zone clock according to his own needs. The effect of the user clock group.
  • the display module 1340 includes: a first display sub-module
  • the first display sub-module is configured to display the standard time zone clock corresponding to the country category according to a first priority; and display the non-standard time zone clock corresponding to the country category according to a second priority;
  • the first priority is higher than the second priority.
  • the display module 1340 includes: a second display Display submodule
  • the second display sub-module is configured to acquire a searched number of times corresponding to each of the time zone clocks corresponding to the country category, and sort the respective time zone clocks according to the number of searched times to obtain a sort As a result, each of the time zone clocks is displayed according to the sorting result.
  • the display module 1340 includes: a third display sub-module
  • the third display sub-module is configured to determine, in a plurality of the time zone clocks corresponding to the country category, a time zone clock corresponding to the current geographic location; and the time zone clock corresponding to the current geographic location is in accordance with the Displaying a priority; displaying a time zone clock that does not correspond to the current geographic location according to a second priority;
  • the first priority is higher than the second priority.
  • the apparatus further includes: a determining module, a positioning module, and a query module;
  • the determining module is configured to determine an add mode of a time zone clock, where the add mode includes a country add mode or a geographic location add mode;
  • the receiving module is configured to receive the country category when the adding mode is the country adding mode
  • the positioning module is configured to determine a first geographic location when the adding mode is the geographic location adding mode, where the first geographic location is a geographical location obtained at a first time;
  • the query module is configured to determine a target time zone clock according to the first geographic location
  • the adding module is configured to add the target time zone clock to a user clock group.
  • the query module is configured to query a time zone clock corresponding to the first geographic location, and determine the queried time zone clock as a target time zone clock.
  • the apparatus further includes: a detecting module and a deleting module;
  • the positioning module is configured to determine a second geographic location, where the second geographic location is a geographical location that is located at a second time, and the second time is later than the first time;
  • the detecting 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 not belong to the second geographic location and the first geographic location
  • the target time zone clock is deleted from the user clock group when the same city or the same country.
  • the query module further includes: an obtaining unit, a detecting unit, and a query unit;
  • the acquiring unit is configured to acquire trip information corresponding to a current time period, where the trip information includes a destination;
  • the detecting unit is configured to detect whether a distance between the first geographic location and the destination is less than a first threshold
  • the query unit is configured to: if the distance between the first geographic location and the destination is less than a first threshold, query a time zone clock corresponding to the destination, and determine the queried time zone clock as Target time zone clock.
  • the apparatus further includes: a detecting module and a deleting module;
  • the positioning module is configured to determine a second geographic location, where the second geographic location is a geographical location that is located at a second time, and the second time is later than the first time;
  • the detecting 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 does not belong to the same city or the same country as the destination.
  • FIG 14 is a block diagram of a mobile terminal, shown in accordance with an illustrative embodiment.
  • the mobile terminal 1400 can 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.
  • the mobile terminal 1400 can 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.
  • 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 typically controls the overall operations of mobile terminal 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1402 can include one or more processors 1418 to execute instructions to perform all or part of the steps described above.
  • processing component 1402 can include one or more modules to facilitate interaction between component 1402 and other components.
  • processing component 1402 can include a multimedia module to facilitate interaction between multimedia component 1408 and 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 the mobile terminal 1400, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1404 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1406 provides power to various components of mobile terminal 1400.
  • Power component 1406 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for mobile terminal 1400.
  • the multimedia component 1408 includes a screen that provides an output interface between the mobile terminal 1400 and the user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1408 includes a front camera and/or a rear camera. When the mobile terminal 1400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1410 is configured to output and/or input an audio signal.
  • the audio component 1410 includes a microphone (MIC) that is configured to receive an external audio signal 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 signal may be further stored in memory 1404 or transmitted via communication component 1416.
  • the audio component 1410 also includes a speaker for outputting an audio signal.
  • the I/O interface 1412 provides an interface between the processing component 1402 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor component 1414 includes one or more sensors for providing various aspects of state assessment for mobile terminal 1400.
  • the sensor component 1414 can detect an open/closed state of the mobile terminal 1400, the relative positioning of the components, such as a display and a keypad of the mobile terminal 1400, The sensor component 1414 can also detect a change in position of one component of the mobile terminal 1400 or the mobile terminal 1400, the presence or absence of contact of the user with the mobile terminal 1400, azimuth or acceleration/deceleration of the mobile terminal 1400, and temperature changes of the mobile terminal 1400.
  • Sensor assembly 1414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1414 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1416 is configured to facilitate wired or wireless communication between mobile terminal 1400 and other devices.
  • the mobile terminal 1400 can access a wireless network based on a communication standard such as Wi-Fi, 2G or 3G, or a combination thereof.
  • communication component 1416 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1416 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • 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), A program gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the clock addition method provided in the above method embodiments.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA program gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the clock addition method provided in the above method embodiments.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1404 comprising instructions executable by processor 1418 of mobile terminal 1400 to perform the clock addition method described above.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

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

本公开实施例提供了一种时钟添加方法及装置,属于移动终端领域。该时钟添加方法包括:接收国家类别;显示与所述国家类别对应的若干个时区时钟;接收对若干个所述时区时钟中的目标时区时钟的选择信号;将所述目标时区时钟添加至用户时钟组。本实施例解决了相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题;达到了用户可以按照国家类别来添加时区时钟,能够准确根据自身需求添加合适的时区时钟至用户时钟组的效果。

Description

时钟添加方法及装置 技术领域
本公开实施例涉及移动终端领域,特别涉及一种时钟添加方法及装置。
背景技术
时钟App(Application,应用程序)是在移动终端上日常使用较为频繁的App。由于用户可能会在不同的城市使用移动终端,目前的时钟App都支持多时区显示功能。
相关技术中提供了一种时钟添加方法,在用户需要添加时区时钟时,在时钟App中按照城市显示多个候选的时区时钟,比如:阿比让GMT(Greenwich MeanTime,格林尼治标准时间)+0:00;阿德莱德GMT+9:30;阿尔伯克基GMT-6:00;阿尔及尔GMT+1:00等等。用户可以选择一个城市对应的时区时钟,作为目标时区时钟添加至用户时钟组中。
发明内容
为了解决相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题,本公开实施例提供了一种时钟添加方法及装置。所述技术方案如下:
根据本公开实施例的第一方面,提供了一种时钟添加方法,该方法包括:
接收国家类别;
显示与国家类别对应的若干个时区时钟,每个时区时钟对应一个时区;
接收对若干个时区时钟中的目标时区时钟的选择信号;
将目标时区时钟添加至用户时钟组。
在可选的实施例中,显示与国家类别对应的若干个时区时钟,包括:
将国家类别对应的标准时区时钟按照第一优先级进行显示;
将国家类别对应的非标准时区时钟按照第二优先级进行显示;
其中,第一优先级高于第二优先级。
在可选的实施例中,显示与国家类别对应的若干个时区时钟,包括:
获取与国家类别对应的每个时区时钟所对应的被搜索次数;
按照被搜素次数对各个时区时钟进行排序,得到排序结果;
按照排序结果对各个时区时钟进行显示。
在可选的实施例中,显示与国家类别对应的若干个时区时钟,包括:
在与国家类别对应的若干个时区时钟中,确定与当前地理位置对应的时区时钟;
将与当前地理位置对应的时区时钟按照第一优先级进行显示;
将与当前地理位置不对应的时区时钟按照第二优先级进行显示;
其中,第一优先级高于第二优先级。
在可选的实施例中,该方法还包括:
确定时区时钟的添加模式,添加模式包括国家添加模式或地理位置添加模式;
在添加模式是国家添加模式时,执行接收国家类别的步骤;
在添加模式是地理位置添加模式时,确定第一地理位置,第一地理位置是在第一时刻定位得到的地理位置;
根据第一地理位置确定目标时区时钟;
将目标时区时钟添加至用户时钟组。
在可选的实施例中,根据第一地理位置确定目标时区时钟,包括:
查询与第一地理位置对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
在可选的实施例中,该方法还包括:
确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
检测第二地理位置与第一地理位置是否属于同一城市或同一国家;
当第二地理位置与第一地理位置不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除。
在可选的实施例中,根据第一地理位置确定目标时区时钟,包括:
获取与当前时间段对应的行程信息,行程信息包括目的地;
检测第一地理位置与目的地之间的距离是否小于第一阈值;
若第一地理位置与目的地之间的距离小于第一阈值,查询与目的地对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
在可选的实施例中,该方法还包括:
确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
检测第二地理位置与目的地是否属于同一城市或同一国家;
当第二地理位置与目的地不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除。
根据本公开实施例的第二方面,提供了一种时钟添加装置,该装置包括:
接收模块,被配置为接收国家类别;
显示模块,被配置为显示与国家类别对应的若干个时区时钟,每个时区时钟对应一个时区;
接收模块,还被配置为接收对若干个时区时钟中的目标时区时钟的选择信号;
添加模块,被配置为将目标时区时钟添加至用户时钟组。
在可选的实施例中,显示模块,包括:第一显示子模块;
第一显示子模块,被配置为将国家类别对应的标准时区时钟按照第一优先级进行显示;将国家类别对应的非标准时区时钟按照第二优先级进行显示;
其中,第一优先级高于第二优先级。
在可选的实施例中,显示模块,包括:第二显示子模块;
第二显示子模块,被配置为获取与国家类别对应的每个时区时钟所对应的被搜索次数;按照被搜素次数对各个时区时钟进行排序,得到排序结果;按照排序结果对各个时区时钟进行显示。
在可选的实施例中,显示模块,包括:第三显示子模块;
第三显示子模块,被配置为在与国家类别对应的若干个时区时钟中,确定与当前地理位置对应的时区时钟;将与当前地理位置对应的时区时钟按照第一优先级进行显示;将与当前地理位置不对应的时区时钟按照第二优先级进行显示;
其中,第一优先级高于第二优先级。
在可选的实施例中,该装置还包括:确定模块、定位模块和查询模块;
确定模块,被配置为确定时区时钟的添加模式,添加模式包括国家添加模式或地理位置添加模式;
接收模块,被配置为在添加模式是国家添加模式时,接收国家类别;
定位模块,被配置为在添加模式是地理位置添加模式时,确定第一地理位置,第一地理位置是在第一时刻定位得到的地理位置;
查询模块,被配置为根据第一地理位置确定目标时区时钟;
添加模块,被配置为将目标时区时钟添加至用户时钟组。
在可选的实施例中,查询模块,被配置为查询与第一地理位置对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
在可选的实施例中,该装置还包括:检测模块和删除模块;
定位模块,被配置为确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
检测模块,被配置为检测第二地理位置与第一地理位置是否属于同一城市或同一国家;
删除模块,被配置为当第二地理位置与第一地理位置不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除。
在可选的实施例中,查询模块,还包括:获取单元、检测单元和查询单元;
获取单元,被配置为获取与当前时间段对应的行程信息,行程信息包括目的地;
检测单元,被配置为检测第一地理位置与目的地之间的距离是否小于第一阈值;
查询单元,被配置为若第一地理位置与目的地之间的距离小于第一阈值,查询与目的地对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
在可选的实施例中,该装置还包括:检测模块和删除模块;
定位模块,被配置为确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
检测模块,被配置为检测第二地理位置与目的地是否属于同一城市或同一国家;
删除模块,被配置为当第二地理位置与目的地不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除。
根据本公开实施例的第三方面,提供了一种时钟添加装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收国家类别;
显示与国家类别对应的若干个时区时钟,每个时区时钟对应一个时区;
接收对若干个时区时钟中的目标时区时钟的选择信号;
将目标时区时钟添加至用户时钟组。
本公开实施例提供的技术方案的有益效果是:
通过按照国家类别来显示时区时钟,根据用户对若干个时区时钟的目标时区时钟的选择信号,将目标时区时钟添加至用户时钟组;解决了相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题;达到了用户可以按照国家类别来添加时区时钟,能够准确根据自身需求添加合适的时区时钟至用户时钟组的效果。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本公开一个示例性实施例提供的时钟添加方法的流程图;
图2示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图3A示出了本公开另一个示例性实施例提供的时钟添加方法在实施时的界面示意图;
图3B示出了本公开另一个示例性实施例提供的时钟添加方法在实施时的界面示意图;
图4示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图5示出了本公开另一个示例性实施例提供的时钟添加方法在实施时的界面示意图;
图6示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图7示出了本公开另一个示例性实施例提供的时钟添加方法在实施时的界面示意图;
图8示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图9示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图10A示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图10B示出了本公开另一个示例性实施例提供的第一地理位置与目的地的距离示意图;
图10C示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图11示出了本公开另一个示例性实施例提供的时钟添加方法的流程图;
图12示出了本公开另一个示例性实施例提供的时钟添加方法在实施时的界面示意图;
图13示出了本公开一个示例性实施例提供的时钟添加装置的框图;
图14示出了本公开一个示例性实施例提供的移动终端的框图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。
本公开实施例中提供的移动终端可以是手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器和膝上型便携计算机等等,具有便携式移动能力的终端。
时区时钟是按照时区(Time Zone)进行划分的时钟。时区的含义是指地球上的区域使用同一个时间定义。1884年在华盛顿召开国际经度会议时,规定将全球划分为24个时区。(东、西各12个时区)。规定英国(格林尼治天文台旧址)为中时区(零时区)、东1-12区,西1-12区。每个时区横跨经度15度,时间正好是1小时。最后的东、西第12区各跨经度7.5度,以东、西经180度为界。每个时区的中央经线上的时间就是这个时区内统一采用的时间,称为区时,相邻两个时区的时间相差1小时。例如,中国东8区的时间总比泰国东7区的时间早1小时,而比日本东9区的时间迟1小时。因此,出国旅行的人,必须随时调整自己的手表,才能和当地时间相一致。凡向西走,每过一个时区,就要把表拨慢1小时(比如2点拨到1点);凡向东走,每过一个时区,就要把表拨快1小时(比如1点拨到2点)。并且规定英国(格林尼治天文台旧址)为本初子午线,即零时(24时)经线。
而在目前的移动终端中,通常提供有时钟App。时钟App中提供有国际时钟功能,也即用户可以选择一组时区时钟作为用户时钟组。
图1示出了本公开一个示例性实施例提供的时钟添加方法的流程图。本实施例以该时钟添加方法应用于移动终端中来举例说明。该方法包括:
在步骤102中,接收国家类别;
可选地,国家类别包括:美国、英国、日本、法国、德国、芬兰、以色列、瑞典、意大利、加拿大等。
在步骤104中,显示与国家类别对应的若干个时区时钟;
每个国家类别对应至少一个时区时钟。
比如,中国对应五个时区:东五区(中央经线东经75度),东六区(中央经线东经90度),东七区(中央经线东经105度),东八区(中央经线东经120度),东九区(中央经线东经135度)。
每个时区时钟对应一个时区,每个时区时钟对应多个城市。
比如,时区时钟A对应时区GMT-6:00,时区时钟A还对应城市:阿尔伯克基、埃德蒙顿、博尔德等。
在步骤106中,接收对若干个时区时钟中的目标时区时钟的选择信号;
可选地,用户在多个时区时钟中选择目标时区时钟。
在步骤108中,将目标时区时钟添加至用户时钟组。
综上所述,本实施例提供的时钟添加方法,通过按照国家类别来显示时区时钟,根据用户对若干个时区时钟的目标时区时钟的选择信号,将目标时区时钟添加至用户时钟组;解决了相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题;达到了用户可以按照国家类别来添加时区时钟,能够准确根据自身需求添加合适的时区时钟至用户时钟组的效果。
可选地,上述步骤104存在至少三种不同的实现方式:
第一,将标准时区时钟进行优先显示的方式;
标准时区时钟是指当一个国家覆盖多个时区时,通常会将其中一个时区时钟确定为本国所有地区所统一使用的时区时钟。
第二,按照被搜索次数进行排序显示的方式;
由于每个时区时钟都会被用户搜索,可按照每个时区时钟的被搜索次数进行排序显示。
第三,将与当前地理位置对应的时区时钟进行优先显示的方式。
每个时区时钟都对应一个或多个地区(城市),按照每个城市与当前地理位置之间的距离,将与当前地理位置对应的时区时钟进行优先显示。
下文采用图2至图7对上述三种不同的实现方式分别进行阐述。
图2示出了本公开另一个示例性实施例提供的时钟添加方法的流程图。本实施例以该时钟添加方法应用于移动终端中来举例说明。该方法包括:
在步骤201中,接收国家类别;
在步骤202中,查询与国家类别对应的若干个时区时钟;
每个国家类别对应至少一个时区时钟。每个时区时钟对应一个时区,每个时区时钟对应至少一个城市。可选地,当一个时区时钟对应两个或两个以上的城市时,该时区时钟按照不同的城市名显示多次。
可选地,移动终端内部存储有“国家类别+时区时钟”之间的对应关系。或者,移动终端内部存储有“国家类别+城市”之间的对应关系,和“城市+时区时钟”之间的对应关系。可选地,城市也可使用按照其它单位划分的地区替代,比如:行政区、省、市、县等。
移动终端在内部存储的对应关系中,查询与国家类别对应的若干个时区时钟。
可选地,服务器中存储有“国家类别+时区时钟”之间的对应关系。或者,移动终端内部存储有“国家类别+城市”之间的对应关系,和“城市+时区时钟”之间的对应关系。
移动终端向服务器发送查询请求,该查询请求携带有国家类别;服务器在内部存储的对应关系中,查询与国家类别对应的若干个时区时钟;服务器向移动终端发送与国家类别对应的若干个时区时钟;移动终端接收与国家类别对应的若干个时区时钟。
可选地,当与国家类别对应的时区时钟为两个或两个以上时,存在一个时区时钟是标准时区时钟。标准时区时钟是指当一个国家覆盖多个时区时,通常会将其中一个时区时钟确定为本国所有地区所统一使用的时区时钟。
比如,中国对应的时区时钟包括五个:GMT+5:00昆仑山、GMT+6:00西藏,GMT+7:00西安,GMT+8:00北京,GMT+9:00长白山。其中,GMT+8:00北京是标准时区时钟。
在步骤203中,将国家类别对应的标准时区时钟按照第一优先级进行显示;将国家类别对应的非标准时区时钟按照第二优先级进行显示;
可选地,按照第一优先级进行显示,包括:排序在第一位进行显示、按照预定字体进行显示、按照预定颜色进行显示、按照预定背景进行显示、加注预定文字或标识或图标进行显示中的至少一种。
可选地,按照第二优先级进行显示,包括但不限于:随机显示、按照首字母排序显示、按照时区顺序显示、按照与当前地理位置的远近排序显示中的至少一种。
示意性的参考图3A,用户在第一界面32中输入国家类别“中国”后,移动终端得到五个时区时钟。其中,GMT+8:00北京是标准时区时钟,另外四个时区时钟是非标准时区时钟。移动终端在第二界面34中将“GMT+8:00北京”排序在第一位按照粗体字体进行显示,并在“GMT+8:00北京”后加注预定文字:(标准)。而另外四个非标准时区时钟,则依次显示在第二位至第四位。
在步骤204中,接收对若干个时区时钟中的目标时区时钟的选择信号;
用户从若干个时区时钟中,选择出目标时区时钟。可选地,当移动终端包括触摸屏时,用户通过点击触摸操作在触摸屏上产生选择信号,该选择信号用于对目标时区时钟进行选择。
在步骤205中,将目标时区时钟添加至用户时钟组。
示意性的参考图3B,用户在第二界面34中点击“GMT+8:00北京”,移动终端将“GMT+8:00北京”添加至用户时钟组中。
可选地,用户时钟组中包括至少一个时区时钟,若本次添加的时区时钟已经存在于用户时钟组中,则移动终端产生提示信息,该提示信息用于提示该时区时钟已经被添加。
综上所述,本实施例提供的时钟添加方法,通过按照国家类别来显示时区时钟,根据用户对若干个时区时钟的目标时区时钟的选择信号,将目标时区时钟添加至用户时钟组;解决了相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题;达到了用户可以按照国家类别来添加时区时钟,能够准确根据自身需求添加合适的时区时钟至用户时钟组的效果。
本实施例提供的时钟添加方法,还通过将国家类别对应的标准时区时钟按照第一优先级进行显示;将国家类别对应的非标准时区时钟按照第二优先级进 行显示;能够使得该国家类别对应的标准时区时钟被突出显示,增加该标准时区时钟被用户选择的可能性,当该国家使用统一的标准时区时钟时,能够辅助用户添加正确的时区时钟,避免用户根据城市所添加的时区时钟与该国家类别的标准时区时钟不同,避免发生时区时钟添加错误,从而保证了用户根据国家类别所添加的时区时钟的准确性。
在步骤104的第二种实现方式中,上述步骤203可被替代实现成为步骤203a至步骤203c,如图4所示:
在步骤203a中,获取与国家类别对应的每个时区时钟所对应的被搜索次数;
可选地,用户每次向服务器搜索时区时钟时,服务器均更新与该时区时钟所对应的被搜索次数。
可选地,移动终端向服务器发送获取请求,该获取请求携带有与每个时区时钟对应的标识;服务器根据获取请求,查询与每个时区时钟对应的被搜索次数;服务器将查询到的被搜索次数发送给移动终端。
示意性的,表一示出了与每个时区时钟所对应的被搜索次数。
时区时钟 被搜索次数
GMT+5:00昆仑山 44
GMT+6:00西藏 52456
GMT+7:00西安 427522
GMT+8:00北京 212232214
GMT+9:00长白山 12
表一
在步骤203b中,按照被搜素次数对各个时区时钟进行排序,得到排序结果;
移动终端按照被搜索次数由大到小的顺序,对各个时区时钟进行排序,得到排序结果。
以表一为例,排序结果为:GMT+8:00北京>GMT+7:00西安>GMT+6:00西藏>GMT+5:00昆仑山>GMT+9:00长白山。
在步骤203c中,按照排序结果对各个时区时钟进行显示。
移动终端按照排序结果由高到低的顺序,对各个时区时钟进行显示。
示意性的参考图5,用户在第一界面52中输入国家类别“中国”后,移动终端得到五个时区时钟。移动终端在第二界面54中将“GMT+8:00北京”排序在第一位进行显示;将“GMT+7:00西安”排序在第二位进行显示;将“GMT+6:00西藏”排序在第三位进行显示;将“GMT+5:00昆仑山”排序在第四位进行显示;将“GMT+9:00长白山”排序在第五位进行显示。
与图2所示实施例不同的是,本实施例提供的时钟添加方法,通过按照被搜索次数对与国家类别对应的多个时区时钟进行排序,按照排序结果由高到低的顺序,对各个时区时钟进行显示;能够使得被搜索次数较多的时区时钟,被更加优先地显示,增加被搜索次数较多的时区时钟被用户选择的可能性,能够辅助用户添加正确的时区时钟,从而保证了用户根据国家类别所添加的时区时钟的准确性。
在步骤104的第三种实现方式中,上述步骤203可被替代实现成为步骤203d和步骤203e,如图6所示:
在步骤203d中,在与国家类别对应的若干个时区时钟中,确定与当前地理位置对应的时区时钟;
对于经常出国的用户,会在到达其它国家的某个城市后添加时区时钟。此时,用户希望添加的时区时钟是当前地理位置对应的时区时钟或者该国家的标准时区时钟。
移动终端通过定位技术获取当前地理位置。定位技术包括但不限于:必肯(iBeacon)技术、GPS(Global Positioning System,全球定位系统)技术、WIFI(Wireless Fidelity,无线保真)定位技术和基站定位技术中的至少一种。
可选地,移动终端存储有时区时钟与城市(地区)之间的对应关系。移动终端在该对应关系中,查询与当前地理位置对应的时区时钟。
可选地,服务器存储有时区时钟与城市(地区)之间的对应关系。移动终端向服务器发送当前地理位置,由服务器查询与该当前地理位置对应的时区时钟,并向移动终端发送与该当前地理位置对应的时区时钟。
在步骤203e中,将与当前地理位置对应的时区时钟按照第一优先级进行显示;将与当前地理位置不对应的时区时钟按照第二优先级进行显示;
可选地,按照第一优先级进行显示,包括但不限于:排序在第一位进行显示、按照预定字体进行显示、按照预定颜色进行显示、按照预定背景进行显示、 加注预定文字或标识或图标进行显示中的至少一种。
可选地,按照第二优先级进行显示,包括但不限于:随机显示、按照首字母排序显示、按照时区顺序显示、按照与当前地理位置的远近排序显示中的至少一种。
示意性的参考图7,用户在第一界面72中输入国家类别“中国”后,移动终端得到五个时区时钟。假设与当前地理位置对应的时区时钟是“GMT+9:00长白山”,则移动终端在第二界面74中将“GMT+9:00长白山”排序在第一位进行显示,且“GMT+9:00长白山”后添加有预定文字“当前地点”;将其余四个时区时钟排序在第二位至第五位显示。
与图2所示实施例不同的是,本实施例提供的时钟添加方法,通过将与当前地理位置对应的时区时钟按照第一优先级进行显示,将与当前地理位置不对应的时区时钟按照第二优先级进行显示;能够使得与当前地理位置对应的时区时钟,被更加突出地显示,增加与当前地理位置对应的时区时钟被用户选择的可能性,能够辅助用户添加正确的时区时钟,从而保证了用户根据国家类别所添加的时区时钟的准确性。
需要说明的一点是,上述图2至图7所示出的显示方式可以两两组合或者三者组合实施,此乃本领域技术人员基于上述公开内容所易于思及的,本文中不再赘述。
除了采用国家类别添加时区时钟,本公开实施例还提供了通过实时地理位置添加时区时钟的方法。如下图8实施例所示:
图8示出了本公开另一实施例提供的时钟添加方法的流程图。本实施例以该时钟添加方法应用于移动终端中来举例说明。该方法包括:
在步骤801中,确定第一地理位置,第一地理位置是在第一时刻定位得到的地理位置;
对于经常出国的用户,会在到达其它国家的某个城市后添加时区时钟。此时,用户希望添加的时区时钟是当前地理位置对应的时区时钟或者该国家的标准时区时钟。
移动终端通过定位技术获取第一地理位置。定位技术包括但不限于:必肯(iBeacon)技术、GPS(Global Positioning System,全球定位系统)技术、WIFI (Wireless Fidelity,无线保真)定位技术和基站定位技术中的至少一种。
可选地,第一时刻是每隔预定时间间隔所确定的时刻,比如每隔3小时所确定的时刻。
在步骤802中,根据第一地理位置确定目标时区时钟;
移动终端查询与第一地理位置对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
可选地,移动终端存储有时区时钟与城市(地区)之间的对应关系。移动终端在该对应关系中,查询与第一地理位置对应的时区时钟。
可选地,服务器存储有时区时钟与城市(地区)之间的对应关系。移动终端向服务器发送第一地理位置,由服务器查询与该第一地理位置对应的时区时钟,并向移动终端发送与该第一地理位置对应的时区时钟。对应地,移动终端接收与第一地理位置对应的时区时钟。
可选地,移动终端检测第一地理位置是否为常驻地理位置,若第一地理位置不是常驻地理位置,则查询与第一地理位置对应的时区时钟;若第一地理位置是常驻地理位置,则忽略第一地理位置。或者,移动终端中存储有常驻地理位置所对应的时区时钟,移动终端检测与第一地理位置对应的时区时钟是否不同于与常驻地理位置对应的时区时钟;若两者不同,则将与第一地理位置对应的时区时钟确定为目标时区时钟;若两者相同,则忽略本次查询结果。
在步骤803中,将目标时区时钟添加至用户时钟组。
可选地,用户时钟组中包括至少一个时区时钟,若本次添加的时区时钟已经存在于用户时钟组中,则移动终端产生提示信息,该提示信息用于提示该时区时钟已经被添加。
可选地,在将目标时区时钟添加至用户时钟组之前,移动终端显示第一请求框。该第一请求框用于询问用户是否允许添加该目标时区时钟;在本次添加被允许时,添加该目标时区时钟至用户时钟组;在本次添加不被允许时,不添加该时区时钟。
综上所述,本实施例提供的时钟添加方法,能够根据移动终端的当前地理位置自行添加时区时钟,能够简化用户添加时区时钟时的操作,辅助用户添加正确的时区时钟。
在基于图8的可选实施例中,移动终端还能够根据当前地理位置对已添加 的时区时钟进行移除。参考图9,步骤803之后还可选包括如下步骤:
在步骤804中,确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
移动终端通过定位技术获取第二地理位置。定位技术包括但不限于:必肯(iBeacon)技术、GPS(Global Positioning System,全球定位系统)技术、WIFI(Wireless Fidelity,无线保真)定位技术和基站定位技术中的至少一种。
可选地,第二时刻是每隔预定时间间隔所确定的时刻,比如每隔3小时所确定的时刻,第二时刻晚于第一时刻。
在步骤805中,检测第二地理位置与第一地理位置是否属于同一城市或同一国家;
当第二地理位置与第一地理位置不属于同一城市或同一国家时,进入步骤806;当第二地理位置与第一地理位置属于同一城市或同一国家时,进入步骤807。
在步骤806中,当第二地理位置与第一地理位置不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除;
可选地,当第二地理位置与第一地理位置不属于同一城市或同一国家时,移动终端自动将目标时区时钟从用户时钟组删除。
可选地,在将目标时区时钟从用户时钟组删除之前,移动终端显示第二请求框。该第二请求框用于询问用户是否允许删除该目标时区时钟;在本次删除被允许时,从用户时钟组删除该目标时区时钟;在本次添删除不被允许时,不删除该时区时钟。
在步骤807中,当第二地理位置与第一地理位置属于同一城市或同一国家时,将目标时区时钟在用户时钟组保留。
综上所述,本实施例提供的时钟添加方法,通过在第二地理位置与第一地理位置不属于同一城市或同一国家时,将目标时区时钟从用户时钟组自动删除;能够根据用户的地理位置变化,自适应地删除掉不再使用的时区时钟,节省移动终端的存储资源和计算资源。
本公开实施例还提供了通过行程信息添加时区时钟的方法。如下图10A实施例所示。
图10A示出了本公开另一实施例提供的时钟添加方法的流程图。本实施例 以该时钟添加方法应用于移动终端中来举例说明。该方法包括:
在步骤1001中,确定第一地理位置,第一地理位置是在第一时刻定位得到的地理位置;
对于经常出国的用户,会在到达其它国家的某个城市后添加时区时钟。此时,用户希望添加的时区时钟是当前地理位置对应的时区时钟或者该国家的标准时区时钟。
移动终端通过定位技术获取第一地理位置。定位技术包括但不限于:必肯(iBeacon)技术、GPS(Global Positioning System,全球定位系统)技术、WIFI(Wireless Fidelity,无线保真)定位技术和基站定位技术中的至少一种。
可选地,第一时刻是每隔预定时间间隔所确定的时刻,比如每隔5小时所确定的时刻。
在步骤1002中,获取与当前时间段对应的行程信息,行程信息包括目的地;
可选地,移动终端获取其他应用程序中的行程信息。其他应用程序包括但不限于地图应用程序、旅游应用程序、日历应用程序和便签应用程序等。行程信息包括但不限于:起始地、目的地、中间站点、交通工具运行时刻信息或地点信息等。
可选地,移动终端从地图应用程序中获取目的地的地理位置。地理位置包括但不限于经纬度信息。
在步骤1003中,检测第一地理位置与目的地之间的距离是否小于第一阈值;
可选地,移动终端根据第一地理位置的经纬度信息与目的地的经纬度信息检测第一地理位置与目的地之间的距离是否小于第一阈值。
在步骤1004中,若第一地理位置与目的地之间的距离小于第一阈值,查询与目的地对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
可选地,移动终端存储有时区时钟与城市(地区)之间的对应关系。移动终端在该对应关系中,查询与目的地对应的时区时钟。可选地,服务器根据目的地的经纬度信息查询对应的时区时钟。
可选地,服务器存储有时区时钟与城市(地区)之间的对应关系。移动终端向服务器发送目的地的位置信息,由服务器查询与该目的地的位置信息对应的时区时钟,并向移动终端发送与该目的地对应的时区时钟。对应地,移动终 端接收与目的地对应的时区时钟。
若第一地理位置与目的地之间的距离不小于第一阈值,当前时区时钟保持不变。
示意性如图10B所示,假设起始地A、目的地C和第一阈值S0,当第一地理位置B1与目的地C之间的距离S1的距离不小于第一阈值S0,移动终端保持当前时区时钟不变。当第一地理位置B2与目的地C之间的距离S2小于第一阈值S0,移动终端查询与目的地C对应的时区时钟,将查询到的时区时钟确定为目标时区时钟。
在步骤1005中,将目标时区时钟添加至用户时钟组。
可选地,用户时钟组中包括至少一个时区时钟,若本次添加的时区时钟已经存在于用户时钟组中,则移动终端产生提示信息,该提示信息用于提示该时区时钟已经被添加。
可选地,在将目标时区时钟添加至用户时钟组之前,移动终端显示第三请求框。该第三请求框用于询问用户是否允许添加该目标时区时钟;在本次添加被允许时,添加该目标时区时钟至用户时钟组;在本次添加不被允许时,不添加该时区时钟。
综上所述,本实施例提供的时钟添加方法,能够根据行程信息自行添加时区时钟,当用户达到目的地附近时就能添加时区时钟,使用户能够提前操作,并且能够简化用户添加时区时钟时的操作,辅助用户添加正确的时区时钟。
需要说明的是,图10A所示实施例中的步骤1002、步骤1003和步骤1004可作为图8所示实施例步骤802的替代方案。
在基于图10C的可选实施例中,移动终端还能够根据行程信息对已添加的时区时钟进行移除。参考图10C,步骤1005之后还可选包括如下步骤:
在步骤1006中,确定第二地理位置,第二地理位置是在第二时刻定位得到的地理位置,第二时刻晚于第一时刻;
移动终端通过定位技术获取第二地理位置。定位技术包括但不限于:必肯(iBeacon)技术、GPS(Global Positioning System,全球定位系统)技术、WIFI(Wireless Fidelity,无线保真)定位技术和基站定位技术中的至少一种。
可选地,第二时刻是每隔预定时间间隔所确定的时刻,比如每隔5小时所确定的时刻,第二时刻晚于第一时刻。
在步骤1007中,检测第二地理位置与目的地是否属于同一城市或同一国家;
当第二地理位置与目的地不属于同一城市或同一国家时,进入步骤1008;当第二地理位置与目的地属于同一城市或同一国家时,进入步骤1009。
在步骤1008中,当第二地理位置与目的地不属于同一城市或同一国家时,将目标时区时钟从用户时钟组删除。
可选地,当第二地理位置与目的地不属于同一城市或同一国家时,移动终端自动将目标时区时钟从用户时钟组删除。
可选地,在将目标时区时钟从用户时钟组删除之前,移动终端显示第四请求框。该第四请求框用于询问用户是否允许删除该目标时区时钟;在本次删除被允许时,从用户时钟组删除该目标时区时钟;在本次添删除不被允许时,不删除该时区时钟。
在步骤1009中,当第二地理位置与目的地属于同一城市或同一国家时,将目标时区时钟在用户时钟组保留。
综上所述,本实施例提供的时钟添加方法,通过在第二地理位置与目的地不属于同一城市或同一国家时,将目标时区时钟从用户时钟组自动删除;能够根据用户的地理位置变化,自适应地删除掉不再使用的时区时钟,节省移动终端的存储资源和计算资源。
需要说明的是,上述图10A至图10C所示时钟添加方法可与图8和图9所示实施例结合实施。此乃本领域技术人员基于上述公开内容所易于思及的,本文中不再赘述。
在可选的实施例中,根据国家类别添加时区时钟,和根据地理位置添加时区时钟能够组合实现成为新的实施例。图11示出了本公开另一实施例提供的时钟添加方法的流程图。该方法包括:
在步骤1101中,确定时区时钟的添加模式,该添加模式包括国家添加模式或地理位置添加模式;
可选地,结合参考图12,移动终端显示添加时钟界面1220。在添加时钟界面1220的右上角,包括有扩展按钮。当用户点击该扩展按钮后,出现添加模式选择框1240。添加模式选择框1240包括选项“按国家添加”和选项“按位置添加”,当选项“按国家添加”被选择时,移动终端确定添加模式为国家 添加模式;当选项“按位置添加”被选择时,移动终端确定添加模式为按地理位置添加模式。
在步骤1102中,在添加模式是国家添加模式时,接收国家类别;
在步骤1103中,查询与国家类别对应的若干个时区时钟;
在步骤1104中,显示与国家类别对应的若干个时区时钟;
在步骤1105中,接收对若干个时区时钟中的目标时区时钟的选择信号;
在步骤1106中,将目标时区时钟添加至用户时钟组;
步骤1102至步骤1106的实现细节,可参考图1至图7所示实施例。
在步骤1107中,在添加模式是地理位置添加模式时,确定第一地理位置,第一地理位置是在第一时刻定位得到的地理位置;
在步骤1108中,根据第一地理位置确定目标时区时钟;
在步骤1109中,将目标时区时钟添加至用户时钟组
步骤1107至步骤1109的实现细节,可参考图8至图10C所示实施例。
需要说明的另一点是,移动终端所使用的定位技术包括但不限于:iBeacon技术、GPS技术、WIFI定位技术和基站定位技术中的至少一种。其中:
iBeacon技术:预先选取一些地点作为参考点,在每个参考点设置一低功耗蓝牙(Bluetooth Low Energy,BLE)设备,该低功耗蓝牙设备会周期性向外发送广播帧,支持BLE的移动终端可以接收到该广播帧,并根据该广播帧进行定位。可选地,该广播帧包括UUID字段、Major字段、Minor字段、Measured Power字段。UUID是符合ISO/IEC 11578:19126标准的128位标识符;Major字段包括参考点的地址信息,Minor包括参考点的标识;Measured Power字段包括低功耗蓝牙设备和移动终端之间相距1m时的参考接收信号强度,移动设备可根据该参考接收信号强度和实际接收信号强度来估算出低功耗蓝牙设备和移动设备之间的距离,从而实现地理位置的定位。
GPS技术是一种基于卫星定位的定位技术。常见的卫星定位系统除了美国的GPS系统之外,还包括中国的北斗导航系统(BeiDou Navigation Satellite System,BDS)、俄罗斯的格洛纳斯卫星导航系统(GLONASS)。本公开实施例中,将GPS技术作为卫星定位系统的统称。移动终端通过接收到的3到4颗卫星的信号,推算出移动终端与3到4颗卫星之间的距离,进而根据三维坐标中的距离公式,求解出移动终端的位置(X、Y、Z)。
WIFI定位技术是根据移动终端当前驻留的无线接入点来对移动终端进行定位。比如,无线接入点在安装时登记的安装位置为“XX大厦XX办公室”,则移动终端当前驻留在该无线接入点时,根据该无线接入点的标识查询到该移动终端所在的位置为“XX大厦XX办公室”。
基站定位技术又称移动位置服务(Location Based Service,LBS),通过移动终端测量不同基站的下行导频信号,得到不同基站的下行导频信号的到达时间(Time of Arrival,TOA)或到达时间差(Time Difference of Arrival,TDOA),根据该测量结果并结合基站的坐标,采用三角公式估计算法,计算出移动终端的地理位置。
图13示出了本公开一个实施例提供的时钟添加装置的结构方框图。该时钟添加装置可以通过专用硬件电路,或,软硬件的结合实现成为移动终端的全部或一部分。该装置包括:
接收模块1320,被配置为接收国家类别;
显示模块1340,被配置为显示与所述国家类别对应的若干个时区时钟;
所述接收模块1320,还被配置为接收对若干个所述时区时钟中的目标时区时钟的选择信号;
添加模块1360,被配置为将所述目标时区时钟添加至用户时钟组。
综上所述,本实施例提供的时钟添加装置,通过按照国家类别来显示时区时钟,根据用户对若干个时区时钟的目标时区时钟的选择信号,将目标时区时钟添加至用户时钟组;解决了相关技术只能通过城市添加时区时钟,但出国的用户通过城市添加的时区时钟并不一定准确的问题;达到了用户可以按照国家类别来添加时区时钟,能够准确根据自身需求添加合适的时区时钟至用户时钟组的效果。
在基于图13提供的可选的实施例中,所述显示模块1340,包括:第一显示子模块;
所述第一显示子模块,被配置为将所述国家类别对应的标准时区时钟按照第一优先级进行显示;将所述国家类别对应的非标准时区时钟按照第二优先级进行显示;
其中,所述第一优先级高于所述第二优先级。
在基于图13提供的可选的实施例中,所述显示模块1340,包括:第二显 示子模块;
所述第二显示子模块,被配置为获取与所述国家类别对应的每个所述时区时钟所对应的被搜索次数;按照所述被搜素次数对各个所述时区时钟进行排序,得到排序结果;按照所述排序结果对各个所述时区时钟进行显示。
在基于图13提供的可选的实施例中,所述显示模块1340,包括:第三显示子模块;
所述第三显示子模块,被配置为在与所述国家类别对应的若干个所述时区时钟中,确定与当前地理位置对应的时区时钟;将与所述当前地理位置对应的时区时钟按照第一优先级进行显示;将与所述当前地理位置不对应的时区时钟按照第二优先级进行显示;
其中,所述第一优先级高于所述第二优先级。
在基于图13提供的可选的实施例中,所述装置还包括:确定模块、定位模块和查询模块;
所述确定模块,被配置为确定时区时钟的添加模式,所述添加模式包括国家添加模式或地理位置添加模式;
所述接收模块,被配置为在所述添加模式是所述国家添加模式时,接收所述国家类别;
所述定位模块,被配置为在所述添加模式是所述地理位置添加模式时,确定第一地理位置,所述第一地理位置是在第一时刻定位得到的地理位置;
所述查询模块,被配置为根据所述第一地理位置确定目标时区时钟;
所述添加模块,被配置为将所述目标时区时钟添加至用户时钟组。
在基于图13提供的可选的实施例中,所述查询模块,被配置为查询与所述第一地理位置对应的时区时钟,将查询到的所述时区时钟确定为目标时区时钟。
在基于图13提供的可选的实施例中,所述装置还包括:检测模块和删除模块;
所述定位模块,被配置为确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
所述检测模块,被配置为检测所述第二地理位置与所述第一地理位置是否属于同一城市或同一国家;
所述删除模块,被配置为当所述第二地理位置与所述第一地理位置不属于 同一城市或同一国家时,将所述目标时区时钟从所述用户时钟组删除。
在基于图13提供的可选的实施例中,所述查询模块,还包括:获取单元、检测单元和查询单元;
所述获取单元,被配置为获取与当前时间段对应的行程信息,所述行程信息包括目的地;
所述检测单元,被配置为检测所述第一地理位置与所述目的地之间的距离是否小于第一阈值;
所述查询单元,被配置为若所述第一地理位置与所述目的地之间的距离小于第一阈值,查询与所述目的地对应的时区时钟,将查询到的所述时区时钟确定为目标时区时钟。
在基于图13提供的可选的实施例中,所述装置还包括:检测模块和删除模块;
所述定位模块,被配置为确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
所述检测模块,被配置为检测所述第二地理位置与所述目的地是否属于同一城市或同一国家;
所述删除模块,被配置为当所述第二地理位置与所述目的地不属于同一城市或同一国家时,将所述目标时区时钟从所述用户时钟组删除。
图14是根据一示意性实施例示出的移动终端的框图。例如,移动终端1400可以是移动电话,计算机,数字广播移动终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图14,移动终端1400可以包括以下一个或多个组件:处理组件1402,存储器1404,电源组件1406,多媒体组件1408,音频组件1410,输入/输出(I/O)接口1412,传感器组件1414,以及通信组件1416。
处理组件1402通常控制移动终端1400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1402可以包括一个或多个处理器1418来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1402可以包括一个或多个模块,便于处理组件1402和其他组件之间的交互。例如,处理组件1402可以包括多媒体模块,以方便多媒体组件1408和处理组件1402之间的交互。
存储器1404被配置为存储各种类型的数据以支持在移动终端1400的操作。这些数据的示例包括用于在移动终端1400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1406为移动终端1400的各种组件提供电力。电源组件1406可以包括电源管理系统,一个或多个电源,及其他与为移动终端1400生成、管理和分配电力相关联的组件。
多媒体组件1408包括在移动终端1400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1408包括一个前置摄像头和/或后置摄像头。当移动终端1400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1410被配置为输出和/或输入音频信号。例如,音频组件1410包括一个麦克风(MIC),当移动终端1400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1404或经由通信组件1416发送。在一些实施例中,音频组件1410还包括一个扬声器,用于输出音频信号。
I/O接口1412为处理组件1402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1414包括一个或多个传感器,用于为移动终端1400提供各个方面的状态评估。例如,传感器组件1414可以检测到移动终端1400的打开/关闭状态,组件的相对定位,例如组件为移动终端1400的显示器和小键盘, 传感器组件1414还可以检测移动终端1400或移动终端1400一个组件的位置改变,用户与移动终端1400接触的存在或不存在,移动终端1400方位或加速/减速和移动终端1400的温度变化。传感器组件1414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1416被配置为便于移动终端1400和其他设备之间有线或无线方式的通信。移动终端1400可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示意性实施例中,通信组件1416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示意性实施例中,通信组件1416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示意性实施例中,移动终端1400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法实施例中所提供的时钟添加方法。
在示意性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1404,上述指令可由移动终端1400的处理器1418执行以完成上述时钟添加方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本公开的较佳实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (19)

  1. 一种时钟添加方法,其特征在于,所述方法包括:
    接收国家类别;
    显示与所述国家类别对应的若干个时区时钟;
    接收对若干个所述时区时钟中的目标时区时钟的选择信号;
    将所述目标时区时钟添加至用户时钟组。
  2. 根据权利要求1所述的方法,其特征在于,所述显示与所述国家类别对应的若干个时区时钟,包括:
    将所述国家类别对应的标准时区时钟按照第一优先级进行显示;
    将所述国家类别对应的非标准时区时钟按照第二优先级进行显示;
    其中,所述第一优先级高于所述第二优先级。
  3. 根据权利要求1所述的方法,其特征在于,所述显示与所述国家类别对应的若干个时区时钟,包括:
    获取与所述国家类别对应的每个所述时区时钟所对应的被搜索次数;
    按照所述被搜素次数对各个所述时区时钟进行排序,得到排序结果;
    按照所述排序结果对各个所述时区时钟进行显示。
  4. 根据权利要求1所述的方法,其特征在于,所述显示与所述国家类别对应的若干个时区时钟,包括:
    在与所述国家类别对应的若干个所述时区时钟中,确定与当前地理位置对应的时区时钟;
    将与所述当前地理位置对应的时区时钟按照第一优先级进行显示;
    将与所述当前地理位置不对应的时区时钟按照第二优先级进行显示;
    其中,所述第一优先级高于所述第二优先级。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述方法还包括:
    确定时区时钟的添加模式,所述添加模式包括国家添加模式或地理位置添加模式;
    在所述添加模式是所述国家添加模式时,执行所述接收国家类别的步骤;
    在所述添加模式是所述地理位置添加模式时,确定第一地理位置,所述第一地理位置是在第一时刻定位得到的地理位置;
    根据所述第一地理位置确定目标时区时钟;
    将所述目标时区时钟添加至用户时钟组。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第一地理位置确定目标时区时钟,包括:
    查询与所述第一地理位置对应的时区时钟,将查询到的所述时区时钟确定为目标时区时钟。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
    检测所述第二地理位置与所述第一地理位置是否属于同一城市或同一国家;
    当所述第二地理位置与所述第一地理位置不属于同一城市或同一国家时,将所述目标时区时钟从所述用户时钟组删除。
  8. 根据权利要求5所述的方法,其特征在于,所述根据所述第一地理位置确定目标时区时钟,包括:
    获取与当前时间段对应的行程信息,所述行程信息包括目的地;
    检测所述第一地理位置与所述目的地之间的距离是否小于第一阈值;
    若所述第一地理位置与所述目的地之间的距离小于第一阈值,查询与所述目的地对应的时区时钟,将查询到的所述时区时钟确定为目标时区时钟。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
    检测所述第二地理位置与所述目的地是否属于同一城市或同一国家;
    当所述第二地理位置与所述目的地不属于同一城市或同一国家时,将所述 目标时区时钟从所述用户时钟组删除。
  10. 一种时钟添加装置,其特征在于,所述装置包括:
    接收模块,被配置为接收国家类别;
    显示模块,被配置为显示与所述国家类别对应的若干个时区时钟;
    所述接收模块,还被配置为接收对若干个所述时区时钟中的目标时区时钟的选择信号;
    添加模块,被配置为将所述目标时区时钟添加至用户时钟组。
  11. 根据权利要求10所述的装置,其特征在于,所述显示模块,包括:第一显示子模块;
    所述第一显示子模块,被配置为将所述国家类别对应的标准时区时钟按照第一优先级进行显示;将所述国家类别对应的非标准时区时钟按照第二优先级进行显示;
    其中,所述第一优先级高于所述第二优先级。
  12. 根据权利要求10所述的装置,其特征在于,所述显示模块,包括:第二显示子模块;
    所述第二显示子模块,被配置为获取与所述国家类别对应的每个所述时区时钟所对应的被搜索次数;按照所述被搜素次数对各个所述时区时钟进行排序,得到排序结果;按照所述排序结果对各个所述时区时钟进行显示。
  13. 根据权利要求10所述的装置,其特征在于,所述显示模块,包括:第三显示子模块;
    所述第三显示子模块,被配置为在与所述国家类别对应的若干个所述时区时钟中,确定与当前地理位置对应的时区时钟;将与所述当前地理位置对应的时区时钟按照第一优先级进行显示;将与所述当前地理位置不对应的时区时钟按照第二优先级进行显示;
    其中,所述第一优先级高于所述第二优先级。
  14. 根据权利要求10至13任一所述的装置,其特征在于,所述装置还包 括:确定模块、定位模块和查询模块;
    所述确定模块,被配置为确定时区时钟的添加模式,所述添加模式包括国家添加模式或地理位置添加模式;
    所述接收模块,被配置为在所述添加模式是所述国家添加模式时,接收所述国家类别;
    所述定位模块,被配置为在所述添加模式是所述地理位置添加模式时,确定第一地理位置,所述第一地理位置是在第一时刻定位得到的地理位置;
    所述查询模块,被配置为根据所述第一地理位置确定目标时区时钟;
    所述添加模块,被配置为将所述目标时区时钟添加至用户时钟组。
  15. 根据权利要求14所述的装置,其特征在于,
    所述查询模块,被配置为查询与所述第一地理位置对应的时区时钟,将查询到的所述时区时钟确定为目标时区时钟。
  16. 根据权利要求15所述的装置,其特征在于,所述装置还包括:检测模块和删除模块;
    所述定位模块,被配置为确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
    所述检测模块,被配置为检测所述第二地理位置与所述第一地理位置是否属于同一城市或同一国家;
    所述删除模块,被配置为当所述第二地理位置与所述第一地理位置不属于同一城市或同一国家时,将所述目标时区时钟从所述用户时钟组删除。
  17. 根据权利要求14所述的装置,其特征在于,所述查询模块,还包括:获取单元、检测单元和查询单元;
    所述获取单元,被配置为获取与当前时间段对应的行程信息,所述行程信息包括目的地;
    所述检测单元,被配置为检测所述第一地理位置与所述目的地之间的距离是否小于第一阈值;
    所述查询单元,被配置为若所述第一地理位置与所述目的地之间的距离小于第一阈值,查询与所述目的地对应的时区时钟,将查询到的所述时区时钟确 定为目标时区时钟。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:检测模块和删除模块;
    所述定位模块,被配置为确定第二地理位置,所述第二地理位置是在第二时刻定位得到的地理位置,所述第二时刻晚于所述第一时刻;
    所述检测模块,被配置为检测所述第二地理位置与所述目的地是否属于同一城市或同一国家;
    所述删除模块,被配置为当所述第二地理位置与所述目的地不属于同一城市或同一国家时,将所述目标时区时钟从所述用户时钟组删除。
  19. 一种时钟添加装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收国家类别;
    显示与所述国家类别对应的若干个时区时钟;
    接收对若干个所述时区时钟中的目标时区时钟的选择信号;
    将所述目标时区时钟添加至用户时钟组。
PCT/CN2016/099836 2016-09-23 2016-09-23 时钟添加方法及装置 WO2018053789A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680000915.XA CN106464760B (zh) 2016-09-23 2016-09-23 时钟添加方法及装置
PCT/CN2016/099836 WO2018053789A1 (zh) 2016-09-23 2016-09-23 时钟添加方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/099836 WO2018053789A1 (zh) 2016-09-23 2016-09-23 时钟添加方法及装置

Publications (1)

Publication Number Publication Date
WO2018053789A1 true WO2018053789A1 (zh) 2018-03-29

Family

ID=58215238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099836 WO2018053789A1 (zh) 2016-09-23 2016-09-23 时钟添加方法及装置

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198495A (zh) * 2019-12-27 2020-05-26 重庆金康特智能穿戴技术研究院有限公司 可穿戴设备的时间显示方法、装置、设备及介质
CN111176106A (zh) * 2019-12-31 2020-05-19 重庆金康特智能穿戴技术研究院有限公司 时区切换显示方法、智能手表、装置及存储介质
CN113038227A (zh) * 2021-02-04 2021-06-25 东莞市金锐显数码科技有限公司 时钟显示方法、装置、设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257693A (zh) * 2007-02-06 2008-09-03 Lg电子株式会社 移动终端及其世界时间显示方法
CN102984342A (zh) * 2013-01-06 2013-03-20 深圳桑菲消费通信有限公司 一种移动终端设定世界时钟的方法
JP2015014515A (ja) * 2013-07-05 2015-01-22 キヤノン株式会社 ユーザーから現地時刻を取得した場合におけるタイムゾーンの設定方法
CN105407219A (zh) * 2015-10-30 2016-03-16 努比亚技术有限公司 移动终端的时间更新方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025438A (zh) * 2015-06-10 2015-11-04 惠州Tcl移动通信有限公司 一种移动终端位置通知方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257693A (zh) * 2007-02-06 2008-09-03 Lg电子株式会社 移动终端及其世界时间显示方法
CN102984342A (zh) * 2013-01-06 2013-03-20 深圳桑菲消费通信有限公司 一种移动终端设定世界时钟的方法
JP2015014515A (ja) * 2013-07-05 2015-01-22 キヤノン株式会社 ユーザーから現地時刻を取得した場合におけるタイムゾーンの設定方法
CN105407219A (zh) * 2015-10-30 2016-03-16 努比亚技术有限公司 移动终端的时间更新方法和装置

Also Published As

Publication number Publication date
CN106464760B (zh) 2020-04-03
CN106464760A (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
US10133717B2 (en) Method and system for managing images and geographic location data in a mobile device
EP2327270B1 (en) Orientation based control of mobile device
US8994851B2 (en) Displaying image data and geographic element data
US8396661B2 (en) Using relative position data in a mobile computing device
EP2211276B1 (en) Method and system for managing images and geographic location data in a mobile device
WO2008070522A2 (en) Device for saving results of location based searches
WO2017071562A1 (zh) 定位信息的处理方法和装置
CN105933862B (zh) 一种智能终端的定位方法、装置和一种移动终端
WO2018053789A1 (zh) 时钟添加方法及装置
CN104008129A (zh) 位置信息处理方法、装置及终端
US9830359B2 (en) Marking and searching mobile content by location
CN109241206B (zh) 一种路线查询方法及装置
CN108241678B (zh) 兴趣点数据的挖掘方法和装置
CN110019611B (zh) 一种多目的地的查询方法和装置
CN107976171B (zh) 一种信息处理方法、装置及设备
CN105338160B (zh) 事件提醒方法和装置
TWI572184B (zh) 位置顯示方法及使用此方法的行動通訊裝置與電腦程式產品
CN108038197A (zh) 照片管理方法及装置
CN110399566B (zh) 一种位置搜索方法、装置和电子设备
CN112988031B (zh) 一种位置输入方法、装置和电子设备
CN109669550B (zh) 一种获取用户词库的方法和装置
CN116069958A (zh) 一种兴趣点数据处理方法、装置和电子设备
CN105550201B (zh) 数据的显示方法及装置
CN111951065A (zh) 一种行程处理方法、装置和用于行程处理的装置
TW201040828A (en) Mobile device and method for changing background image automatically of the mobile device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16916528

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16916528

Country of ref document: EP

Kind code of ref document: A1