Automatic time zone updating method and system for bluetooth watch

10788796 ยท 2020-09-29

Assignee

Inventors

Cpc classification

International classification

Abstract

A method and system for automatically updating a current time zone of a smart watch by using the smart watch to acquire longitude and latitude data corresponding to a current location of the smart watch and to provide the longitude and latitude data to a mobile terminal to generate time zone information that is then provided to the smart watch.

Claims

1. A method for automatically updating a current time zone of a smart watch, the method comprising: determining, via the smart watch, longitude and latitude data corresponding to a current location of the smart watch; sending, via the smart watch, the longitude and latitude data to a mobile terminal that encapsulates the longitude and latitude data and sends the longitude and latitude data to a network server that analyzes the received longitude and latitude data and returns time zone data to the mobile terminal, where the mobile terminal parses the time zone data to obtain time zone information and simultaneously sends the time zone information to the smart watch and updates time zone information of the mobile terminal; and updating the current time zone of the smart watch based on the time zone information sent from the mobile terminal.

2. The method according to claim 1, further comprising: connecting the smart watch and the mobile terminal via Bluetooth before the sending the longitude and latitude data.

3. The method according to claim 1, wherein the determining longitude and latitude data further comprises: activating a GPS positioning module of the smart watch; acquiring, via the GPS positioning module, real-time longitude and latitude data corresponding to the current location of the smart watch; and sending, via the smart watch, the longitude and latitude data to the mobile terminal.

4. The method according to claim 3, wherein the GPS positioning module is a GPS positioning chip.

5. The automatic time zone updating method according to claim 1, further comprising: determining via the network server that the time zone data is null when the current location of the smart watch is determined, based on the longitude and latitude data, to be a region on the open sea.

6. The method according to claim 1, wherein the time zone data is JavaScript Object Notation (JSON) data.

7. A method for automatically updating a current time zone of a smart watch, the method comprising: determining, via the smart watch, longitude and latitude data corresponding to a current location of the smart watch; sending, via the smart watch, the longitude and latitude data to a mobile terminal that encapsulates the longitude and latitude data and sends the longitude and latitude data to a network server that analyzes the received longitude and latitude data and returns time zone data to the mobile terminal, where the mobile terminal parses the time zone data to obtain time zone information; and updating the current time zone of the smart watch based on the time zone information sent from the mobile terminal.

8. The method according to claim 7, wherein the time zone data is JavaScript Object Notation (JSON) data.

9. The method according to claim 7, further comprising: connecting the smart watch and the mobile terminal via Bluetooth.

10. The method according to claim 7, wherein the determining longitude and latitude data further comprises: activating a GPS positioning module of the smart watch; acquiring, via the GPS positioning module, the longitude and latitude data; and sending, via the smart watch, the longitude and latitude data to the mobile terminal.

11. The method according to claim 10, wherein the GPS positioning module is a GPS positioning chip.

12. The method according to claim 7, further comprising: determining via the network server that the time zone data is null when the current location of the smart watch is determined, based on the longitude and latitude data, to be a region on the open sea.

13. The method according to claim 7, wherein the mobile terminal simultaneously sends the time zone information to the smart watch and updates time zone information of the mobile terminal.

14. A smart watch comprising: a processor; and a memory that stores at least one instruction that when executed by the processor, causes the processor to: determine longitude and latitude data corresponding to a current location of the smart watch; send the longitude and latitude data to a mobile terminal that encapsulates the longitude and latitude data and sends the longitude and latitude data to a network server that analyzes the received longitude and latitude data and returns time zone data to the mobile terminal, where the mobile terminal parses the time zone data to obtain time zone information and simultaneously sends the time zone information to the smart watch and updates time zone information of the mobile terminal; and update the current time zone of the smart watch based on the time zone information sent from the mobile terminal.

15. The smart watch according to claim 14, wherein the time zone data is JavaScript Object Notation (JSON) data.

16. The smart watch according to claim 14, wherein the memory further stores at least one instruction that when executed by the processor, causes the processor to: connect the smart watch with the mobile terminal via Bluetooth.

17. The smart watch according to claim 14, wherein the memory further stores at least one instruction that when executed by the processor, causes the processor to: activate a GPS positioning module; acquire, via the GPS positioning unit, the longitude and latitude data; and send the longitude and latitude data to mobile terminal.

18. The smart watch according to claim 17, wherein the GPS positioning module is a GPS positioning chip.

19. The smart watch according to claim 14, wherein the memory further stores at least one instructions that when executed by the processor, causes the processor to: update the current time zone of the smart watch with a null value when the current location of the smart watch is determined to be a region on the open sea.

