CN105979480A - Method and device for updating time of mobile equipment - Google Patents

Method and device for updating time of mobile equipment Download PDF

Info

Publication number
CN105979480A
CN105979480A CN201610232707.4A CN201610232707A CN105979480A CN 105979480 A CN105979480 A CN 105979480A CN 201610232707 A CN201610232707 A CN 201610232707A CN 105979480 A CN105979480 A CN 105979480A
Authority
CN
China
Prior art keywords
time
time zone
mobile device
currently located
coordinate information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610232707.4A
Other languages
Chinese (zh)
Inventor
冯超
万旎
杨晓星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610232707.4A priority Critical patent/CN105979480A/en
Publication of CN105979480A publication Critical patent/CN105979480A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method and a device for updating the time of mobile equipment. The method comprises the steps of determining geographic coordinate information of the current location of the mobile equipment; determining the current located time zone of the mobile equipment according to the geographic coordinate information; calculating the time corresponding to the current located time zone according to the current standard time, wherein the standard time is used for representing the universal time; and updating the system time of the mobile equipment according to the time corresponding to the current located time zone. The technical scheme provided by the invention can solve a problem that the mobile equipment cannot automatically update the system time to the time of the located time zone when a SIM card cannot acquire time zone information of the location from a base station.

Description

Mobile device method for updating time and device
Technical field
It relates to networking technology area, particularly relate to a kind of mobile device method for updating time and device.
Background technology
Automatically update the default feature that time zone is mobile device, by using client identification module (Subscriber Identity Module, SIM) card connects base station, can obtain the current institute of mobile device In time zone, and then realize automatically updating the time that system time is corresponding time zone of mobile device.Work as movement When equipment position is not covered by the base station of mobile operation network, SIM will be unable to be connected to base station, Can not be from the time-zone information of acquisition position, base station, and then when cannot the automatic update system time be place The time in district, directly affect user and use the experience of mobile device.
Summary of the invention
For overcoming problem present in correlation technique, disclosure embodiment provides a kind of mobile device time more New method and device, in order to solve SIM can not from the time-zone information of acquisition position, base station time, move Dynamic equipment cannot be the problem of the time in time zone, place the automatic update system time.
First aspect according to disclosure embodiment, it is provided that a kind of mobile device method for updating time, can wrap Include:
Determine the geographic coordinate information of described mobile device present position;
According to described geographic coordinate information, determine that described mobile device is currently located time zone;
According to the current standard time, it is currently located, described in calculating, the time that time zone is corresponding, wherein, described Standard time is universal time;
According to the described system time being currently located the described mobile device of time renewal corresponding to time zone.
In one embodiment, the described geographic coordinate information determining described mobile device present position, Comprise the steps that
Locating request message is sent to GPS;
Receive the response message that described GPS returns according to described locating request message;
The geographic coordinate information parsed from described response message is defined as the current institute of described mobile device Geographic coordinate information in position.
In one embodiment, described according to described geographic coordinate information, determine the current institute of described mobile device In time zone, it may include:
Described geographic coordinate information is converted to administrative region;
Inquire about, in default time zone data storehouse, the time zone that described administrative region is corresponding, by described administrative region pair The time zone answered is currently located time zone described in being defined as, and wherein, described default time zone data storehouse is used for recording row The time zone that territory, administrative division is corresponding with described administrative region.
In one embodiment, described method may also include that
Access network time server, obtain the current standard time.
In one embodiment, the standard time that described basis is current, time zone it is currently located described in calculating corresponding Time, it may include:
The time zone being currently located time zone corresponding with the described standard time, time zone described in calculating is poor;
Differ from and the described standard time according to described time zone, be currently located, described in calculating, the time that time zone is corresponding.
Second aspect according to disclosure embodiment, it is provided that a kind of mobile device time updating device, described Device comprises the steps that
Coordinate determines module, is configured to determine that the geographical coordinate letter of described mobile device present position Breath;
Time zone determines module, is configured to determine, according to described coordinate, the described geographical coordinate letter that module determines Breath, determines that described mobile device is currently located time zone;
Computing module, is configured to calculate described time zone and determines that module is currently located time zone pair described in determining The time answered;
More new module, be configured to according to described computing module calculate described in be currently located time zone corresponding Time update described mobile device system time.
In one embodiment, described coordinate determines that module comprises the steps that
Send submodule, be configured to send locating request message to GPS;
Receive submodule, be configured to receive what described GPS sent according to described transmission submodule The response message that described locating request message returns;
Determine submodule, be configured to solve from the described response message that described reception submodule receives The geographic coordinate information separated out is defined as the geographic coordinate information of described mobile device present position.
In one embodiment, described time zone determines that module comprises the steps that
Transform subblock, is configured to described geographic coordinate information is converted to administrative region;
Inquiry submodule, is configured to inquire about described transform subblock in default time zone data storehouse and changes The time zone that the described administrative region arrived is corresponding, time zone corresponding for described administrative region is defined as described currently Time zone, place, wherein, described default time zone data storehouse is used for recording administrative region and described administrative region pair The time zone answered.
In one embodiment, described device may also include that
Acquisition module, is configured to access network time server, obtains the current standard time.
In one embodiment, described computing module comprises the steps that
First calculating sub module, is configured to be currently located time zone described in calculating corresponding with the described standard time The time zone in time zone is poor;
Second calculating sub module, be configured to according to described first calculating sub module calculated described time The described standard time that district's difference obtains with described acquisition module, be currently located described in calculating time zone corresponding time Between.
Second aspect according to disclosure embodiment, it is provided that a kind of mobile device time updating device, described Device can include
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Determine the geographic coordinate information of described mobile device present position;
According to described geographic coordinate information, determine that described mobile device is currently located time zone;
According to the current standard time, it is currently located, described in calculating, the time that time zone is corresponding, wherein, described Standard time is used for representing universal time;
According to the described system time being currently located the described mobile device of time renewal corresponding to time zone.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: if mobile device It is currently needed for updating system time, can first determine that the geographic coordinate information of mobile device present position, And then determine that mobile device is currently located time zone, according to current standard time and be currently located time zone Determine the system time that mobile device is current.When mobile device needs the renewal time, can not be from base station Obtain position time-zone information, and then avoid SIM can not from acquisition position, base station time During district's information, mobile device cannot be the problem of the time in time zone, place the automatic update system time, optimizes Consumer's Experience.
Further, by inquiring about the time zone that administrative region is corresponding in locally stored default time zone data storehouse, Quickly can determine according to geographical location information and be currently located time zone, when improve mobile device renewal system Between efficiency, optimize Consumer's Experience.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe , the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet this Bright embodiment, and for explaining the principle of the present invention together with description.
Figure 1A is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment.
Figure 1B is the scene graph according to the mobile device method for updating time shown in an exemplary embodiment.
Fig. 2 A is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment one.
Fig. 2 B is the flow chart according to the step 201 shown in an exemplary embodiment one.
Fig. 3 is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment two.
Fig. 4 is the block diagram according to a kind of mobile device time updating device shown in an exemplary embodiment.
Fig. 5 is the frame according to the another kind of mobile device time updating device shown in an exemplary embodiment Figure.
Fig. 6 is to be applicable to mobile device time updating device according to a kind of shown in an exemplary embodiment Block diagram.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following When description relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the present invention There is embodiment.On the contrary, they only with as appended claims describes in detail, the one of the present invention The example of the apparatus and method that a little aspects are consistent.
Figure 1A is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment; Figure 1B is the scene graph according to the mobile device method for updating time shown in an exemplary embodiment;This shifting Dynamic equipment method for updating time can be applied in mobile device (such as: smart mobile phone, panel computer), As shown in Figure 1A, this mobile device method for updating time comprises the following steps:
In a step 101, the geographic coordinate information of mobile device present position is determined.
In one embodiment, global positioning system (the Global Positioning in mobile device can be enabled System, GPS) function determines the geographic coordinate information of mobile device present position.Such as, move The geographical coordinate of dynamic equipment present position is (40 ° of N, 75 ° of W).
In a step 102, according to geographic coordinate information, determine that mobile device is currently located time zone.
In one embodiment, by accessing the Internet, geographic coordinate information can be converted to the administration of correspondence Region, then inquires about, in default time zone data storehouse, the time zone that this administrative region is corresponding.Such as, by geography Coordinate (40 ° of N, 75 ° of W) is converted to USA New York, and then time zone data storehouse is preset in inquiry, it may be determined that beautiful Time zone Wei Xi five district corresponding to state New York.In one embodiment, this default time zone data storehouse can be stored in In mobile device, it is possible to be stored in cloud server.
In step 103, according to the current standard time, calculate and be currently located the time that time zone is corresponding, Wherein, the standard time is universal time.
In one embodiment, the current standard time can be determined by accessing network time server, i.e. when The front GMT.
In one embodiment, it is currently located the time zone difference in time zone and 0 time zone according to mobile device, and The current standard time, mobile device and can be calculated and be currently located the time in time zone.Such as, currently Standard time be point 10 days 12 April in 2016, then the time of the USA New York being positioned at western 5th district is 10 days 7 April in 2016 point.
At step 104, according to the system time being currently located time renewal mobile device corresponding to time zone.
In an exemplary scenario, as shown in Figure 1B, when mobile device 11 needs to update system time, Need to send locating request message to GPS, thus obtain mobile device 11 present position Geographic coordinate information, addressable network server 12 when mobile device 11 gets geographic coordinate information, Obtain the administrative region that geographic coordinate information is corresponding, in data base, then inquire about this administrative region corresponding Time zone, according to this time zone and current standard time of asking from network time server 13, mobile Equipment can calculate the time being currently located time zone.In the disclosure, mobile device 11 can be passed through GPS positioning function determines the geographic coordinate information of mobile device present position, and further determines that this The administrative region that geographic coordinate information is corresponding, determines further according to default time zone data storehouse and is currently located time zone, And then determine that mobile device is currently located the time in time zone according to the current standard time, solve SIM Can not be when the time-zone information of acquisition position, base station, mobile device cannot the automatic update system time be The problem of the time in time zone, place.
In the present embodiment, if mobile device is currently needed for updating system time, can first determine that mobile setting The geographic coordinate information of standby present position, and then determine that mobile device is currently located time zone, according to working as Before standard time and be currently located the system time that time zone i.e. can determine that mobile device is current.Set when mobile For when needing the renewal time, from the time-zone information of acquisition position, base station, and then can not avoid at SIM Card can not be when the time-zone information of acquisition position, base station, and mobile device cannot the automatic update system time For the problem of the time in time zone, place, optimize Consumer's Experience.
In one embodiment, the geographic coordinate information of mobile device present position is determined, it may include:
Locating request message is sent to GPS;
Receive the response message that GPS returns according to locating request message;
The geographic coordinate information parsed from response message is defined as mobile device present position Geographic coordinate information.
In one embodiment, according to geographic coordinate information, determine that mobile device is currently located time zone, can wrap Include:
Geographic coordinate information is converted to administrative region;
The time zone that administrative region is corresponding is inquired about, by time zone corresponding for administrative region in default time zone data storehouse It is defined as being currently located time zone, wherein, presets time zone data storehouse and be used for recording administrative region and administrative region Corresponding time zone.
In one embodiment, method may also include that
Access network time server, obtain the current standard time.
In one embodiment, according to the current standard time, calculate and be currently located the time that time zone is corresponding, Comprise the steps that
The time zone that calculating is currently located time zone corresponding with the standard time, time zone is poor;
According to time zone difference and standard time, calculate and be currently located the time that time zone is corresponding.
Specifically how to update the mobile device time, refer to subsequent embodiment.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 A is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment one, Fig. 2 B is the flow chart according to the step 201 shown in an exemplary embodiment one;The present embodiment utilizes this How the said method that open embodiment provides, determine that the current system time of mobile device carries out example Property explanation, as shown in Figure 2 A, comprise the steps:
In step 201, determine the geographic coordinate information of mobile device present position, perform step 202 and step 204.
In one embodiment, the detailed description of step 201 may refer to Fig. 2 B, as shown in Figure 2 B, bag Include following steps:
In step 211, locating request message is sent to GPS.
In the step 212, the response message that GPS returns is received according to locating request message.
In step 213, the geographic coordinate information parsed from response message is defined as mobile device The geographic coordinate information of present position.
In step 202., geographic coordinate information is converted to administrative region.
In one embodiment, by accessing the Internet, geographic coordinate information can be converted to the administration of correspondence Region.
In one embodiment, also can according to pre-setting the coordinate range determining geographic coordinate information place, Search, in default administrative region data base, the administrative region that this coordinate range is corresponding, this default administrative region Data base is used for the administrative region that coordinate range is corresponding with coordinate range.Such as, if mobile device place Geographical coordinate be (40 ° 21,116 ° 21), the most predeterminable administrative region data base searches it affiliated Coordinate range, if preset administrative region data base exist coordinate range (39 ° of 26 ' N to 41 ° of 03 ' N of north latitude, 115 ° of 25 ' E to 117 ° of 30 ' E), then can determine that coordinate range (39 ° of 26 ' N to 41 ° of 03 ' N of north latitude, 115 ° of 25 ' E to 117 ° of 30 ' E) corresponding administrative region is mobile device and is currently located administrative region.
In one embodiment, this default administrative region data base can be stored in mobile device, it is possible to storage In cloud server.
In step 203, default time zone data storehouse is inquired about the time zone that administrative region is corresponding, by administration Time zone corresponding to region is defined as being currently located time zone.
In one embodiment, preset time zone data storehouse for record administrative region corresponding with administrative region time District.Such as, if it is determined that the administrative region that mobile device is currently located is USA New York, then can be by looking into Ask and preset time zone data storehouse, determine time zone Wei Xi five district corresponding to USA New York.
In step 204, access network time server, obtain the current standard time.
In one embodiment, the standard time is universal time.
In step 205, according to the current standard time, calculate and be currently located the time that time zone is corresponding.
The description of step 205 may refer to the description of above-mentioned steps 103, is not described in detail in this.
In step 206, according to the system time being currently located time renewal mobile device corresponding to time zone.
In the present embodiment, corresponding by inquiring about administrative region in locally stored default time zone data storehouse Time zone, quickly can determine according to geographical location information and be currently located time zone, improves mobile device and updates The efficiency of system time, optimizes Consumer's Experience.
Fig. 3 is the flow chart according to the mobile device method for updating time shown in an exemplary embodiment two; The present embodiment utilizes the said method that disclosure embodiment provides, with how according to time zone, mobile device place As a example by the time determining mobile device with the standard time illustrative, as it is shown on figure 3, include as Lower step:
In step 301, calculate that to be currently located the time zone in time zone corresponding with the standard time, time zone poor.
In step 302, according to time zone difference and standard time, calculate and be currently located the time that time zone is corresponding.
In one embodiment, it is currently located the time zone difference in time zone and 0 time zone according to mobile device, and The current standard time, mobile device and can be calculated and be currently located the time in time zone.Such as, currently Standard time be point 10 days 12 April in 2016, then the time of the USA New York being positioned at western 5th district is 10 days 7 April in 2016 point.
In the present embodiment, calculate mobile device by the whole world unified standard time and time zone difference current System time, can accurately update the system time of mobile device, optimizes Consumer's Experience.
Fig. 4 is the block diagram according to a kind of mobile device time updating device shown in an exemplary embodiment, Shown in Fig. 4, mobile device time updating device includes:
Coordinate determines module 410, is configured to determine that the geographical coordinate letter of mobile device present position Breath;
Time zone determines module 420, is configured to determine, according to coordinate, the geographical coordinate letter that module 410 determines Breath, determines that mobile device is currently located time zone;
Computing module 430, is configured to according to the current standard time, calculates time zone and determines module 420 Determine is currently located the time that time zone is corresponding;
More new module 440, is configured to be currently located time zone correspondence according to what computing module 430 calculated Time update mobile device system time.
Fig. 5 is the frame according to the another kind of mobile device time updating device shown in an exemplary embodiment Figure, as it is shown in figure 5, on the basis of Fig. 4 embodiment, in one embodiment, coordinate determines module 410 Comprise the steps that
Send submodule 411, be configured to send locating request message to GPS;
Receive submodule 412, be configured to receive GPS according to sending what submodule 411 sent The response message that locating request message returns;
Determine submodule 413, be configured to from receiving solution in the response message that submodule 412 receives The geographic coordinate information separated out is defined as the geographic coordinate information of mobile device present position.
In one embodiment, time zone determines that module 420 includes:
Transform subblock 421, is configured to geographic coordinate information is converted to administrative region;
Inquiry submodule 422, is configured in default time zone data storehouse inquire about transform subblock 421 turns The time zone that the administrative region got in return is corresponding, is defined as being currently located time zone by time zone corresponding for administrative region, Wherein, time zone data storehouse is preset for recording the time zone that administrative region is corresponding with administrative region.
In one embodiment, device may also include that
Acquisition module 450, is configured to access network time server, obtains the current standard time.
In one embodiment, computing module 430 includes:
First calculating sub module 431, is configured to calculating and is currently located time zone corresponding with the standard time, time zone Time zone poor;
Second calculating sub module 432, it is poor to be configured to according to the first calculated time zone of calculating sub module The standard time obtained with acquisition module, calculate and be currently located the time that time zone is corresponding.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate is having Close in the embodiment of the method and be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is to be applicable to mobile device time updating device according to a kind of shown in an exemplary embodiment Block diagram.Such as, device 600 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting Equipment, game console, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 can include following one or more assembly: processes assembly 602, storage Device 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) Interface 612, sensor cluster 614, and communications component 616.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, The operation that data communication, camera operation and record operation are associated.Treatment element 602 can include one Or multiple processor 620 performs instruction, to complete all or part of step of above-mentioned method.Additionally, Process assembly 602 and can include one or more module, it is simple to process between assembly 602 and other assemblies Mutual.Such as, processing component 602 can include multi-media module, to facilitate multimedia groupware 608 And process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation at equipment 600.This The example of a little data includes any application program for operation on device 600 or the instruction of method, connection It is personal data, telephone book data, message, picture, video etc..Memorizer 604 can be by any type Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only Memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM), Magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 606 is device 600 provide electric power.Electric power assembly 606 can include Power-supply management system, one or more power supplys, and other with generate for device 600, manage and distribute electricity The assembly that power is associated.
The screen of one output interface of offer that multimedia groupware 608 is included between device 600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).As Really screen includes that touch panel, screen may be implemented as touch screen, to receive the input letter from user Number.Touch panel includes that one or more touch sensor touches with sensing, slides and on touch panel Gesture.Touch sensor can not only sense touch or the border of sliding action, but also detect and touch Or slide relevant persistent period and pressure.In certain embodiments, multimedia groupware 608 includes One front-facing camera and/or post-positioned pick-up head.When equipment 600 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each Front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optics Zoom capabilities.
Audio-frequency assembly 610 is configured to output and/or input audio signal.Such as, audio-frequency assembly 610 wraps Include a mike (MIC), when device 600 is in operator scheme, such as call model, logging mode During with speech recognition mode, mike is configured to receive external audio signal.The audio signal received Can be further stored at memorizer 604 or send via communications component 616.In certain embodiments, Audio-frequency assembly 610 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface, above-mentioned periphery for processing between assembly 602 and peripheral interface module Interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: homepage is pressed Button, volume button, start button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing various aspects for device 600 State estimation.Such as, what sensor cluster 614 can detect equipment 600 opens/closed mode, The relative localization of assembly, such as assembly are display and the keypad of device 600, sensor cluster 614 Can also detect device 600 or the position change of 600 1 assemblies of device, user contacts with device 600 Presence or absence, device 600 orientation or acceleration/deceleration and the variations in temperature of device 600.Sensor Assembly 614 can include proximity transducer, is configured to detect when not having any physical contact attached The existence of nearly object.Sensor cluster 614 can also include optical sensor, as CMOS or CCD schemes As sensor, for using in imaging applications.In certain embodiments, this sensor cluster 614 is also Acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensing can be included Device.
Communications component 616 is configured to facilitate wired or wireless mode between device 600 and other equipment Communication.Device 600 can access wireless network based on communication standard, such as WIFI, 2G or 3G, or Combinations thereof.In one exemplary embodiment, communication component 616 via broadcast channel receive from The broadcast singal of external broadcasting management system or broadcast related information.In one exemplary embodiment, logical Letter parts 616 also include near-field communication (NFC) module, to promote junction service.Such as, at NFC Module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) Technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile Journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro- Processor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided Medium, such as, include the memorizer 604 of instruction, and above-mentioned instruction can be held by the processor 620 of device 600 Row is to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM, Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to this Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim limits.

