CN1996829A - A method for clock synchronization via the mobile network - Google Patents

A method for clock synchronization via the mobile network Download PDF

Info

Publication number
CN1996829A
CN1996829A CN 200610161149 CN200610161149A CN1996829A CN 1996829 A CN1996829 A CN 1996829A CN 200610161149 CN200610161149 CN 200610161149 CN 200610161149 A CN200610161149 A CN 200610161149A CN 1996829 A CN1996829 A CN 1996829A
Authority
CN
China
Prior art keywords
data
time
clock
terminal
local clock
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 200610161149
Other languages
Chinese (zh)
Other versions
CN100571119C (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 CNB2006101611493A priority Critical patent/CN100571119C/en
Publication of CN1996829A publication Critical patent/CN1996829A/en
Application granted granted Critical
Publication of CN100571119C publication Critical patent/CN100571119C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This invention provides one method to realize simultaneous clock by use of mobile network, which comprises the following steps: a, system side wireless emission device sends one business channel data at each fix time lag; b, terminal receives business data with first receive data set with initial time as T0 and accordingly to compute current time X adjusted to local time.

Description

A kind of mobile network of utilization realizes the method for clock synchronization
Technical field
The invention belongs to Mobile Multimedia Broadcasting or technical field of mobile TV, specially refer to a kind of method of clock synchronization of the real-time video audio stream of realizing Mobile Multimedia Broadcasting.
Background technology
Mobile Multimedia Broadcasting is a kind of Play Technique for Multimedia of rising in recent years.By hand-held terminal, under the situation of high-speed mobile, can watch TV.Terminal receives programme by wireless protocols, and can select the channel of oneself having the right to watch, thereby can receive the multi-medium data of selecting channel, is implemented in and sees TV on the portable terminal.
The aerial data of system emission are divided into different channels, and the data of each channel comprise three types of video, audio frequency and data again, require to guarantee energy synchronous playing between terminal and the system, be that clock is synchronous, also require terminal can guarantee the synchronous playing of video/audio, promptly labial is synchronous.Clock synchronization is basic functions in the multi-media broadcasting system.
In the multimedia broadcasting field, the method for existing assurance clock synchronization has 2 kinds.A kind of is TS (transport stream) agreement, constantly sends Program Clock Reference (PCR) bag by system side, allows ceaselessly position of terminal, is synchronous with the clock that guarantees terminal and the clock of system equipment.Another kind method is NTP (Network Time Protocol) NTP, and at set intervals, for example 1 hour, server and client were done once mutual, proofreaded the time.
First method is adapted at using in the circuit network, also being fit to unidirectional broadcast network uses, clock can guarantee very accurate, but the TS mode will send 3 to 10 times each second at least comes position, each is surrounded by 188 byte-sized, advantage is the precision height, and shortcoming is to have wasted bandwidth resources, the complexity height of TS realization simultaneously; Second method is adapted at using in the IP network, and is very little to the expense of the network bandwidth, is two-way but require network, can only use in interactive network, is not suitable for using in the radio network.
Summary of the invention
The technical problem to be solved in the present invention provides the method that a kind of mobile network of utilization realizes clock synchronization, only needs less overhead, just can realize the clock synchronization between terminal and the system coding equipment.
In order to address the above problem, the present invention proposes the method that a kind of mobile network of utilization realizes clock synchronization, may further comprise the steps:
(2) wireless transmitting device of system side sends same business channel data at each Fixed Time Interval T;
(3) terminal receives business channel data, and initial time T is set when receiving data the 1st time 0, and when after this receiving data, according to initial time T at every turn 0, the times N and the Fixed Time Interval T that receive data calculate current time X, and with described current time X correcting local clock.
In the step (3), the time that the terminal record calculates at every turn, whenever receive 1 secondary data, all on preceding local clock basis of once calculating, add Fixed Time Interval T, promptly obtain being used to proofread and correct the synchronised clock of terminal this locality in the mode that adds up.
Further, said method also can have following characteristics: in the step (3), and current time X=T * (N-1)+T 0
Further, said method also can have following characteristics: in the step (3), and local clock initial value T 0Reproduction time stamp for first picture frame that is played or speech frame.
Further, said method also can have following characteristics: step (2) also comprises before:
(1) keeps clock synchronization between the encoder of system side and the wireless transmitting device.
Further, said method also can have following characteristics: step (3) also comprises afterwards:
(4) decoding terminals video data, voice data, and stab according to separately reproduction time, the contrast local clock is regularly play.
Further, said method also can have following characteristics: in the time of terminal plays video data and voice data, continue to receive data.
Further, said method also can have following characteristics: in the step (4), when the initial clock setting in this locality is T 0, then stab when identical at the local clock and the reproduction time of decoded video data, voice data, carry out the timing synchronous playing.
Further, said method also can have following characteristics: in the step (4), to receive data clear 0 the time to local clock when terminal initial, and then local clock is identical with the reproduction time stamp of decoded video data, voice data, carries out the timing synchronous playing.
Prior art adopts the TS mode to realize, the complexity height that TS realizes need send several clock check and correction bags each second, and each is surrounded by 188 byte longs, has brought the expense of radio spectrum resources.Compared with prior art, the present invention can send a clock synchronization with reference to guaranteeing clock synchronization in each second, and overhead is very little.The present invention is adapted at using in the radio network, the clock synchronization between energy realization system and the terminal.
Description of drawings
Fig. 1 is the schematic diagram of system clock synchronizing method among the embodiment.
Fig. 2 is the schematic diagram of system clock transmission method among the embodiment.
Fig. 3 is the schematic diagram of terminal check and correction local clock among the embodiment.
Embodiment
The present invention is a kind of method of Mobile Multimedia Broadcasting clock synchronization, for same service channel, in each Fixed Time Interval, send one time business datum, mobile network's the time interval is very accurate, do not have cumulative errors, terminal can be utilized this time interval correcting local clock, thereby can guarantee clock synchronization.
Be elaborated below in conjunction with 1 pair of the inventive method of accompanying drawing.Said method comprising the steps of:
Step 100 keeps clock synchronization between the encoder of system side and the wireless transmitting device;
In case because asynchronous between the encoder, the time has been grown, and just forms cumulative errors, cause buffering area to overflow, and regular check and correction can be eliminated cumulative errors.
Step 110, the transmitter of system side every a Fixed Time Interval T, sends same business channel data;
As shown in Figure 2, radio broadcasting is to send 1 full frame structured data in a Fixed Time Interval, this Fixed Time Interval T can be 1 second, 0.5 second kind, or other times are at interval.
Step 120, terminal receives business datum, when terminal receives data the 1st time the local clock initial value is changed to T 0, when terminal is received the N secondary data afterwards, according to from receiving data for the 1st time to the time interval calculating current time X=T that receives data for the N time * (N-1)+T 0, and proofread and correct terminal local clock, T with this X 0Reproduction time stamp for first picture frame that is played or speech frame;
Among another embodiment, terminal also can write down the time that at every turn calculates, and whenever receives 1 secondary data, all adds Fixed Time Interval T on preceding local clock basis of once calculating, and promptly obtains being used to proofread and correct the synchronised clock of terminal this locality in the mode that adds up.
Receive business datum at every turn, utilize to calculate gained clock check and correction terminal local clock, can guarantee that the time interval of terminal plays frame of video, audio frame and the time interval of encoder equate fully, thus the realization clock synchronization.
Fig. 3 has illustrated the embodiment of end side check and correction local clock, may further comprise the steps:
Step 210, terminal is selected programme content according to electronic program list;
Step 220, terminal begin the program data that the receiving system side is sent, and when receiving data the 1st time local clock are put 0, receive the business datum of set time length at every turn, suppose can receive the business datum in a second 1 time;
Step 230, terminal are calculated from receiving data for the 1st time to the N time time interval X, and the computational methods of this example employing are X=T * (N-1), proofread local clock according to described time interval X;
Step 240, decode video data, voice data, and stab according to their reproduction time, the contrast local clock is regularly play, and turns back to step 220 simultaneously, continues to receive data.
If when terminal initial receives data, be T with the initial clock setting in this locality 0, then stab when identical at the local clock and the reproduction time of decoded video data, voice data, carry out the timing synchronous playing;
If clear 0 to local clock when terminal initial receives data, then local clock is identical with the reproduction time stamp of decoded video data, voice data, carries out the timing synchronous playing.
Like this, in the time interval of each image, encoded speech data, just the time interval of Bo Fanging, encode and the clock synchronization issue of playing thereby solved.
At an application example, service channel 1 has the speed of 256Kbit/s, encoder sends 1 secondary data each second, behind the starting up of terminal, receives wireless signal, take out the data in first second, the system-timing reference value is stabbed for the reproduction time of first picture frame that is played or speech frame, and every a second, terminal is received once new data, again proofread the terminal local clock one time, to guarantee the clock synchronization of terminal and encoder.

Claims (9)

1, a kind of mobile network of utilization realizes the method for clock synchronization, may further comprise the steps:
(2) wireless transmitting device of system side sends same business channel data at each Fixed Time Interval T;
(3) terminal receives business channel data, and initial time T is set when receiving data the 1st time 0, and when after this receiving data, according to initial time T at every turn 0, the times N and the Fixed Time Interval T that receive data calculate current time X, and with described current time X correcting local clock.
2, method according to claim 1 is characterized in that:
In the step (3), the time that the terminal record calculates at every turn, whenever receive 1 secondary data, all on preceding local clock basis of once calculating, add Fixed Time Interval T, promptly obtain being used to proofread and correct the synchronised clock of terminal this locality in the mode that adds up.
3, method according to claim 1 is characterized in that:
In the step (3), current time X=T * (N-1)+T 0
4, as method as described in claim 2 or 3, it is characterized in that:
In the step (3), local clock initial value T 0Reproduction time stamp for first picture frame that is played or speech frame.
5, method according to claim 1 is characterized in that step (2) also comprises before:
(1) keeps clock synchronization between the encoder of system side and the wireless transmitting device.
6, method according to claim 1 is characterized in that step (3) also comprises afterwards:
(4) decoding terminals video data, voice data, and stab according to separately reproduction time, the contrast local clock is regularly play.
7, as method as described in the claim 6, it is characterized in that:
In the time of terminal plays video data and voice data, continue to receive data.
8, as method as described in the claim 7, it is characterized in that:
In the step (4), when the initial clock setting in this locality is T 0, then stab when identical at the local clock and the reproduction time of decoded video data, voice data, carry out the timing synchronous playing.
9, as method as described in the claim 7, it is characterized in that:
In the step (4), to receive data clear 0 the time to local clock when terminal initial, and then local clock is identical with the reproduction time stamp of decoded video data, voice data, carries out the timing synchronous playing.
CNB2006101611493A 2006-12-07 2006-12-07 A kind of mobile network of utilization realizes the method for clock synchronization Expired - Fee Related CN100571119C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101611493A CN100571119C (en) 2006-12-07 2006-12-07 A kind of mobile network of utilization realizes the method for clock synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101611493A CN100571119C (en) 2006-12-07 2006-12-07 A kind of mobile network of utilization realizes the method for clock synchronization

Publications (2)

Publication Number Publication Date
CN1996829A true CN1996829A (en) 2007-07-11
CN100571119C CN100571119C (en) 2009-12-16

Family

ID=38251787

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101611493A Expired - Fee Related CN100571119C (en) 2006-12-07 2006-12-07 A kind of mobile network of utilization realizes the method for clock synchronization

Country Status (1)

Country Link
CN (1) CN100571119C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547946A (en) * 2018-11-02 2019-03-29 南京中感微电子有限公司 A kind of voice data communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547946A (en) * 2018-11-02 2019-03-29 南京中感微电子有限公司 A kind of voice data communication method

Also Published As

Publication number Publication date
CN100571119C (en) 2009-12-16

Similar Documents

Publication Publication Date Title
CN101202613B (en) Terminal for clock synchronization
US9973345B2 (en) Calculating and signaling segment availability times for segments of media data
US7372858B2 (en) Data transmission device and data transmission method
US8776144B2 (en) Mobile TV system and method for synchronizing the rendering of streaming services thereof
US10652849B2 (en) Using broadcast physical layer for one-way time transfer of universal coordinated time to receivers
CN100550999C (en) A kind of digital channel fast switch over method and system and device for creating auxiliary channel
US6907028B2 (en) Clock-based time slicing
CN100579238C (en) Synchronous playing method for audio and video buffer
CN101951506B (en) System and method for realizing synchronous transmitting and receiving of scalable video coding service
CA3211374A1 (en) System and method for synchronizing transmission of media content using timestamps
CN102752669A (en) Transfer processing method and system for multi-channel real-time streaming media file and receiving device
CN100473171C (en) Clock synchronizing method in broadcast network
CN100450163C (en) A video and audio synchronization playing method for mobile multimedia broadcasting
CN109089129B (en) Stable multi-video binding live broadcasting system and method thereof
KR102675843B1 (en) Transmitting devices, receiving devices and data processing methods
CN101938606A (en) Method, system and device for propelling multimedia data
CN112004102A (en) Multi-camera picture synchronization method based on IP live stream
CN1960435B (en) Method and system for synchronizing broadcast time of mobile multimedia
WO2017026248A1 (en) Receiving device and data processing method
CN100544448C (en) A kind of clock system of mobile multimedia network
CN101202918B (en) Method of terminal correcting clock
EP1855402A1 (en) Transmission, reception and synchronisation of two data streams
CN100571119C (en) A kind of mobile network of utilization realizes the method for clock synchronization
CN101237276B (en) Mobile phone TV single-frequency network synchronization system and method based on mobile network
KR100649399B1 (en) Method and system for providing digital broadcasting service over ip

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

Termination date: 20151207

EXPY Termination of patent right or utility model