CN101080925A - Apparatus and method for demultiplexing in a digital broadcasting receiver - Google Patents

Apparatus and method for demultiplexing in a digital broadcasting receiver Download PDF

Info

Publication number
CN101080925A
CN101080925A CNA200580042848XA CN200580042848A CN101080925A CN 101080925 A CN101080925 A CN 101080925A CN A200580042848X A CNA200580042848X A CN A200580042848XA CN 200580042848 A CN200580042848 A CN 200580042848A CN 101080925 A CN101080925 A CN 101080925A
Authority
CN
China
Prior art keywords
data
buffer
processor
bag
pes
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
CNA200580042848XA
Other languages
Chinese (zh)
Other versions
CN101080925B (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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics 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 Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority claimed from PCT/KR2005/004297 external-priority patent/WO2006065071A1/en
Publication of CN101080925A publication Critical patent/CN101080925A/en
Application granted granted Critical
Publication of CN101080925B publication Critical patent/CN101080925B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/455Demodulation-circuits

Abstract

An apparatus and method for demultiplexing in a digital broadcasting receiver for processing packet data configured by a packet header and a payload. A buffer buffers input packet data. Processors are parallel connected to the buffer. A packet header processor checks a packet header, identifies presence of adaptation information, and generates a control signal according to the presence of the adaptation information. An adaptation information processor processes the adaptation information of buffered payload data under control of the packet header processor. A packetized elementary stream (PES) header processor processes a PES header of the buffered payload data under the control of the packet header processor. A data processor generates an audio or video elementary stream (ES) from audio or video data of the buffered payload data under control of the PES header processor, and outputs the generated audio or video ES to an associated decoder.

Description

The equipment of demultiplexing and method in digital broadcasting transmitter
Technical field
Present invention relates in general to a kind of equipment and method that Additional Services are provided in wireless terminal, more particularly, the present invention relates to a kind of equipment and method that receives and handle digital broadcast signal.
Background technology
The standardization to current digital broadcasting is actively being carried out in the whole world.For digital broadcasting, there are DMB (DMB) system of the U.S. and digital video broadcasting (DVB) system in Europe.Wireless terminal with digital broadcasting transmitter is provided with and is used for tuner, demodulator and the multimedia processor etc. that digital broadcasting receives.
Fig. 1 is illustrated in the operation of multiplexing transport stream in the digital broadcast transmission machine (TS) signal.
With reference to Fig. 1,111 pairs of coding video datas of the video encoder of transmitter are to produce video-frequency basic flow (ES).Here, video ES can be based on Motion Picture Experts Group (MPEG)-2, MPEG-4 or video data H.264.121 pairs of voice datas of audio coder are encoded to produce audio ES.Audio ES can be based on the voice data of MPEG-1 (mp1/mp2/mp3), Advanced Audio Coding (AAC) or bit slice arithmetic coding (BSAC).
Need packing to handle multiplexing video, audio frequency and data.Therefore, packed video orchestration (assembler) 113 adds temporal information, adaptive information and packet header to video ES signal, and output Packet Elementary Stream (PES).Audio pack assembler 123 adds above-mentioned information to audio ES, so that this audio ES is assembled into audio pack, and output audio PES signal.Packet assembler (not shown) is carried out similar aforesaid operations.
Then, multiplexer 130 is with video PES signal, audio frequency PES signal and data PES signal multiplexing and export the TS signal.Multiplexer 130 is carried out the function that is used for a plurality of inputs are multiplexed with an output.Here, described input can be and relevant broadcast message packets such as video, audio frequency, program, service.
In the structure of Fig. 1, packing orchestration 113 and 123 and multiplexer 130 configurable TS multiplexers.
The demodulation multiplexer 140 that is used to receive the digital broadcasting transmitter of aforesaid multiplexing TS signal has structure as shown in Figure 2.
With reference to Fig. 2, the demodulation multiplexer 140 that is used to receive the TS signal is analyzed the header of TS signals, separating video, audio frequency and data, and the PES signal of output and its mapping.Video packets is separated dress device (disassembler) 151 and is received in the video PES signal that separates in the demodulation multiplexer 140, analyzes the head of the video PES signal that receives, and produces video ES signal and the video ES signal that produces is outputed to video encoder 153.Similarly, audio pack is separated dress device 161 and the aforesaid same operation of audio decoder 163 execution.In the following description, suppose that demodulation multiplexer comprises: demodulation multiplexer 140 and bag are separated dress device 151 and 161.
As can be seen: the reverse operating of the multiplexer of the demodulation multiplexer combine digital broadcast transmitter of digital broadcasting transmitter.Fig. 3 illustrates the structure of demodulation multiplexer.
With reference to Fig. 3, synchronizing indicator 211 is from the sync byte in TS input packet header of receiving, when sync byte is detected, synchronizing indicator 211 with the TS signal storage that receives in input buffer 221.The data of 221 pairs of bag sizes of input buffer cushion.Packet header processor 224 extracts packet header and handles this packet header from buffer 221, remaining data input buffer 223 that will be except that packet header.Adaptive information processor 215 extracts also handles adaptive information, and remaining data input buffer 225 that will be except that adaptive information.PES processor 217 extracts the PES head and handles this PES head from buffer 225, will output to buffer 227 except that the remaining information the PES head.Data processor 219 extracts data and output video ES or audio ES from buffer 227.
Traditional demodulation multiplexer 140 with structure as shown in Figure 3 has serial data and handles structure.That is to say that when synchronizing indicator 211 detected the byte synchronizing signal, input buffer 221 was according to the big or small data that cushion afterwards of bag.After the data of a bag of buffering, packet header processor 224 operations are also analyzed packet header in buffer 221.Aforesaid traditional demodulation multiplexer is provided with buffer 221 and 223 at the front end of processor, and the method that adopts the past termination to receive the bag data of handling is come pack processing.Because in serial structure, carry out de-multiplex operation, so when input TS signal is re-used, occur postponing.
Above-mentioned serial demux architecture can unnecessarily be carried out data processing operation.In this case, the bag of configuration input TS signal may not comprise adaptive information and/or PES information, that is to say that the bag of the TS signal that configuration receives can mainly be made of True Data.In this case, the bag that only is made of True Data also passes through adaptive information processor 215 and/or PES processor 217.The unnecessary processing operation is performed, and this can increase system load and reduce processing speed.The actual data packet (or audio/video data ES) of input bag data mainly is present in the PES head bag.Therefore, PES processor mainly is sent to data processor with data, thereby can extract ES.
The structure of demodulation multiplexer 210 as shown in Figure 3 is provided with buffer 223 to buffer 227 in the front end and/or the rear end of processor.In this case, because buffer 221 has more than the big or small capacity of bag, so increased buffer storage to buffer 227.
Fig. 4 is the flow chart that the synchronous process that detects the TS signal (or bag stream) that is input to demodulation multiplexer is shown.
With reference to Fig. 4, synchronizing indicator 221 is checked the byte of input TS signal.If the input byte is sync byte " 0X47 ", then in step 461, synchronizing indicator 211 detects sync byte.Synchronizing indicator 211 is rearranged for first byte with sync byte, and in step 467 first byte is sent to buffer 221.Yet if the input byte is not a sync byte, synchronizing indicator 211 is sent to byte the specified bytes buffer of buffer 221 one by one.After the byte data of input as mentioned above is transmitted, in step 465, connects next byte buffer of buffer 221, thereby when next byte of input, described next byte can be sent to next byte location of buffer 221.Repeat aforesaid operations, up to the concluding time.
When the input byte data was sync byte, the conventional bag method for synchronous repeated retrieval input byte data and rearranges the operation of the buffer position of buffer 221.Therefore, the conventional synchronization detection method must be in the demodulation multiplexer 140 of as shown in Figure 3 serial structure from each bag retrieval synchronizing signal of TS signal.That is to say that synchronizing indicator 211 must detect the beginning of bag data from each bag retrieval synchronizing signal of TS signal after detecting synchronizing signal, and will remain and wrap data and be applied to buffer 221.Yet in a single day,,, can detect continuous bag data synchronization signal location so detect bag data synchronization signal because the TS signal is a conventional bag stream.Can under the situation of each bag retrieval synchronizing signal, not detect the bag data synchronization, but traditional demodulation multiplexer 140 repeats from the operation of each bag retrieval synchronizing signal.
Summary of the invention
Therefore, the object of the present invention is to provide a kind of equipment and method that can also the data allocations of demultiplexing can be arrived each decoder to the data demultiplexing that in the digital broadcasting transmitter of parallel organization, receives.
Another object of the present invention is to provide a kind of equipment and method, this equipment and method can be buffered in the data that receive in the digital broadcasting transmitter according to the bag size, analyze the head of the bag data of buffering, handle and demultiplexing based on header operation associative processor and to the bag data.
Another object of the present invention is to provide a kind of equipment and method, this equipment and method can be buffered in the data that receive in the digital broadcasting transmitter according to the bag size, determine in the header of the bag data that cushion, whether to comprise adaptive information, if lack adaptive information, then only operate Packet Elementary Stream (PES) processor, and the data demultiplexing to receiving.
Another object of the present invention is to provide a kind of equipment and method, this equipment and method can be buffered in the data that receive in the digital broadcasting transmitter according to the bag size, determine in the header of the bag data that cushion, whether to comprise adaptive information, if comprise adaptive information, then operate the adaptive information processor, and handle adaptive information.
Another object of the present invention is to provide a kind of equipment and method, this equipment and method can be buffered in the serial data that receives in the digital broadcasting transmitter according to the bag size, and the bag data of line output buffering, and the bag data that will walk abreast are sent to processor.
Another object of the present invention is to provide a kind of equipment and method, this equipment and method can be identified in the bag data synchronization signal that receives in the digital broadcasting transmitter, under asynchronous regime, after the identification sync bit, extract difference, will import data delay, and the bag data synchronization is set.
According to the embodiments of the invention that are used to realize above-mentioned purpose, a kind of equipment at the digital broadcasting transmitter demultiplexing that is used for handling the bag data that are made of packet header and payload is provided, comprising: buffer is used for buffering input bag data; And a plurality of parallel processors that are connected to buffer, described a plurality of processors comprise: packet header processor, be used to check packet header of the bag data of buffering, and determine whether to comprise adaptive information and produce control signal according to the existence of adaptive information; The adaptive information processor is used under the control of packet header processor handling the adaptive information of the payload data of buffering; Packet Elementary Stream (PES) processor is used under the control of packet header processor handling the PES head of the payload data of buffering; And data processor, be used under the control of PES processor producing audio frequency and flow (ES) or video ES substantially, and audio ES or the video ES that produces outputed to relevant decoder from the audio or video data of the payload data of buffering.
Packet header processor is analyzed the adaptive information Control Parameter in packet header, determine whether payload data comprises adaptive information,, then control the adaptive information processor and handle adaptive information if comprise adaptive information, if do not comprise adaptive information, then control the operation of PES processor.
The adaptive information field that the analysis of adaptive information processor cushions in buffer, analyze the length of adaptive information, when payload data only is made of adaptive information, handle adaptive information so that result is sent to controller, when payload data comprises other data, the position message of the data except that adaptive information that will cushion in buffer is given PES processor, and handles self-adapting data so that result is sent to controller.
PES processor determines whether comprise the PES head in the payload of buffer buffers, when comprising PES, the length of identification PES head to be handling the PES head, and result is sent to controller, and the position message of the data except that the PES head that will cushion in buffer is to data processor.
Packet header processor is analyzed the product identifiers (PID) in packet header, and the PID that will be used to discern the bag of buffering is sent to data processor.Data processor produces audio ES data or video ES data from the voice data or the video data of the payload data of buffering, and audio ES data or the video ES data that produce are sent to relevant decoder.
Described buffer comprises: first buffer and second buffer with bag size; And address generator, be used for being controlled at and import the operation of exporting the bag data that are stored in second buffer when bag data are stored in first buffer, and when input bag data are stored in second buffer, export the operation that is stored in the bag data in first buffer.Described buffer comprises: the dual-ported memory of size of data; First address generator is used for input bag storage at memory; And second address generator, be used for exporting the bag data that are stored in memory.
Described equipment also comprises: synchronizing indicator, be used for checking the buffer position of the sync byte in the bag data that buffer cushions, the sync byte buffer position position in addition of checking buffer is to detect difference, and the byte data that will wrap data according to difference postpones, and bag is set synchronously.Described synchronizing indicator comprises: the sync id unit, and whether the byte data that is used for determining being stored in buffer is sync byte; The difference extractor is used for when the sync id unit detects sync byte, and identification is stored in the buffer position of the sync byte in the buffer, and the difference between the buffer position of the sync byte of the sync byte buffer position that is provided with in buffer of calculating and storage; And delay cell, be used for will import and wrap data delay according to the difference of calculating, and in buffer the data of buffer delay.The sync byte buffer position that is provided with in buffer is the first byte buffer position of buffer.
According to the embodiments of the invention that are used to realize above-mentioned purpose, a kind of equipment that receives broadcast data in having the wireless terminal of digital broadcasting transmitter is provided, comprise: radio receiver is used to receive the also signal and the output packet data flow of the broadcasting channel of demodulation setting; Multimedia processor is used for the analysis package data flow and produces the video data and the voice data of decoding; Display unit is used to show the video data of decoding; And loud speaker, be used to reproduce the voice data of decoding, wherein, multimedia processor comprises: demodulation multiplexer, it comprises buffer and the parallel processor that is connected to buffer that is used for the buffers packet data flow, and the bag data of described processor parallel processing buffering are also carried out demultiplexing; Video Decoder is used for video-frequency basic flow (ES) decoding to demultiplexing; And audio decoder, be used for audio ES data decode to demultiplexing.
Radio receiver receives also demodulation at the broadcast channel signal of the frequency that is provided with, and checks the product identifiers (PID) of the bag stream of demodulation, the bag data of filtering the broadcasting channel of setting, and produce Internet protocol (IP) datagram.Multimedia processor also comprises: IP decapsulator (decapsulator) is used for outputing to demodulation multiplexer to the IP information decapsulation of IP datagram and with the decapsulation result.
According to the embodiments of the invention that are used to realize above-mentioned purpose, provide a kind of in digital broadcasting transmitter the method to the bag data demultiplexing that constitutes by packet header and payload, may further comprise the steps: buffering input bag data; Check the packet header of buffering and determine whether payload is adaptive information; If payload is an adaptive information, then handle the adaptive information of buffering; If payload is not an adaptive information, then check payload, determine whether to comprise in the payload Packet Elementary Stream (PES) head, if comprise the PES head, then check the size that is included in the PES head in the payload, determine whether to comprise audio/video data, if comprise audio/video data, the buffer position of audio/video data then is set, and handles the PES head; And after handling the PES head or handle the audio/video data of payload under the PES head is not included in situation in the payload of data, the generation audio/video flows (ES) substantially, and the audio/video ES of generation is sent to relevant decoder.
Described method also comprises step: synchronous detecting, be used for checking buffer position at the sync byte of the bag data that cushion, check sync byte buffer position position in addition to detect difference, the byte data that will wrap data according to difference postpones, and bag is set synchronously.Described synchronous detecting step may further comprise the steps: whether the byte data of determining to be stored in the buffer is sync byte; When detecting sync byte, identification is stored in the buffer position of the sync byte in the buffer, and calculates the difference between the buffer position of sync byte of the sync byte buffer position that is provided with in buffer and storage; And will import according to the difference of calculating and to wrap data delay, and in buffer the data of buffer delay.The sync byte buffer position that is provided with in buffer is to be used to cushion the first first byte buffer position of wrapping the buffer of data.
The step of handling packet header may further comprise the steps: whether the product identifiers (PID) of determining packet header is target P ID, and and if only if the PID in packet header when being target P ID storage be used to discern the information of the type of input bag; Analyze the adaptive information Control Parameter in packet header,, then send the order that is used for adaptive information processing operation, and transmit and to handle the buffer position information of the adaptive information of handling in the operation at adaptive information if the bag of buffering comprises adaptive information; And if buffering comprise adaptive information, then send and be used for the order that the PES head is handled operation, and transmit and will handle the buffer position information of the PES head of handling in the operation at the PES head.
The step of handling adaptive information may further comprise the steps: when receiving operational order, and adaptive information that visit cushions in buffer and the length of analyzing adaptive information; When in analytical procedure, when described bag only is made of adaptive information, handle adaptive information so that result is sent to controller; And when described bag comprised PES, the buffer position information of transfer operation order and PES head was handled adaptive information, and result is sent to controller.
The step of handling the PES head may further comprise the steps: when receiving operational order, and the PES head that visit cushions in buffer, and the length of analysis PES head; When in analytical procedure, when described bag only is made of the PES head, handle the PES head so that result is sent to controller; And when in analytical procedure, when the bag of buffering comprises real data, transmission is used for the operational order of data processor and the buffer position information of real data, transmission is used for the positional information of the real data of the order of data processing operation and buffering, handle the PES head, and result is sent to controller.
The step of deal with data may further comprise the steps: when receiving operational order, discern the type of bag according to the PID of storage; The real data of access buffer produces video ES or audio ES according to the PID that discerns from real data, and video ES or audio ES are demultiplexed into relevant decoder.
According to the embodiments of the invention that are used to realize above-mentioned purpose, a kind of method of handling broadcast data in having the wireless terminal of digital broadcasting transmitter is provided, may further comprise the steps: execution is used to receive and the signal of the broadcasting channel that demodulation is provided with and the broadcast data reception operation of output packet data flow; Execution is used for the analysis package data flow and produces the multi-medium data processing operation of the video data and the voice data of decoding; And the video data and the voice data that reproduce decoding, wherein, the step of carrying out multimedia processing operation may further comprise the steps: the buffers packet data flow, check the payload of the bag data of packet header and buffering, the bag data of parallel processing buffering, and the execution demultiplexing is the operation of video-frequency basic flow (ES) data and audio ES data; And to the video ES data and the audio ES data decode of demultiplexing.
The step of described reception broadcast data may further comprise the steps: receive also demodulation at the broadcast channel signal of the frequency that is provided with, check the product identifiers (PID) of the bag stream of demodulation, filter the bag data of the broadcasting channel that is provided with, and generation Internet protocol (IP) datagram, wherein, the step of handling multi-medium data is further comprising the steps of: to the IP information decapsulation of IP datagram, wherein, from the packet data streams of the IP information of decapsulation by demultiplexing.
Description of drawings
Fig. 1 is illustrated in the digital broadcast transmission machine design to the signal multiplexing that will be sent out;
Fig. 2 is illustrated in the digital broadcasting transmitter design to the signal demultiplexing that receives;
Fig. 3 is illustrated in the structure of the demodulation multiplexer in the conventional digital broadcasting receiver;
Fig. 4 is illustrated in the process that detects synchronizing signal in the demodulation multiplexer of Fig. 3;
Fig. 5 illustrates the structure of digital broadcasting transmitter;
Fig. 6 illustrates the structure of the multimedia processor of Fig. 5;
Fig. 7 is illustrated in the structure according to the demodulation multiplexer in the multimedia processor of the digital broadcasting transmitter of the embodiment of the invention;
Fig. 8 A illustrates the structure of the bag of reception to Fig. 8 C;
Fig. 9 A illustrates the structure of the adaptive information in the bag that is included in reception to Fig. 9 C;
Figure 10 A illustrates the structure of Packet Elementary Stream (PES) information in the bag that is included in reception to Figure 10 D;
Figure 11 illustrates the structure according to the synchronizing indicator of Fig. 7 of the embodiment of the invention;
Figure 12 is illustrated in the flow chart that detects the program of synchronizing signal in the synchronizing indicator of Figure 11;
Figure 13 A illustrates structure according to the input buffer of Fig. 7 of the embodiment of the invention to Figure 13 C;
Figure 14 A and Figure 14 B illustrate the flow chart of handling the program in packet header according to the embodiment of the invention in the packet header processor of Fig. 7;
Figure 15 is a flow chart of handling the program of adaptive information according to the embodiment of the invention in the adaptive information processor;
Figure 16 is a flow chart of handling the program of PES header according to the embodiment of the invention in PES the processor of Fig. 7;
Figure 17 illustrates the structure of broadcasting receiver of broadcast data that is used to receive internet protocol-based (IP) according to the embodiment of the invention; And
Figure 18 illustrates the structure of multimedia processor that is used to handle IP-based broadcast packet data flow according to the embodiment of the invention.
Embodiment
Below, will describe the preferred embodiments of the present invention in detail with reference to accompanying drawing here.In described accompanying drawing, even same or analogous parts are also represented by identical label shown in the different accompanying drawings.
In order to understand the present invention better, with the detail of describing such as moving picture expert group 2-transport stream (MPEG2-TS) data structure of digital broadcasting transmitter etc.Person of skill in the art will appreciate that: the present invention can easily realize by various modification under the situation of described detail not having.
Embodiments of the invention relate to a kind of demultiplexing equipment and method, and this equipment and method are to carry out in the digital broadcasting transmitter before the decode operation, analyze the bag data that receive in digital broadcasting transmitter, and the bag data allocations that will analyze are to decoder.In digital broadcasting transmitter, because data must be by real-time analysis and distribution, so demultiplexing equipment must be carried out processing fast.Preferably, being used for carrying out the intermediate steps that demultiplexing is handled, minimize buffer storage.Embodiments of the invention can reduce the processing time by the processor of parallel arranged demultiplexing equipment, and when processor is installed on the hardware chip, can minimize the installation region by reducing buffer sizes.Embodiments of the invention propose a kind of structure and method, and this structure and method are used for according to the big minibuffer input of bag data, parallel connection processing device, and according to the information of bag unit analysis buffering, and to the quick demultiplexing of input bag data.Propose a kind of equipment and method, when realizing the bag data synchronization, this equipment and method can determine whether be set up synchronously from each byte retrieval sync byte, if be set up synchronously, then can transmit input TS under not modified situation.In addition, if be not set up synchronously, then this equipment and method can be caught synchronously by the identification sync bit, extract difference, and will import the TS data delay according to difference.
In an embodiment of the present invention, the TS signal of supposing the input digit broadcasting receiver is the MPEG2-TS signal.According to embodiments of the invention, can use demux architecture according to identical mode, and needn't consider following situation: the TS signal meets the system standard of MPEG-4, perhaps H.264 H.261 the vision signal that is comprised as detailed data based on one of arriving or MPEG-4, and audio signal arrives one of MPEG-4 based on MPEG-1.
Below, specifically describe the present invention with reference to the accompanying drawings.
Fig. 5 illustrates the structure of digital broadcasting transmitter.As shown in Figure 5, the structure of digital broadcasting transmitter is provided with radio frequency (RF) tuner 310, demodulator 320 and multimedia processor 330.
With reference to Fig. 5, digital broadcast signal can be the signal of very high frequency(VHF) (VHF) and/or hyperfrequency (UHF) territory and/or L frequency range.Controller 300 outputs are mapped to the control data of the channel of selecting in RF tuner 310.RF tuner 310 is by producing according to channel data and blended RF produces the intermediate-freuqncy signal of selected signal.Above-mentioned intermediate-freuqncy signal is applied to demodulator 320.Then, demodulator 320 is a numerical data with the conversion of signals that receives, and comes the demodulation numerical data according to the demodulation scheme that presets, and the output demodulated data.Here, suppose that from the signal of demodulator 320 outputs are MPEG-2TS signals.This signal is applied to multimedia processor 330.In an embodiment of the present invention, RF tuner 310 and demodulator 320 are called as radio receiver.Then, the MPEG-2 TS signal demultiplexing of 330 pairs of receptions of multimedia processor, and separating video, audio frequency and broadcast message.Then, the decoder of multimedia processor 330 is respectively to video, audio frequency and broadcast message decoding.Then, the vision signal that output and demonstration are exported from multimedia processor 330 on display unit 350.With voice applications in loud speaker 360, thereby reproducing audio signal.Can in controller 300, handle the broadcast message of multimedia processor 330.In this case, controller 300 receives and decode broadcast information, and with the information stores of decoding in memory 380.When the user sent channel information demonstration request, controller 300 was visited broadcast messages, and the broadcast message of visit is presented on the display unit 350.Here, broadcast message can be electronic program guides (EPG) or electronic service guidebooks (ESG).
Then, the structure of the multimedia processor 330 in the digital broadcasting transmitter will be described in.Can differently dispose multimedia processor 330 according to the type of digital broadcasting transmitter.In the digital broadcasting based on digital video broadcasting (DVB) scheme, digital video broadcasting-ground (DVB-T) scheme is handled the data of MPEG2TS structure, and digital video broadcasting-hand-held (DVB-H) scheme is handled IP-based MPEG2TS structure.In the digital broadcasting transmitter of DVB-H scheme, radio receiver and multimedia processor 330 must have the structure that can handle IP-based MPEG2 TS data, describe the structure of the digital broadcasting transmitter of the structure of digital broadcasting transmitter of DVB-T scheme and DVB-H scheme with reference to embodiment of the invention order.
Fig. 6 illustrates the structure of multimedia processor 330.Here, Fig. 6 is illustrated in the structure of the multimedia processor 330 in the digital broadcasting transmitter of DVB-T scheme.
With reference to Fig. 6, demodulation multiplexer 410 is carried out following function: reception is voice data, video data and broadcast message from the MPEG-2 TS data of the demodulation of demodulator 320 outputs and with data separating.Here, broadcast message is to get rid of the video data of digital broadcast signal and the data of voice data, and this broadcast message can be the program data of broadcast service channel etc.In demodulation multiplexer 410, after the separate broadcast information, broadcast message can be applied to controller 300 and in controller 300, handle broadcast message, and broadcast message can be stored in the memory 380.When the user sends broadcast message and shows request, the broadcast message of controller 300 accessible storage in memory 380, and the information of visit is presented on the display unit 350.Below, with the description of omitting to broadcast message.Therefore, in the following description, broadcast singal is subject to vision signal and audio signal.Controller 300 select and report about information that will selecteed broadcasting in demodulation multiplexer 410, promptly, service product identifier (PID), thus the PID that demodulation multiplexer 410 is carried out according to selection is the function of video and audio frequency from select target data from the various data of demodulator 320 outputs and with described data separating.
Input buffer 420 be traditional formation (one type belt buffer, wherein, input and output in the structure that is similar to first-in first-out (FIFO) structure toward each other).Input buffer 420 is carried out the function of the real time data of store demultiplexed, and wherein, this real time data is corresponding with the data volume that can handle in Video Decoder 430 that is arranged at input buffer 420 rear ends and audio decoder 450.Here, can perhaps can dispose input buffer 420 being used for the single structure configuration input buffer 420 of stored video data and voice data in the structure that is used for dividing with stored video data and voice data.
Video Decoder 430 and audio decoder 450 are responsible for respectively video data that distributes from demodulation multiplexer 410 and voice data decoding.
According to embodiments of the invention, demodulation multiplexer 410 detects the bag data synchronization of importing as mentioned above, buffering input bag data, and the output packet data that walk abreast when the bag data are cushioned fully.According to embodiments of the invention, the processor analysis of parallel arranged information and processing relevant information output and original data.
Fig. 7 illustrates the structure according to the demodulation multiplexer 410 of the embodiment of the invention.
With reference to Fig. 7, synchronizing indicator 511 detects the synchronizing signal in the bag data that are included in input TS signal, and will import and wrap data and be sent to buffer 513.According to embodiments of the invention, synchronizing indicator 511 uses the delay scheme based on difference to be provided with synchronously.Buffer 513 is according to the serial data of bag unit buffering from synchronizing indicator 511 outputs.
Packet header processor 515 is from the parallel bag data retrieval packet header by buffer 513 outputs, determine whether to comprise adaptive information,, then only operate PES processor 519 if do not comprise adaptive information, if comprise adaptive information, then operate adaptive information processor 517.Packet header processor 515 is analyzed packet header from the input bag, if comprise adaptive information, then the bag data except that packet header are sent to adaptive information processor 517,, then the bag data except that packet header are sent to PES processor 519 if do not comprise adaptive information.
Adaptive information processor 517 is operated under the control of packet header processor 515.When the bag data by when packet header processor 515 transmits, adaptive information processor 517 is analyzed and is also handled the adaptive information that is included in the data, and the residue bag data except that adaptive information are sent to PES processor 519.
PES processor 517 extracts and handles the PES head that is included in from the bag data of packet header processor 515 or 517 transmission of adaptive information processor, and will be sent to data processor 521 except that the residue bag data the PES head.At this moment, the PID (being used herein to identification voice data or video data) that PES processor 517 checked the PES head determines that the bag data are voice data or video data, and will determine that the result reports to data processor 521.Data processor 521 is handled the bag data of having taken out the PES head, and the input buffer 420 that the video data or the voice data of identification is sent to Video Decoder 430 or audio decoder 450.
As mentioned above, demodulation multiplexer 410 is provided with four processors 515 to 521.Processor 515 to 521 is sequentially analyzed the bag data of buffering in buffer 513 respectively, and only just visits and handle the bag data in the buffer 513 in associative processor when the information that will handle is included in the bag data.At this moment, the structure of bag data can comprise: packet header, adaptive information head and/or PES head.Therefore, processor 515 to 521 is analyzed the data of buffering in buffer 513 respectively, and only just operates when the information that will handle in associative processor is comprised and deal with data.Described data can be by parallel processing.
Before the operation of describing processor 515 to 521, will the structure of input MPEG2 TS signal be described.MPEG2 TS signal is aforesaid bag stream.Shown in Fig. 8 C, by video packets and audio pack multiplexing and that send from the digital broadcast transmission machine constitute the TS signal at random.In this case, the video packets of Fig. 8 C and audio pack are made of packet header shown in Fig. 8 B and payload respectively.Packet header and payload have 188 bytes.That is to say that the data of a bag are made of 188 bytes.Shown in Fig. 8 A, packet header has the size of 4 bytes, and the parameter in packet header has function as shown in table 1.
Table 1
Class Describe Bit
Sync byte Sync byte has value 0X47 8
Transport error indicator When designator was set to " 1 ", it indicated the mistake in the current bag 1
Payload begins designator When designator was set to " 1 ", it indicates current bag was that PES begins 1
Transmission priority In decoder, use 1
PID Be used to discern the identifier of bag type 13
Scrambling control The indication scrambling mode 2
The control of self adaptation field 01: the payload 10 of no adaptive information/only: adaptive information/no payload 11 only: there is payload 00 the adaptive information back: keep 2
Continuous counter 4 byte counters increase by 1 for identical PID 4
That is to say that the bag data start from sync byte, discern a bag based on sync byte.Synchronizing indicator 511 receives input bag data, and the delayed data input, is detected up to sync byte.When detecting sync byte, synchronizing indicator 511 starts buffer 513 and cushions the bag data of input thereafter.Then, buffer 513 buffering input bag data.At this moment, buffer 513 can be that 188 byte buffer or the size with bag size is the buffer of integral multiple bag size (that is, 376 bytes (=2*188 byte), 564 bytes (=3*188 byte) etc.).As shown in table 1, cushion 4 byte packet header in first byte of buffer 513 to the position of nybble.
Then, packet header processor 515 packet header of processing shown in Fig. 8 A and table 1.The PID of the broadcasting channel that packet header processor 515 will be provided with by the user (below, be called PID is set) and the PID in packet header compare, and determine whether the bag that receives needs processed.Be different from the PID that PID is set if described bag has, then executive control operation is not so that handle the bag of buffering in buffer 513.Yet if the bag of buffering has the value identical with PID is set in buffer 513, packet header processor 515 is analyzed packet header and is determined whether to comprise self adaptation field Control Parameter.After the self adaptation field Control Parameter of analyzing packet header, when wrapping (constituting) when not comprising adaptive information by PES head and/or audio/video (A/V) data, carry out control, so that do not carry out the operation of adaptive information processor 517, and the bag data that will be stored in the buffer 513 are sent to PES processor 519.When comprising adaptive information, PES head and/or A/V data are stored in the payload field with Fig. 8 A structure when described.Yet when adaptive information was included in the bag data, it had the bag data structure shown in Fig. 8 A.At this moment, adaptive information (or adaptive information, PES head and/or A/V data) can be included in the payload field.Then, packet header processor 515 control adaptive information processors 517, thus the payload data of buffering can be processed in buffer 513.At this moment, the information that is sent to the adaptive information processor is the positional information of buffer 513 of buffering adaptive information, and described information can be about the position of next byte except that 4 bytes in packet header the information to the position of the last byte of the final data that cushions adaptive information.
Adaptive information processor 517 is operated under the control of packet header processor 515.The adaptive information that adaptive information processor 517 is handled in the payload field that is present in Fig. 8 A.Adaptive information has as Fig. 9 A to the structure shown in Fig. 9 C.Fig. 9 A illustrates the structure of adaptive information head.Adaptive information has about the information of self adaptation field length, ES priority indicator etc., and has the parameter of 5 marks, and described mark indicates whether to comprise the Optional Field 1 of self adaptation field.If comprise the Optional Field 1 of self adaptation field, then in 5 tag fields shown in Fig. 9 A, at least one mark is set.The adaptive information that is mapped to the mark of setting is included in the Optional Field 1 of the self adaptation field of Fig. 9 A.The adaptive information that is included in the Optional Field 1 is as shown in table 2, and its structure can make up shown in Fig. 9 B.
Table 2
5 marks Optional Field 1 Bit
1XXXX PCR
42 bits
X1XXX OPCR
42 bits
XX1XX Splice point (splice) counts down 8 bits
XXX1X Transmission exclusive data length transmission exclusive data 8 bits are variable
XXXX1 The self adaptation field extension length 8 bits
With reference to Fig. 9 B, the Optional Field 1 of self adaptation field comprises and the corresponding program clock reference of the reference value of Pgmtime information (PCR), and Optional Field 1 is made of the adaptive information that can be used to decode.Table 2 illustrates the data of the Optional Field 1 of the self adaptation field that is mapped to 5 marks.Here, two or more marks or the institute that can be provided with in described 5 marks is underlined.For example, when described 5 marks are set to " 10100 ", in the Optional Field 1 of self adaptation field, can comprise PCR and the splice point data that count down.
In addition, the Optional Field 1 of the self adaptation field shown in Fig. 9 B comprises 3 marks of the Optional Field 2 that indicates whether to comprise the self adaptation field.When the Optional Field 2 of self adaptation field was comprised, described 3 marks were set up and adaptive information is included in the Optional Field 2.Optional Field 2 has the structure shown in Fig. 9 C.The adaptive information that is included in the Optional Field 2 is as shown in table 3.Table 3 illustrates the data of the Optional Field 2 of the self adaptation field that is mapped to 3 marks.Here, at least two marks in described 3 marks can be set.
Table 3
3 marks Optional Field 2 Bit
1XX LTW significant notation LTW skew 1 bit, 15 bits
X1X Segmentation rate (piecewise) 22 bits
XX1 The splicing type 4 bits
Fig. 9 A illustrates the decode adaptive information of the bag data that receive of included being used under the necessary situation to Fig. 9 C.
Secondly, will the operation of PES processor 519 be described.
After packet header processor 515 determines to comprise that adaptive information or adaptive information processor 517 are handled adaptive information, under the control of packet header processor 515 or adaptive information processor 517, in PES processor 519 and/or data processor 521, handle the residue bag.PES processor 519 handled as Figure 10 A to the PES header shown in Figure 10 D.Figure 10 A illustrates the PES header structure that is made of PES scrambling control field, PES precedence field, the Copyright field, original/copy field, 7 tag fields, PES data length field etc.If necessary, then add PES Optional Field 1.Figure 10 B illustrates the structure of Optional Field 1, and it comprises that express time stabs (PTS)/decoded time stamp (DTS).PTS is the temporal information that is used for being presented at by the data of Video Decoder 430 or audio decoder 450 decodings on the display unit 350.In the time of PTS, display unit 350 outputs are by the data of decoder decode.DTS is used for the temporal information that begins to decode at Video Decoder 430 or audio decoder 450.Decoder begins decoding input bag data in the time of DTS.Table 4 illustrates the data of 7 marks and the PES Optional Field 1 of the PES head shown in Figure 10 A.
Table 4
7 marks PES Optional Field 1 Bit
0XXXXXX 1XXXXXX PTS DTS 33 bits, 33 bits
X1XXXXX ESCR
42 bits
XX1XXXX ES leads 22 bits
XXX1XXX The DSM special-effect mode 22 bits
XXXX1XX Additional copy information 8 bits
XXXXX1X Previous PES CRC 16 bits
XXXXXX1 The PES expansion Variable-length
Shown in Figure 10 B, if necessary, then PES Optional Field 1 also can comprise the PES extend information.Figure 10 C illustrates the structure of PES extend information, and if necessary, then described PES extend information also can comprise 5 marks and PES Optional Field 2.Figure 10 D illustrates the structure by the Optional Field 2 of the 5 marks setting of the PES extend information shown in Figure 10 C.Described 5 marks are determined the content of PES Optional Field 2 thereafter.At described 5 marks shown in the table 5.
Table 5
5 marks PES Optional Field 2 Bit
1XXXX The PES exclusive data 128 bits
X1XXX Package head field 8 bits
XX1XX Program bag sequence counter 8 bits
XXX1X PES extended field length 16 bits
XXXX1 PES extended field data 7 bits
PES processor 519 handled and had the PES head to the structure shown in Figure 10 D as Figure 10 A, and will be sent to data processor 521 except that the positional information of the A/V data the PES head.At this moment, the A/V data that are sent to data processor 521 are and have removed the corresponding ES of True Data that is included in the header in the data.Data processor 521 is carried out the function of distributing the A/V data of transmission according to the form of video ES signal or audio ES signal.
According to the aforesaid embodiment of the invention, because buffer 513 is according to bag size and row buffering and export the TS signal of being imported, and processor 515 to 521 concurrent accesses are also analyzed parallel package informatin, this package informatin is arranged in as shown in Figure 7 the buffer 513, so demodulation multiplexer 410 can be carried out de-multiplex operation fast.According to the present invention, the synchronizing indicator 211 of demodulation multiplexer 410 can be by after the length of delay of the time of identification sync byte identification sync byte, the length of delay that the data delay of input buffer 513 is discerned is simplified synchronous detecting, and needn't when detecting input bag data synchronization, retrieve each byte of importing the bag data.
To Figure 10 D operation according to the demodulation multiplexer 410 of Fig. 7 of the embodiment of the invention is described in further detail with reference to Fig. 8 A.
Figure 11 illustrates the synchronizing indicator 511 according to the demodulation multiplexer 410 of the embodiment of the invention.As described in reference Fig. 4, the synchronization detecting method of recommending in the mpeg standard must be determined to import whether each byte of wrapping data is sync byte 0X47.According to embodiments of the invention, buffer 513 is stored input TS signal according to the bag size, and the byte data that is stored in the buffer 513 is examined.When described byte data is sync byte, the value of the position beyond the sync byte position of synchronizing indicator 511 detection buffer 513, and bag is set synchronously.That is to say, when sync byte is identified, the positional value of synchronizing indicator 511 detection buffer 513, wherein, in buffer 513, ad-hoc location (being assumed to be first byte location at this) based on buffer 513 is stored the sync byte of identification, and the difference between the position of the sync byte of synchronizing indicator 511 calculating identifications and the sync byte buffer position of setting is caught by the difference that the byte that will import the TS signal postpones to calculate synchronously.
With reference to Figure 11, input bag data are stored in the buffer 513.Here, the buffer 513 that is used as the buffer of storage package data has the size of 188 bytes, and stores the byte data of input bag according to input sequence.At this moment, differ from the positional information that extractor 615 is identified in the byte data of buffering in the buffer 513.Whether the byte data that sync id unit 613 is determined to be stored in the buffer 513 is sync byte.When sync byte is identified, sync id unit 613 will identify the result and report to poor extractor 615.When receiving from sync id unit 613 when being used to discern the signal of sync byte, 615 identifications of difference extractor are used for the position that the current byte (corresponding to sync byte) to buffer 513 cushions.Then, difference extractor 615 calculates the position of the buffer 513 that stores the byte data that is identified as sync byte and being used to of being provided with and cushions difference between the position of sync byte in buffer 513, and the difference of calculating is outputed to delay cell 611.Then, delay cell 611 will be imported the difference that TS signal delay is calculated, and after will importing TS signal delay difference the TS signal will be sent to buffer 513.At this moment, buffer 513 stops to be used to store the operation of TS signal during time of delay, and wherein, described time of delay is based on the difference from 615 outputs of difference extractor.When based on the time of delay of difference when over and done with, the TS signal that buffer 513 bufferings transmit from delay cell 611.Therefore, synchronizing indicator 511 will be imported the TS signal usually and be sent to buffer 513.The TS signal that transmits is the data that begin from the sync byte that wraps.
In case realize the synchronous of bag as mentioned above, then the bag of the TS signal of input is in synchronous regime afterwards.Only otherwise some special obstacle occurs, just continue to keep synchronous regime.When bag mistake occurs owing to failure condition synchronously, realize that by carrying out aforesaid operations once more bag synchronously.According to the aforesaid embodiment of the invention, synchronizing indicator 511 is used for realizing synchronous method by following processing: from the sync byte position of input TS signal identification bag, according to the sync byte position calculated difference, and will import the difference that the bag data delay is calculated.
Figure 12 is the flow chart that the process of the operation that is used to carry out synchronizing indicator 511 is shown.
With reference to Figure 12, the TS signal is a bag stream, and wherein, a bag is made of 188 bytes.Pass through the byte bus with TS signal sequence input buffer 513 according to byte unit.In step 631, when the TS signal was transfused to, synchronizing indicator 511 determined whether the input byte data is the sync byte data.If the input byte data is the sync byte data, then in step 641, buffer 513 storage input byte datas.At this moment, buffer 513 sequential storage input byte data.When sync byte is transfused to, synchronizing indicator 511 detects the input sync byte in step 633, in the position that the buffer 513 of sync byte is stored in step 635 identification, in step 637 position of identification and the sync byte position that presets are compared so that synchronous difference to be set, and step 639 by postpone to be stored in data input in the buffer 513 be provided with bag synchronously.
For example, the input first bag data under the synchronous state of bag can not realized.Then, synchronizing indicator 511 under situation about not making an amendment, will import the bag byte data be stored in the buffer 513.Then, synchronizing indicator 511 determines to be stored in whether the byte data in the buffer 513 is synchrodata.When synchrodata was identified, the position of the buffer 513 of storage sync byte was identified.Then, synchronizing indicator 511 is provided with the difference relevant with sync byte to wrap synchronously.At this moment, the position that is assumed to be the sync byte setting is first byte location of buffer 513.When current sync byte position was identified as the 180th byte location, difference was-8.Then, synchronizing indicator 511 will be imported bag data delay 8 bytes, and the bag data input buffer 513 that will postpone, and realize bag thus synchronously.In this case, after losing 8 bytes, realize bag synchronously.When the bag timing error, synchronizing indicator 511 can be realized synchronously in next bag cycle.
In case bag is set up synchronously, as long as do not go wrong on radio link, bag just is held synchronously.Realizing under the synchronous state of bag that synchronizing indicator 511 remains 0 with difference.Synchronizing indicator 511 executive control operations, thus buffer 513 can cushion input bag data according to the bag unit.In an embodiment of the present invention, as can be seen: first byte of synchronizing indicator 511 by detecting synchronous bag according to the difference of sync byte in inter-packet gap realize bag synchronously synchronously, and needn't be from each byte retrieval sync byte of input packet.When packet header was processed, packet header processor 515 determined whether first byte is sync byte.If first byte is not a sync byte, then packet header processor 515 can be notified to timing error synchronizing indicator 511.Then, synchronizing indicator 511 can be provided with the synchronous of input bag when carrying out aforesaid operations.
Figure 13 A illustrates structure according to the buffer 513 of the embodiment of the invention to Figure 13 C.Here, Figure 13 A illustrates and is used for cushioning input TS signal and and the structure of the bag data of line output buffering according to the bag unit.In this case, processor 515 to 521 can be visited simultaneously from 188 bytes of buffer 513 and line output, and processor 515 to 521 can be visited the data of buffering in buffer 513 simultaneously.Figure 13 B illustrates the example of using two buffers 675 and 677 to realize buffer 513.If shown in Figure 13 B, realize buffer 513, then wrap in when cushioning in the buffer 675 as TS, the data of buffering in buffer 677 are also handled in processor 515 to 521 visits.Then, TS wraps in when cushioning in the buffer 677 when input, and the bag of buffering in buffer 675 is also handled in processor 515 to 521 visits.Figure 13 C illustrates the example of the memory of the buffer 513 of realizing having dual-ported memory 683.In this case, can realize being used in the operation of memory 683 buffering input TS bags independently and be used for operation at the bag of processor 515 to 521 access buffer.
With reference to Figure 13 A, buffer input unit 651 is carried out the operation that is used for input bag data are distributed and are input to according to byte unit buffer 661 to 66N.Can dispose buffer input unit 651 by counter and multiplexer.The count value of the counter of buffer input unit 651 can be used as the data that are used to select buffer 661 to 66N.Multiplexer can be carried out following function: the byte data that will import bag in response to count value outputs to buffer 661 to 66N.At this moment, buffer 661 to 66N must be set to 188 byte datas of a bag of available buffer.Therefore, N can be 188.The counter of buffer input unit 651 can be the counter of 188 systems.Multiplexer can have can be multiplexing the structure of byte data of input bag of 188 buffers 661 to 66N.Can be applied to the poor extractor 615 of synchronizing indicator 511 as the count value of the buffering input unit 651 of the positional value of sync byte.The bag data that are input to multiplexer can be used as the input of sync id unit 613.The signal of 611 outputs can be used as the count resets value of the counter of buffer input unit 651 from the input delay unit.
As mentioned above, the byte data of buffer input unit 651 multiplexing input bags, and multiplexing byte data is input to buffer 661 to 66N.Buffer 661 is to 66N adhoc buffer input byte data.The data that 653 pairs of buffer output units cushion in buffer 661 to 66N are carried out parallel buffer operation.When the data of buffering reached the data of 188 bytes, the buffer output unit 653 also data of a bag of row buffering outputed to bag buffer 655.At this moment, the output control signal of buffer output unit 653 can be used the counting termination signal of the counter of buffer input unit 651.Then, bag buffer 655 bufferings are from the parallel data of a bag of buffer output unit 653 outputs.Buffer 661 to 66N begins to cushion the byte data of next bag according to buffer input unit 651.Therefore, the bag that in buffer 661 to 66N, cushions and in bag buffer 655, have the poor of a bag between the bag of buffering.Then, wrap in when buffer 661 cushions in 66N in input, processor 515 to 521 can be handled the bag data of buffering in bag buffer 655.Use buffer 513 as shown in FIG. 13A, the also buffered data of a bag of line output can be visited and handle to processor 515 to 531 simultaneously.
Secondly, with reference to Figure 13 B, buffer storage 673 can be stored two bags.For this reason, first buffer 675 and second buffer 677 can be set.When input wrapped in first buffer 675 buffering, the bag of buffering in second buffer 677 was also handled in processor 515 to 521 visits.Then, when input wrapped in second buffer 677 buffering, the bag of buffering in first buffer 675 was also handled in processor 515 to 521 visits.At this moment, the configuration mode of first buffer 675 and second buffer 677 is for using data input and data output independently.The line of data input is connected to synchronizing indicator 511, and the line that data are exported is connected to processor 515 and 517.
Can realize being used to producing address and control signal address generator 671 by counter with the data of buffering or output buffer 675 and 677.But the highest significant position (MSB) of read/write end usage counter output.The counting clock of address generator 671 uses the byte clock of input TS signal.Therefore, address generator 671 is carried out and is produced the function that is used for the byte data from synchronizing indicator 511 outputs is stored in the address signal of buffer storage 673.At this moment, address generator 671 has 9 outputs.8 least significant bit lines produce the output of 188 system counters, and the 9th highest significant position (MSB) line is used for the read of buffer 675 and 677.So design, thus when address generator 671 was used as the one 188 system counter, the MSB line remained on low state, and as in the 2 188 system counter, the MSB line remains on high state at address generator 671.Wrap in first buffer 675 in the buffering even number bag of processor 515 to 521 visits buffering in second buffer 677 at the odd number of TS signal.Wrap in second buffer 677 in the buffering odd number bag of processor 515 to 521 visits buffering in first buffer 655 at the even number of TS signal.
Be connected to the poor extractor 615 of synchronizing indicator 611 from 8 least significant bit lines of address generator 671 outputs.The output of difference extractor 615 is used as the reset signal of address generator 671 and imports.Then, differ from the address value of generator 615 receiver address generators 671.When the 613 identification sync byte inputs of sync id unit, the address value indication is stored in the information of the position in the buffer storage 673 about sync byte.Then, differ from extractor 616 and calculate the value that in the current buffer position of storage sync byte, will cushion the position of sync byte.Difference extractor 616 stops the operation of delay cell 611 and address generator 671 according to the difference of calculating.Then, address generator 671 stops the addressing operation of buffer storage 673.
System shown in Figure 13 B comprises two buffer storage with bag size, and executive control operation, thereby when a buffer storage buffering input bag and during the bag of another buffer storage output buffering, processor 515 to 521 is carried out processing.At this moment, operate and read addressing operation with identical speed execution for the write addressing of buffer storage.
Once more, with reference to Figure 13 C, buffer storage 683 can be a dual-ported memory.When dual-ported memory was used for buffer storage 683, first address generator 681 can produce the address with different speed with second address generator 685.That is to say that first address generator 681 is carried out addressing operation with the speed that can store the input byte data, the speed that second address generator 685 can be carried out processing with processor 515 to 521 is carried out addressing operation.At this moment, the addressing time started of second address generator 685 point must mate the addressing time started point of first address generator 681.This be because: the output time of buffers packet must be provided with based on a buffer time that wraps in the buffer storage 683.The counting clock that therefore, can be used for the addressing of first address generator 681 and second address generator 685 with different speed.With the count resets operative configuration of second address generator 685 for to carry out according to first address generator 681.Can realize the operation of first address generator 681 and synchronizing indicator 511 according to the mode identical with the operation of the address generator 671 of realizing Figure 13 B and synchronizing indicator 511.
Under the state of buffer 513 parallel buffers packet data, the relevant header information that processor 515 to 521 is analyzed in the bag data that cushion, analyze and the pack processing data, extract audio ES or video ES, and the audio ES of demultiplexing is outputed to audio decoder 450 or the video ES of demultiplexing is outputed to Video Decoder 430.At this moment, the header of handling in processor 515 to 521 is sent to controller 300, thereby the header of handling is used as the control information that is used to handle digital broadcasting.
According to the embodiment of the invention that is used for this purpose, packet header processor 515 is analyzed packet header from the bag of buffering buffer 513, and determines whether to comprise adaptive information.If do not comprise adaptive information, then packet header processor 515 will wrap processing command and output to PES processor 519, also send the positional information of the buffer 513 that will handle in PES processor 519.That is to say that packet header processor 515 produces the order that is used to handle the 5th byte to the 188 bytes of having got rid of 4 byte packet header.When in buffer 513 buffering data be when only comprising the bag data of adaptive information, packet header processor 515 sends the order that is used to handle the 5th byte to the 188 bytes of having got rid of 4 byte packet header to adaptive information processor 517.Perhaps, when the data that cushion in buffer 513 are when only comprising the bag data of adaptive information, packet header processor 515 notice adaptive information processors 517: described bag comprises adaptive information and PES packet header, and packet header processor 515 also sends the order that is used to handle adaptive information to adaptive information processor 517.At this moment, packet header processor 515 can order PES processor 519 to prepare to handle the PES head.Then, the length of adaptive information processor 517 identification PES heads and be included in adaptive information in the bag, and to packet header processor 515 or PES processor 519 notice PES head length degree.When packet header processor 515 or adaptive information processor 517 receive processing command, PES processor 519 analyzed the relevant PES head of data with the transmission that cushions in the position of buffer 513, to be sent to data processor 521 about the information that reality cushions the position of described data according to analysis result, and handle the PES head.Pid information in response to slave controller 300 transmission, data processor 521 produces audio ES data or video ES data from the buffered data relevant with the positional information that transmits from PES processor 519, to audio ES data or video ES data demultiplexing, and the audio or video ES data of demultiplexing are outputed to Video Decoder 430 or audio decoder 450.
Perhaps, packet header, adaptive information head and PES head can be analyzed and handle to controller 300.After (packet header, adaptive information head and PES head) header of analysis package, according to the processor 515 of parallel control as a result of analyzing header in 521, controller 300 parallel processings are stored in the bag data in the buffer 513.
At first, will the operation of packet header processor 515 be described.Figure 14 A and Figure 14 B are the flow charts that is illustrated in the process in the packet header of analyzing and handling buffering in the packet header processor 515.Here, Figure 14 A illustrates when adaptive information and PES head are included in the bag, is used for processing command is sent to from adaptive information processor 517 flow chart of the process of PES processor 519.Figure 14 B illustrates the flow chart that is used for processing command is sent to from packet header processor 515 process of PES processor 519.
With reference to Figure 14 A, shown in Fig. 8 C, packet header is made of 4 bytes, and is cushioned in the zone of nybble in first byte of buffer 513.Packet header comprises product identifiers (PID).Here, the PID information of the network information table (NIT), service information table (SIT) and the audio or video information that act on the broadcasting channel in the identification bag afterwards.Here, NIT is the channel information of digital radio stations, and SIT is the broadcasting channel table that provides from channel.When the user selected arbitrarily broadcast channel, controller 300 received NIT, and identification is used for the channel of selected broadcasting channel.Controller 300 control RF tuners 310 fixing RF channel on the frequency of selected broadcasting channel.Digital broadcast service provides a plurality of broadcasting channels by a channel.By convention, a channel is used in 5 broadcasting stations.Therefore, will be used for discerning the audio ES of a plurality of broadcasting stations of using a RF channel and the information of video ES and be included in SIT.Controller 300 is with reference to SIT, and the PID of Voice ﹠ Video of the broadcasting channel of user expectation is set.Demodulation multiplexer 410 is retrieved the PID of the bag that receives, and only when the PID of retrieval is the PID that is provided with demultiplexing is wrapped in input.
When cushioning in wrapping in buffer 513, in step 701, packet header processor 515 is analyzed the PID in the packet header of buffering.When the PID that analyzes is when being used to discern the PID of NIT, packet header processor 515 detects the PID that is used to discern NIT in step 703, and the bag data of the 5th byte to the 188 bytes that will cushion in buffer 513 in step 705 are sent to controller 300.After analyzing NIT, controller 300 control RF tuners 310 are fixed to the channel of the broadcasting station of being selected by the user.Then, when the PID that is used to discern SIT was received, packet header processor 515 detected the PID that is used to discern SIT in step 707, and the bag that will cushion in buffer 513 in step 708 is sent to controller 300.Then, the PID of the Voice ﹠ Video of the broadcasting station that is used for identification selection of slave controller 300 transmission is received and is set to target P ID.Then, packet header processor 515 starts the operation that is used for the bag demultiplexing of the broadcasting station of reception after the target P ID that is provided with is analyzed.
When target P ID was set up, packet header processor 515 determined whether the PID in packet header is the PID that is provided with.In step 711, if the PID of the bag of buffering is different from the PID of setting, then packet header processor 515 detects described different PID and forbids being used for the process that the demultiplexing input is wrapped.Yet if be included in the PID that the PID coupling in the input packet header is provided with, packet header processor 515 detects the PID of described coupling and analyzes packet header in step 713.Packet header shown in Fig. 8 C has pid information that is used to discern the bag data and the self adaptation field Control Parameter that indicates whether to comprise adaptive information.Packet header comprises: information, the PES relevant with the mistake of current bag begins, priority, scrambling mode and based on the enumeration data of identical PID.In addition, packet header comprises self adaptation field Control Parameter, and it is used for indicating the existence of the adaptive information that will handle at adaptive information processor 517.Packet header processor 515 is analyzed the self adaptation field Control Parameter in the packet header, and need to determine whether the operation of adaptive information processor 517.Packet header processor 515 analysis has the self adaptation field Control Parameter in packet header of structure of Fig. 8 A and table 1, and whether definite adaptive information is included in the bag.
As shown in table 1, the adaptive information parameter is made of 2 bits.If parameter is " 01 ", then expression input bag only is made of payload, does not contain adaptive information.If parameter is " 10 ", then expression input bag only is made of adaptive information.If parameter is " 11 ", then the expression input comprises adaptive information and payload.In step 715, packet header processor 515 is analyzed self adaptation field Control Parameter, if self adaptation field Control Parameter is " 01 ", then detects the bag that does not comprise adaptive information.In step 717, residue (184 bytes) the bag data that PES processor of packet header processor 515 orders 519 handled except that 4 byte packet header.Then, in step 719, packet header processor 515 is handled packet header, and will be sent to controller 300 with broadcast related information.In this case, adaptive information processor 517 inoperation.
In step 721, if self adaptation field Control Parameter is " 10 ", then packet header processor 515 detects to import to wrap and only is made of adaptive information.In step 723, residue (184 bytes) the bag data that packet header processor 515 order adaptive information processors 517 are handled except that 4 byte packet header.Then, in step 719, packet header processor 515 is handled packet header and will be sent to controller 300 with broadcast related information.In this case, PES processor 519 and data processor 521 inoperation.
In step 721, if self adaptation field Control Parameter is " 11 ", then packet header processor 515 detects input and comprises adaptive information and payload, and sends operational order to adaptive information processor 517 operating 725.Packet header processor 515 proceeds to step 719 to handle packet header and result is sent to controller 300.At this moment, packet header processor 515 also can send operational order to PES processor 519.In this case, the positional information that packet header processor 515 will be used for visiting in the data of buffer 513 bufferings is sent to adaptive information processor 517 together with operational order, and only operational order is sent to PES processor 519.Then, PES processor 519 prepares to handle the PES head that cushions in buffer 513.After adaptive information processor 517 receives the start position information of PES head, PES processor 519 can begin to handle the PES head.
Packet header processor 515 is analyzed the PID relevant with the head of the bag that receives, and NIT and SIT bag are sent to controller 300.Packet header processor 515 receives the PID of the Voice ﹠ Video of the broadcasting station that is provided with by controller 300, and the PID of the bag that will receive is set.Then, if the bag of buffering has target P ID, then packet header processor 515 is analyzed packet header.If the bag of buffering is the adaptive information bag, then packet header processor 515 order adaptive information processors 517 are operated.If the bag of buffering is a PES head bag, then PES processor 519 of packet header processor 515 orders operated.At this moment, packet header processor 515 also will be used to visit and the positional information of the buffer of deal with data is sent to processor 517 and 519.If the bag of buffering comprises adaptive information and PES head, then packet header processor 515 order adaptive information processors 517 are operated, and the start position information of the adaptive information that will cushion in buffer 513 is sent to adaptive information processor 517.Adaptive information processor 517 is analyzed adaptive information, and the position informing of the PES head that will cushion in buffer 513 is given PES processor 519.
If comprise adaptive information and PES head, then packet header processor 515 can be sent to PES processor 519 with the information about the position of buffering PES head.Figure 14 B illustrates to be used for being sent to the flow chart of the method for PES processor 519 in the positional information of the PES head of buffer 513 buffering from packet header processor 515.
The operation of the step 710 of Figure 14 B is identical with the operation of the step 701 to 709 of Figure 14 A.The operation of step 711 to 723 is identical with the operation of Figure 14 A.At this moment, as the result who analyzes self adaptation field Control Parameter, if the bag of buffering comprises adaptive information and PES head, then packet header processor 515 detects this situation in step 721, and operates at step 725 order adaptive information processor 517.Adaptive information length (length is the N byte, wherein, can discern N by the self adaptation field length of adaptive information head) is calculated in packet header processor 515 requests.In step 733, from the information of adaptive information processor 517 transmission about adaptive information length.After the position of the PES head of buffering was determined in buffer 513, packet header processor 515 order adaptive information processors 517 were handled the data of N byte, and handled the data of (184-N) byte at PES processor of step 735 order 519.
When the bag data were cushioned, packet header processor 515 was analyzed packet header.If packet header has the PID of setting, then packet header processor 515 is analyzed the adaptive information Control Parameter that is included in the packet header, and command processor is operated.When bag only is made of payload, PES processor 519 of packet header processor 515 operations, and PES processor of order 519 handled the bag of buffering in buffer 513.At this moment, adaptive information processor 517 inoperation.For this reason, the demodulation multiplexer 410 with serial structure can reduce time and the processing time in adaptive information processor 517 that is used in adaptive information processor 517 buffers packet.
Secondly, when the input bag only is made of adaptive information, packet header processor 515 operation adaptive information processors 517, and order adaptive information processor 517 is handled the bag of buffering in buffer 513.At this moment, PES processor 519 and data processor 521 inoperation.For this reason, the demodulation multiplexer 410 with serial structure can reduce time and the processing time in above-mentioned processor that is used in PES processor and data processor 521 buffers packet.
Once more, when input comprises adaptive information and payload, packet header processor 515 identifications are included in the length from the adaptive information in the bag of adaptive information processor 517, the size of payload and adaptive information is set, and order adaptive information processor 517 and PES adaptive information and the payload that processor 519 is handled in the bag that cushions in buffer 513.When adaptive information and payload all are included in the bag, describe: packet header processor 515 identification is included in the length from the adaptive information in the bag of adaptive information processor 517, and the size of the bag data that will handle in adaptive information processor 517 and PES processor 519 is set.Yet, if adaptive information and payload are all comprised, then adaptive information processor 517 can be realized following method, and this method is used for from adaptive information head identification adaptive information length, and the residue bag data of PES processor of order 519 processing except that adaptive information.
When input comprised adaptive information and payload, adaptive information processor 517 an and PES processor 519 can be handled the bag data of the size of setting simultaneously.For this reason, the demodulation multiplexer 410 with serial structure can reduce bag buffer time and time of serial process bag in processor.
The adaptive information of adaptive information processor 517 pack processing is operated in response to the order of packet header processor 515, and receives the data in zone of the 5th byte to the 188 bytes except that the zone, packet header of buffer 513 or some data that should the zone.517 identifications of adaptive information processor are used for determining as the mark of Fig. 9 A to the existence of the details of the adaptive information head shown in Fig. 9 C, and analyze and store adaptive information according to recognition result.Here, canned data can be corresponding PCR of reference value with Pgmtime information etc.Adaptive information is connected to controller 300 and/or decoder 430 and 450, thereby adaptive information can be transmitted.Figure 15 illustrates the flow chart that is used for according to the process of embodiment of the invention operation adaptive information processor 517.
With reference to Figure 15, in step 741, adaptive information processor 517 receives the buffer position information of operational order and adaptive information from packet header processor 515.At this moment, as mentioned above, be provided for transmitting the method for adaptive information processing command by the self adaptation field Control Parameter in packet header from packet header processor 515.If the whole of bag of buffering are adaptive informations, then packet header processor 515 sends the order of the Zone Full that is used to handle buffer 513.Then, adaptive information processor 517 determines that the whole of bag of buffering in buffer 513 are adaptive informations, and carries out in the process of carrying out as shown in figure 15 and handle.
Secondly, when adaptive information and PES data all were included in the bag of buffering, the primary importance information that packet header processor 515 will be used to handle the buffer 513 of the order of adaptive information and buffering adaptive information was sent to adaptive information processor 517.The adaptive information of adaptive information processor 517 access buffer, identification self adaptation field length, identification PES header is stored in position in the buffer 513, and will be sent to PES processor 519 about the information and the operational order of the position of PES data of buffering simultaneously.Adaptive information processor 517 receives the request that is used to discern the self adaptation field length from packet header processor 515, and the parameter value of the self adaptation field length of adaptive information head that will be shown in Fig. 9 B is sent to packet header processor 515.Packet header processor 515 is sent to adaptive information processor 517 and PES processor 519 with the buffer position information and the operational order of adaptive information and payload.The situation that adaptive information processor 517 is sent to PES processor 519 with the buffer position information and the operational order of PES data then, will be described when comprising adaptive information and PES data.
When receiving from packet header processor 515 when being used to handle the order of adaptive information, adaptive information processor 517 can determine that the bag of buffering only is made of adaptive information or comprises PES data according to the positional information of the adaptive information that transmits.If bag only is made of adaptive information, then adaptive information processor 517 detects this situation in step 741, and proceeds to step 751.Yet, if comprise adaptive information and PES head, then in step 745, adaptive information processor 517 is analyzed the length of the self adaptation field that cushions in the 5th byte area of buffer 513 in the adaptive information structure of Fig. 9 A, and identification is included in the length (supposing that the self adaptation field length is N here) of the self adaptation field in the bag.In step 747, adaptive information processor 517 calculates the length and the positional information of the PES head of buffering in buffer 513.At this moment, because packet header is got rid of from 188 bytes, are 184 bytes so wrap data.Therefore, the adaptive information that is stored in the buffer 513 is present in the position of the 5th byte to the N byte.PES data of buffering are in (188-N) (=M) position of byte to the 188 bytes in buffer 513.Then, adaptive information processor 517 with operational order and the position data that is used to cushion PES data of calculating be sent to PES processor 519.
Then, in step 751, adaptive information processor 517 is handled the elementary field data of the self adaptation field shown in Fig. 9 A.Then, in step 753, adaptive information processor 517 is checked 5 marks of the self adaptation data shown in Fig. 9 A, and determines whether the adaptive information that adds Optional Field 1 to exists.That is to say that adaptive information processor 517 is checked 5 marks of the adaptive information head shown in Fig. 9 A, and determine whether to comprise the Optional Field 1 of self adaptation field.Described 5 labels have structure as shown in table 2.When 5 marks were set up, the data of the Optional Field 1 shown in Fig. 9 B were present in the Optional Field 1 shown in Fig. 9 A.Then, adaptive information processor 517 is handled the Optional Field 1 of the self adaptation field shown in Fig. 9 B in step 755, and determines whether to comprise the Optional Field 2 of self adaptation field by 3 tag fields of inspection shown in Fig. 9 B in step 757.When mark value is as shown in table 3 when being present in 3 marks, the data of the Optional Field 2 of the self adaptation field shown in Fig. 9 C are present in the Optional Field 2 of the self adaptation field shown in Fig. 9 B.Then, in step 759, adaptive information processor 517 is handled the data of the Optional Field 2 of the self adaptation field shown in Fig. 9 C.Yet in step 753 or step 757, if mark value is not present in 5 marks or 3 marks, adaptive information processor 517 is determined to lack the Optional Field of self adaptation field and return.
As mentioned above, adaptive information processor 517 is handled the elementary field data of the self adaptation field shown in Fig. 9 A, determines whether the adaptive information that adds Optional Field 1 to exists, and reads and discern 5 mark value of Fig. 9 A.If mark value is present in 5 tag fields, then adaptive information processor 517 is handled the Optional Field 1 of the self adaptation field of Fig. 9 A.Then, adaptive information processor 517 is determined in the adaptive information that whether Optional Fields 2 be present in shown in Fig. 9 B, and is read and discern 3 mark value of Fig. 9 B.When mark value was present in 3 tag fields, mark value was present in the Optional Field 2 of self adaptation field of Fig. 9 B shown in Fig. 9 C.Adaptive information processor 517 is handled the Optional Field 2 of the self adaptation field shown in Fig. 9 C.
When bag comprises PES data maybe when comprising adaptive information and PES data, PES processor 519 operations.At this moment, the described control that operates in packet header processor 515 or adaptive information processor 517 is carried out down.Packet header processor 515 or adaptive information processor 517 transmit the information of the position of cushioning about PES data in buffer 513.When adaptive information and payload data all are present in the bag, after adaptive information processor 517 all adaptive informations of visit, PES data of PES processor 519 visits.At this moment, packet header processor 515 and adaptive information processor 517 can't determine that bag is to be constituted or be made of PES head and real data ES by the PES head.Therefore, packet header processor 515 and adaptive information processor 517 can be regarded the bag of buffering as the PES head.PES processor 519 analyzed the length of PES data of buffering with identification PES head, determines the length and the position of the real data except that the PES head, and the buffer position data of real data ES are sent to data processor 521.Under the situation of video data, every frame once transmits the Optional Field data of PES head, and under the situation of voice data, every framing once transmits the Optional Field data of PES head.Bag can only comprise the elementary field data of PES head usually.
Figure 16 illustrates the flow chart that is used for handling at PES processor 519 process of PES data.
With reference to Figure 16, in step 771, PES processor 519 receives operational orders and about the information of the position of buffering PES head from packet header processor 515 or adaptive information processor 517.PES processor 517 analyzed the data of the buffer area of the 5th byte to the 188 bytes except that the zone, packet header in the bag of buffer 513 bufferings, or the data in the zone of (188-N) byte to the 188 bytes that are provided with in packet header processor 515.At this moment, PES processor 519 discerned " 10 " of the beginning of the PES head of indicating the structure with Figure 10 A, and analyzes the length of PES data.Can be in the length of location recognition PES data of the 3rd byte of the buffering starting position of a distance PES data.Then, when the positional value of the PES head that transmits during greater than the length value of PES data of identification, PES processor 519 detects the existence of real data ES in step 775.PES processor 519 will be defined as real data ES except that the residual buffer data the length of PES data, and in step 777 the buffer position information of operational order and real data ES will be sent to data processor 521.That is to say that PES data can only be made of a data, and can comprise real data ES.Bag generally includes real data ES.Therefore, the buffer position information of the residue ES data except that PES data is sent to data processor 521 in PES processor 519 bag that will cushion in buffer 513.Data processor 521 can be handled the buffer position information of transmission.
When real data ES in step 775 was not present in the bag of buffering, perhaps after step 777 was performed, PES information is analyzed and handled to PES processor 519 by the elementary field mark of the PES head shown in Figure 10 A.The elementary field of PES head comprises broadcast message.The broadcast message of handling is sent to controller 300.After the elementary field data of PES head were processed, in step 781, PES processor 519 checked 7 marks of the elementary field shown in Figure 10 A, and whether the Optional Field 1 of definite PES head exists.7 labels have function as shown in table 4.When any mark in 7 marks was set up, PES processor 519 detected the existence of the PES Optional Field 1 of PES head in step 781, and handled PES Optional Field 1 shown in Figure 10 B result is sent to controller 300 in step 783.Then, in step 785, PES processor 519 checked 5 marks of the PES extended field shown in Figure 10 C, and determines whether to exist shown in Figure 10 C the PES Optional Field 2 of PES head.When as shown in table 5 being set up of any mark of 5 marks, PES processor 519 detects the existence of PES Optional Field 2 in step 785, and handle the data of the Optional Field 2 of the PES head shown in Figure 10 D in step 787, result is sent to controller 300.Yet when the Optional Field at step 781 or the definite PES head of step 785 did not exist, PES processor 519 finished the processing of PES heads and also returns.
As shown in figure 16, the PES head length degree of PES processor 519 controlling chart 10A, identification is included in the length M of the PES head in the bag, and is set to the PES head apart from the data of the length M of (184-N) byte of the buffer 513 that transmits from packet header processor 515.The order of data that is used to handle the described length (corresponding to (184-N-M) byte) of buffer is sent to data processor 521.At this moment, N is the length of adaptive information.When bag only was made of PES head and real data ES, adaptive information length was 0.According to in adaptive information processor 517, handle the identical method of adaptive information, PES processor 519 handled the elementary field of the PES head shown in Figure 10 A, check 7 tag fields of elementary field,, then handle the PES Optional Field 1 shown in Figure 10 B if the mark that is provided with exists.PES Optional Field has PES extended field.PES extended field has the structure shown in Figure 10 C.5 tag fields of PES processor 519 controlling chart 10C if the mark that is provided with exists, are then handled PES Optional Field 1.
PES processor 519 handled as Figure 10 A to the PES head shown in Figure 10 D.The operation of PES processor 519 control data processors 521.After the bag of determining current slave controller 300 inputs was video data or voice data, data processor 521 produced video ES or audio ES from the data of buffering buffer 513.Data processor 521 is sent to video ES Video Decoder 430 or audio ES is sent to audio decoder 450.That is to say that when being cushioned in wrapping in buffer 513, packet header processor 515 is analyzed the PID in the packet header of buffering, definite bag that will be imported into controller 300 is video or audio frequency, and will determine that the result is sent to controller 300.Then, controller 300 is notified to data processor 521 with video packets or audio pack, thereby the bag of input can be identified.Here, having described controller 300 will wrap identification information and be sent to data processor 521.Perhaps, packet header processor 515 can will wrap identification information and be sent to data processor 521 after analyzing packet header.At this moment, packet header processor 515 is known the PID of the Voice ﹠ Video of the channel that is provided with as mentioned above.Therefore, the PID that is included in the packet header is analyzed.When packet header comprises the video PID of setting or audio frequency PID, but packet header processor 515 notification data processors 521: and the video PID or the audio frequency PID of setting are comprised.
The elementary field that in each bag, comprises the PES head shown in Figure 10 A.When Optional Field was not comprised, the elementary field of PES head was made of 3 bytes.Therefore, being included in real data ES in the bag can be at most 181 bytes (corresponding to the remainder bytes data except that the PES head of packet header of 4 bytes and 3 bytes).But the data in the zone of the 8th byte to the 188 bytes of data processor 521 reception buffers 513, identification is from the actual ES of residue of PES processor 519, and output video ES or audio ES.That is to say the residue bag data (data of a bag (188) byte-packet header (4 byte)-adaptive information (N byte)-PES head (M byte)) after the data processing that data processor 521 is handled in processor 515 and 517.Data processor 521 separates according to the value that is included in the PID in the packet header and resolves video ES or audio ES.At this moment, determine N and M according to the adaptive information length of Fig. 9 A and PES the data length of Figure 10 A.At this moment, a self adaptation field length and/or PES data length can be 0 (that is, N=M=0, N=0 or M=0).When self adaptation field length and/or PES data length can be for 0 (not promptly, N ≠ M ≠ 0, N ≠ 0 or M ≠ 0) time, data processor 521 together with adaptive information processor 517 and/a PES processor 519 handles real data simultaneously, thereby the bag data can be by demultiplexing apace.
By convention, the Optional Field that comprises the self adaptation field and the PES head of input TS signal.That is to say, if necessary, then wrap data and comprise self adaptation field and/or PES head.Therefore, the bag of reception mainly is made of real data (ES).In this case, only packet header processor 515, a PES processor 517 and data processor 521 operations, but 517 inoperation of adaptive information processor.PES processor 517 only handled the elementary field data of PES head.When the bag that receives in demodulation multiplexer 410 was demultiplexed to decoder 430 and 450, real data (ES) can be by demultiplexing apace.
Table 6 is illustrated in the PES head that bag comprises in the data and the example of the allocation ratio between the packet.As shown in table 6, the quantity of PES head bag or the quantity of adaptive information bag are little more a lot of than quantity of data packets.
Table 6
The sum of bag 55,476 bags
PID Audio frequency PID 0X0259
Video PID 0X0258
The PES bag All PES wraps 104 bags
Audio frequency PES 18 bags
Video PES 86 bags
When bag was transfused to, buffer 513 was according to byte-sized sequence buffer input bag.The bag of previous buffering is outputed to processor 515 to 521 in proper order.At this moment, packet header processor 515 is analyzed from the packet header of zone, packet header output, and analyzes PID.Packet header processor 515 is analyzed self adaptation field Control Parameter and need to be determined whether the operation of adaptive information processor 517.When described bag comprised adaptive information, packet header processor 515 order adaptive information processors 517 were operated, and are transmitted in the position data of the adaptive information of storage in the buffer 513.
When adaptive information is output, the length of the output of adaptive information processor 517 reception buffers 513 and identification adaptive information.When bag only was made of adaptive information, adaptive information processor 517 was handled from the adaptive information bag of buffer 513 outputs.When bag comprised the PES header, operational order was sent to PES processor 519 with the positional information that is stored in PES data in the buffer 513.Adaptive information processor 517 is handled from the adaptive information of buffer 513 order outputs.
When the position data of the buffer 513 that receives operational order and PES data of buffering from packet header processor 515 or adaptive information processor 517, PES processor 519 receives from the PES head of buffer 513 outputs, and when the length of PES data inspection PES head during from buffer 513 outputs.When bag only was made of the PES head, PES processor 519 handled from PES data of buffer 513 order outputs.PES data can be PES data of the audio or video described as reference table 6.Yet, when bag comprises PES data and real data ES, the output of PES processor 519 reception buffers 513, and analyze the length of PES head during from buffer 513 output when PES data.After the length of real data ES was analyzed, operational order was sent to data processor 521 with the position data that is stored in the real data ES in the buffer 513.Processed from the elementary field data of the PES head of buffer 513 output.
When data processor 521 receives operational order and when being stored in the position data of the real data ES the buffer 531 from PES processor 519, data processor 521 is with reference to the bag identification information (or audio frequency PID or video PID) from packet header processor 515 or controller 300 receptions, when real data during from buffer 513 output, produce audio ES or video ES from dateout, to audio ES or video ES demultiplexing, and the audio or video ES of demultiplexing outputed to decoder 450 or 430.At this moment, audio ES or the video ES from data processor 521 outputs is by the bag data being unpacked the real data of acquisition.
In the demultiplexing equipment according to the aforesaid embodiment of the invention, when the bag of input TS signal comprised adaptive information and/or PES, associative processor was operated according to header packet information.For example, when input bag only was made of adaptive information, the input bag was also handled in 517 operations of adaptive information processor, and PES processor 519 and data processor 521 inoperation.When the input bag was made of PES head and real data, PES processor 519 determined whether to comprise the PES head.When bag only is made of the PES head, have only 519 operations of PES processor.When bag comprised real data, PES processor 519 and data processor 521 co-operate were handled PES head and real data (ES).When input bag by adaptive information, and/or PES head and real data be when constituting, adaptive information processor 517, and/or PES processor 519 and data processor 521 co-operate to be handling adaptive information, and/or PES head and real data.When bag comprises adaptive information and/or PES head and real data (or ES), be used to handle the processor parallel work-flow and the while deal with data of related data, thereby demultiplexing can be carried out fast.
In having the demodulation multiplexer of serial structure, packet header processor 515, adaptive information processor 517, a PES processor 519 and data processor 521 sequence processing datas.When processed (self adaptation field, PES head or data) when information does not exist, may be spent the unnecessary processing time by all processors of operation in tandem.Yet embodiments of the invention can only just be operated associative processor and come deal with data by after the bag that receives is analyzed when processed information is existed, and reduce data processing time and realize higher demultiplexing speed.
Secondly, the demodulation multiplexer with serial structure has input buffer (or have output buffer in the rear end of processor) at the front end of processor.Because sent according to byte unit from the data of processor output, so must use very fast clock to transmit bag.Because use multistep (multi-step) buffer, so this structure can need the relatively long time to transmit data.Yet the present invention can obviously reduce the time that is used to transmit data and can obviously improve demultiplexing speed, this be because the data of bag size in buffer by and row buffering, and processor concurrent access simultaneously buffer.
Once more, when detected, do not retrieve all input packet bytes when synchronous.When input bag is stored in buffer after the byte of analyzing stored, when the sync byte that detects is positioned at beyond the sync byte position of buffer of setting, calculated difference.The input byte data is postponed the difference of calculating, thereby realize synchronously.Therefore, can simplify synchronization detecting method.
Then, will describe as in the digital broadcasting transmitter of DVB-H scheme, handle the structure of IP-based broadcast data.The digital broadcasting transmitter of DVB-H scheme has the structure identical with Fig. 5.Because in the digital broadcasting transmitter of DVB-H scheme, must handle broadcast singal, so radio receiver (RF tuner 100 and demodulator 120) has the structure different with the digital broadcasting transmitter of DVB-T scheme with multimedia processor 330 based on DVB-H IP.
Figure 17 illustrates the structure of DVB-H radio receiver (RF tuner 310 and demodulator 320).
With reference to Figure 17, the phase-locked loop of tuner 310 (PLL) 815 produces the frequency of the physical frequencies that is used to be provided with broadcasting channel under the control of Reduced Instruction Set Computer (RISC) 827.Frequency mixer 813 mixes the broadcast singal that receives with the output frequency of PLL 815, thus the broadcast singal of the physical channel frequency of output setting.The signal of the physical channel frequency band that filter 817 filtering and output are provided with.The modulus of demodulator 320 (A/D) transducer 821 is converted to numerical data with the output of tuner 310.The broadcast singal demodulation of 823 pairs of modulation of OFDM (OFDM) demodulator.Pid filter 825 has the signal of PID of the broadcasting channel of setting from the filtering signals of demodulation.To buffer 829, cushion from the signal of pid filter 825 outputs by RISC 827.RISC 827 control time Fragmentation is with the power consumption of minimizing digital broadcasting transmitter, and execution Multi-Protocol Encapsulation-Forward Error Correction (MPE-FEC) function is to provide inbound pacing by being corrected in the mistake that occurs in the time of reception.The data of buffering are IP datagram in buffer 829.
Tuner 310 uses direct conversion plan.Tuner 310 selects to have the broadcast singal of frequency of the broadcasting channel of setting, and the broadcast singal of selecting is converted to inphase/orthogonal (I/Q) signal.Demodulator 320 is converted to the output of tuner 310 numerical data and carries out the OFDM demodulation.In this case, demodulated data has MPEG2 TS structure.Here, the data of PID with broadcasting channel of setting are filtered.At this moment, the data of the filtering parity byte table that has the temporal information that is used for time slicing and be used for the MPE-FEC function based on PID.Time slicing is a kind of technology that is used to reduce the hardware power consumption in the digital broadcasting transmitter, and operational hardware was also closed hardware when its nearly broadcast data when expectation was received when desired data is not received.When time slicing techniques is used, have only the pid data of the broadcasting of expectation to be output.Therefore, the data that only are mapped to expectation PID are received by pid filter, and RISC 827 carries out MPEG2 TS demultiplexing and handles.At this moment, the MPEG2 TS demultiplexing of carrying out in the PID filtration treatment is handled the signal demultiplexing to the broadcasting channel that is provided with by the user in the many broadcasting channels that use the same physical channel frequency, this MPEG2 TS demultiplexing is handled and be different from the MPEG2 TS demultiplexing processing of carrying out in multimedia processor 330.When the processing of MPEG2 TS demultiplexing is performed, can obtain the FEC table and the MPE table that only constitute by parity information.Use MPE table and FEC to show to carry out the MPE-FEC function.
Radio receiver is provided with the physical channel frequency of tuner 310 in step 341.When slave controller 300 receptions were used to the control data of broadcasting channel frequency is set, RISC 827 detected the control data that receives and also in the PLL 815 of tuner 310 the physical channel frequency is set.Then, RISC 327 is provided with encoding scheme, encoding rate, protection interval etc. in ofdm demodulator 823.When physical frequencies is set up, the broadcast singal of the physical channel frequency that tuner 310 outputs of radio receiver are provided with.
Then, radio receiver 130 is converted to numerical data in step 343 with the output of tuner 310, and carry out OFDM (or Coded Orthogonal Frequency Division Multiplexing (COFDM) (COFDM)) demodulation process to digital data, and filter the data that have the PID of setting in the demodulated data in step 347 in step 345.The PID filter operation will be described.Determine whether to mate the PID (or PID of the broadcasting channel of selecting by the user) of setting from the PID of the TS stream of demodulator 823 outputs.If described two PID are mutually the same, then radio receiver is controlled the operation of tuner 310 and demodulator 320 according to time slicing information after the PID that analyzes input TS stream.Yet, if described two PID differ from one another, radio receiver stop the PID filtration treatment and etc. PID to be matched be transfused to.
Then, the data demultiplexing that radio receiver filters based on PID in step 349 pair, and after the extraction time burst information, time slicing information is sent to pid filter 825 in step 351.After the MPE part/FEC of the data that will receive partly was stored in the buffer, radio receiver determined in step 357 whether all bursty datas are received.When bursty data was not received, radio receiver returned step 343 and repeats aforesaid operations.When all bursty datas have been received, carry out the Read-Solomon decode operation in the data of step 359 pair buffering, and send interrupt signal to multidata processor 120.Then, radio receiver returns step 343 and waits for that next bursty data of the PID that is provided with is received.
To be sent to multidata processor 130 by the IP datagram of in RISC 827, carrying out MPEG2 TS demultiplexing and MPE-FEC processing acquisition, thereby broadcast reproduced as final data.
Then, multimedia processor 330 receives from the IP datagram of demodulator 320 outputs, and IP information is carried out decapsulation and demultiplexing, handles the Voice ﹠ Video data thus.Figure 18 illustrates the structure of multimedia processor 330
With reference to Figure 18, IP decapsulator 400 handles the IP information since the IP datagram of demodulator 320 outputs, and produces service data bag stream and ESG data packet stream.The payload of service data bag stream is sent to demodulation multiplexer 410, and the ESG data packet stream is applied to controller 300.With the payload demultiplexing that is applied to the service data bag stream of demodulation multiplexer 410 is the A/V packet data streams.Processing after the demodulation multiplexer 410 is identical with the program of DVB-T.Under the situation of service data bag stream to the decapsulation of IP information after, as processing audio and video packets in based on the structure of DVB-T and method.
Use description to the program of operand word broadcasting receiver.
At first, use description to receive and handle the program of digital broadcasting.The channel data that controller 300 will be used to receive the broadcast channel signal that is provided with by the user outputs to radio receiver.At this moment, channel data can be the physical channel frequency information of broadcasting of expectation and the program ID (PID) of broadcasting channel.Come the configuration broadcast receiver by tuner 310 and demodulator 320.Tuner 310 is provided with physical channel according to the channel data that is provided with by controller 300, and receives the broadcast singal that is sent to channel correlation.Demodulator 320 demodulation of radio receiver are filtered the PID of restituted signal from the broadcast singal of tuner 310 outputs, and the broadcast channel signal of expectation is applied to multimedia processor 330.At this moment, the IP datagram that is sent to multimedia processor 330 is the broadcast singal that comprises IP information.At this moment, the IP packet has structure as shown in table 7.Here, service (A/V) data packet stream has structure as shown in table 8, and the ESG data packet stream has structure as shown in table 9.
Table 7
Service 1 Service 2 Service 3 Data 1 Data 2 ……
Table 8
The IP head The RTP head Payload The IP head The RTP head Payload ……
Table 9
The IP head The FLUTE head Payload The IP head The FLUTE head Payload ……
The IP datagram that transmits from radio receiver can have the structure shown in table 8 and table 9.The IP head can have structure as shown in table 10.
Table 10
Version IHL COS Total length
Sign Mark Grading excursion
Life span Agreement Verification and
Source address
Destination-address
Option Fill
In table 10, version field (4 bit) is the version of IP form.At present, that use is internet ip protocol edition 4 (IPv4).IPv6 has been proposed as follow-on form, and the use of IPv6 is expanded.The length of the Internet head length degree (IHL) field (4 bit) indication IP head.Size by 20 bytes (that is 32 bit *, 5 row=160 bits) is come configuration of IP head length degree.Four bytes of last column are options.Type of service field (8 bit) is the item that is used to control the priority of the IP datagram that will be sent out, and carries out service quality (QoS) function.Total length field (16 bit) is the item that is used to indicate the size of the IP datagram that will be sent out.The real data (or datagram) of IP back of total length field indication and size.Identification field (16 bit) is the sequence number that is used for discerning during by segmentation when the packet that will be sent out each packet segmentation.Tag field (3 bit) is used to report the information about datagram fragmentation.When packet during by segmentation, the position of grading excursion field (13 bit) the indication current data section of calling the score in original datagram.Life span field (8 bit) is called as TTL, the life time of specific data newspaper.Checksum field (16 bit) is the information that is used to check a mistake.Source address field (32 bit) is the IP address of (transmission) side of sending datagram, and destination address field (32 bit) is the IP address that receives datagram (reception) side.Option Field (variable-size) is used for adding specific function according to programs feature.This field is dispensable, can be used for adding safety function, qos feature or the additional function relevant with being routed to datagram.Filling field (variable-size) is used to be provided with 32 bits size and is set to 0.
When digital broadcast signal was the DVB-H signal, the broadcast singal of reception was the data with IP-based MPEG2 TS structure.Therefore, when the DVB-H broadcast singal was received, multimedia processor 330 removed IP information by IP decapsulator 400, analyzed the header in the MPEG2 TS structure that receives, and by demodulation multiplexer 410 video and voice data demultiplexing was also exported.
Form according to table 7 is imported from the IP datagram of radio receiver output.IP datagram can have the structure shown in table 8 or table 9.Therefore, when the IP datagram with structure as shown in table 7 was transfused to, IP decapsulator 400 was analyzed IP head as shown in table 10, and the agreement of identification IP version and use.Here, IP version can be IP version 6 or IP version 4.Then, when IP version was IP version 6, IP decapsulator 400 was resolved the head and the retrieval protocol of IP version 6.When IP version was IP version 4, IP decapsulator 400 was resolved the head and the retrieval protocol of IP version 4.Here, agreement can be used User Datagram Protoco (UDP) (UDP) and transmission control protocol (TCP)/IP.Therefore, the agreement and the field of IP decapsulator 400 identification IP heads, and calculate payload length.Then, IP decapsulator 400 is extracted the payload data newspaper, removes UDP or TCP/IP head, and extracts TS stream.
At this moment, IP datagram can have the structure shown in table 8 and table 9.Here, service data bag stream as shown in table 8 is the bag stream that comprises video and voice data.ESG data packet stream as shown in table 9 is the bag stream that comprises digital broadcasting information (such as EPG, purchase, multi-medium data etc.).In an embodiment of the present invention, suppose in software, to handle the ESG data packet stream.Therefore, IP decapsulator 400 is sent to controller 300 with the ESG data packet stream.Under the situation of service data bag stream as shown in table 8, the real-time transport protocol (rtp) head is sent to controller 300, and payload part is sent to demodulation multiplexer 410.The payload information that is sent to demodulation multiplexer 410 can be the bag stream with MPEG2 TS structure.
At this moment, demodulation multiplexer 410 has parallel organization as shown in Figure 7.Therefore, can be effectively to by as being used in DVB-H handle the broadcast singal that the digital broadcasting transmitter based on the broadcast singal of IP information receives and carry out demultiplexing.
Therefore, the structure that is used for parallel demultiplexing TS data as the digital broadcasting transmitter that in the DVB-H scheme, is used to handle IP-based broadcast singal.The bag that the digital broadcasting transmitter analysis receives, operation associative processor when being included in processed information in the described bag, and deal with data have reduced the broadcast data processing time thus and have realized higher demultiplexing speed.
Secondly, the digital broadcasting transmitter of DVB-H scheme uses parallel demodulation multiplexer, the data of the buffers packet-sized that will walk abreast in buffer.When data are processed, processor concurrent access buffer, and carry out simultaneously and handle, thereby can obviously reduce the time that is used to transmit data, and can obviously improve demultiplexing speed thus.
Once more, the digital broadcasting transmitter of DVB-H scheme is the byte of analyzing stored when will importing bag and being stored in the buffer, calculated difference when beyond the position of the sync byte that detects at the sync byte of buffer only, the difference that the input byte data is postponed calculating, and realize synchronously, and needn't be in synchronous all bytes of retrieval input bag when detected.
As mentioned above, digital broadcasting transmitter is carried out parallel processing in demodulation multiplexer, analyzes the bag of buffering, and carry out parallel processing in processor, improves demultiplexing speed thus.Because processor access and processing are stored in a bag in the buffer,, also can obviously reduce data transfer time so buffer structure can be simplified.After the bag of demultiplexing time input was cushioned, from the data identification sync byte of buffering, the difference between the sync byte position of sync byte position that cushions and initial setting up was set up, and the input data are delayed, and are hunted down synchronously.Do not need to retrieve all bytes for synchronous detecting.

Claims (32)

1, a kind of equipment at the digital broadcasting transmitter demultiplexing that is used for handling the bag data that are made of packet header and payload comprises:
Buffer is used for buffering input bag data; And
A plurality of parallel processors that are connected to buffer, described a plurality of processors comprise:
Packet header processor is used to check packet header of the bag data of buffering determine whether to comprise adaptive information, and produce control signal according to the existence of adaptive information;
The adaptive information processor is used under the control of packet header processor handling the adaptive information of the payload data of buffering;
PES processor is used under the control of packet header processor handling the PES head of the payload data of buffering; And
Data processor is used under the control of PES processor producing audio ES or video ES from the voice data or the video data of the payload data of buffering, and audio ES or the video ES that produces is outputed to relevant decoder.
2, equipment as claimed in claim 1, wherein, packet header processor is analyzed the adaptive information Control Parameter in packet header, determine whether payload data comprises adaptive information, if comprise adaptive information, then control the adaptive information processor and handle adaptive information,, then control the operation of PES processor if do not comprise adaptive information.
3, equipment as claimed in claim 2, wherein, the adaptive information field that the analysis of adaptive information processor cushions in buffer, analyze the length of adaptive information, when payload data only is made of adaptive information, handle adaptive information so that result is sent to controller, when payload data comprises other data, the position message of the data except that adaptive information that will cushion in buffer is given PES processor, and handles adaptive information so that result is sent to controller.
4, equipment as claimed in claim 3, wherein, PES processor determines whether comprise the PES head in the payload of buffer buffers, when comprising PES, the length of identification PES head is to handle the PES head, and result is sent to controller, and the position message of the data except that the PES head that will cushion in buffer is given data processor.
5, equipment as claimed in claim 4, wherein, the PID that packet header processor is analyzed the PID in packet header and will be used to discern the bag of buffering is sent to data processor, and
Wherein, data processor produces audio ES data or video ES data from the voice data or the video data of the payload data of buffering, and audio ES data or the video ES data that produce are sent to relevant decoder.
6, equipment as claimed in claim 1, wherein, described buffer comprises:
First buffer and second buffer with bag size; And
Address generator, be used for being controlled at and import the operation of exporting the bag data that are stored in second buffer when bag data are stored in first buffer, and when input bag data are stored in second buffer, export the operation that is stored in the bag data in first buffer.
7, device as claimed in claim 1, wherein, described buffer comprises:
The dual-ported memory of size of data;
First address generator is used for input bag storage at memory; And
Second address generator is used for exporting the bag data that are stored in memory.
8, equipment as claimed in claim 1 also comprises:
Synchronizing indicator is used for checking the buffer position of the sync byte in the bag data that buffer cushions, and checks position beyond the sync byte buffer position of buffer to detect difference, and the byte data that will wrap data according to difference postpones, and it is synchronous that bag is set.
9, equipment as claimed in claim 8, wherein, described synchronizing indicator comprises:
The sync id unit, whether the byte data that is used for determining being stored in buffer is sync byte;
The difference extractor is used for when the sync id unit detects sync byte, and identification is stored in the buffer position of the sync byte in the buffer, and the difference between the buffer position of the sync byte of the sync byte buffer position that is provided with in buffer of calculating and storage; And
Delay cell is used for will import according to the difference of calculating and wraps data delay, and in buffer the data of buffer delay.
10, equipment as claimed in claim 9, wherein, the sync byte buffer position that is provided with in buffer is the first byte buffer position of buffer.
11, a kind of equipment that receives broadcast data in having the wireless terminal of digital broadcasting transmitter comprises:
Radio receiver is used to receive the also signal of the broadcasting channel of demodulation setting, and the output packet data flow;
Multimedia processor is used for the analysis package data flow and produces the video data and the voice data of decoding;
Display unit is used to show the video data of decoding; And
Loud speaker is used to reproduce the voice data of decoding,
Wherein, multimedia processor comprises:
Demodulation multiplexer, it comprises buffer and the parallel processor that is connected to buffer that is used for the buffers packet data flow, the bag data of described processor parallel processing buffering are also carried out demultiplexing;
Video Decoder is used for the video ES data decode to demultiplexing; And
Audio decoder is used for the audio ES data decode to demultiplexing.
12, equipment as claimed in claim 11, wherein, radio receiver receives also demodulation at the broadcast channel signal of the frequency that is provided with, and checks the PID of the bag stream of demodulation, the bag data of filtering the broadcasting channel of setting, and produce IP datagram, and,
Wherein, multimedia processor also comprises:
The IP decapsulator is used for the IP information decapsulation to IP datagram, and the decapsulation result is outputed to demodulation multiplexer.
13, equipment as claimed in claim 12, wherein, demodulation multiplexer comprises:
Buffer is used for buffering input bag data;
Packet header processor is used to check packet header of the bag data of buffering determine whether to comprise adaptive information, and produce control signal according to the existence of adaptive information;
The adaptive information processor is used under the control of packet header processor handling the adaptive information of the payload data of buffering;
PES processor is used under the control of packet header processor handling the PES head of the payload data of buffering; And
Data processor is used under the control of PES processor producing audio ES or video ES from the voice data or the video data of the payload data of buffering, and audio ES or the video ES that produces is outputed to relevant decoder.
14, equipment as claimed in claim 13 also comprises:
Synchronizing indicator is used for checking the buffer position of the sync byte in the bag data that buffer cushions, and checks position beyond the sync byte buffer position of buffer to detect difference, and the byte data that will wrap data according to difference postpones, and it is synchronous that bag is set.
15, equipment as claimed in claim 14, wherein, described synchronizing indicator comprises:
The sync id unit, whether the byte data that is used for determining being stored in buffer is sync byte;
The difference extractor is used for when the sync id unit detects sync byte, and identification is stored in the buffer position of the sync byte in the buffer, and the difference between the buffer position of the sync byte of the sync byte buffer position that is provided with in buffer of calculating and storage; And
Delay cell is used for will import according to the difference of calculating and wraps data delay, and in buffer the data of buffer delay.
16, equipment as claimed in claim 15, wherein, the sync byte buffer position that is provided with in buffer is the first byte buffer position of buffer.
17, equipment as claimed in claim 14, wherein, packet header processor is analyzed the adaptive information Control Parameter in packet header, determine whether payload data comprises adaptive information, if comprise adaptive information, then control the adaptive information processor and handle adaptive information,, then control the operation of PES processor if do not comprise adaptive information.
18, equipment as claimed in claim 17, wherein, the adaptive information field that the analysis of adaptive information processor cushions in buffer, analyze the length of adaptive information, when payload data only is made of adaptive information, handle adaptive information so that result is sent to controller, when payload data comprises other data, the position message of the data except that adaptive information that will cushion in buffer is given PES processor, and handles adaptive information so that result is sent to controller.
19, equipment as claimed in claim 18, wherein, PES processor determines whether comprise the PES head in the payload of buffer buffers, when comprising PES, the length of identification PES head is to handle the PES head, and result is sent to controller, and the position message of the data except that the PES head that will cushion in buffer is given data processor.
20, equipment as claimed in claim 19, wherein, the PID that packet header processor is analyzed the PID in packet header and will be used to discern the bag of buffering is sent to data processor, and
Wherein, data processor produces audio ES data or video ES data from the voice data or the video data of the payload data of buffering, and audio ES data or the video ES data that produce are sent to relevant decoder.
21, a kind of in digital broadcasting transmitter to the method for the bag data demultiplexing that constitutes by packet header and payload, may further comprise the steps:
Buffering input bag data;
Check the packet header of buffering and determine whether payload is adaptive information;
If payload is an adaptive information, then handle the adaptive information of buffering;
If payload is not an adaptive information, then check payload, determine whether comprise the PES head in the payload, if comprise the PES head, then check the size that is included in the PES head in the payload, determine whether to comprise audio/video data, if comprise audio/video data, the buffer position of audio/video data then is set, and handles the PES head; And
After handling the PES head or under the PES head is not included in situation in the payload of bag data, handle the audio/video data of payload, produce audio/video ES, the audio/video ES of generation is sent to relevant decoder.
22, method as claimed in claim 21 also comprises step:
Synchronous detecting is used for checking the buffer position at the sync byte of the bag data of buffering, checks position beyond the sync byte buffer position to detect difference, and the byte data that will wrap data according to difference postpones, and it is synchronous that bag is set.
23, method as claimed in claim 22, wherein, described synchronous detecting step may further comprise the steps:
Whether the byte data of determining to be stored in the buffer is sync byte;
When detecting sync byte, identification is stored in the buffer position of the sync byte in the buffer, and calculates the difference between the buffer position of sync byte of the sync byte buffer position that is provided with in buffer and storage; And
To import according to the difference of calculating and to wrap data delay, and in buffer the data of buffer delay.
24, method as claimed in claim 23, wherein, the sync byte buffer position that is provided with in buffer is to be used to cushion the first first byte buffer position of wrapping the buffer of data.
25, method as claimed in claim 22, wherein, the step of handling packet header may further comprise the steps:
Whether the PID that determines packet header is target P ID, and time storage is used to discerns the information of the type of input bag and if only if the PID in packet header is target P ID;
Analyze the adaptive information Control Parameter in packet header,, then send the order that is used for adaptive information processing operation, and transmit and to handle the buffer position information of the adaptive information of handling in the operation at adaptive information if the bag of buffering comprises adaptive information; And
If buffering comprise adaptive information, then send and be used for the order that the PES head is handled operation, and transmit and will handle the buffer position information of the PES head of handling in the operation at the PES head.
26, method as claimed in claim 25, wherein, the step of handling adaptive information may further comprise the steps:
When receiving operational order, adaptive information that visit cushions in buffer and the length of analyzing adaptive information;
When in analytical procedure, when described bag only is made of adaptive information, handle adaptive information so that result is sent to controller; And
When described bag comprised PES, the buffer position information of transfer operation order and PES head was handled adaptive information, and result is sent to controller.
27, method as claimed in claim 26, wherein, the step of handling the PES head may further comprise the steps:
When receiving operational order, the PES head that visit cushions in buffer, and the length of analysis PES head;
When in analytical procedure, when described bag only is made of the PES head, handle the PES head so that result is sent to controller; And
When in analytical procedure, when the bag of buffering comprises real data, transmission is used for the operational order of data processor and the buffer position information of real data, transmission is used for the positional information of the real data of the order of data processing operation and buffering, handle the PES head, and result is sent to controller.
28, method as claimed in claim 27, wherein, the step of deal with data may further comprise the steps:
When receiving operational order, discern the type of bag according to the PID of storage; And
The real data of access buffer produces video ES or audio ES according to the PID that discerns from real data, and video ES or audio ES are demultiplexed into relevant decoder.
29, a kind of method of handling broadcast data in having the wireless terminal of digital broadcasting transmitter may further comprise the steps:
Execution is used to receive and the signal of the broadcasting channel that demodulation is provided with and the broadcast data reception operation of output packet data flow;
Execution is used for the analysis package data flow, and produces the multi-medium data processing operation of the video data and the voice data of decoding; And
Reproduce the video data and the voice data of decoding,
Wherein, the step of execution multimedia processing operation may further comprise the steps:
The buffers packet data flow, the payload of the bag data of inspection packet header and buffering, the bag data of parallel processing buffering, and the execution demultiplexing is the operation of video ES data and audio ES data; And
Video ES data and audio ES data decode to demultiplexing.
30, method as claimed in claim 28, wherein, the step of described reception broadcast data may further comprise the steps:
Receive also demodulation at the broadcast channel signal of the frequency that is provided with, check the PID of the bag stream of demodulation, the bag data of filtering the broadcasting channel of setting, and produce IP datagram,
Wherein, the step of processing multi-medium data is further comprising the steps of:
To the IP information decapsulation of IP datagram, and,
Wherein, from the packet data streams of the IP information of decapsulation by demultiplexing.
31, method as claimed in claim 29, wherein, the demultiplexing step may further comprise the steps:
Buffering input bag data;
Check the packet header of buffering and determine whether payload is adaptive information;
If payload is an adaptive information, then handle the adaptive information of buffering;
If payload is not an adaptive information, then check payload, determine whether comprise the PES head in the payload, if comprise the PES head, then check the size that is included in the PES head in the payload, determine whether to comprise audio/video data, if comprise audio/video data, the buffer position of audio/video data then is set, and handles the PES head; And
After handling the PES head or under the PES head is not included in situation in the payload of bag data, handle the audio/video data of payload, produce audio/video ES, the audio/video ES of generation is sent to relevant decoder.
32, method as claimed in claim 30, further comprising the steps of:
Synchronous detecting is used for checking the buffer position at the sync byte of the bag data of buffering, checks position beyond the sync byte buffer position to detect difference, and the byte data that will wrap data according to difference postpones, and it is synchronous that bag is set.
CN200580042848XA 2004-12-14 2005-12-14 Apparatus and method for demultiplexing in a digital broadcasting receiver Expired - Fee Related CN101080925B (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
KR1020040105877 2004-12-14
KR20040105877 2004-12-14
KR10-2004-0105877 2004-12-14
KR10-2005-0122479 2005-12-13
KR1020050122479A KR100755434B1 (en) 2004-12-14 2005-12-13 Device and method for demultiplexing received transport stream in digital broadcasting receiver
KR1020050122479 2005-12-13
PCT/KR2005/004297 WO2006065071A1 (en) 2004-12-14 2005-12-14 Apparatus and method for demultiplexing in a digital broadcasting receiver

Publications (2)

Publication Number Publication Date
CN101080925A true CN101080925A (en) 2007-11-28
CN101080925B CN101080925B (en) 2010-08-18

Family

ID=37162321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200580042848XA Expired - Fee Related CN101080925B (en) 2004-12-14 2005-12-14 Apparatus and method for demultiplexing in a digital broadcasting receiver

Country Status (2)

Country Link
KR (1) KR100755434B1 (en)
CN (1) CN101080925B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309425B (en) * 2008-07-07 2010-06-09 中兴通讯股份有限公司 Deplexing method, apparatus and system
CN101207460B (en) * 2007-12-14 2011-02-02 北京创毅视讯科技有限公司 Method and terminal for receiving data in broadcasting system
CN101646075B (en) * 2008-08-06 2011-07-13 中兴通讯股份有限公司 Device and method for adjusting code rate of multimedia code stream
CN111263197A (en) * 2015-01-09 2020-06-09 三星电子株式会社 Transmitting apparatus and signal processing method thereof
CN114143585A (en) * 2021-11-02 2022-03-04 深圳Tcl新技术有限公司 Data processing method and device, storage medium and terminal equipment
US11700200B2 (en) 2015-01-09 2023-07-11 Samsung Electronics Co., Ltd. Transmitting apparatus and signal processing method using removal of transport steam packet header

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101272409B1 (en) * 2006-12-22 2013-06-07 삼성전자주식회사 Method and apparatus for generating frame in dvb-h
US20210092069A1 (en) * 2020-12-10 2021-03-25 Intel Corporation Accelerating multi-node performance of machine learning workloads

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3234573B2 (en) * 1998-08-31 2001-12-04 松下電器産業株式会社 Packet filtering device
CN1110205C (en) * 1998-12-15 2003-05-28 国家科学技术委员会高技术研究发展中心 Digital signal source decoder of parallel decoding
JP2001339721A (en) * 2000-05-26 2001-12-07 Matsushita Electric Ind Co Ltd Circuit and device for processing motion video multiply encoding signal
JP3832263B2 (en) * 2001-03-12 2006-10-11 松下電器産業株式会社 Video data communication apparatus and video data communication system
WO2003084161A1 (en) * 2002-03-29 2003-10-09 Fujitsu Limited Driver driving method, driver circuit, transmission method using driver, and control circuit
JP3808394B2 (en) * 2002-04-02 2006-08-09 松下電器産業株式会社 STREAM DATA PROCESSING DEVICE, STREAM DATA PROCESSING METHOD, PROGRAM, AND MEDIUM

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207460B (en) * 2007-12-14 2011-02-02 北京创毅视讯科技有限公司 Method and terminal for receiving data in broadcasting system
CN101309425B (en) * 2008-07-07 2010-06-09 中兴通讯股份有限公司 Deplexing method, apparatus and system
CN101646075B (en) * 2008-08-06 2011-07-13 中兴通讯股份有限公司 Device and method for adjusting code rate of multimedia code stream
CN111263197A (en) * 2015-01-09 2020-06-09 三星电子株式会社 Transmitting apparatus and signal processing method thereof
CN111263197B (en) * 2015-01-09 2021-11-23 三星电子株式会社 Transmitting apparatus and signal processing method thereof
US11700200B2 (en) 2015-01-09 2023-07-11 Samsung Electronics Co., Ltd. Transmitting apparatus and signal processing method using removal of transport steam packet header
CN114143585A (en) * 2021-11-02 2022-03-04 深圳Tcl新技术有限公司 Data processing method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
KR100755434B1 (en) 2007-09-04
CN101080925B (en) 2010-08-18
KR20060067848A (en) 2006-06-20

Similar Documents

Publication Publication Date Title
US11019118B2 (en) Transmission method, reception method, transmission apparatus, and reception apparatus
US8199781B2 (en) Device and method for demultiplexing received transport stream in digital broadcasting receiver
CN101080925A (en) Apparatus and method for demultiplexing in a digital broadcasting receiver
CN1212737C (en) Generation of program clock reference data for MPEG transport streams
US10361801B2 (en) Transmission method, transmission apparatus and system
JP6302274B2 (en) Transmitting apparatus and receiving apparatus
CN1799211A (en) Burst transmission
CN1788491A (en) Method for signalling time-slicing parameters in the service information
EP2536044B1 (en) Method and apparatus for transmitting and receiving signaling information for reception of broadcast services in a digital broadcasting system
CN1976448A (en) Method and system for audio and video transport
KR20070075549A (en) Digital broadcasting system and processing method
CN1949880A (en) Device and method for synchronizing data in digital television receiver
US7983256B2 (en) Broadcast-content transmitting apparatus, broadcast-content receiving apparatus, broadcast-content transmitting method, broadcast-content receiving method, and program
CN1386342A (en) Digital broadcasting system
CN101179736B (en) Method for converting transmission stream program to China mobile multimedia broadcasting program
CN1710963A (en) Data synchronization method and apparatus for digital multimedia data receiver
CN1675931A (en) Domestic multimedia transmission method and system
CN100479529C (en) Conversion method of multiplexing protocols in broadcast network
US7526427B2 (en) System and method for reception, processing and transmission of digital audio stream
CN101151902A (en) Device and method for initializing decoder in digital broadcasting receiver
US7808561B2 (en) Apparatus and method for transforming a digital TV broadcasting signal to a digital radio broadcasting signal
US9100672B2 (en) Data transmitting device and data transmitting and receiving system
CN101179738B (en) Conversion method from transmission stream to China mobile multimedia broadcasting multiplex protocol
US7680145B2 (en) Retransmission apparatus using packet method for DMB service
KR101213453B1 (en) Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal

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

Termination date: 20141214

EXPY Termination of patent right or utility model