Claims (11)

1. a mobile device method for updating time, it is characterised in that described method includes:
Determine the geographic coordinate information of described mobile device present position;
According to described geographic coordinate information, determine that described mobile device is currently located time zone;
According to the current standard time, it is currently located, described in calculating, the time that time zone is corresponding, wherein, described Standard time is used for representing universal time;
According to the described system time being currently located the described mobile device of time renewal corresponding to time zone.
Method the most according to claim 1, it is characterised in that described determine described mobile device work as The geographic coordinate information of front position, including:
Locating request message is sent to GPS;
Receive the response message that described GPS returns according to described locating request message;
The geographic coordinate information parsed from described response message is defined as the current institute of described mobile device Geographic coordinate information in position.
Method the most according to claim 2, it is characterised in that described believe according to described geographical coordinate Breath, determines that described mobile device is currently located time zone, including:
Described geographic coordinate information is converted to administrative region;
Inquire about, in default time zone data storehouse, the time zone that described administrative region is corresponding, by described administrative region pair The time zone answered is currently located time zone described in being defined as, and wherein, described default time zone data storehouse is used for recording row The time zone that territory, administrative division is corresponding with described administrative region.
Method the most according to claim 1, it is characterised in that described method also includes:
Access network time server, obtain the current standard time.
Method the most according to claim 1, it is characterised in that the standard time that described basis is current, The time that time zone is corresponding it is currently located described in calculating, including:
The time zone being currently located time zone corresponding with the described standard time, time zone described in calculating is poor;
Differ from and the described standard time according to described time zone, be currently located, described in calculating, the time that time zone is corresponding.
6. a mobile device time updating device, it is characterised in that described device includes:
Coordinate determines module, is configured to determine that the geographical coordinate letter of described mobile device present position Breath;
Time zone determines module, is configured to determine, according to described coordinate, the described geographical coordinate letter that module determines Breath, determines that described mobile device is currently located time zone;
Computing module, is configured to according to the current standard time, calculates described time zone and determines that module determines Described in be currently located the time that time zone is corresponding;
More new module, be configured to according to described computing module calculate described in be currently located time zone corresponding Time update described mobile device system time.
Device the most according to claim 6, it is characterised in that described coordinate determines that module includes:
Send submodule, be configured to send locating request message to GPS;
Receive submodule, be configured to receive what described GPS sent according to described transmission submodule The response message that described locating request message returns;
Determine submodule, be configured to solve from the described response message that described reception submodule receives The geographic coordinate information separated out is defined as the geographic coordinate information of described mobile device present position.
Device the most according to claim 7, it is characterised in that described time zone determines that module includes:
Transform subblock, is configured to described geographic coordinate information is converted to administrative region;
Inquiry submodule, is configured to inquire about described transform subblock in default time zone data storehouse and changes The time zone that the described administrative region arrived is corresponding, time zone corresponding for described administrative region is defined as described currently Time zone, place, wherein, described default time zone data storehouse is used for recording administrative region and described administrative region pair The time zone answered.
Device the most according to claim 6, it is characterised in that described device also includes:
Acquisition module, is configured to access network time server, obtains the current standard time.
Device the most according to claim 9, it is characterised in that described computing module includes:
First calculating sub module, is configured to be currently located time zone described in calculating corresponding with the described standard time The time zone in time zone is poor;
Second calculating sub module, be configured to according to described first calculating sub module calculated described time The described standard time that district's difference obtains with described acquisition module, be currently located described in calculating time zone corresponding time Between.
11. 1 kinds of mobile device time updating devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Determine the geographic coordinate information of described mobile device present position;
According to described geographic coordinate information, determine that described mobile device is currently located time zone;
The time that time zone is corresponding it is currently located described in calculating;
Set with the described time described movement of renewal being currently located time zone corresponding according to the described time zone that is currently located Standby system time.
CN201610232707.4A 2016-04-14 2016-04-14 Method and device for updating time of mobile equipment Pending CN105979480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610232707.4A CN105979480A (en) 2016-04-14 2016-04-14 Method and device for updating time of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610232707.4A CN105979480A (en) 2016-04-14 2016-04-14 Method and device for updating time of mobile equipment

