CN101883208B - Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box - Google Patents

Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box Download PDF

Info

Publication number
CN101883208B
CN101883208B CN201010226717XA CN201010226717A CN101883208B CN 101883208 B CN101883208 B CN 101883208B CN 201010226717X A CN201010226717X A CN 201010226717XA CN 201010226717 A CN201010226717 A CN 201010226717A CN 101883208 B CN101883208 B CN 101883208B
Authority
CN
China
Prior art keywords
top box
clock reference
numerical value
transmitting terminal
frequency
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
CN201010226717XA
Other languages
Chinese (zh)
Other versions
CN101883208A (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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology Co Ltd
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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN201010226717XA priority Critical patent/CN101883208B/en
Publication of CN101883208A publication Critical patent/CN101883208A/en
Application granted granted Critical
Publication of CN101883208B publication Critical patent/CN101883208B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a method for automatically restoring the audio-frequency/visual-frequency synchronization of a set top box. In the method, the temporary data error of a program reference clock of a transmitting end is automatically made up and restored by a program reference clock of a clock crystal oscillator of the set top box by the mutual coordinating and matching of the program reference clock of the transmitting end and the program reference clock of the clock crystal oscillator of the set top box, and the program reference clock of the clock crystal oscillator of the set top box is recalibrated by the program reference clock of the transmitting end. Each step is circulated and repeated in a playing process, thereby avoiding the occurrence of the phenomenon of audio-frequency blocking or visual-frequency blocking and the like caused by audio-frequency/visual-frequency asynchronism when a user watches programs effectively.

Description

A kind of method of automatically restoring audio-frequency/visual-frequency synchronization of set top box
Technical field
The present invention relates to a kind of audio and video synchronization method, relate in particular to a kind of method of automatically restoring audio-frequency/visual-frequency synchronization of set top box.
Background technology
In recent years, flourish along with Digital Television, radio and television operator provides increasing TV programme to watch for the user, and the TV programme of making from TV station is wherein arranged, satellite TV's program from satellite-signal is arranged, also have audio/video program from multimedia players such as DVD.So Duo program multiplexing arrives together, they all are the audio-visual synchronization signal of oneself separately, be Program Clock Reference (PCR), when being multiplexed into may cause together, they influence each other, perhaps the Program Clock Reference of program itself goes wrong, and it is asynchronous and cause the phenomenon that video interrupts suddenly or audio frequency interrupts suddenly to make that audio frequency and video appear in program when playing.The realization audio-visual synchronization of traditional digital TV set-top box is the numerical value of the Program Clock Reference that sent by the radio and television transmitting terminal, carry out corresponding audio-visual synchronization, if the Program Clock Reference that transmitting terminal sends is wrong, the nonsynchronous problem of audio frequency and video then can appear, i.e. the phenomenon that audio frequency interrupts suddenly or video interrupts suddenly.
Summary of the invention
The purpose of this invention is to provide a kind ofly, realize the method for automatically restoring audio-frequency/visual-frequency synchronization of set top box in the mode of automatic correction by using transmitting terminal Program Clock Reference and programs of set-top box reference clock to cooperatively interact.
For achieving the above object, the method for automatically restoring audio-frequency/visual-frequency synchronization of set top box comprises the steps:
Step 1: set-top box is switched to a frequency;
Step 2: search for the program aid table that transmitting terminal sends in this frequency;
Step 3: the Program Map Table that obtains to comprise in this frequency programme information;
Step 4: switch to the program that transmitting terminal sends in this frequency, obtain voice data packet identifier, video data packet identifier and the Program Clock Reference numerical value packet identifier of this program;
Step 5: with the voice data packet identifier of this program be set to set-top box the demultiplexing passage and with the audio decoder binding, the video data packet identifier of this program be set to the demultiplexing passage of set-top box and bind with Video Decoder;
Step 6: the Program Clock Reference numerical value packet identifier of this program that transmitting terminal is sent is set to the demultiplexing passage of set-top box, starts transmitting terminal Program Clock Reference synchronizing function and comes vectoring aircraft top box audio-visual synchronization;
Step 7: when receiving first transmitting terminal Program Clock Reference numerical value, starter motor top box 27,000,000 clock crystal oscillators are provided with the initial value of set-top box clock crystal oscillator by Program Clock Reference numerical value, and set-top box clock crystal oscillator begins counting;
Step 8:, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared every 1 to 10 second;
Step 9: if deviation is then closed transmitting terminal Program Clock Reference synchronizing function, the Program Clock Reference of starter motor top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization; If deviation do not occur, then continue to adopt transmitting terminal Program Clock Reference synchronizing function to come vectoring aircraft top box audio-visual synchronization
Step 10: after the Program Clock Reference of employing set-top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization, every 1 to 10 second, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared;
Step 11: come vectoring aircraft top box audio-visual synchronization if the deviation between the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator less than variance thresholds, then recovers to start transmitting terminal Program Clock Reference synchronizing function; If deviation greater than variance thresholds, then continues to adopt the Program Clock Reference of set-top box clock crystal oscillator to come vectoring aircraft top box audio-visual synchronization;
Step 12: after recovery startup transmitting terminal Program Clock Reference synchronizing function is come vectoring aircraft top box audio-visual synchronization, the Program Clock Reference of set-top box clock crystal oscillator is calibrated, returned step 8 according to the numerical value of transmitting terminal Program Clock Reference.
Deviation between the numerical value of the Program Clock Reference of the numerical value of the described transmitting terminal Program Clock Reference of step 11 of the present invention and set-top box clock crystal oscillator is with the difference of the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and the set-top box clock crystal oscillator quotient divided by the numerical value gained of transmitting terminal Program Clock Reference.Described variance thresholds is a numerical value in 1% to 9%, wherein be preferably 5%, when the deviation between the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator during, enter step 12, otherwise continue step 10 less than variance thresholds.
In sum, the present invention compared with prior art, the present invention utilizes the mutual cooperation of Program Clock Reference of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator, automatically remedy and recover the temporary error in data of transmitting terminal Program Clock Reference with the Program Clock Reference of set-top box clock crystal oscillator, with the transmitting terminal Program Clock Reference Program Clock Reference of set-top box clock crystal oscillator is recalibrated, each step cycle is reciprocal in playing process, thus phenomenon such as the audio card that occurs causing owing to audio frequency and video are asynchronous when having avoided the user to watch program is effectively paused or video card pauses.
Description of drawings
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments:
Fig. 1 is the flow chart of steps of automatically restoring audio-frequency/visual-frequency synchronization method.
Embodiment
As shown in Figure 1, the method for automatically restoring audio-frequency/visual-frequency synchronization of set top box comprises the steps:
Step 1: set-top box is switched to a frequency;
Step 2: search for the program aid table that transmitting terminal sends in this frequency;
Step 3: the Program Map Table that obtains to comprise in this frequency programme information;
Step 4: switch to the program that transmitting terminal sends in this frequency, obtain voice data packet identifier, video data packet identifier and the Program Clock Reference numerical value packet identifier of this program;
Step 5: with the voice data packet identifier of this program be set to set-top box the demultiplexing passage and with the audio decoder binding, the video data packet identifier of this program be set to the demultiplexing passage of set-top box and bind with Video Decoder;
Step 6: the Program Clock Reference numerical value packet identifier of this program that transmitting terminal is sent is set to the demultiplexing passage of set-top box, starts transmitting terminal Program Clock Reference synchronizing function and comes vectoring aircraft top box audio-visual synchronization;
Step 7: when receiving first transmitting terminal Program Clock Reference numerical value, starter motor top box 27,000,000 clock crystal oscillators are provided with the initial value of set-top box clock crystal oscillator by Program Clock Reference numerical value, and set-top box clock crystal oscillator begins counting;
Step 8:, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared every 1 to 10 second;
Step 9: if deviation is then closed transmitting terminal Program Clock Reference synchronizing function, the Program Clock Reference of starter motor top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization; If deviation do not occur, then continue to adopt transmitting terminal Program Clock Reference synchronizing function to come vectoring aircraft top box audio-visual synchronization
Step 10: after the Program Clock Reference of employing set-top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization, every 1 to 10 second, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared;
Step 11: come vectoring aircraft top box audio-visual synchronization if the deviation between the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator less than variance thresholds, then recovers to start transmitting terminal Program Clock Reference synchronizing function; If deviation greater than variance thresholds, then continues to adopt the Program Clock Reference of set-top box clock crystal oscillator to come vectoring aircraft top box audio-visual synchronization;
Step 12: after recovery startup transmitting terminal Program Clock Reference synchronizing function is come vectoring aircraft top box audio-visual synchronization, the Program Clock Reference of set-top box clock crystal oscillator is calibrated, returned step 8 according to the numerical value of transmitting terminal Program Clock Reference.
Deviation between the numerical value of the Program Clock Reference of the numerical value of the described transmitting terminal Program Clock Reference of step 11 of the present invention and set-top box clock crystal oscillator is with the difference of the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and the set-top box clock crystal oscillator quotient divided by the numerical value gained of transmitting terminal Program Clock Reference.Described variance thresholds is a numerical value in 1% to 9%, wherein be preferably 5%, when the deviation between the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator during, enter step 12, otherwise continue step 10 less than variance thresholds.

Claims (5)

1. the method for an automatically restoring audio-frequency/visual-frequency synchronization of set top box, it is characterized in that: described method comprises the steps:
Step 1: set-top box is switched to a frequency;
Step 2: search for the program aid table that transmitting terminal sends in this frequency;
Step 3: the Program Map Table that obtains to comprise in this frequency programme information;
Step 4: switch to the program that transmitting terminal sends in this frequency, obtain voice data packet identifier, video data packet identifier and the Program Clock Reference numerical value packet identifier of this program;
Step 5: with the voice data packet identifier of this program be set to set-top box the demultiplexing passage and with the audio decoder binding, the video data packet identifier of this program be set to the demultiplexing passage of set-top box and bind with Video Decoder;
Step 6: the Program Clock Reference numerical value packet identifier of this program that transmitting terminal is sent is set to the demultiplexing passage of set-top box, starts transmitting terminal Program Clock Reference synchronizing function and comes vectoring aircraft top box audio-visual synchronization;
Step 7: when set-top box is received first transmitting terminal Program Clock Reference numerical value that transmitting terminal sends, starter motor top box clock crystal oscillator, by Program Clock Reference numerical value the initial value of set-top box clock crystal oscillator is set, set-top box clock crystal oscillator begins counting;
Step 8:, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared every 1 to 10 second;
Step 9: if deviation is then closed transmitting terminal Program Clock Reference synchronizing function, the Program Clock Reference of starter motor top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization; If deviation do not occur, then continue to adopt transmitting terminal Program Clock Reference synchronizing function to come vectoring aircraft top box audio-visual synchronization;
Step 10: after the Program Clock Reference of employing set-top box clock crystal oscillator comes vectoring aircraft top box audio-visual synchronization, every 1 to 10 second, the numerical value of the Program Clock Reference of the numerical value of the transmitting terminal Program Clock Reference that receives and set-top box clock crystal oscillator is compared;
Step 11: come vectoring aircraft top box audio-visual synchronization if the deviation between the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and set-top box clock crystal oscillator during less than variance thresholds, then recovers to start transmitting terminal Program Clock Reference synchronizing function; If deviation during greater than variance thresholds, then continues to adopt the Program Clock Reference of set-top box clock crystal oscillator to come vectoring aircraft top box audio-visual synchronization;
Step 12: after recovery startup transmitting terminal Program Clock Reference synchronizing function is come vectoring aircraft top box audio-visual synchronization, the Program Clock Reference of set-top box clock crystal oscillator is calibrated, returned step 8 according to the numerical value of transmitting terminal Program Clock Reference.
2. according to the method for a kind of automatically restoring audio-frequency/visual-frequency synchronization of set top box described in the claim 1, it is characterized in that: the deviation between the numerical value of the Program Clock Reference of the numerical value of the described transmitting terminal Program Clock Reference of step 11 and set-top box clock crystal oscillator is for the difference of the numerical value of the Program Clock Reference of the numerical value of transmitting terminal Program Clock Reference and the set-top box clock crystal oscillator quotient divided by the numerical value gained of transmitting terminal Program Clock Reference.
3. according to the method for a kind of automatically restoring audio-frequency/visual-frequency synchronization of set top box described in claim 1 or 2, it is characterized in that: described variance thresholds is a numerical value in 1% to 9%.
4. according to the method for a kind of automatically restoring audio-frequency/visual-frequency synchronization of set top box described in the claim 3, it is characterized in that: described variance thresholds is 5%.
5. according to the method for a kind of automatically restoring audio-frequency/visual-frequency synchronization of set top box described in the claim 1, it is characterized in that: described set-top box clock crystal oscillator is 27,000,000 clock crystal oscillator.
CN201010226717XA 2010-07-14 2010-07-14 Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box Expired - Fee Related CN101883208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010226717XA CN101883208B (en) 2010-07-14 2010-07-14 Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010226717XA CN101883208B (en) 2010-07-14 2010-07-14 Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box

Publications (2)

Publication Number Publication Date
CN101883208A CN101883208A (en) 2010-11-10
CN101883208B true CN101883208B (en) 2011-11-02

Family

ID=43055085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010226717XA Expired - Fee Related CN101883208B (en) 2010-07-14 2010-07-14 Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box

Country Status (1)

Country Link
CN (1) CN101883208B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704551B (en) * 2016-03-23 2018-09-14 福建新大陆通信科技股份有限公司 The method and system of set-top box intelligent synchronization are realized based on Zigbee-technology

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1493066A4 (en) * 2002-04-05 2006-03-08 Matsushita Electric Ind Co Ltd Improved utilization of data broadcasting technology with handheld control apparatus
CN100481957C (en) * 2006-05-22 2009-04-22 天栢宽带网络科技(上海)有限公司 Medium synchronization method
CN101083718A (en) * 2006-05-31 2007-12-05 北京汉辰科技有限公司 LCD terminal information publish platform system
KR101454026B1 (en) * 2008-04-28 2014-10-27 삼성전자주식회사 Apparatus and method for providing broadcast contents in internet broadcast system

Also Published As

Publication number Publication date
CN101883208A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
US20090116814A1 (en) Reproducer, portable telephone, and reproducing method
US8931024B2 (en) Receiving apparatus and subtitle processing method
CN105744346A (en) Subtitle switching method and device
CN107105352A (en) Captioning synchronization method and device
JP7512344B2 (en) Receiving device and data processing method
US20060211370A1 (en) Digital broadcasting recording/reproducing apparatus and method for the same
CN106534935A (en) Method and device for controlling hardware resource conflict
KR102546161B1 (en) Receiving device and data processing method
CN101202613A (en) Terminal for clock synchronising
CN105430503B (en) The starting method and device of DTV
CN102685507B (en) Audio and video synchronization method and system for decoding moving picture experts group-2 (MPEG-2) transport streams
CN103581730A (en) Method for achieving synchronization of audio and video on digital set top box
US8035743B2 (en) Method for processing data in a terminal with digital broadcasting receiver
CN100473171C (en) Clock synchronizing method in broadcast network
US8285107B2 (en) Packet sequence restoring controller and method thereof
CN101883208B (en) Method for automatically restoring audio-frequency/visual-frequency synchronization of set top box
US20080225942A1 (en) Contents reproducing apparatus
US20060268665A1 (en) Method and apparatus for setting RTC time of digital broadcast receiver using time information contained in transport stream
US20050147175A1 (en) Stream data communication system
KR101358710B1 (en) An apparatus and a method for executing a reserved function in a mobile communication terminal
CN107465946B (en) Video playing method, device, system and terminal equipment
CN103747341A (en) Television program attribute updating method and television program attribute updating device
CN102857820A (en) Method and device for channel management and television set
CN103209353B (en) The method controlling digital video apparatus
CN104796755A (en) Television program recording method and television program recording 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: 20111102

Termination date: 20190714

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