CN101056141B - A method for displaying real time CDMA network time when the terminal spans the time zone - Google Patents

A method for displaying real time CDMA network time when the terminal spans the time zone Download PDF

Info

Publication number
CN101056141B
CN101056141B CN2007101030998A CN200710103099A CN101056141B CN 101056141 B CN101056141 B CN 101056141B CN 2007101030998 A CN2007101030998 A CN 2007101030998A CN 200710103099 A CN200710103099 A CN 200710103099A CN 101056141 B CN101056141 B CN 101056141B
Authority
CN
China
Prior art keywords
time
zone
current network
timer
local zone
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.)
Expired - Fee Related
Application number
CN2007101030998A
Other languages
Chinese (zh)
Other versions
CN101056141A (en
Inventor
肖小珊
吴琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101030998A priority Critical patent/CN101056141B/en
Publication of CN101056141A publication Critical patent/CN101056141A/en
Application granted granted Critical
Publication of CN101056141B publication Critical patent/CN101056141B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a method of updating CDMA network time on real time when the terminal steps over the time zone. The method includes the steps of: a timer which is positioned on the upper UI is initiated; the upper UI obtains the current network time from the bottom and stories the time when the time set by the timer is up; the current network time is compared with the local time, and if they are not accordant, the local time is then be updated. In the present invention, the disadvantage that error will occurs on the time displaying when the terminal steps over the time zone is overcome.

Description

A kind of when the terminal cross time zone real-time update cdma network time method
Technical field
The present invention relates to the CDMA technology field, relate in particular to a kind of when the terminal cross time zone real-time update cdma network time method.
Background technology
CDMA terminal the time in time zone before the remaining of demonstration, does not refresh and is new time zone time after crossing over the time zone.And in fact the protocol layer time of high-pass platform be accurately always, this be because capture Sync Channel Message after will upgrade the bottom time.
The usually said upper strata time is that obtaining of protocol layer time is after starting up of terminal finds network, obtains the primary network time, adopts the mode of software timing to come show update time then.Therefore, the processing of just will starting shooting again, otherwise the time on upper strata and network time be actually independent process, so just cause behind the terminal cross time zone, the demonstration of time can make a mistake, time in time zone before the shown time of terminal remains.
At present the technical scheme that time showing adopted of CDMA terminal is to obtain behind the starting up of terminal primary network time, upgrades by the mode of software timing in this locality then and shows the current time.If terminal cross time zone and the processing of not starting shooting again, time showing obviously can't with network time synchronization.Therefore just need a kind of method to make terminal when crossing over the time zone, correctly show the cdma network time.
Summary of the invention
Technical problem to be solved by this invention be to provide a kind of when the terminal cross time zone real-time update cdma network time method, to overcome behind the terminal cross time zone shortcoming that the time showing of terminal can make a mistake.
For solving the problems of the technologies described above, the invention provides a kind of when the terminal cross time zone real-time update cdma network time method, comprise the steps:
(1) at upper strata UI a timer is set, and starts this timer;
(2) when time that timer is set then, upper strata UI obtains the current network time and preserves this time from bottom;
(3) described current network time and local zone time are compared,, then local zone time is upgraded if inconsistent.
Wherein, described step (3) also comprises, if the current network time is consistent with local zone time, then need not local zone time is upgraded.
Wherein, further comprise step (4), reset timer.
Wherein, in the described step (2), obtain the current network time by the mode of inquiry.
Wherein, whether described current network time and local zone time be consistent is meant whether the current network time is identical with local zone time.
Wherein, described local zone time is the network time of the upper strata UI last time obtaining and preserving.
Of the present invention a kind of when the terminal cross time zone real-time update cdma network time method, overcome the terminal shortcoming that time showing can make a mistake after crossing over the time zone.
Description of drawings
Fig. 1 be of the present invention a kind of when the terminal cross time zone block diagram of real-time update cdma network time method;
Fig. 2 is the schematic flow sheet of embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
With reference to figure 1, for of the present invention a kind of when the terminal cross time zone block diagram of real-time update cdma network time method.Specifically comprise the steps:
Step 110: at upper strata UI a timer is set, and starts this timer.When the UI task initialization, be provided with and start a timer.
Step 120: when time that timer is set then, upper strata UI obtains the current network time and preserves this time from bottom.
Common described system time is meant the second number of current time apart from global standards time UTC (Universal Time Coordinated, general universal time coordinated), and the shift time that this system time is added the time zone just can obtain current network time accurately.
Step 130: described current network time and local zone time are compared,, then local zone time is upgraded if inconsistent.
Described local zone time obtains the primary network time and it is kept at terminal inner when being meant starting up of terminal, the mode that adopts the software timing then is in local timing.
If consider the accumulated error of time zone problem and software timing, shown ground of the terminal time has inaccurate factor and exists.After current network time and local zone time compared, if the gained result then need not to upgrade consistent, if inconsistent, will upgrade local zone time.
As shown in Figure 2, be the schematic flow sheet of embodiment of the present invention.
Step 210 a: timer is set and starts this timer at upper strata UI.When the UI task initialization, start a time inquiry timer
Step 220: when time that timer is set then, upper strata UI obtains the current network time and preserves this time from bottom.
Upper strata UI initiatively goes to inquire about the current network time at regular intervals, obtains and preserve this time.The method of the invention can be divided by the time in time zone, promptly set every 30 minutes and initiatively went to inquire about.
Step 230: judge whether the described current network time is consistent with local zone time, if the replacement timer is also waited for timer expiry next time, enters step 150; If not, then enter step 140.The time difference of preserving when the time of determining inquiry and last time is greater than time of timer (as 30 minutes of setting), and the time of just thinking, variation took place, and upgraded local zone time and got final product.
Step 240: local zone time is upgraded.Described local zone time is the network time of the upper strata UI last time obtaining and preserving
Step 250: replacement timer.
The present invention is to solve the time error that CDMA terminal cross time zone causes, after terminal is carried out web search again, bottom can carry out the synchronous of system time after capturing Sync Channel Message, so the time of bottom is consistent with network time certainly.
Method of the present invention is by adopt the timer timing requester network time to guarantee the accuracy of time on the upper strata, upper strata UI initiatively goes to inquire about the current network time at regular intervals, after the inquiry current network time and local zone time are compared, then need not to upgrade as unanimity, inconsistently then will upgrade.The method of the invention can be used for the CDMA terminal of any a use high-pass platform, verifies on high-pass platform.

Claims (6)

1. a real-time update cdma network time method when the terminal cross time zone is characterized in that, comprises the steps:
(1) at upper strata UI a timer is set, and starts this timer;
(2) when time that timer is set then, upper strata UI obtains the current network time and preserves this time from bottom;
(3) described current network time and local zone time are compared,, then local zone time is upgraded if inconsistent.
2. the method for claim 1 is characterized in that, described step (3) also comprises, if the current network time is consistent with local zone time, then need not local zone time is upgraded.
3. the method for claim 1 is characterized in that, further comprises step (4), resets timer.
4. the method for claim 1 is characterized in that, in the described step (2), by inquiring about the current network time to obtain the current network time.
5. method as claimed in claim 1 or 2 is characterized in that, whether described current network time and local zone time be consistent is meant whether the current network time is identical with local zone time.
6. the method for claim 1 is characterized in that, described local zone time is the network time of the upper strata UI last time obtaining and preserving.
CN2007101030998A 2007-05-28 2007-05-28 A method for displaying real time CDMA network time when the terminal spans the time zone Expired - Fee Related CN101056141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101030998A CN101056141B (en) 2007-05-28 2007-05-28 A method for displaying real time CDMA network time when the terminal spans the time zone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101030998A CN101056141B (en) 2007-05-28 2007-05-28 A method for displaying real time CDMA network time when the terminal spans the time zone

Publications (2)

Publication Number Publication Date
CN101056141A CN101056141A (en) 2007-10-17
CN101056141B true CN101056141B (en) 2011-09-21

Family

ID=38795779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101030998A Expired - Fee Related CN101056141B (en) 2007-05-28 2007-05-28 A method for displaying real time CDMA network time when the terminal spans the time zone

Country Status (1)

Country Link
CN (1) CN101056141B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125890B (en) * 2016-06-23 2019-05-24 深圳酷旗互联网有限公司 A kind of the night dormancy method and its system of embedded device
CN107071586B (en) * 2017-04-06 2020-04-24 深圳Tcl新技术有限公司 System time setting method and device of television terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414812A (en) * 2001-10-26 2003-04-30 Lg电子株式会社 Set-up method for auto-time of asynchronous mobile communication terminal
CN1460354A (en) * 2000-12-20 2003-12-03 高通股份有限公司 Time synchronization in cellular network device
CN1543718A (en) * 2000-11-21 2004-11-03 ά��ɣ���������ƺϻ��˹�˾ System and methodology for automatically setting a clock
EP1715702A1 (en) * 2005-04-18 2006-10-25 Samsung Electronics Co., Ltd. Method and system for synchronizing the internal clock of a mobile radio station with local time.

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543718A (en) * 2000-11-21 2004-11-03 ά��ɣ���������ƺϻ��˹�˾ System and methodology for automatically setting a clock
CN1460354A (en) * 2000-12-20 2003-12-03 高通股份有限公司 Time synchronization in cellular network device
CN1414812A (en) * 2001-10-26 2003-04-30 Lg电子株式会社 Set-up method for auto-time of asynchronous mobile communication terminal
EP1715702A1 (en) * 2005-04-18 2006-10-25 Samsung Electronics Co., Ltd. Method and system for synchronizing the internal clock of a mobile radio station with local time.

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同上.

Also Published As

Publication number Publication date
CN101056141A (en) 2007-10-17

Similar Documents

Publication Publication Date Title
CN101047924B (en) Method for real-time display CDMA network time when terminal cross time area
CN110120846B (en) Clock synchronization method and system
CN103220342B (en) A kind of method of mobile terminal device group remote synchronization more new procedures
CN110399110A (en) Multi-screen synchronous display methods and system, display equipment and storage medium
WO2016078310A1 (en) Clock synchronization method, device, cascading base station system and storage medium
CN102572578A (en) Method for displaying pictures of mobile terminal on television screen and screen-transmitting system
EP1852990A3 (en) Device and method for time synchronization in distributed control system
ATE289137T1 (en) METHOD FOR SYNCHRONIZING NODES OF A COMMUNICATION SYSTEM
CN105872621A (en) Method, device and terminal for realizing startup advertisement of smart TV
CN106452650A (en) Clock synchronizing frequency deviation estimation method applicable to multi-hop wireless sensor network
CN103873934A (en) Method and system for real-time prompting of video tracking
JP5930685B2 (en) Time synchronization apparatus, radio terminal and time synchronization system
CN101056141B (en) A method for displaying real time CDMA network time when the terminal spans the time zone
CN105100144B (en) Update the method and device of application
CN103886729B (en) Warning image display method and system
CN107423112A (en) A kind of Docker container states real-time synchronization method
CN103685391A (en) Method for automatically updating terminal equipment using static network address
JP2015212879A5 (en)
CN112788100A (en) Time synchronization method and device, storage medium and electronic device
CN104427607A (en) Method for time synchronization between nodes in self-organizing network
WO2009120345A3 (en) Updating routing and outage information in a communications network
KR100761696B1 (en) Apparatus and method for transmission and reception of time information in mobile communication system
CN110515638A (en) It is a kind of for updating the method and apparatus of the firmware of interchanger
CN105117240B (en) Rule recommendation method and device based on event-operation model
US9325442B2 (en) Externally connected time port changeover method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110921

Termination date: 20160528