Publications (1)

Publication Number Publication Date
CN105979480A true CN105979480A (en) 2016-09-28

Family

ID=56988781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610232707.4A Pending CN105979480A (en) 2016-04-14 2016-04-14 Method and device for updating time of mobile equipment

Country Status (1)

Country Link
CN (1) CN105979480A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657622A (en) * 2016-12-02 2017-05-10 惠州Tcl移动通信有限公司 Setting method and system of mobile terminal display time
CN106792611A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of setting means and mobile terminal
CN107071586A (en) * 2017-04-06 2017-08-18 深圳Tcl新技术有限公司 The system time establishing method and device of television terminal
CN108337368A (en) * 2018-01-16 2018-07-27 维沃移动通信有限公司 A kind of update method and mobile terminal of location data
CN110012171A (en) * 2019-04-10 2019-07-12 惠州Tcl移动通信有限公司 Time display method, device, storage medium and electronic equipment
CN114488226A (en) * 2022-01-15 2022-05-13 重庆长安汽车股份有限公司 Method and system for automatically switching time zone and time of vehicle-mounted unit based on GNSS positioning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287004A (en) * 2008-05-29 2008-10-15 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, method and system for updating system time thereof
CN101867867A (en) * 2009-04-16 2010-10-20 深圳富泰宏精密工业有限公司 System time automatic updating system and method
CN101900990A (en) * 2010-07-14 2010-12-01 无敌科技(西安)有限公司 Method and device for realizing automatic adjustment for local city and time by using GPS function
CN202735684U (en) * 2012-04-20 2013-02-13 上海市七宝中学 Electronic watch capable of automatically adjusting time zones based on GPS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287004A (en) * 2008-05-29 2008-10-15 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, method and system for updating system time thereof
CN101867867A (en) * 2009-04-16 2010-10-20 深圳富泰宏精密工业有限公司 System time automatic updating system and method
CN101900990A (en) * 2010-07-14 2010-12-01 无敌科技(西安)有限公司 Method and device for realizing automatic adjustment for local city and time by using GPS function
CN202735684U (en) * 2012-04-20 2013-02-13 上海市七宝中学 Electronic watch capable of automatically adjusting time zones based on GPS

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657622A (en) * 2016-12-02 2017-05-10 惠州Tcl移动通信有限公司 Setting method and system of mobile terminal display time
CN106792611A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of setting means and mobile terminal
CN107071586A (en) * 2017-04-06 2017-08-18 深圳Tcl新技术有限公司 The system time establishing method and device of television terminal
CN107071586B (en) * 2017-04-06 2020-04-24 深圳Tcl新技术有限公司 System time setting method and device of television terminal
CN108337368A (en) * 2018-01-16 2018-07-27 维沃移动通信有限公司 A kind of update method and mobile terminal of location data
CN110012171A (en) * 2019-04-10 2019-07-12 惠州Tcl移动通信有限公司 Time display method, device, storage medium and electronic equipment
CN114488226A (en) * 2022-01-15 2022-05-13 重庆长安汽车股份有限公司 Method and system for automatically switching time zone and time of vehicle-mounted unit based on GNSS positioning

