CN101056141A - 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
CN101056141A
CN101056141A CN 200710103099 CN200710103099A CN101056141A CN 101056141 A CN101056141 A CN 101056141A CN 200710103099 CN200710103099 CN 200710103099 CN 200710103099 A CN200710103099 A CN 200710103099A CN 101056141 A CN101056141 A CN 101056141A
Authority
CN
China
Prior art keywords
time
zone
timer
current network
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.)
Granted
Application number
CN 200710103099
Other languages
Chinese (zh)
Other versions
CN101056141B (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 displaying 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 cdma network time method that when the terminal cross time zone, shows in real time
Technical field
The present invention relates to the CDMA technology field, relate in particular to a kind of cdma network time method that when the terminal cross time zone, shows in real time.
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 is to provide a kind of cdma network time method that shows in real time when the terminal cross time zone, 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 cdma network time method that when the terminal cross time zone, shows in real time, 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.
A kind of cdma network time method that shows in real time when the terminal cross time zone of the present invention has overcome the terminal shortcoming that time showing can make a mistake after crossing over the time zone.
Description of drawings
Fig. 1 is a kind of block diagram that shows the cdma network time method when the terminal cross time zone in real time of the present invention;
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, be a kind of block diagram that shows the cdma network time method when the terminal cross time zone in real time of the present invention.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 (UniversalTime 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. one kind shows the cdma network time method in real time when the terminal cross time zone, it 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), obtains the current network time by the mode of inquiry.
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 true CN101056141A (en) 2007-10-17
CN101056141B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125890A (en) * 2016-06-23 2016-11-16 深圳市贝美互动科技有限公司 A kind of night dormancy method and system thereof of embedded device
CN107071586A (en) * 2017-04-06 2017-08-18 深圳Tcl新技术有限公司 The system time establishing method and device of television terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020065586A (en) * 1999-12-21 2002-08-13 콸콤 인코포레이티드 Time synchronization in a cellular network device
US6963588B1 (en) * 2000-11-21 2005-11-08 Cellco Partnership System and methodology for automatically setting a clock
KR100438546B1 (en) * 2001-10-26 2004-07-03 엘지전자 주식회사 Automatic time setting method for mobile communication device
KR100703490B1 (en) * 2005-04-18 2007-04-03 삼성전자주식회사 Method synchronizing time of mobile terminal based on asynchronous mode and the system therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125890A (en) * 2016-06-23 2016-11-16 深圳市贝美互动科技有限公司 A kind of night dormancy method and system thereof of embedded device
CN106125890B (en) * 2016-06-23 2019-05-24 深圳酷旗互联网有限公司 A kind of the night dormancy method and its system of embedded device
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

Also Published As

Publication number Publication date
CN101056141B (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101047924A (en) Method for real-time display CDMA network time when terminal cross time area
CN103853512B (en) A kind of method and electronic equipment for realizing split screen
RU2487490C2 (en) Apparatus for transmitting image data, control method and programme
CN104079978B (en) Window adaptive media playout method and device and media networking dissemination method
WO2009013940A1 (en) Image extraction device, image extraction program, and image extraction method
CN111954050B (en) Method and system for synchronizing videos among multiple devices
EP1640867A3 (en) System and method for offline archiving of data
WO2011106394A3 (en) Apparatus, system, and method for data block usage information synchronization for a non-volatile storage volume
TW200524337A (en) Method and apparatus for facilitating control of a target computer by a remote computer
CN102426514B (en) Synchronous displaying method and device for large-screen spliced wall
WO2023231814A1 (en) Synchronous display method and apparatus for multi-screen device, and display system and medium
WO2009007580A3 (en) Method and devices for coding and decoding an image sequence represented with the aid of motion tubes, corresponding computer program products and signal
DE60117425D1 (en) Method for synchronizing an HDTV format change with a corresponding format change of a screen display
WO2010039005A3 (en) Picture quality control method and image display using same
CN101056141A (en) A method for displaying real time CDMA network time when the terminal spans the time zone
CN109391799B (en) Monitoring video synchronization method and device and video acquisition equipment
CN107423112A (en) A kind of Docker container states real-time synchronization method
CN104125494A (en) Distributed playing scene picture splicing method for large screen
CN104571992A (en) Simultaneous multi-screen marking method and device
EP2237484A3 (en) Building equipment system and control method thereof
WO2014187402A1 (en) Method and device for realizing acceleration of starting network management client
WO2008117634A1 (en) Medical image display system
CN110798739B (en) HTML 5-based video real-time target attribute superposition display method, device and equipment
CN104821007A (en) System for directly performing quick-look display on three-dimensional earth
CN104503805A (en) Method for upgrading embedded equipment through wired network

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