20. The smart watch according to claim 14, wherein the mobile terminal simultaneously sends the time zone information to the smart watch and updates time zone information of the mobile terminal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a flow chart showing an exemplary automatic time zone updating method for a smart watch.

(2) FIG. 2 is a flow chart further illustrating S101 of FIG. 1.

(3) FIG. 3 is a structural block diagram of an exemplary system for automatically updating a time zone of a smart watch.

(4) FIG. 4 is a structural block diagram further illustrating the exemplary longitude and latitude data sending module of FIG. 3.

DETAILED DESCRIPTION

(5) The present invention will be further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention, instead of limiting the present invention.

(6) FIG. 1 shows an exemplary automatic time zone updating method for a smart watch.

(7) Prior to S101, the smart watch connects to a mobile terminal via Bluetooth. Bluetooth provides a fast data transmission rate, stable transmission over a short distance, and a low standby power consumption.

(8) At S101, the smart watch sends longitude and latitude data corresponding to a current location of the smart watch to the mobile terminal using Bluetooth.

(9) At S102, the mobile terminal encapsulates the longitude and latitude data, and sends the longitude and latitude data to a network server through a network.

(10) At S103, the network server analyzes the received longitude and latitude data, and returns time zone data to the mobile terminal.

(11) At S104, the mobile terminal parses the time zone data to obtain time zone information, and sends the time zone information to the smart watch via Bluetooth.

(12) At S105, the smart Bluetooth watch updates its own time zone information based on the time zone information received from the mobile terminal.

(13) Therefore, an exemplary smart watch performs real time positioning, and sends the longitude and latitude data acquired through positioning to a mobile terminal. The mobile terminal sends the longitude and latitude data to a network server, and the network server obtains time zone data through analysis and then returns the time zone data to the mobile terminal. The mobile terminal parses the time zone data to obtain a corresponding time zone, and sends the time zone to the smart watch for updating. In such a way, even in the case where a mobile terminal is unable to update its time zone information in real time, the smart watch can still update its own time zone information, and at the same time, the mobile terminal can update its own time zone information.

(14) FIG. 2 is a flow chart further illustrating S101 of FIG. 1.

(15) In S201, the smart watch activates a GPS positioning module of the smart watch. The GPS positioning module can be, for example, a GPS positioning chip.

(16) In S202, the smart watch acquires longitude and latitude data corresponding to the current location of the smart watch via the GPS positioning module.

(17) In S203, the smart watch sends the longitude and latitude data to the mobile terminal via Bluetooth.

(18) The time zone data can be JavaScript Object Notation (JSON) data. JSON is a lightweight data exchange format that is based on a subset of ECMAScript. JSON adopts a text format that is completely independent of languages. In short, JSON refers to object and array in JavaScript, and various complex structures can be expressed through these two structures. Wherein, the object is expressed as the content between { } in JSON and has a key-value pair structure of {key: value, key: value, . . . } as the data structure. In an object-oriented language, key is the object attribute, value is a corresponding attribute value, and the method to assign a value is that the object.key acquires an attribute value. The type of the attribute value may comprise number, character string, array, and object. In JSON, an array is the content between square brackets [ ] and has a data structure of [Java, javascript, vb, . . . ]. Just like in all languages, the method to assign a value is to acquire the value through index. The type of a field value may comprise number, character string, array, and object.

(19) In an exemplary implementation, the network server can be a Google server. The Google server can be used by users for free, provides a time zone positioning service, and can acquire a time zone of a corresponding position according to the longitude and latitude data.

(20) For major cities in the world, the relationship between longitude and latitude and time zone is as follows:

(21) TABLE-US-00001 London 51 N 0 E UTC(0) Paris 48 N 2 E UTC + 1 Zurich 47 N 8 E UTC + 1 Warsaw 52 N 21 E UTC + 1 Austria 48 N 16 E UTC + 1 Berlin 48 N 16 E UTC + 1 Munich 48 N 11 E UTC + 1 Amsterdam 52 N 4 E UTC + 1 Rome 41 N 12 E UTC + 1 Venice 45 N 12 E UTC + 1 Egypt 30 N 31 E UTC + 2 Athens 37 N 23 E UTC + 2 Moscow 55 N 37 E UTC + 3 Beijing 39 N 116 E UTC + 8 Hong Kong 22 N 114 E UTC + 8 Tokyo 35 N 139 E UTC + 9 Sydney 33 S 151 E UTC + 10 New York 40 N 73 W UTC 5 Buenos Aires 34 S 58 W UTC 3 Rio de Janeiro 22 S 47 W UTC 3 Toronto 43 N 79 W UTC 5 Houston 42 N 71 W UTC 5 Washington 38 N 77 W UTC 5 Los Angeles 34 N 118 N UTC 8 San Francisco 37 N 122 N UTC 8

