CN105163381B - Terminal time synchronous method and device - Google Patents
Terminal time synchronous method and device Download PDFInfo
- Publication number
- CN105163381B CN105163381B CN201510456737.9A CN201510456737A CN105163381B CN 105163381 B CN105163381 B CN 105163381B CN 201510456737 A CN201510456737 A CN 201510456737A CN 105163381 B CN105163381 B CN 105163381B
- Authority
- CN
- China
- Prior art keywords
- rice
- module
- wine
- dishes
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/004—Synchronisation arrangements compensating for timing error of reception due to propagation delay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W92/00—Interfaces specially adapted for wireless communication networks
- H04W92/04—Interfaces between hierarchically different network devices
- H04W92/10—Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of terminal time synchronizing device and method, terminal includes at least two modules of eating dishes without rice or wine, which includes: acquisition module, and for obtaining local zone time, local zone time is obtained from one of them registered module of eating dishes without rice or wine of terminal;Comparison module, the local zone time for will acquire are compared with local clock;Update module updates the local clock if the local zone time for acquisition is different from local clock on the basis of the local zone time of acquisition.The present invention guarantees the air interface synchronization time from some registration, avoids two frequent updating times eated dishes without rice or wine, and alarm clock is caused to retransmit the problems such as quarter-bell, short message and unsorted mail cause confusion.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of terminal time synchronous method based on cdma system
And device.
Background technique
Under cdma system, C net mobile phone wireless eats dishes without rice or wine to include two modules of 1X and HDR, under normal circumstances the two modules
It working at the same time, current C net mobile phone is by the scheme of radio open time synchronization, which current system handles and eat dishes without rice or wine module,
Just it eats dishes without rice or wine the module synchronization time from this.
However, the method for this synchronization time can bring the phenomenon that frequent updating time.What if 1X and HDR two eated dishes without rice or wine
Time there are larger difference, the phenomenon that renewal time will be frequent.This is likely to result in alarm clock and retransmits quarter-bell, short message and postal
Part sequence causes confusion.
Summary of the invention
It is a primary object of the present invention to propose a kind of terminal time synchronous method and device, it is intended to avoid mobile terminal without
Line eat dishes without rice or wine the frequent updating time the phenomenon that.
To achieve the above object, a kind of terminal time synchronizing device provided by the invention, the terminal include at least two
It eats dishes without rice or wine module, described device includes:
Module is obtained, for obtaining local zone time, one of them the registered sky of the local zone time from the terminal
Mouth mold block obtains;
Comparison module, the local zone time for will acquire are compared with local clock;
Update module, if the local zone time for acquisition is different from local clock, the local zone time with the acquisition is
Local clock described in datum renewal.
Preferably, the terminal includes that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine module;
The acquisition module, the acquisition module are also used to judge whether terminal system registers first and eat dishes without rice or wine module;If institute
Terminal system registered first is stated to eat dishes without rice or wine module, then select described first eat dishes without rice or wine module time as local zone time.
Preferably, the acquisition module eats dishes without rice or wine module if being also used to the terminal system unregistered first, judges terminal
Whether system, which registers second, is eated dishes without rice or wine module;The module if terminal system registered second is eated dishes without rice or wine, selects described second to eat dishes without rice or wine
The time of module is as local zone time.
Preferably, the described first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, and the described second module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module;Or
Person, the described first module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module, and the described second module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module.
Preferably, the acquisition module is also used to obtain system time from the synchronizing channel of registered module of eating dishes without rice or wine
The deviation LTM_OFF of SYS_TIME, leap second LP_SEC and local zone time and system time;According to described SYS_TIME, LP_SEC
And LTM_OFF, the local zone time is calculated.
The embodiment of the present invention also proposes a kind of terminal time synchronous method, and the terminal includes at least two modules of eating dishes without rice or wine,
The described method includes:
Terminal obtains local zone time, and the local zone time is obtained from one of them registered module of eating dishes without rice or wine of the terminal
?;
The local zone time that will acquire is compared with local clock;
If the local zone time obtained is different from local clock, described is updated on the basis of the local zone time of the acquisition
Ground clock.
Preferably, the terminal includes that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine module, and the terminal obtains local zone time, institute
Stating the step of local zone time is obtained from one of them registered module of eating dishes without rice or wine of the terminal includes:
Detect the module of eating dishes without rice or wine of terminal system registration;
If module that the terminal system was registered eat dishes without rice or wine is eated dishes without rice or wine module as first, select described first eat dishes without rice or wine module when
Between be used as local zone time.
Preferably, it is described detecting terminal system registration eat dishes without rice or wine module the step of after further include:
If module that the terminal system was registered eat dishes without rice or wine is eated dishes without rice or wine module as second, select described second eat dishes without rice or wine module when
Between be used as local zone time.
Preferably, the described first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, and the described second module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module;Or
Person, the described first module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module, and the described second module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module.
Preferably, the step of terminal obtains local zone time from registered module of eating dishes without rice or wine include:
The terminal from the synchronizing channel of registered module of eating dishes without rice or wine obtain system time SYS_TIME, leap second LP_SEC and
The deviation LTM_OFF of local zone time and system time;
According to described SYS_TIME, LP_SEC and LTM_OFF, the local zone time is calculated.
A kind of terminal time synchronous method and device proposed by the present invention, obtain local zone time, and the local zone time is from institute
State one of them registered module acquisition of eating dishes without rice or wine of terminal;The local zone time that will acquire is compared with local clock;If obtaining
The local zone time taken is different from local clock, then updates local clock on the basis of the local zone time of acquisition, the program guarantee from
The air interface synchronization time in some registration, two frequent updating times eated dishes without rice or wine are avoided, alarm clock is caused to retransmit quarter-bell, short message
The problems such as causing confusion with unsorted mail.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the functional block diagram of terminal time synchronizing device preferred embodiment of the invention;
Fig. 4 is the flow diagram of terminal time synchronous method preferred embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites
Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three
Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115
It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus
The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121
Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110
It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action
Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model
For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122
Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or
Person's interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below
Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit
153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control
Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure
Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
Since existing C net mobile phone is by the scheme of radio open time synchronization, which current system handles and eats dishes without rice or wine mould
Block is just eated dishes without rice or wine the module synchronization time from this.The method of this synchronization time can bring the phenomenon that frequent updating time, this may
It causes alarm clock to retransmit quarter-bell, short message and unsorted mail to cause confusion.
For this purpose, the present invention proposes a solution, the frequent updating time that can be eated dishes without rice or wine to avoid two, alarm clock weight is caused
The problems such as hair quarter-bell, short message and unsorted mail cause confusion.
Specifically, as shown in figure 3, present pre-ferred embodiments propose a kind of terminal time synchronizing device, the terminal is extremely
It less include two modules of eating dishes without rice or wine, described device includes: to obtain module 201, comparison module 202 and update module 203, in which:
Obtain module 201, for obtaining local zone time, the local zone time from the terminal one of them is registered
Module of eating dishes without rice or wine obtains;
Comparison module 202, the local zone time for will acquire are compared with local clock;
Update module 203, if the local zone time for acquisition is different from local clock, with the local zone time of the acquisition
On the basis of update the local clock.
Specifically, the present embodiment device can be carried on a mobile terminal, which is specially to be based on CDMA system
The mobile terminal united under framework, the mobile terminal include two modules of eating dishes without rice or wine, and certainly, this embodiment scheme is for multiple skies
Time synchronization scene under mouth mold block can also be applied.
It is respectively that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine that the present embodiment, which defines two modules of eating dishes without rice or wine included by mobile terminal,
Module, wherein the first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, and the second module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module;Alternatively, first eats dishes without rice or wine mould
Block is that HDR eats dishes without rice or wine module, and the second module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module.
Firstly, acquisition for mobile terminal local zone time, one of them the registered sky of the local zone time from mobile terminal
Mouth mold block obtains.
Detailed process is as follows:
Judge whether terminal system registers first and eat dishes without rice or wine module;The module if terminal system registered first is eated dishes without rice or wine,
Select described first eat dishes without rice or wine module time as local zone time.The module if terminal system unregistered first is eated dishes without rice or wine, judges end
Whether end system, which registers second, is eated dishes without rice or wine module;The module if terminal system registered second is eated dishes without rice or wine selects second sky
The time of mouth mold block is as local zone time.That is, only select to eat dishes without rice or wine the module synchronization time from one of registration, by
This, the frequent updating time that can be eated dishes without rice or wine to avoid two causes that alarm clock retransmits quarter-bell, short message and unsorted mail cause confusion etc. and asks
Topic.
It is exemplified below:
1X, HDR are replaced with A, B, A, B are also possible to HDR, but A belongs to different moulds of eating dishes without rice or wine from B either 1X
Block.
Local zone time selection rule is as follows:
If in A registration (service available), system is from A synchronization time;If A does not register (not
Service available), in B registration (service available), then system is from B synchronization time.
The program guarantees the air interface synchronization time from some registration, thus when avoiding two frequent updatings eated dishes without rice or wine
Between.
After the module of eating dishes without rice or wine that selection carries out time synchronization, local zone time is obtained from the registered module of eating dishes without rice or wine, specifically
Process is as follows:
Terminal obtains system time SYS_TIME from the synchronizing channel (Sync Channel) of registered module of eating dishes without rice or wine
(Current value of CDMA system time as received in the Sync Channel Message)、
Leap second LP_SEC is (when (Leap seconds count (offset of CDMA system time from UTC)) and local
Between and system time deviation LTM_OFF (Local time offset from UTC);
Wherein, UTC (Universal Coordinated Time) be world's unified time or universal time, or
The international coordination time.
Then, according to described SYS_TIME, LP_SEC and LTM_OFF, the local zone time is calculated.Calculating process can
With as follows:
Local zone time=SYS_TIME- (LP_SEC × 12.5)+(LTM_OFF × 22500).
After obtaining local zone time, local clock is updated according to local zone time.Firstly, the local zone time that will acquire and local
Clock is compared;If the local zone time obtained is different from local clock, updated on the basis of the local zone time of acquisition local
Clock;If the local zone time obtained is identical as local clock, without updating local clock.
The present embodiment through the above scheme, obtain local zone time, the local zone time from the terminal one of them
The module acquisition of eating dishes without rice or wine of registration;The local zone time that will acquire is compared with local clock;If the local zone time obtained and local
Clock is different, then local clock is updated on the basis of the local zone time of acquisition, and the program guarantees to eat dishes without rice or wine from some registration
It avoids two frequent updating times eated dishes without rice or wine synchronization time, causes alarm clock to retransmit quarter-bell, short message and unsorted mail and cause confusion
The problems such as.
When specific implementation, the acquisition module 201 is also used to detect the module of eating dishes without rice or wine of terminal system registration;If the end
Module that end system was registered eat dishes without rice or wine is eated dishes without rice or wine module as first, then select described first eat dishes without rice or wine module time as local zone time.
The acquisition module 201 is selected if the module of eating dishes without rice or wine for being also used to that the terminal system registers is eated dishes without rice or wine module as second
Select described second eat dishes without rice or wine module time as local zone time.
The acquisition module 201 is also used to obtain system time SYS_ from the synchronizing channel of registered module of eating dishes without rice or wine
The deviation LTM_OFF of TIME, leap second LP_SEC and local zone time and system time;According to described SYS_TIME, LP_SEC and
The local zone time is calculated in LTM_OFF
As shown in figure 4, present pre-ferred embodiments propose a kind of terminal time synchronous method, which comprises
Step S101, terminal obtain local zone time, one of them the registered sky of the local zone time from the terminal
Mouth mold block obtains;
The present embodiment terminal is based on the mobile terminal under cdma system framework, which includes two modules of eating dishes without rice or wine, when
So, this embodiment scheme with the time synchronization scene under multiple modules of eating dishes without rice or wine for can also be applied.
It is respectively that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine module that the present embodiment, which defines two modules of eating dishes without rice or wine included by terminal,
Wherein, the first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, and the second module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module;Alternatively, the first module of eating dishes without rice or wine is
HDR eats dishes without rice or wine module, and the second module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module.
Firstly, terminal obtains local zone time, one of them the registered mould of eating dishes without rice or wine of the local zone time from the terminal
Block obtains.
Detailed process is as follows:
Judge whether terminal system registers first and eat dishes without rice or wine module;The module if terminal system registered first is eated dishes without rice or wine,
Select described first eat dishes without rice or wine module time as local zone time.The module if terminal system unregistered first is eated dishes without rice or wine, judges end
Whether end system, which registers second, is eated dishes without rice or wine module;The module if terminal system registered second is eated dishes without rice or wine selects second sky
The time of mouth mold block is as local zone time.
That is, only selecting to eat dishes without rice or wine the module synchronization time from one of registration, thus, it is possible to avoid two skies
The frequent updating time of mouth causes alarm clock to retransmit the problems such as quarter-bell, short message and unsorted mail cause confusion.
It is exemplified below:
1X, HDR are replaced with A, B, A, B are also possible to HDR, but A belongs to different moulds of eating dishes without rice or wine from B either 1X
Block.
Local zone time selection rule is as follows:
If in A registration (service available), system is from A synchronization time;If A does not register (not
Service available), in B registration (service available), then system is from B synchronization time.
The program guarantees the air interface synchronization time from some registration, thus when avoiding two frequent updatings eated dishes without rice or wine
Between.
After the module of eating dishes without rice or wine that selection carries out time synchronization, local zone time is obtained from the registered module of eating dishes without rice or wine, specifically
Process is as follows:
Terminal obtains system time SYS_TIME from the synchronizing channel (Sync Channel) of registered module of eating dishes without rice or wine
(Current value of CDMA system time as received in the Sync Channel Message)、
Leap second LP_SEC is (when (Leap seconds count (offset of CDMA system time from UTC)) and local
Between and system time deviation LTM_OFF (Local time offset from UTC);
Wherein, UTC (Universal Coordinated Time) be world's unified time or universal time, or
The international coordination time.
Then, according to described SYS_TIME, LP_SEC and LTM_OFF, the local zone time is calculated.Calculating process can
With as follows:
Local zone time=SYS_TIME- (LP_SEC × 12.5)+(LTM_OFF × 22500).
Step S102, the local zone time that will acquire are compared with local clock;
Step S103, if the local zone time obtained is different from local clock, on the basis of the local zone time of the acquisition
Update the local clock.
After obtaining local zone time, local clock is updated according to local zone time.Firstly, the local zone time that will acquire and local
Clock is compared;If the local zone time obtained is different from local clock, updated on the basis of the local zone time of acquisition local
Clock;If the local zone time obtained is identical as local clock, without updating local clock.
The present embodiment through the above scheme, obtain local zone time, the local zone time from the terminal one of them
The module acquisition of eating dishes without rice or wine of registration;The local zone time that will acquire is compared with local clock;If the local zone time obtained and local
Clock is different, then local clock is updated on the basis of the local zone time of acquisition, and the program guarantees to eat dishes without rice or wine from some registration
It avoids two frequent updating times eated dishes without rice or wine synchronization time, causes alarm clock to retransmit quarter-bell, short message and unsorted mail and cause confusion
The problems such as.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of terminal time synchronizing device, which is characterized in that the terminal includes at least two modules of eating dishes without rice or wine, the mould of eating dishes without rice or wine
Block is that 1X under cdma network eats dishes without rice or wine module or HDR eats dishes without rice or wine module, and described device includes:
Module is obtained, for obtaining local zone time, one of them the registered mould of eating dishes without rice or wine of the local zone time from the terminal
Block obtains;
Comparison module, the local zone time for will acquire are compared with local clock;
Update module, if the local zone time for acquisition is different from local clock, on the basis of the local zone time of the acquisition
Update the local clock;
Wherein, the terminal includes that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine module;
The acquisition module, is also used to judge whether terminal system registers first and eat dishes without rice or wine module;If the terminal system is registered
First eats dishes without rice or wine module, then select described first eat dishes without rice or wine module time as local zone time;
Wherein, the acquisition module eats dishes without rice or wine module if being also used to the terminal system unregistered first, judges that terminal system is
No registration second is eated dishes without rice or wine module;The module if terminal system registered second is eated dishes without rice or wine selects described second to eat dishes without rice or wine module
Time is as local zone time.
2. the apparatus according to claim 1, which is characterized in that the described first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, described the
Two modules of eating dishes without rice or wine are that HDR eats dishes without rice or wine module;Alternatively, the described first module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module, the described second module of eating dishes without rice or wine is
1X eats dishes without rice or wine module.
3. device according to claim 1 or 2, which is characterized in that
The acquisition module is also used to obtain system time SYS_TIME, leap second from the synchronizing channel of registered module of eating dishes without rice or wine
The deviation LTM_OFF of LP_SEC and local zone time and system time;According to described SYS_TIME, LP_SEC and LTM_OFF, calculate
Obtain the local zone time.
4. a kind of terminal time synchronous method, which is characterized in that the terminal includes at least two modules of eating dishes without rice or wine, the mould of eating dishes without rice or wine
Block is that 1X under cdma network eats dishes without rice or wine module or HDR eats dishes without rice or wine module, which comprises
Terminal obtains local zone time, and the local zone time is obtained from one of them registered module of eating dishes without rice or wine of the terminal;
The local zone time that will acquire is compared with local clock;
If the local zone time obtained is different from local clock, when updating the local on the basis of the local zone time of the acquisition
Clock;
Wherein, the terminal includes that the first module and second of eating dishes without rice or wine is eated dishes without rice or wine module, and the terminal obtains local zone time, the local
The step of time obtains from one of them registered module of eating dishes without rice or wine of the terminal include:
Judge whether terminal system registers first and eat dishes without rice or wine module;
The module if terminal system registered first is eated dishes without rice or wine, select described first eat dishes without rice or wine module time as local when
Between;
Wherein, it is described judge terminal system whether registered first eat dishes without rice or wine module the step of after further include:
The module if terminal system unregistered first is eated dishes without rice or wine, judges whether terminal system registers second and eat dishes without rice or wine module;
The module if terminal system registered second is eated dishes without rice or wine, select described second eat dishes without rice or wine module time as local when
Between.
5. according to the method described in claim 4, it is characterized in that, the described first module of eating dishes without rice or wine is that 1X eats dishes without rice or wine module, described the
Two modules of eating dishes without rice or wine are that HDR eats dishes without rice or wine module;Alternatively, the described first module of eating dishes without rice or wine is that HDR eats dishes without rice or wine module, the described second module of eating dishes without rice or wine is
1X eats dishes without rice or wine module.
6. method according to claim 4 or 5, which is characterized in that the terminal obtains this from registered module of eating dishes without rice or wine
Ground includes: the step of the time
The terminal obtains system time SYS_TIME, leap second LP_SEC and local from the synchronizing channel of registered module of eating dishes without rice or wine
The deviation LTM_OFF of time and system time;
According to described SYS_TIME, LP_SEC and LTM_OFF, the local zone time is calculated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510456737.9A CN105163381B (en) | 2015-07-29 | 2015-07-29 | Terminal time synchronous method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510456737.9A CN105163381B (en) | 2015-07-29 | 2015-07-29 | Terminal time synchronous method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105163381A CN105163381A (en) | 2015-12-16 |
CN105163381B true CN105163381B (en) | 2018-12-21 |
Family
ID=54804109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510456737.9A Active CN105163381B (en) | 2015-07-29 | 2015-07-29 | Terminal time synchronous method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105163381B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656590B (en) * | 2015-12-30 | 2019-03-08 | 天维尔信息科技股份有限公司 | Realize the methods, devices and systems of time synchronization |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798385A (en) * | 2004-12-29 | 2006-07-05 | 乐金电子(中国)研究开发中心有限公司 | Local time setup method of double-mode communication terminal |
EP2202897A1 (en) * | 2008-12-23 | 2010-06-30 | Telefonaktiebolaget L M Ericsson (publ) | Technique for synchronizing network access modules in a mobile communication device |
CN102348177A (en) * | 2010-07-26 | 2012-02-08 | Lg电子株式会社 | Method and apparatus for receiving short message service (sms) in dual mode terminal |
-
2015
- 2015-07-29 CN CN201510456737.9A patent/CN105163381B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798385A (en) * | 2004-12-29 | 2006-07-05 | 乐金电子(中国)研究开发中心有限公司 | Local time setup method of double-mode communication terminal |
EP2202897A1 (en) * | 2008-12-23 | 2010-06-30 | Telefonaktiebolaget L M Ericsson (publ) | Technique for synchronizing network access modules in a mobile communication device |
CN102348177A (en) * | 2010-07-26 | 2012-02-08 | Lg电子株式会社 | Method and apparatus for receiving short message service (sms) in dual mode terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105163381A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105101366B (en) | Method for controlling mobile terminal and mobile terminal | |
CN106231087B (en) | A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention | |
CN105718027B (en) | The management method and mobile terminal of background application | |
CN105100476B (en) | A kind of mobile terminal unlocking device and method | |
CN105099870B (en) | A kind of information push method and device | |
CN105282245B (en) | Cross-server message push system and method | |
CN105306457B (en) | Data buffer storage device and method | |
CN104955023B (en) | A kind of mobile terminal and the method for updating network parameter | |
CN104850443B (en) | A kind of method and mobile terminal for closing error starting application program | |
CN104821990B (en) | Intelligent terminal realizes the method and intelligent terminal of shutdown alarm clock | |
CN106231587B (en) | The data service switching method and switching device of mobile terminal | |
CN105263049B (en) | A kind of video Scissoring device, method and mobile terminal based on frame coordinate | |
CN104916270B (en) | A kind of method and apparatus adjusting screen intensity | |
CN104967573B (en) | A kind of monitoring method and terminal of data traffic | |
CN104881346B (en) | The detection method and device of a kind of mobile terminal and its application program power consumption | |
CN106097284B (en) | A kind of processing method and mobile terminal of night scene image | |
CN105138400B (en) | Application program self-starting management method and device | |
CN104731456B (en) | Desktop widget display methods and device | |
CN104735254B (en) | terminal screen locking method and system | |
CN106412328B (en) | A kind of method and apparatus obtaining field feedback | |
CN105100408B (en) | A kind of method and apparatus controlling mobile terminal | |
CN105187621B (en) | The method, apparatus and terminal of message notifying | |
CN106227454B (en) | A kind of touch trajectory detection system and method | |
CN105939425A (en) | Device and method for dynamic monitoring of screen | |
CN105101077B (en) | The method and device of jingle bell setting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |