CN102842324A - Dynamic matching front-end audio code rate recording and broadcasting method - Google Patents
Dynamic matching front-end audio code rate recording and broadcasting method Download PDFInfo
- Publication number
- CN102842324A CN102842324A CN2012103421910A CN201210342191A CN102842324A CN 102842324 A CN102842324 A CN 102842324A CN 2012103421910 A CN2012103421910 A CN 2012103421910A CN 201210342191 A CN201210342191 A CN 201210342191A CN 102842324 A CN102842324 A CN 102842324A
- Authority
- CN
- China
- Prior art keywords
- data
- recording
- data block
- audio
- recording process
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a dynamic matching front-end audio code rate recording and broadcasting method. The method comprises the following steps: terminal equipment filters an audio data package sent by a digital front-end encoder through a PES (Packetized Elementary Streams) package filter of the terminal equipment per se and plays the audio data package which is recorded and broadcasted; in the recording process, the audio data package is written into data blocks of a data buffering zone; and in the broadcasting process, the serial numbers of the data blocks are read, the data blocks with valid serial numbers are sent to a digital audio decoder, and the digital audio decoder sleeps according to the length task of the time interval between the write-in of the data block and the write-in of the next data block. Compared with the prior art, the method provided by the invention has the obvious characteristics that the digital audio decoder can sleep according to the length task of the time interval between the write-in of the data block and the write-in of the next data block, and finally, the transmission rate of audio data which is transmitted to the digital audio decoder is in synchrony with the data transmission rate of the front-end encoder, so that the broadcasting quality is guaranteed.
Description
Technical field
The present invention relates to use Digital Audio Transmission technical field in the emergency broadcase system, relate in particular to a kind of dynamic matching method when the recording back postpones broadcast in the digitized audio message transmission course based on the DVB technology.
Background technology
In emergency broadcase system, used Digital Audio Transmission technology based on DVB technology, the digital encoder of front end with coded audio information after through the DVB signal broadcasting, terminal demodulates receives voice data and plays.Therefore, in the normal digital program playing process, only need after receiving packets of audio data, immediately data be sent to the audio decoder of terminal device, normally broadcast program.This moment, the transfer rate of packet was controlled by head end encoder, need not to be concerned about the code check problem.
But in some cases, need record, play after time-delay a period of time audio-frequency information.When playback; Need voice data be sent to the digital audio decoding device with correct also original sound with the correct time interval; If it is inconsistent that voice data is delivered to the transmission voice data of the time interval and audio decoder of digital audio decoding device; Promptly transmit too fastly or slow excessively, can cause problems such as sound playing is discontinuous, have a strong impact on the broadcast quality.The setting that DVB system front end audio coder is different, particularly audio code rate is set to 64Kbps, 128Kbps, 192Kbps, 256Kbps directly influences the transfer rate of voice data during 320Kbps.
The PES bag is the packet that comprises audio, video data, and the PES IP filter is a device in the terminal device set-top box CPU, can from various information, filter out the audio, video data bag.
Summary of the invention
Goal of the invention: goal of the invention of the present invention provides a kind of recording of Dynamic matching front end audio code rate and the method for broadcast; Solve voice data and sent the transfer rate of digital audio decoding device and the nonsynchronous problem of data transmission rate of head end encoder to, guaranteed the broadcast quality.
Technical scheme: the recording of Dynamic matching front end audio code rate of the present invention and the method for broadcast; Comprise that terminal device filters out the packets of audio data that the digital front-end scrambler sends over through the PES IP filter that self is equipped with, and with playing after the recording of said packets of audio data process and two processes of broadcasting.
Said recording process comprises following three steps:
Step 1, said recording process are monitored the PES IP filter, and the packets of audio data that obtains is write according to recording format in the data block of data buffer, and said data block comprises serial number area, data length zone, timestamp is regional and voice data is regional;
The reference position of step 2, said recording process mobile data buffer zone write pointer to next data block;
Whether step 3, said recording process are checked need continue recording; If need to continue recording; The recording process gets into step 1 after in the serial number area of next data block, writing ordered sequence number; If need not continue recording, the recording process writes terminated flag in the serial number area of next data block, finishes recording;
Said broadcast process comprises following four steps:
Step 1, said broadcast process read the sequence number of data block in the said data buffer, check whether said sequence number is effective, as invalid, finish recording and play and withdraw from, if effectively, send said data block to the digital audio decoding device;
Step 2, said digital audio decoding device move buffer zone read pointer to next data block reference position according to the numerical value in said data block data length zone;
Step 3, said digital audio decoding device obtain the numerical value in next data block timestamp zone; With the time-write interval that the regional numeric ratio of said data block timestamp draws two data blocks, the digital audio decoding device carries out dormancy with the length in the said time interval as the time span task of time-delay;
Step 4, said digital audio decoding device dormancy finish, and said broadcast process reads next data block, get into step 1.
In technique scheme; In the step 1 in the recording process; The recording process comprises the process that packets of audio data writes in the data block of data buffer: the recording process is obtained the data length zone of the length writing data blocks of said packets of audio data; The timestamp zone of the system time writing data blocks when the recording process is obtained said packets of audio data and received, the recording process is with the voice data zone of said packets of audio data writing data blocks.
In technique scheme, in the step 3 in the recording process, the ordered sequence numerical value that the recording process writes in the serial number area of next data block be on sequence number numerical value+1 of a data block.
Beneficial effect: the present invention compared with prior art; Its distinguishing feature is in the recording process, packets of audio data to be write the data block in the data buffer; In the broadcast process; Can carry out dormancy according to the length task in the time interval that writes in this data block and the next data block timestamp zone to sequence number effective data block digital audio decoding device; It is synchronous finally to make voice data send the data transmission rate of transfer rate and head end encoder of digital audio decoding device to, has guaranteed the broadcast quality.
Description of drawings
Fig. 1 is the structural representation of individual data piece in the data buffer among the present invention;
Fig. 2 is the process flow diagram of recording process among the present invention;
Fig. 3 is the process flow diagram of broadcast process among the present invention.
Embodiment
The recording of Dynamic matching front end audio code rate of the present invention and the method for broadcast; Comprise that terminal device filters out the packets of audio data that the digital front-end scrambler sends over through the PES IP filter that self is equipped with, and with playing after the recording of said packets of audio data process and two processes of broadcasting.
As shown in Figure 1; The individual data piece comprises serial number area, data length zone in the data buffer, timestamp is regional and voice data is regional; What serial number area write is the sequence number of packets of audio data; What the data length zone write is the length of packets of audio data, and the timestamp zone writes is the system time of packets of audio data when receiving, and what the voice data zone write is the data load of packets of audio data.
As shown in Figure 2, the flow process of recording process may further comprise the steps:
Step 1, recording process are monitored the PES IP filter;
Step 2, recording process are obtained the voice data packet length, write the data length zone in the buffer data piece;
System time when step 3, recording process are obtained the packets of audio data reception, the timestamp that writes this data block is regional;
Step 4, recording process write packets of audio data in the voice data zone of this data block;
Step 5, recording process move the reference position of buffer zone write pointer to next data block;
Whether step 6, recording process check need continue recording, if need to continue recording, get into step 7, if need not continue recording, get into step 8;
Step 7, recording process write ordered sequence number in the serial number area of next data block, numerical value is last data block sequence number numerical value+1, get into step 1;
Step 8, recording process write 0xFFFFFFFF as terminated flag in the serial number area of next data block, finish recording.
As shown in Figure 3, the flow process of broadcast process may further comprise the steps:
Step 1, broadcast process read block sequence number;
Step 2, broadcast process check whether this sequence number is effective, as invalid, finish recording and play and withdraw from, if effectively, get into step 3;
Step 3, broadcast process are sent data block to digital audio decoding device;
Step 4, digital audio decoding device move the reference position of buffer zone read pointer to next data block according to the numerical value in the data length zone of data block;
Step 5, digital audio decoding device obtain the numerical value in the timestamp zone of next data block, and the numeric ratio regional with notebook data piece timestamp draws the time interval that two data blocks write;
Step 6, digital audio decoding device should the time interval length carry out dormancy as the time span task of time-delay;
Step 7, dormancy time finish, and the broadcast process reads next data block, get into step 1.
Owing in the recording process packets of audio data is write the data block in the data buffer; In the broadcast process; The length task in the time interval that can write according to this data block and next data block sequence number effective data block digital audio decoding device is carried out dormancy; It is synchronous finally to make voice data send the data transmission rate of transfer rate and head end encoder of digital audio decoding device to, has guaranteed the broadcast quality.
Claims (3)
1. the recording of a Dynamic matching front end audio code rate and the method for broadcast; Comprise that terminal device filters out the packets of audio data that the digital front-end scrambler sends over through the PES IP filter that self is equipped with; And, it is characterized in that playing after the recording of said packets of audio data process and two processes of broadcasting:
Said recording process comprises following three steps:
Step 1, said recording process are monitored the PES IP filter, and the packets of audio data that obtains is write according to recording format in the data block of data buffer, and said data block comprises serial number area, data length zone, timestamp is regional and voice data is regional;
The reference position of step 2, said recording process mobile data buffer zone write pointer to next data block;
Whether step 3, said recording process are checked need continue recording; If need to continue recording; The recording process gets into step 1 after in the serial number area of next data block, writing ordered sequence number; If need not continue recording, the recording process writes terminated flag in the serial number area of next data block, finishes recording;
Said broadcast process comprises following four steps:
Step 1, said broadcast process read the sequence number of data block in the said data buffer, check whether said sequence number is effective, as invalid, finish recording and play and withdraw from, if effectively, send said data block to the digital audio decoding device;
Step 2, said digital audio decoding device move buffer zone read pointer to next data block reference position according to the numerical value in said data block data length zone;
Step 3, said digital audio decoding device obtain the numerical value in next data block timestamp zone; With the time-write interval that the regional numeric ratio of said data block timestamp draws two data blocks, the digital audio decoding device carries out dormancy with the length in the said time interval as the time span task of time-delay;
Step 4, said digital audio decoding device dormancy finish, and said broadcast process reads next data block, get into step 1.
2. the recording of Dynamic matching front end audio code rate according to claim 1 and the method for broadcast; It is characterized in that: in the step 1 in the said recording process; The recording process comprises the process that packets of audio data writes in the data block of data buffer: the recording process is obtained the data length zone of the length writing data blocks of said packets of audio data; The timestamp zone of the system time writing data blocks when the recording process is obtained the packets of audio data reception, the recording process is with the voice data zone of said packets of audio data writing data blocks.
3. the recording of Dynamic matching front end audio code rate according to claim 1 and the method for broadcast; It is characterized in that: in the step 3 in the said recording process, the ordered sequence numerical value that the recording process writes in the serial number area of next data block be on sequence number numerical value+1 of a data block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103421910A CN102842324A (en) | 2012-09-17 | 2012-09-17 | Dynamic matching front-end audio code rate recording and broadcasting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103421910A CN102842324A (en) | 2012-09-17 | 2012-09-17 | Dynamic matching front-end audio code rate recording and broadcasting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102842324A true CN102842324A (en) | 2012-12-26 |
Family
ID=47369603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103421910A Pending CN102842324A (en) | 2012-09-17 | 2012-09-17 | Dynamic matching front-end audio code rate recording and broadcasting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102842324A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104332166A (en) * | 2014-10-21 | 2015-02-04 | 福建歌航电子信息科技有限公司 | Method of quickly verifying accuracy and synchronization of a recorded audio content |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1713285A1 (en) * | 2005-04-15 | 2006-10-18 | THOMSON Licensing | Method and device for recording digital data |
CN101271720A (en) * | 2008-04-22 | 2008-09-24 | 中兴通讯股份有限公司 | Synchronization process for mobile phone stream media audio and video |
CN102035794A (en) * | 2009-09-29 | 2011-04-27 | 中兴通讯股份有限公司 | Method and system for transmitting and receiving synchronizing sequence of multimedia broadcast multicast service |
-
2012
- 2012-09-17 CN CN2012103421910A patent/CN102842324A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1713285A1 (en) * | 2005-04-15 | 2006-10-18 | THOMSON Licensing | Method and device for recording digital data |
CN101271720A (en) * | 2008-04-22 | 2008-09-24 | 中兴通讯股份有限公司 | Synchronization process for mobile phone stream media audio and video |
CN102035794A (en) * | 2009-09-29 | 2011-04-27 | 中兴通讯股份有限公司 | Method and system for transmitting and receiving synchronizing sequence of multimedia broadcast multicast service |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104332166A (en) * | 2014-10-21 | 2015-02-04 | 福建歌航电子信息科技有限公司 | Method of quickly verifying accuracy and synchronization of a recorded audio content |
CN104332166B (en) * | 2014-10-21 | 2017-06-20 | 福建歌航电子信息科技有限公司 | Can fast verification recording substance accuracy, the method for synchronism |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100816603B1 (en) | Information transmission method, information processing method and apparatus, and information recording/reproducing method and apparatus | |
WO2007074361A3 (en) | Tune-in time reduction | |
US20060013123A1 (en) | Method and apparatus for processing transmission error in DMB system | |
CN101600107A (en) | Adjust the method, system and device of video record broadcasting speed | |
CN102740064A (en) | Packing method for streaming media transmission in intercom system | |
CN101303880A (en) | Method and apparatus for recording and playing audio-video document | |
WO2009137972A1 (en) | A method and system for transmitting video-audio in same stream and the corresponding receiving method and device | |
EP1729522A3 (en) | Apparatus and method for synchronized playback | |
EP1835388A3 (en) | Apparatus and method for interfacing between A/V system and portable device | |
KR20010091018A (en) | Method and apparatus for recording on a storage medium or replaying from a storage medium data packets of a transport stream | |
EP1085767A3 (en) | An encoding/recording device that suspends encoding for video data and sampling for an audio signal in response to a recording pause instruction so as to allow data recorded before and after recording pause to be continuously reproduced | |
CN109040818B (en) | Audio and video synchronization method, storage medium, electronic equipment and system during live broadcasting | |
EP1919110A3 (en) | Method and system for displaying digital broadcast data | |
CN101080926A (en) | Wireless communication system | |
CN102842324A (en) | Dynamic matching front-end audio code rate recording and broadcasting method | |
JP2001119637A5 (en) | Information processing equipment and methods, and recording equipment | |
JP4444861B2 (en) | Image transmitting apparatus and image transmitting method | |
PL376307A1 (en) | Embedded data signaling | |
CN212519244U (en) | Device for recording, analyzing and live broadcasting driving command | |
MY129351A (en) | Method and apparatus for editing data streams | |
CN202587238U (en) | Transport stream (TS) subtitle insertion system | |
CN104768030B (en) | Program audio synchronous broadcast method and system | |
CN201131015Y (en) | Television set with recording and time-shifting function | |
CN203027387U (en) | Electronic video playing equipment of mobile network | |
WO2009132497A1 (en) | Method and device for analyzing data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121226 |