(22) The mobile terminal can be, for example, a cell phone or a tablet computer. For example, if the mobile terminal is a cell phone, then the cell phone needs to have a Bluetooth-supporting time zone application. When the smart watch activates the GPS positioning module and determines a location based on the longitude and latitude of the smart watch, the smart watch end sends the longitude and latitude data to the cell phone via Bluetooth. Upon receiving the longitude and latitude data, the time zone application on the cell phone can encapsulate the longitude and latitude data according to Google Maps Time Zone API, and then sends the longitude and latitude data to the Google server via the Internet. Upon receiving the longitude and latitude data, the Google server performs an analysis on the received longitude and latitude data, and returns JSON data to the cell phone. Upon receiving the JSON data, the time zone application on the cell phone parses the JSON data. If a region is identified as being on the open sea, the timeZoneName data in the JSON data is parsed to be null. Otherwise, the timeZoneName data is time zone information. The time zone information is sent to the smart watch via Bluetooth. When detecting the time zone information, a customized application on the smart watch updates the time zone information associated with the smart watch.

(23) FIG. 3 is a structural block diagram of an exemplary system for automatically updating a time zone of a smart watch.

(24) As shown in FIG. 3, a longitude and latitude data sending module 100 of the smart watch is configured to send longitude and latitude data corresponding to a current location of the smart watch to a mobile terminal via Bluetooth.

(25) A longitude and latitude data encapsulating module 200 of the mobile terminal is configured to encapsulate the longitude and latitude data received by the mobile terminal, and send the longitude and latitude data to a network server through a network.

(26) A longitude and latitude data analyzing module 300 of the network server is configured to analyze the longitude and latitude data received by the network server, and return time zone data to the mobile terminal.

(27) A time zone data parsing module 400 of the mobile terminal is configured to parse the time zone data received by the mobile terminal to obtain time zone information, and send the time zone information to the smart watch via Bluetooth.

(28) A time zone updating module 500 of the smart watch is configured to update, upon receiving the time zone information by the smart watch, information associated with the time zone corresponding to the current location of the smart watch.

(29) A memory 31 of the mobile terminal is configured to store software programs and modules.

(30) A processor 32 of the mobile terminal is configured to execute various functions and applications of the mobile terminal and data processing by running the software programs and modules stored in the memory 31.

(31) A Bluetooth module 33 is configured to establish communication connection between the smart watch and the mobile terminal.

(32) A display 34 of the smart watch is configured to display a time zone corresponding to a current location of the smart watch.

(33) A GPS positioning module 35 of the smart watch is configured to acquire longitude and latitude data corresponding to a current location of the smart watch.

(34) In an exemplary implementation, the processor 32 uploads executable program codes corresponding to processes of one or more applications into the memory 31. The processor 32 runs the applications stored in the memory 31, thereby carrying out the above automatic time zone updating method for a smart watch or running the above automatic time zone updating system for a smart watch, and then achieving various corresponding functions.

(35) FIG. 4 is a structural block diagram further illustrating the exemplary longitude and latitude data sending module 100 of FIG. 3.

(36) The longitude and latitude data sending module 100 includes a GPS activating unit 110 configured to activate GPS positioning module of the smart watch, as described above.

(37) The longitude and latitude data sending module 100 includes a longitude and latitude data acquiring unit 120 configured to acquire longitude and latitude data of the smart watch through the GPS positioning module.

(38) The longitude and latitude data sending module 100 further includes a longitude and latitude data sending unit 130 configured to send the longitude and latitude data to the mobile terminal via Bluetooth.

(39) As described above, the network server can be a Google server. Technical details regarding the modules and units above have been described in detail in the method above, which will not be repeated herein.

(40) Those skilled in the art should understand that all or a part of the above-described exemplary can be implemented through relevant hardware as instructed by computer program instructions, and the computer program may be stored in a computer readable storage medium. The storage medium therein may be magnetic disk, optical disk, Read Only Memory (ROM) or Random Access Memory (RAM).

(41) In summary, an exemplary smart watch determines is own current location based on it longitude and latitude, then sends the acquired longitude and latitude data to a mobile terminal. The mobile terminal sends the longitude and latitude data to a network server that obtains time zone data and then returns the time zone data to the mobile terminal. Time zone information is thereby obtained, and the smart watch is updated. Thus, even in the case where a mobile terminal is unable to learn the current time zone, it can still acquire, in real time, the time zone information for updating, thereby greatly facilitating the use by a user and adding a new function to smart watches.

(42) It should be understood that applications of the present invention are not limited to the examples above. Those skilled in the art can make improvements or changes according to the description above, and all these improvements and changes shall be encompassed by the appended claims.