CN101272193B - Method and device for maintaining network time and timing broadcast method - Google Patents

Method and device for maintaining network time and timing broadcast method Download PDF

Info

Publication number
CN101272193B
CN101272193B CN2008100969946A CN200810096994A CN101272193B CN 101272193 B CN101272193 B CN 101272193B CN 2008100969946 A CN2008100969946 A CN 2008100969946A CN 200810096994 A CN200810096994 A CN 200810096994A CN 101272193 B CN101272193 B CN 101272193B
Authority
CN
China
Prior art keywords
time
crystal oscillator
network
fiducial
current
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
CN2008100969946A
Other languages
Chinese (zh)
Other versions
CN101272193A (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 CN2008100969946A priority Critical patent/CN101272193B/en
Publication of CN101272193A publication Critical patent/CN101272193A/en
Application granted granted Critical
Publication of CN101272193B publication Critical patent/CN101272193B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and device for maintaining a network time and a timing play method; wherein, the method for maintaining the network time comprises: a terminal in a set period obtains the system time from one received multiplexing frame to save as a system reference time and obtains the current time of the crystal oscillator of the terminal to save as a crystal oscillator reference time; at any time in the period, the terminal generates the current network time by obtaining the current time of the crystal oscillator and combing the saved system reference time and the crystal oscillator reference time. The invention can maintain an accurate network time on a movable broadcast network so as to lead a movable terminal to be capable of utilizing the network time to carry out timing play and can ensure the accuracy of the network time after a mobile phone TV application is quitted or the mobile phone is turned off.

Description

A kind of maintaining network time method and device and timing player method
Technical field
The present invention relates to field of mobile phone or other digital TV field, specifically, relate to a kind of maintaining network time method and device and timing player method.
Background technology
Mobile Multimedia Broadcasting is a kind of multimedia broadcasting technology of promoting recently, handheld terminal can receive broadcast singal under mobile status, can watch TV programme through terminal processes, the program receiving TV Guide, can demonstrate the rendition list in terminal, allow the user can watch program selectively.In addition, this technology is also supported the broadcasting of other multi-medium datas, realizes watching real-time stock information and other information on portable terminal.
Regularly broadcast is the critical function in the Mobile Multimedia Broadcasting.The program that the user can like for oneself is provided with regularly reproduction time, and after having arrived the time of setting, terminal can be play this program automatically.Realize that on mobile multi-media broadcast terminal the difficult point of regularly playing is network time accurately.Because the broadcast start time in regularly playing must with the network time on the multimedia broadcasting network as a reference.
Network time on the mobile media broadcasting network comes from the system time in the network information table.Common portable terminal just utilizes network time to guarantee the synchronous of reproduction time and encoder, will not be applied to network time in the middle of regularly broadcast and the timed recording.And after withdrawing from mobile TV application or shutdown, just replace network time with the mobile phone time simply, can not guarantee the accuracy of network time.
Above-mentioned, the deficiency of general portable terminal has: will not be applied to network time in the regularly broadcast; After withdrawing from mobile TV application or shutdown, can't guarantee the accuracy of network time.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of maintaining network time method and device and timing player method, can safeguard the network time accurately on the mobile broadcast network, making portable terminal can utilize this network time to carry out timing plays, and after withdrawing from mobile TV application or shutdown, also can guarantee the accuracy of network time.
In order to address the above problem, the invention provides a kind of maintaining network time method, terminal parses network information table from the multiplexed frame that is received in a setting cycle, and the reading system time saves as system fiducial time from this network information table; And the current time of obtaining the crystal oscillator of described terminal saves as crystal oscillator fiducial time;
Any time in this cycle, by obtaining the current time of crystal oscillator, and, generate current network time in conjunction with the described system fiducial time of preserving and crystal oscillator fiducial time;
Described generation current network time is in the process: described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
Further, described terminal is obtained system time from first multiplexed frame that is received; Described setting cycle is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
In order to address the above problem, the present invention also provide a kind of network time attending device, comprising: fiducial time acquisition module, memory module and network time generation module; Wherein,
Described fiducial time acquisition module, be used in a setting cycle, from a multiplexed frame that is received, parse network information table, and from this network information table, obtain system time, and the current time of obtaining the crystal oscillator of described terminal, issue memory module respectively and save as system's fiducial time and crystal oscillator fiducial time;
Described memory module is used to preserve described system fiducial time and crystal oscillator fiducial time;
Described network time generation module, be used for the current time that any time in this setting cycle obtains crystal oscillator, and, generate current network time in conjunction with system's fiducial time described in the described memory module and crystal oscillator fiducial time; Wherein, described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
Further, described network time generation module, the current network time of generation, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
Further, described fiducial time, acquisition module obtained system time from first multiplexed frame that is received, and the cycle that it sets is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
Further, described fiducial time, acquisition module parsed network information table from the multiplexed frame that is received, and from this network information table the reading system time.
In order to address the above problem, the present invention also provides a kind of and has utilized network time to carry out the regularly method of broadcast, terminal is in a setting cycle, from a multiplexed frame that is received, parse network information table, and from this network information table the reading system time save as system fiducial time, and the current time of obtaining the crystal oscillator of described terminal saves as crystal oscillator fiducial time; Wherein, described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor;
Any time in this cycle, described terminal is obtained the current time of crystal oscillator, and in conjunction with the described system fiducial time of preserving and crystal oscillator fiducial time, generates current network time;
The user selects to treat the regularly program of broadcast, and after setting reproduction time, equals network time when described terminal detects reproduction time by triggering menu option, then starts selected program and plays process accordingly.
Further, described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
Further, described terminal is obtained system time from first multiplexed frame that is received; Described setting cycle is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
Further, described terminal parses network information table from the multiplexed frame that is received, and from this network information table the reading system time.
Compared with prior art, the present invention will be used as the reference time of regularly playing in the network time accurately on mobile broadcast network of background maintenance.Make the user can be according to listing, the program settings reproduction time of liking for oneself after time is up reproduction time that the user sets, will be play the program of setting automatically, this network time withdraw from that mobile TV is used or shutdown after still effective.
Description of drawings
Fig. 1 is that terminal is upgraded the network flow chart of fiducial time in the embodiment of the invention;
Fig. 2 is the realization flow figure that network time is obtained interface in the embodiment of the invention;
Fig. 3 is the network time attending device structure chart in the embodiment of the invention;
Fig. 4 is the flow chart of customization timing broadcast program in the embodiment of the invention;
Fig. 5 is the timing playing device structure chart in the embodiment of the invention.
Embodiment
The present invention is in order to solve the drawback that conventional solution exists, further set forth a kind of maintaining network time method of the present invention and device and timing player method by following specific embodiment, below embodiment is described in detail, but not as a limitation of the invention.
As shown in Figure 1, be that terminal is upgraded the network flow chart of fiducial time in the embodiment of the invention, network comprises system's fiducial time and crystal oscillator fiducial time fiducial time.
Step 100 when entering TV applications, when terminal receives multiplexed frame first on mobile broadcast network, parses network information table from frame; Read the system time in the network information table, and save as system fiducial time (T1);
When entering mobile TV or digital television application, all can receive the multiplexed frame that comprises network information table at every turn, and carry out new system and gather fiducial time, this is that a terminal is upgraded and the process of synchro system fiducial time;
In addition, when entering TV applications, can upgrade primary system fiducial time at every turn, can avoid like this going continually to obtain the multiplexed frame of network information table and the resource consumption introduced;
Step 101 is obtained the current time of crystal oscillator in the described terminal, and saves as crystal oscillator fiducial time (T2).
Do not have strict sequencing for the execution of above-mentioned steps 100,101, obtain crystal oscillator fiducial time in another embodiment earlier, after obtain system fiducial time.
Attention: each start is carried out after system's collection fiducial time, can upgrade and saved system fiducial time, after use in the process of TV applications, to withdrawing from TV applications, to entering before the TV applications next time, use all be the network time of safeguarding fiducial time with this subsystem.
In this example, be described as when entering TV applications update system fiducial time at every turn, but the present invention is not limited to this, as required, can be chosen in and upgrade primary system fiducial time in the setting cycle, certainly this cycle can be to enter TV applications to enter before the TV applications next time by this, also can be other.
In addition, in this example, also be described as when entering TV applications, receiving for the first time multiplexed frame, i.e. update system fiducial time.But the present invention also is not limited thereto, and in other embodiments, as required, also can be chosen in and enter after the TV applications other times update system fiducial time.
As shown in Figure 2, for network time in the embodiment of the invention is obtained the realization flow figure of interface, terminal is obtained the network time of being safeguarded by this interface, and terminal can be called this interface and obtain network time when needs are known current network time.Such as in the present invention, will judge when terminal and will call this interface and to obtain network time when whether arriving regularly reproduction time, the Pgmtime that this network time and user establish is made comparisons.Other application such as timed recording, is filtered non-current programme etc., also all needs to use this interface.
Step 200, terminal are called network time and are obtained interface;
Step 201, terminal read the current time (T3) of crystal oscillator;
Step 202, system's fiducial time (T1) and crystal oscillator fiducial time (T2) preserved before reading;
Step 203, network time obtains interface and returns network time (T);
Network time (T)=system fiducial time (T1)+(the current crystal oscillator time (T3)-crystal oscillator fiducial time (T2)).
Do not have strict sequencing for the execution of above-mentioned steps 201,202, system's fiducial time (T1) and crystal oscillator fiducial time (T2) preserved before reading earlier in another embodiment, after read crystal oscillator current time (T3).
From the flow process of Fig. 1, Fig. 2 as can be seen, this programme is by maintaining network time crystal oscillator time of terminal.Because the crystal oscillator time can not be by user's modification by the crystal oscillator maintenance of terminal, when withdrawing from TV applications and shutdown, the crystal oscillator time is still effective.So should network time maintenance scheme can guarantee the validity of network time after the user withdraws from TV applications or shutdown.
As shown in Figure 3, be the network time attending device structure chart in the embodiment of the invention, comprising: fiducial time acquisition module A, memory module B and network time generation module C; Wherein,
Described fiducial time acquisition module A, be used in a setting cycle, from a multiplexed frame that is received, parse network information table, read system time wherein, and the current time of obtaining the crystal oscillator of described terminal, issue memory module respectively and save as system's fiducial time and crystal oscillator fiducial time;
Described memory module B is used to preserve described system fiducial time and crystal oscillator fiducial time;
Described network time generation module C, be used for the current time that any time in this setting cycle obtains crystal oscillator, and in conjunction with system's fiducial time described in the described memory module B and crystal oscillator fiducial time, generate current network time (equal system on the numerical value and add fiducial time, current crystal oscillator time and crystal oscillator fiducial time poor).
In the present embodiment, when described network time generation module C generates current network time, triggered by the portable terminal at its place, when portable terminal need be known current network time, call network time obtain interface from network time generation module obtain network time;
Described setting cycle can be to enter TV applications to enter before the TV applications next time by this, also can be other;
Described fiducial time, acquisition module A can parse network information table from first multiplexed frame that is received, and obtained system fiducial time, also can parse network information table from other any multiplexed frames, obtained system fiducial time.
Can utilize above-mentioned network time maintaining method and device in the practice, carry out regularly playing and the work of timed recording.Below flow process and the related device of regularly playing is described, just repeat no more for the flow process and the related device of similar timed recording.
As shown in Figure 4, be the flow chart of customization timing broadcast program in the embodiment of the invention.
Step 300, terminal provides a menu option of regularly playing to each program, and the timing of a program of this menu setting of user by selecting is play;
The time started that step 301, terminal can point out user's incoming timing to play;
Step 302, the user is according to current listing, and input is the timing play start time effectively;
Step 303, terminal are verified user's validity of input time, if effectively, then execution in step 304, otherwise, execution in step 301;
The validity of time can be according to the requirement definition of different vendor, for example, with future timing definition within these few days be effective;
Step 304, after setting up play start time, terminal wait is carried out automatically and is play, and the user can carry out other normal running simultaneously;
Step 305, cycle detection network time, if the network time that terminal is safeguarded has arrived the play start time that the user sets, then execution in step 306; Otherwise, return execution in step 304;
Step 306 starts selected program and plays process accordingly, and terminal is play the program that the user configures automatically.
As shown in Figure 5, be a kind of user portable terminal of broadcast program regularly, described portable terminal comprises terminal body 1 and timing playing device 2, wherein, described timing playing device 2 also comprises: memory module 20, playing module 40, regularly play administration module 30, task customized module 10, described network time generation module 50 and fiducial time acquisition module 60; Wherein:
Described task customized module 10 is used for the selected program for the treatment of that timing is play, and sets its regularly reproduction time, and the sign and the timing reproduction time of program to be broadcast are issued described memory module 20;
Described fiducial time, acquisition module 60, be used in a setting cycle, parsing network information table from a multiplexed frame that is received, read system time wherein, and issue memory module 20 and save as system fiducial time, obtain the current time of the crystal oscillator of described terminal, and issue memory module 20 and save as crystal oscillator fiducial time;
Described network time generation module 50, be used for the current time that any time in this setting cycle obtains crystal oscillator, and in conjunction with the described system fiducial time in the described memory module 20 and crystal oscillator fiducial time, (equaling system on the numerical value adds fiducial time to generate current network time, current crystal oscillator time and crystal oscillator fiducial time poor), issue described timing and play administration module 30;
Described memory module 20, be used for the described task customized module 10 selected program identifications of playing and corresponding regularly reproduction time be kept at and play chained list, also be used to preserve described system fiducial time that fiducial time, acquisition module 60 was sent and crystal oscillator fiducial time;
Administration module 30 is play in described timing, according to generation module 50 current network time of sending network time, the described memory module of the cycle detection 20 inherent timing reproduction times of playing the program to be broadcast of being preserved in the chained lists start the broadcast process of this program and notify described playing module 40 after described network time equals the timing reproduction time of a program to be broadcast;
Described playing module 40 is play the notice of administration module 30 according to described timing, to the timing reproduction time to program carry out playing programs.
Described setting cycle can be to enter TV applications to enter before the TV applications next time by this, also can be other;
Described fiducial time, acquisition module 60, can parse network information table from first multiplexed frame that is received, and obtained system fiducial time, also can parse network information table from other any multiplexed frames, obtained system fiducial time.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. a maintaining network time method is characterized in that,
Terminal parses network information table from the multiplexed frame that is received in a setting cycle, the reading system time saves as system fiducial time from this network information table; And the current time of obtaining the crystal oscillator of described terminal saves as crystal oscillator fiducial time;
Any time in this cycle, by obtaining the current time of crystal oscillator, and, generate current network time in conjunction with the described system fiducial time of preserving and crystal oscillator fiducial time;
Described generation current network time is in the process: described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
2. the method for claim 1 is characterized in that,
Described terminal is obtained system time from first multiplexed frame that is received;
Described setting cycle is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
One kind network time attending device, it is characterized in that, comprising: fiducial time acquisition module, memory module and network time generation module; Wherein,
Described fiducial time acquisition module, be used in a setting cycle, from a multiplexed frame that is received, parse network information table, and from this network information table, obtain system time, and the current time of obtaining the crystal oscillator of described terminal, issue memory module respectively and save as system's fiducial time and crystal oscillator fiducial time;
Described memory module is used to preserve described system fiducial time and crystal oscillator fiducial time;
Described network time generation module, be used for the current time that any time in this setting cycle obtains crystal oscillator, and, generate current network time in conjunction with system's fiducial time described in the described memory module and crystal oscillator fiducial time; Wherein, described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
4. device as claimed in claim 3 is characterized in that,
Described network time generation module, the current network time of generation, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor.
5. device as claimed in claim 3 is characterized in that,
Described fiducial time, acquisition module obtained system time from first multiplexed frame that is received, and the cycle that it sets is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
6. as claim 3 or 5 described devices, it is characterized in that,
Described fiducial time, acquisition module parsed network information table from the multiplexed frame that is received, and from this network information table the reading system time.
7. one kind is utilized network time to carry out the regularly method of broadcast, it is characterized in that,
Terminal parses network information table from a multiplexed frame that is received in a setting cycle, and from this network information table the reading system time save as system fiducial time, and the current time of obtaining the crystal oscillator of described terminal saves as crystal oscillator fiducial time;
Any time in this cycle, described terminal is obtained the current time of crystal oscillator, and in conjunction with the described system fiducial time of preserving and crystal oscillator fiducial time, generates current network time; Wherein, described current network time, equal described system on the numerical value and add fiducial time, described current crystal oscillator time and described crystal oscillator fiducial time poor;
The user selects to treat the regularly program of broadcast, and after setting reproduction time, equals network time when described terminal detects reproduction time by triggering menu option, then starts selected program and plays process accordingly.
8. method as claimed in claim 7 is characterized in that,
Described current network time equals described system and adds fiducial time on the numerical value, described current crystal oscillator time and described crystal oscillator fiducial time poor.
9. method as claimed in claim 7 is characterized in that,
Described terminal is obtained system time from first multiplexed frame that is received;
Described setting cycle is to enter mobile TV by this to be applied to and to enter before mobile TV uses next time.
10. as claim 7 or 9 described methods, it is characterized in that,
Described terminal parses network information table from the multiplexed frame that is received, and from this network information table the reading system time.
CN2008100969946A 2008-05-14 2008-05-14 Method and device for maintaining network time and timing broadcast method Expired - Fee Related CN101272193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100969946A CN101272193B (en) 2008-05-14 2008-05-14 Method and device for maintaining network time and timing broadcast method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100969946A CN101272193B (en) 2008-05-14 2008-05-14 Method and device for maintaining network time and timing broadcast method

Publications (2)

Publication Number Publication Date
CN101272193A CN101272193A (en) 2008-09-24
CN101272193B true CN101272193B (en) 2010-06-16

Family

ID=40005919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100969946A Expired - Fee Related CN101272193B (en) 2008-05-14 2008-05-14 Method and device for maintaining network time and timing broadcast method

Country Status (1)

Country Link
CN (1) CN101272193B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369399A (en) * 2013-07-08 2013-10-23 深圳创维数字技术股份有限公司 Method and device for timing control of digital television
CN104902297B (en) * 2015-05-20 2018-05-08 无锡天脉聚源传媒科技有限公司 The method and device that a kind of program plays
CN105227755A (en) * 2015-08-25 2016-01-06 努比亚技术有限公司 The output control method of a kind of mobile terminal and multi-medium data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812598A (en) * 2005-01-27 2006-08-02 株式会社东芝 Telephone exchange and communication terminal
CN1859567A (en) * 2006-03-07 2006-11-08 华为技术有限公司 Digital TV decoding method and system
US20070133612A1 (en) * 2005-12-09 2007-06-14 Mitsubishi Denki Kabushiki Kaisha Communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812598A (en) * 2005-01-27 2006-08-02 株式会社东芝 Telephone exchange and communication terminal
US20070133612A1 (en) * 2005-12-09 2007-06-14 Mitsubishi Denki Kabushiki Kaisha Communication system
CN1859567A (en) * 2006-03-07 2006-11-08 华为技术有限公司 Digital TV decoding method and system

Also Published As

Publication number Publication date
CN101272193A (en) 2008-09-24

Similar Documents

Publication Publication Date Title
CN101128813B (en) Method and system for providing information which relates in broadcasting
US9338642B2 (en) Method and apparatus for processing application program, and mobile terminal therefor
CN101237544A (en) A TV program search method and its system
CN101605227B (en) Method and system for notifying programs among CMMB terminals
CN101394524B (en) Mobile phone and method for timed opening for digital television program recording under closed state
CN101272193B (en) Method and device for maintaining network time and timing broadcast method
CN101316353A (en) Set-top box parameter configuration method, user recognition card and set-top box
CN101242484A (en) Processing method, system, server, and STB for electronic program guide information
CN101345883B (en) Method for fast displaying multimedia broadcasting channel image
CN101489068B (en) Background sound and key pressing sound playing method and system based on built-in brower
US8594644B2 (en) Device and method for executing reserved function in mobile communication terminal
CN101500141B (en) Mobile phone television program customizing method
CN102413234A (en) Mobile terminal media resource loading method and mobile terminal
CN101282442A (en) Method and mobile terminal for recording film pieces capable of preordering by user
CN102387418A (en) Program play prompting method, set top box, and method for carrying out time prompting on set top box
CN101815204A (en) Method for realizing automatic program play in multimedia application of mobile terminal and device thereof
CN101351003B (en) Method for actuating mobile terminal and mobile phone television signal receiving chip
CN100472994C (en) Mobile multimedia terminal and updating method for ESG fundamental descriptive list by the same terminal
CN100461893C (en) Mobile multimedia terminal and multiplexing allocation list updating method for lasting service
JP2011244268A (en) Broadcast apparatus, broadcast receiver, broadcast method, and broadcast reception method
CN201298851Y (en) Playing device
CN101022602B (en) Mobile multimedia terminal and updating method for network information list by the same terminal
CN103414937A (en) Service information data sharing method based on digital television middleware
CN100461922C (en) Mobile multimedia terminal and CSCT updating method by the same terminal
CN201118898Y (en) Short-time update device for service configuration table

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: 20100616

Termination date: 20200514

CF01 Termination of patent right due to non-payment of annual fee