Similar Documents

Publication Publication Date Title
CN103826007B (en) Method, device and the terminal unit that terminal is remotely controlled
CN105979480A (en) Method and device for updating time of mobile equipment
CN104105064B (en) The method and device of location equipment
CN105222802A (en) navigation, navigation video generation method and device
CN105487389A (en) Method and device for controlling intelligent equipment
CN106254467A (en) Sharing files method and device
CN105828201A (en) Video processing method and device
CN103906235A (en) Terminal positioning method and terminal
CN104123341A (en) Method and device for downloading file and route device
CN105550204A (en) Method and device for controlling position locating module
CN105228202A (en) Method for connecting network and device
CN104267990A (en) Method and device for changing theme in terminal
CN105959587A (en) Shutter speed acquisition method and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN104539662A (en) Information transmission method and device
CN109246227A (en) A kind of data request method, device, terminal device and storage medium
CN105208176A (en) Contact record processing method and device
CN105848287A (en) Method, device and system for processing terminal positioning and router
CN105763552A (en) Transmission method, device and system in remote control
CN105407160A (en) Interface display method and device
CN103957502A (en) Location-based service program selecting method, device and terminal
CN105843894A (en) Information recommending method and device
CN106376053A (en) Network stationing method and device for terminal, and terminal
CN104063423A (en) Locating method and device
CN104158938B (en) Incoming display method, server and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928