CN101202613B - Terminal for clock synchronization - Google Patents
Terminal for clock synchronization Download PDFInfo
- Publication number
- CN101202613B CN101202613B CN200610161182A CN200610161182A CN101202613B CN 101202613 B CN101202613 B CN 101202613B CN 200610161182 A CN200610161182 A CN 200610161182A CN 200610161182 A CN200610161182 A CN 200610161182A CN 101202613 B CN101202613 B CN 101202613B
- Authority
- CN
- China
- Prior art keywords
- data
- terminal
- time
- clock
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A clock synchronous system of movable multimedia network includes a data memorizer, a calculating device and a correcting device; wherein, the data memorizer is used for receiving and storing a service data at the system side. The calculating device is used for calculating the current time X according to initial time T0, the times N for receiving data and a fixed time interval T after the servicedata is received at every time interval T. The correcting device is used for collecting a local clock according to the current time X.
Description
Technical field
The invention belongs to Mobile Multimedia Broadcasting or technical field of mobile TV, specially refer to a kind of system 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 a kind of clock system of mobile multimedia network, 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 a kind of clock system of mobile multimedia network, comprises data storage, calculation element and means for correcting, wherein,
Described data storage is used for receiving and storage system side business data;
Described calculation element is used for after each Fixed Time Interval T receives business datum, according to initial time T
0, the times N and the Fixed Time Interval T that receive data calculate current time X;
Described means for correcting is used for according to described current time X correcting local clock.
Further, said system also can have following characteristics: described calculation element, the time that record calculates at every turn, and after whenever receiving 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 system also can have following characteristics: described calculation element, the method for calculating current time X is X=T* (N-1)+T
0
Further, said system also can have following characteristics, also comprises: decoder is used for decode video data, voice data; Player is used for stabbing according to their reproduction time, and the contrast local clock is regularly play; Described system side business datum comprises video data and voice data.
Further, said system also can have following characteristics: described player, in the time of playing video data and voice data, continue to receive data.
Further, said system also can have following characteristics: when the initial clock setting in this locality is T
0, then stabbing when identical at the local clock and the reproduction time of decoded video data, voice data, described player carries out the timing synchronous playing.
Further, said system also can have following characteristics: 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, and described player 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 synchro system among the embodiment.
Fig. 2 is the schematic diagram of system clock synchronizing method among the embodiment.
Fig. 3 is the schematic diagram of system clock transmission method among the embodiment.
Fig. 4 is the schematic diagram of terminal check and correction local clock among the embodiment.
Embodiment
The present invention is a kind of clock system of mobile multimedia network, 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.
Below in conjunction with accompanying drawing the inventive method is elaborated.
Fig. 1 is a kind of clock system of mobile multimedia network, comprise the system side and the terminal that link to each other by the mobile network, wherein, system side comprises encoder 1 and wireless transmitting device 2, terminal comprises data storage 3, calculation element 4, means for correcting 5, decoder 6 and player 7
Described encoder 1 and wireless transmitting device 2 keep clock synchronization, are used for sending same business channel data at each Fixed Time Interval T;
Described data storage 3 is used for receiving and storing described system side business datum;
Described calculation element 4 is used for after each Fixed Time Interval T receives business datum, according to initial time T
0, the times N and the Fixed Time Interval T that receive data calculate current time X, local clock initial value T
0Reproduction time stamp for first picture frame that is played or speech frame;
The time that described calculation element 4 records calculate at every turn, and after whenever receiving 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.Perhaps described calculation element 4, the method for calculating current time X is X=T* (N-1)+T
0
Described means for correcting 5 is used for according to described current time X correcting local clock.
Decoder 6 is used for decode video data, voice data;
Player 7 is used for stabbing according to their reproduction time, and the contrast local clock is regularly play.In the time of described player plays video data and voice data, continue to receive data.
When the initial clock setting in this locality is T
0, then stabbing when identical at the local clock and the reproduction time of decoded video data, voice data, described player carries out the timing synchronous playing.
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, and described player carries out the timing synchronous playing.
Fig. 2 is a kind of clock synchronizing method of mobile multimedia network, may further comprise the steps:
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 3, 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. 4 has illustrated the embodiment of end side check and correction local clock, may further comprise the steps:
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 (7)
1. a terminal that is used for clock synchronization comprises data storage, it is characterized in that: terminal also comprises calculation element and means for correcting,
Described data storage is used for receiving and storage system side business data;
Described calculation element is used for after each Fixed Time Interval T receives business datum, according to initial time T
0, the times N and the Fixed Time Interval T that receive data calculate current time X;
Described means for correcting is used for according to described current time X correcting local clock.
2. terminal according to claim 1 is characterized in that:
Described calculation element, the time that record calculates at every turn, and after whenever receiving 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. terminal according to claim 1 is characterized in that:
Described calculation element, the method for calculating current time X is X=T* (N-1)+T
0
4. terminal according to claim 1 is characterized in that, also comprises:
Decoder is used for decode video data, voice data;
Player is used for stabbing according to their reproduction time, and the contrast local clock is regularly play;
Described system side business datum comprises video data and voice data.
5. as terminal as described in the claim 4, it is characterized in that:
Described player in the time of playing video data and voice data, continues to receive data.
6. as terminal as described in the claim 5, it is characterized in that:
When the initial clock setting in this locality is T
0, then stabbing when identical at the local clock and the reproduction time of decoded video data, voice data, described player carries out the timing synchronous playing.
7. as terminal as described in the claim 5, it is characterized in that:
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, and described player carries out the timing synchronous playing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610161182A CN101202613B (en) | 2006-12-11 | 2006-12-11 | Terminal for clock synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610161182A CN101202613B (en) | 2006-12-11 | 2006-12-11 | Terminal for clock synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101202613A CN101202613A (en) | 2008-06-18 |
CN101202613B true CN101202613B (en) | 2010-05-19 |
Family
ID=39517598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610161182A Expired - Fee Related CN101202613B (en) | 2006-12-11 | 2006-12-11 | Terminal for clock synchronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101202613B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924941A (en) * | 2010-08-30 | 2010-12-22 | 深圳市宏电技术股份有限公司 | Multimedia decoding method, system and multimedia play equipment |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615963B (en) | 2008-06-23 | 2012-12-12 | 华为技术有限公司 | Method and system for processing correction domain information |
CN101505215B (en) * | 2009-03-05 | 2011-07-13 | 中兴通讯股份有限公司 | Method and apparatus for time clock synchronization |
GB201116521D0 (en) | 2011-09-23 | 2011-11-09 | Imagination Tech Ltd | Method and apparatus for time synchronisation in wireless networks |
CN103826084A (en) * | 2014-02-17 | 2014-05-28 | 宁波公众信息产业有限公司 | Audio encoding method |
CN105071884B (en) * | 2015-07-29 | 2018-07-31 | 北京海尔集成电路设计有限公司 | A kind of device and method being calibrated based on CDR |
CN106375823B (en) * | 2016-10-08 | 2018-03-27 | 广东欧珀移动通信有限公司 | A kind of clock adjustment, device, terminal and multimedia synchronous play system |
CN108235426B (en) * | 2016-12-15 | 2021-01-15 | 中国移动通信有限公司研究院 | Method, device and system for detecting time delay and local time difference between terminals |
CN107148041B (en) * | 2017-06-20 | 2020-12-18 | 义乌市智享通讯设备有限公司 | Method for detecting abnormal operation of wireless access equipment and wireless access equipment |
CN109561336A (en) * | 2018-12-27 | 2019-04-02 | 威创集团股份有限公司 | Distribution display synchronous method, apparatus and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1647552A (en) * | 2002-04-22 | 2005-07-27 | 诺基亚有限公司 | Media system, user terminal and method of providing content items relating to broadcast media stream |
CN1675847A (en) * | 2002-10-16 | 2005-09-28 | 索尼爱立信移动通讯股份有限公司 | Mobile terminal implementing a ranging signal receiver and method |
CN1812289A (en) * | 2005-01-26 | 2006-08-02 | 中兴通讯股份有限公司 | Apparatus for realizing network synchronization in personal cell phone based on IP |
CN1870719A (en) * | 2005-05-23 | 2006-11-29 | 华为技术有限公司 | Method and system for receiving-end and source-end synchonous of broadcast TV service |
-
2006
- 2006-12-11 CN CN200610161182A patent/CN101202613B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1647552A (en) * | 2002-04-22 | 2005-07-27 | 诺基亚有限公司 | Media system, user terminal and method of providing content items relating to broadcast media stream |
CN1675847A (en) * | 2002-10-16 | 2005-09-28 | 索尼爱立信移动通讯股份有限公司 | Mobile terminal implementing a ranging signal receiver and method |
CN1812289A (en) * | 2005-01-26 | 2006-08-02 | 中兴通讯股份有限公司 | Apparatus for realizing network synchronization in personal cell phone based on IP |
CN1870719A (en) * | 2005-05-23 | 2006-11-29 | 华为技术有限公司 | Method and system for receiving-end and source-end synchonous of broadcast TV service |
Non-Patent Citations (1)
Title |
---|
JP特开2004-254186A 2004.09.09 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924941A (en) * | 2010-08-30 | 2010-12-22 | 深圳市宏电技术股份有限公司 | Multimedia decoding method, system and multimedia play equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101202613A (en) | 2008-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101202613B (en) | Terminal for clock synchronization | |
US7372858B2 (en) | Data transmission device and data transmission method | |
CN101184195B (en) | Audio/video living broadcast system and method | |
RU2292657C2 (en) | Quantization of time on basis of clock impulses | |
CN100579238C (en) | Synchronous playing method for audio and video buffer | |
CN100550999C (en) | A kind of digital channel fast switch over method and system and device for creating auxiliary channel | |
CN100568966C (en) | A kind of network transfer method of audio/video data | |
CN100450163C (en) | A video and audio synchronization playing method for mobile multimedia broadcasting | |
CN102752669A (en) | Transfer processing method and system for multi-channel real-time streaming media file and receiving device | |
CN101938606B (en) | Method, system and device for propelling multimedia data | |
CN100473171C (en) | Clock synchronizing method in broadcast network | |
CA3211374A1 (en) | System and method for synchronizing transmission of media content using timestamps | |
CN1960485B (en) | Method for playing back video and audio synchronistically in mobile media broadcast | |
KR102675843B1 (en) | Transmitting devices, receiving devices and data processing methods | |
WO2011113315A1 (en) | Stream media live service system and implementation method thereof | |
WO2006126852A1 (en) | Method and apparatus for synchronizing data service with video service in digital multimedia broadcasting | |
CN100544448C (en) | A kind of clock system of mobile multimedia network | |
US20080056666A1 (en) | Receiver and information processing method | |
WO2017026248A1 (en) | Receiving device and data processing method | |
CN1960435B (en) | Method and system for synchronizing broadcast time of mobile multimedia | |
CN101202918B (en) | Method of terminal correcting clock | |
CN100571119C (en) | A kind of mobile network of utilization realizes the method for clock synchronization | |
CN103828383A (en) | Method of saving content to a file on a server and corresponding device | |
CN101540756A (en) | Method, system and device for random play and data transmission based on progressive streaming transport | |
JP4561240B2 (en) | Data processing apparatus, data processing method, and data transmission / reception system |
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: 20100519 Termination date: 20171211 |
|
CF01 | Termination of patent right due to non-payment of annual fee |