KR100189351B1 - Circuit for updating information table in mpeg2 decoder - Google Patents

Circuit for updating information table in mpeg2 decoder Download PDF

Info

Publication number
KR100189351B1
KR100189351B1 KR1019950005331A KR19950005331A KR100189351B1 KR 100189351 B1 KR100189351 B1 KR 100189351B1 KR 1019950005331 A KR1019950005331 A KR 1019950005331A KR 19950005331 A KR19950005331 A KR 19950005331A KR 100189351 B1 KR100189351 B1 KR 100189351B1
Authority
KR
South Korea
Prior art keywords
version number
storage unit
information
input
information table
Prior art date
Application number
KR1019950005331A
Other languages
Korean (ko)
Other versions
KR960036765A (en
Inventor
박용준
Original Assignee
전주범
대우전자주식회사
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 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019950005331A priority Critical patent/KR100189351B1/en
Publication of KR960036765A publication Critical patent/KR960036765A/en
Application granted granted Critical
Publication of KR100189351B1 publication Critical patent/KR100189351B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • H04N21/8402Generation or processing of descriptive data, e.g. content descriptors involving a version number, e.g. version number of EPG data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 MPEG2-시스템부에서 다중화되어 전송되는 TS패킷을 송신받아 프로그램을 분리하여 각 디코더부에서 복호하는 데 필요한 각종 정보테이블(PAT 및 PMT)을 최신정보로 갱신하여 저장하는 MPEG2 디코더에서 정보테이블의 갱신처리회로에 관한 것으로, 제1, 2버젼번호저장부(40, 42)를 구비하여 항상 최신버젼정보를 저장한 버젼번호처리부(44) 로부터 출력된 소정의 제어신호에 따라 기록제어부(50)는 최신 각종 정보테이블을 제1, 2저장부(46, 48)에 각각 갱신 저장하여 각 디코더부에서 복호하는 데 이용하도록 해주게 된 것이다.The present invention provides an information table in an MPEG2 decoder which stores various information tables (PAT and PMT) necessary for decoding a program by receiving TS packets transmitted by being multiplexed by the MPEG2-system unit and decoding them in each decoder unit. The update control circuit of the present invention relates to a recording control unit (50) in accordance with a predetermined control signal output from a version number processing unit (44) having first and second version number storage units (40, 42) and always storing the latest version information. ) Is to update and store the latest various information tables in the first and second storage units 46 and 48 so as to use them for decoding in each decoder unit.

Description

MPEG2 디코더에 정보테이블의 갱신처리회로Update processing circuit of information table in MPEG2 decoder

제1도는 MPEG2의 인코더 모델을 도시한 블럭구성도,1 is a block diagram showing an encoder model of MPEG2;

제2도는 MPEG2의 디코더 모델을 도시한 블럭구성도,2 is a block diagram showing a decoder model of MPEG2;

제3도는 본 발명에 따른 MPEG2 디코더에서 정보테이블의 갱신처리회로 전체 구성을 도시한 블럭도,3 is a block diagram showing the overall configuration of the update processing circuit of the information table in the MPEG2 decoder according to the present invention;

제4도는 본 발명에 따른 MPEG2 디코더에서 정보테이블의 갱신처리회로의 동작을 설명한 순서도이다.4 is a flowchart for explaining the operation of the update processing circuit of the information table in the MPEG2 decoder according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 비디오인코더 12 : 패킷화기10: video encoder 12: packetizer

14 : 오디오인코더 16 : 패킷화기14: audio encoder 16: packetizer

18 : 시스템클럭 20 : TS멀티플렉서18: system clock 20: TS multiplexer

22 : TS변환부 24 : TS디멀티플렉서22: TS converter 24: TS demultiplexer

26 : 비디오버퍼 28 : 오디오버퍼26: video buffer 28: audio buffer

30 : 시스템클럭 32 : 비디오역패킷화기30: system clock 32: video reverse packetizer

34 : 오디오역패킷화기 36 : 비디오디코더34: reverse audio packetizer 36: video decoder

38 : 오디오리코더 40 : 제1버젼번호저장부38: audio recorder 40: the first version number storage unit

42 : 제2버젼번호저장부 44 : 버젼번호처리부42: second version number storage unit 44: version number processing unit

46 : 제1정보표저장부 48 : 제2정보표저장부46: first information table storage unit 48: second information table storage unit

50 : 기록제어부50: recording control unit

본 발명은 MPEG2-시스템부에서 다중화되어 전송되는 TS패킷(transport packet)을 송신받아 소정 프로그램을 분리하여 각 디코더부에서 복호하는 데 필요한 각종 정보테이블(PAT 및 PMT)을 저장하고, 이 저장된 정보테이블을 주기적으로 전송받는 최신 정보테이블로 갱신하여 주게 된 MPEG2 디코더에서 정보테이블의 갱신처리회로에 관한 것이다.The present invention stores various information tables (PAT and PMT) necessary for receiving TS packets (multiplexed and transmitted) transmitted by the MPEG2-system unit, separating predetermined programs, and decoding them in each decoder unit. The present invention relates to an update table of an information table in an MPEG2 decoder which is updated periodically with a latest information table which is periodically transmitted.

디지털 동영상은 표현정보량의 방대함으로 인해 저장과 전송시 엄청난 기억공간과 대역폭이 요구되는 바. 이를 왜곡없이 효과적으로 저장 및 전송하기 위해서는 영상압축기술이 필수적이고, 또한 이를 서로 다른 응용분야에 이용하기 위해서는 표준화되어야 할 것이 요구되어, 국제표준화기구인 ISO(International Organization for Standardization) 산하 WG(Working Group)인 MPEG(Moving Pictures Export Group)은 1988년부터 비디오와 오디오 관련 표준개발을 시작하였다.Digital video requires tremendous amount of storage space and bandwidth for storage and transmission due to the large amount of expression information. In order to effectively store and transmit it without distortion, image compression technology is essential, and in order to use it for different applications, it is required to be standardized. WG (Working Group) under the International Organization for Standardization (ISO) Moving Pictures Export Group (MPEG) began developing video and audio standards in 1988.

여기서 제시된 MPEG 표준방식안은 비디오신호압축알고리즘을 규정하는 MPEG-비디오, 디지털 오디오신호를 압축알고리즘을 규정하는 MPEG-오디오 및 부호화된 오디오 및 비디오 스트림을 하나의 데이타스트림으로의 결합을 규정하는 MPEG-시스템 세부분으로 구성되어, 응용코덱의 데이타율에 따라서 MPEG1, MPEG2로 일반적으로 구분되는 데, MPEG1은 비디오 및 관련 오디오를 약 1.5Mbps로 압축시킬 수 있는 알고리즘을 표준화하여, 이들 부호화된 오디오 및 비디오 스트림들을 하나의 데이타스트림으로 결합하는 것으로 규정하고 있는 바, 이 규격은 많은 디지털 저장매체 및 통신채널들에 많은 응용분야를 갖고 있으나 특히 높은 저장능력 및 저가격의 특성을 갖고 있는 CD-ROM을 이용하는 상업 및 가전제품들에서 이미 이용되고 있다.The MPEG standard proposed here is MPEG-Video, which defines a video signal compression algorithm, MPEG-Audio, which specifies a digital audio signal compression algorithm, and MPEG-system, which specifies the combination of encoded audio and video streams into one data stream. It is composed of subdivisions, and generally divided into MPEG1 and MPEG2 according to the data rate of the application codec. MPEG1 standardizes an algorithm capable of compressing video and related audio at about 1.5 Mbps, thereby encoding these encoded audio and video streams. The standard has many applications in many digital storage media and communication channels, but especially commercial and commercial CD-ROMs with high storage capacity and low cost. It is already used in home appliances.

또한, MPEG2는 비디오 및 관련 오디오신호를 약 15Mbps급으로 압축시킬 수 있는 알고리즘을 표준화하는 것으로, MPEG2-비디오는 시간중복성 (temporal redundancy)을 줄이기 위해서 블럭단위의 움직임 추정 및 보상을 이용하고, 공간중복성(spatial redundancy)을 줄이기 위해서는 변환(DCT, discrete cosine transform) 압축기법을 이용하며, 통계적 중복성(statistical redundancy)은 2차원 허프만코딩과 같은 엔트로피 부호화를 이용하여 제거하는 한편, 시각적인 중복성(perceptual redundancy)은 적응양자화과정에서 제거하도록 하여 15Mbps에서 최적화되는 압축알고리즘을 규정하고 있다.In addition, MPEG2 standardizes an algorithm that can compress video and related audio signals to about 15Mbps. MPEG2-video uses block-based motion estimation and compensation to reduce temporal redundancy. In order to reduce spatial redundancy, discrete cosine transform (DCT) compression is used. Statistical redundancy is eliminated using entropy coding such as two-dimensional Huffman coding, while visual redundancy is eliminated. Specifies a compression algorithm that is optimized at 15Mbps by eliminating it in the adaptive quantization process.

그리고 MPEG2-오디오는 MPEG1-오디오가 최대 12채널(좌, 우)의 오디오 신호만을 부호화대상으로 하는 반면, 2채널 이상의 멀티채널 오디오신호를 효과적으로 부호화하는 것을 대상으로 하여 보다 충실한 현장감을 재생할 수 있도록 된 압축알고리즘을 규정하고 있다.In addition, MPEG2-Audio can only encode audio signals of up to 12 channels (left and right), whereas MPEG1-Audio can effectively encode multichannel audio signals of two or more channels, enabling more realistic reproduction of realism. The compression algorithm is specified.

MPEG2-시스템은 비디오, 오디오 및 부가데이타를 다중화하여 하나의 비트 스트림으로 출력하는 것으로 목표로 하여, 한 개의 비트스트림에 여러개의 프로그램 채널을 다중화시킬 수 있게 하고, 이를 위해 다중화의 단위가 되는 패킷화된 기본스트림(PES, Packetized Elementary Stream)과 전송의 단위가 되는 TS패킷(Transport Packet)의 2계층 패킷구조를 채택하고 있으며, 또한 전체 다중화 구조를 제어하고 시스템정보를 관리하는 제어채널이 별도로 존재하게 된다.The MPEG2-system aims at multiplexing video, audio and additional data and outputting them as one bit stream, which allows multiple program channels to be multiplexed in one bit stream. Layer 2 packet structure of the basic elementary stream (PES) and TS packet (Transport Packet), which is a unit of transmission, and a separate control channel for controlling the entire multiplexing structure and managing system information do.

제1도는 MPEG2-시스템의 인코더 모델을 도시한 것으로, 비디오 인코더(10)에 의해 압축부호화된 비디오의 기본 데이타스트림(ES, Elementary Stream)은 패킷화기(12)에서 비디오 PES패킷으로 되고, 오디오 데이타도 마찬가지로 오디오 인코더(12)에 의해 압축부호화가된 기본 데이타스트림(ES)이 패킷화기(16)에서 PES패킷으로 되어지되, 상기 패킷화기(12, 16)은 27MHz(허용주파수 드리프트오차 : +-0.005%)의 주파수를 사용하는 시스템클럭(STC, system timing clock, 18)의 타이밍 정보에 의해 패킷동기가 되는 한편, 상기 각 PES패킷들은 부가데이타들과 함께 TS멀티플렉서(20)에서 하나의 TS패킷으로 묶여지게 되는 데, 이때 다른 프로그램의 TS패킷도 함께 하나의 TS패킷으로 묶여지게 되는 데, 이때 다른 프로그램의 TS패킷도 함께 하나의 TS패킷으로 묶여져 다중화 되어지게 된다.FIG. 1 shows an encoder model of the MPEG2-system, in which an elementary stream (ES) of video compressed and encoded by the video encoder 10 becomes a video PES packet in the packetizer 12, and audio data Similarly, the basic data stream ES coded by the audio encoder 12 becomes a PES packet in the packetizer 16. The packetizers 12 and 16 are 27 MHz (permissible frequency drift error: +- While the packet is synchronized by timing information of a system clock (STC, system timing clock, 18) using a frequency of 0.005%), each PES packet is one TS packet in the TS multiplexer 20 together with additional data. In this case, TS packets of other programs are also bundled together into one TS packet. At this time, TS packets of other programs are bundled together into one TS packet and multiplexed.

여기서 TS패킷은 4바이트의 헤더와 184바이트의 유료부하로 이루어진 총 188바이트의 길이를 가지게 되며, 상기 4바이트의 헤더에는 13비트의 PID(Packet IDentifier)가 포함되어 있고, 이 PID는 하나의 기본스트림과 연관되어 있어, 하나의 TS패킷에는 2종류이상의 PES패킷이 실릴 수 없게 되며, 또한 이들 TS패킷의 PID와 PES패킷과의 관련을 알려주는 정보를 포함하는 PSI(Program Specific Information)는 주기적으로 TS패킷에 실어 전송하게 되어 있다.In this case, the TS packet has a total length of 188 bytes consisting of a 4-byte header and a payload of 184 bytes, and the 4-byte header includes a 13-bit PID (Packet IDentifier). Associated with the stream, one TS packet cannot contain more than two types of PES packets, and PSI (Program Specific Information) including information indicating the association between the PIDs of these TS packets and the PES packets is periodically It is loaded on TS packet.

여기서 PSI는 다중화된 각 프로그램들의 PID 정보를 포함하는 PAT(Program Association Table), 소정 프로그램의 비디오, 오디오 및 부가데이타에 해당되는 PID정보를 포함하는 PMT(Program Map Table), 네트워크 정보를 포함하는 NIT(Network Information Table) 및 CAT(Conditional Access Table)로 구성되는 데, 이중에서도 특히 PAT와 PMT는 다중채널 프로그램에 있어서, 소정 프로그램을 분리하기 위한 PID정보를 포함하고 있어 아래에서 설명될 MPEG2-시스템의 디코더에서 중요한 역할을 하게 되므로, 주기적으로 전송되는 PAT와 PMT에 따른 최신정보로 갱신하여 주는 것이 중요하다.The PSI includes a program association table (PAT) including PID information of each of the multiplexed programs, a program map table (PMT) including PID information corresponding to video, audio, and additional data of a predetermined program, and a NIT including network information. It consists of Network Information Table (CAT) and Conditional Access Table (CAT), among which PAT and PMT contain PID information for separating predetermined programs in multichannel programs. Since it plays an important role in the decoder, it is important to update the latest information according to the PAT and PMT transmitted periodically.

제2도는 MPEG2-시스템의 디코더 모델을 도시한 것으로, TS변환부(22)는 다수의 프로그램을 포함하는 TS패킷을 전송받아 소정의 단일 프로그램만을 포함하는 TS패킷을 분리하기 위해 입력되는 TS패킷의 헤더를 읽어서 PID가 현재의 프로그램 채널을 구성하는 TS패킷만을 출력하게 되고, 출력된 TS패킷은 TS디멀티플렉서(24)에서 각각의 PES패킷 즉, 비디오 PES패킷과 오디오 PES패킷이 추출되어 각 해당 버퍼(26)(28)에 저장되게 되는 데, 이때 상기 TS디멀티플렉서(24)로부터 추출된 PCR이 시스템클럭부(30)의 STC를 보정하므로써 인코더의 STC와 동기를 유지하게 된다.FIG. 2 illustrates a decoder model of the MPEG2-system. The TS converter 22 receives TS packets including a plurality of programs and receives TS packets including a single program to separate TS packets including only a single program. By reading the header, PID outputs only TS packets that make up the current program channel, and the output TS packets are extracted from respective PES packets, that is, video PES packets and audio PES packets, by the TS demultiplexer 24, and the corresponding buffers ( 26) and 28, wherein the PCR extracted from the TS demultiplexer 24 maintains synchronization with the STC of the encoder by correcting the STC of the system clock unit 30.

한편, 상기 각 버퍼(26, 28)에 입력된 PES는 역패킷화기(32)(34)를 거쳐 각 해당 디코더부(36, 38)에서 복호되게 되는 데, 이때 시스템클럭부(30)의 타이밍정보에 의해 비디오신호와 오디오신호가 동기되어지도록 된다.On the other hand, the PES input to each of the buffers 26 and 28 is decoded by the corresponding decoder units 36 and 38 via the depacketizers 32 and 34, wherein the timing of the system clock unit 30 is determined. The video signal and the audio signal are synchronized by the information.

상기 MPEG2 디코더모델에서 다수의 프로그램을 포함하는 TS패킷을 전송받아 소정의 단일 프로그램만을 포함하는 TS패킷을 분리하기 위해서는 해당 프로그램의 PID를 먼저 알고, TS패킷의 헤더를 읽어서 상기 PID와 일치되는 PID를 구비한 TS패킷만을 분리하여야 하는 바, 모든 PID정보는 주기적으로 전송되는 PAT와 PMT에 실려보내지게 되고, 상기 PAT는 항상 PID=0인 TS패킷에 사상되어, 프로그램의 번호와 그 프로그램을 전송하는 TS패킷의 PID(PMT-PID)의 관계를 알려주는 Program-map-PID정보를 전달하게 된다.In order to separate a TS packet including a predetermined single program by receiving a TS packet including a plurality of programs in the MPEG2 decoder model, the PID of the corresponding program is first known, and the PID corresponding to the PID is read by reading the header of the TS packet. It is necessary to separate only the provided TS packets, and all PID information is carried on the PAT and PMT which are periodically transmitted, and the PAT is mapped to the TS packet whose PID is always PID = 0 to transmit the program number and the program. Program-map-PID information indicating the relationship between PID (PMT-PID) of TS packet is delivered.

상기 PAT에서 얻어진 Program-map-PID로부터 얻어진 PID값으로 전송된 TS패킷중에 일치되는 PID값을 선택하여 얻어진 PMT는 프로그램번호와 해당 프로그램을 구성하는 기본 데이타스트림간의 사상(寫像)을 제공한다.The PMT obtained by selecting a matching PID value among TS packets transmitted from the PID value obtained from the Program-map-PID obtained from the PAT provides a mapping between the program number and the basic data stream constituting the program.

상기 PAT와 PMT에는 5비트의 버젼번호 필드와 1비트의 current-next-indicator필드가 구비되어 있는 바, 상기 버젼번호 필드는 PSI에 대한 정보를 기술하는 TS패킷의 특성들이 변경될 때 즉, 특별프로그램이 부가되거나 소정 프로그램에 대한 기본스트림의 구성이 변경되었을 때, 새로운 PSI데이타가 갱신된 정보를 보내주므로써 current로 표시되는 섹션의 가장 최근 전송된 버젼이 항상 유효한 것임을 표시해주기 위한 것이다.The PAT and PMT are provided with a 5-bit version number field and a 1-bit current-next-indicator field. The version number field is special when a characteristic of a TS packet describing information about the PSI is changed. When a program is added or when the configuration of an elementary stream for a given program is changed, new PSI data sends updated information to indicate that the most recently transmitted version of the section indicated by current is always valid.

디코더는 가장 최근 수신된 섹션이 이미 처리 또는 저장된 섹션과 일치하는 지 여부를 확인하여, 일치하게 되는 경우 수신된 섹션은 포기하게 되고, 만약 일치하지 않는 경우 구성이 변경된 것이므로 정보 테이블을 갱신하여야 하는 것이다.The decoder checks whether the most recently received section matches an already processed or stored section, and if it does match, the received section is abandoned and if it does not match, the configuration table has changed and the information table needs to be updated. .

또한, current-next-indicator는 비트스트림의 어느 시점에서 PSI가 유효한 가를 알려주는 중요한 필드로서, 각 섹션이 현재 유효한 것인가 또는 다음유효한 것인가를 수치화하여 알려주는 것인 바, 정보를 변경하기 전에 그 정보를 미리 전송할 수 있게 해주는 것으로서 디코더가 이를 미리 수신하여 상기 정보변경에 대한 준비를 할 수 있게 해주는 것이다.Also, the current-next-indicator is an important field that indicates when the PSI is valid at a point in the bitstream. The current-next-indicator digitizes whether each section is currently valid or next valid. This allows the decoder to transmit in advance so that the decoder can receive this in advance and prepare for the information change.

본 발명은 MPEG2-시스템부에서 다중화되어 전송되는 TS패킷(transport packet)을 송신받아 소정 프로그램을 분리하여 각 디코더부에서 복호하는 데 필요한 각종 정보테이블(PAT 및 PMT)을 저장하고, 이 저장된 정보테이블을 주기적으로 전송받는 최신 정보테이블로 갱신하여 주게 된 MPEG2 디코더에서 정보테이블의 갱신처리회로를 제공하는 데 그 목적이 있다.The present invention stores various information tables (PAT and PMT) necessary for receiving TS packets (multiplexed and transmitted) transmitted by the MPEG2-system unit, separating predetermined programs, and decoding them in each decoder unit. It is an object of the present invention to provide an update table for processing an information table in an MPEG2 decoder, which is updated with a latest information table which is periodically transmitted.

상기와 같은 목적을 달성하기 위한 본 발명의 MPEG2 디코더에서 정보테이블의 갱신처리회로는, 외부로부터 입력된 버젼번호를 제1버젼번호저장부에 저장된 데이타와 비교하여 입력된 버젼번호가 큰 경우에는 제2버젼번호저장부에 저장하고 그에 따른 제어신호를 출력하는 한편 current-next-indicator신호가 입력되면 상기 제2버젼번호저장부에 저장된 데이타를 상기 제1버젼번호저장부로 이동시키게 된 버젼번호처리부와; 외부로부터 입력된 정보테이블을 상기 버젼번호처리부의 제어신호에의해 제1저장부 또는 제2저장부에 저장하는 한편 current-next-indicator신호가 입력되면 상기 제2저장부에 저장된 데이타를 상기 제1저장부로 이동시키게 된 기록제어부로 구성된 것을 특징으로 한다.In the MPEG2 decoder of the present invention for achieving the above object, the update processing circuit of the information table compares the version number input from the outside with the data stored in the first version number storage unit, and, if the version number entered is large, A version number processing unit which stores data stored in the second version number storage unit and outputs a control signal accordingly, and moves data stored in the second version number storage unit to the first version number storage unit when a current-next-indicator signal is input; ; The information table input from the outside is stored in the first storage unit or the second storage unit by the control signal of the version number processor, and when the current-next-indicator signal is input, the data stored in the second storage unit is stored in the first storage unit. Characterized in that the recording control unit is moved to the storage unit.

상술한 구성으로 된 본 발명은 소정의 PSI정보 즉 PAT와 PMT을 현재 또는 다음 처리될 버젼번호 및 정보를 저장하고 있다가, 주기적으로 버젼번호처리부에 입력되는 버젼번호를 저장된 버젼번호와 비교하여 최신의 버젼번호로 갱신시키고, 기록제어부에 입력된 정보데이타도 상기 버젼번호처리부의 제어 신호에 따라 최신 정보데이타로 갱신하여 주게 되며, 또한 current-next-indicator신호가 입력되는 경우 다음사용될 정보를 현재 처리되는 정보로 변경시켜 주므로써, 정보데이타를 항상 현재 처리되는 정보로 유지하여 주게 되는 것이다.The present invention having the above-described configuration stores predetermined PSI information, namely, version numbers and information to be processed next or next to PAT and PMT, and periodically compares the version numbers inputted to the version number processing unit with the stored version numbers. It is updated to the version number of the controller, and the information data inputted to the recording control unit is also updated to the latest information data according to the control signal of the version number processing unit. By changing the information to be made, the information data is always maintained as the information currently being processed.

이하, 첨부한 예시도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 발명에 따른 MPEG2 디코더에서 정보테이블의 갱신처리회로를 도시한 것으로, 외부로 부터 입력된 버젼번호를 제1버젼번호저장부(40)에 저장된 데이타와 비교하여 입력된 버젼번호가 큰 경우에는 제2버젼번호저장부(42)에 저장하고 그에 따른 제어신호를 출력하는 한편 current-next-indicator신호가 입력되면 상기 제2버젼번호저장부(42)에 저장된 데이타를 상기 제1버젼번호저장부(40)로 이동시키게 된 버젼번호처리부(44)와; 외부로 부터 입력된 정보테이블을 상기 버젼번호처리부(44)의 제어신호에 의해 제1저장부(46) 또는 제2저장부(48)에 저장하는 한편 current-next-indicator신호가 입력되면 상기 제2저장부(48)에 저장된 데이타를 상기 제1저장부(46)로 이동시키게 된 기록제어부(50)로 구성된 것이다.3 shows an update processing circuit of an information table in an MPEG2 decoder according to the present invention, which compares a version number input from the outside with data stored in the first version number storage unit 40, and has a large version number. In the case of storing the second version number storage unit 42 and outputting a control signal accordingly, when the current-next-indicator signal is input, the data stored in the second version number storage unit 42 is stored in the first version number. A version number processing unit 44 moved to the storage unit 40; The information table input from the outside is stored in the first storage unit 46 or the second storage unit 48 by the control signal of the version number processing unit 44, and the current-next-indicator signal is inputted. The recording control unit 50 is configured to move data stored in the second storage unit 48 to the first storage unit 46.

상기 입력되는 버젼번호와 current-next-indicator는 PSI(PAT 및 PMT)에 공통으로 구성되는 필드로서, 5비트의 버젼번호 필드는 PSI에 대한 정보를 기술하는 TS패킷의 특성들이 변경될 때 즉 특별프로그램이 부가되거나 소정 프로그램에 대한 기본스트림의 구성이 변경되었을 때, 새로은 PSI데이타가 갱신된 정보를 보내주므로써 current로 표시되는 섹션의 가장 최근 전송된 버젼이 항상 유효한 것임을 표시해주도록 된 것이고, 또한 1비트의 current-next-indicator 필드는 비트스트림의 어느 시점에서 PSI가 유효한가를 알려주는 중요한 필드로서, 각 섹션이 현재유효한 것인가 또는 다음 유효한 것인가를 플래그신호로 알려주는 것인 바, 정보를 변경하기 전에 그 정보를 미리 전송할 수 있게 해주는 것으로서 디코더가 변경될 정보를 미리 수신하고 있다가 상기 플래그 신호가 입력되면 다음 정보테이블을 현재 정보테이블로 변경시켜 줄 수 있게 해주는 것이다.The input version number and current-next-indicator are fields commonly configured in PSI (PAT and PMT), and the 5-bit version number field is special when the characteristics of the TS packet describing information about the PSI are changed. When a program is added or the configuration of an elementary stream for a given program is changed, new PSI data sends updated information to indicate that the most recently transmitted version of the section marked current is always valid. The current-next-indicator field of a bit is an important field that tells when the PSI is valid at which point in the bitstream. It indicates whether each section is currently valid or next with a flag signal. The flag signal allows the decoder to transmit the information in advance and receives the information to be changed in advance. Is entered, the next information table can be changed to the current information table.

상기 버젼번호처리부(44)는 제1, 2버젼번호저장부(40, 42)를 구비하고 외부로부터 버젼번호를 입력받아 현재 처리되는 버젼번호를 제1버젼번호저장부(40)에 저장하고, 다음 처리되는 버젼번호를 제2버젼번호저장부(42)에 저장하게 된다. 이때 입력되는 버젼번호를 제1버젼번호저장부(40)에 저장된 데이타 즉, 현재 처리중인 섹션의 버젼번호와 비교하여 입력된 버젼번호가 다른 경우 즉 다음 처리될 섹션의 버젼번호로 인식하여 상기 입력된 버젼번호를 제2버젼번호 저장부(42)에 저장하며, 그에 따른 제어신호를 기록제어부(50)에 출력하게 된다.The version number processing unit 44 includes first and second version number storage units 40 and 42 and receives a version number from the outside to store the currently processed version number in the first version number storage unit 40, The next version number to be processed is stored in the second version number storage section 42. At this time, the input version number is compared to the data stored in the first version number storage unit 40, that is, the version number of the currently being processed section number is different, that is to recognize as the version number of the next section to be processed, the input The stored version number is stored in the second version number storage section 42, and the control signal corresponding thereto is output to the recording controller 50.

또한 외부로부터 current-next-indicator신호가 입력되는 경우 즉, 현재 처리되는 섹션이 다음버젼으로 갱신되는 경우에는 상기 제2버젼번호저장부(42)의 데이타를 상기 제1버젼번호저장부(40)에 저장시키게 된다.In addition, when the current-next-indicator signal is input from the outside, that is, when the currently processed section is updated to the next version, the data of the second version number storage section 42 is stored in the first version number storage section 40. Will be stored in.

상기 기록제어부(50)은 제1, 2저장부(46, 48)를 구비하고 상기 버젼번호처리부로 부터 제어신호를 입력받아 입력되는 정보테이블을 소정포맷으로 상기 제1, 2저장부(46, 48)에 저장하되, 상기 버젼번호처리부(44)로 터 제어신호가 입력되지 않는 경우에는 입력된 데이타를 포기하게 되고, 상기 버젼번호처리부(44)로 터 제어신호가 입력되는 경우에는 입력된 데이타를 제2저장부(48)에 입력하게 된다.The recording controller 50 includes first and second storage units 46 and 48, and receives the first and second storage units 46 and 48 in a predetermined format from an information table that receives a control signal from the version number processing unit. If the control signal is not input to the version number processor 44, the input data is discarded. If the control signal is input to the version number processor 44, the input data is stored. Is input to the second storage unit 48.

또한 외부로부터 current-next-indicator신호가 입력되는 경우 즉, 현재 처리되는 섹션이 다음버젼으로 갱신되는 경우에는 상기 제2저장부(46)의 데이타를 상기 제1저장부(48)로 이동시켜 주게 된다.In addition, when the current-next-indicator signal is input from the outside, that is, when the currently processed section is updated to the next version, the data of the second storage unit 46 is moved to the first storage unit 48. do.

또한, 상기 제1저장부(46)에 입력된 데이타는 현재 처리되는 데이타의 정보를 포함하게 되어 있어, 현재 처리중인 프로그램의 디코더처리시에 외부에서 저장된 정보데이타를 참조하게 된 것이다.In addition, the data input to the first storage unit 46 includes the information of the data currently being processed, so that it refers to the information data stored externally in the decoder processing of the program currently being processed.

상기한 구성으로 된 본 발명을 제4도에 도시된 순서도를 참조하여 아래에서 그 동작을 설명한다.The operation of the present invention having the above-described configuration will be described below with reference to the flowchart shown in FIG.

전체 디코더에 최초 전원을 인가하게 되고, 정보테이블을 포함하는 TS패킷이 디코더에 전송되고, 이 전송된 TS패킷이 소정 처리절차를 거쳐 상기 버젼번호처리부(44)에 입력되면 버젼번호처리부(44)는 입력된 버젼번호를 상기 제1버젼번호저장부(42)에 입력하고, 상기 입력된 버젼번호에 해당되는 섹션의 정보테이블이 기록저장부(50)를 통해 제1저장부(46)에 저장된다.When power is first applied to all decoders, a TS packet including an information table is transmitted to the decoder, and when the transmitted TS packet is input to the version number processing unit 44 through a predetermined processing procedure, the version number processing unit 44 Inputs the input version number into the first version number storage unit 42 and stores the information table of the section corresponding to the input version number in the first storage unit 46 through the recording storage unit 50. do.

이어서 처리중인 프로그램의 정보가 변경됨이 없이 주기적으로 전송되는 정보테이블을 포함하는 TS패킷은 버젼번호의 변경도 없게 되고, 따라서 상기 버젼번호처리부(44)는 입력되는 버젼번호가 상기 제1버젼번호저장부(42)에 입력된 버젼번호와 동일한 경우 해당 버젼번호를 그대로 포기함과 동시에 기록저장부(50)로 입력되는 정보데이타(50)도 그대로 포기하게 된다.Subsequently, the TS packet including the information table which is periodically transmitted without changing the information of the program being processed does not change the version number. Therefore, the version number processing unit 44 stores the first version number. If it is the same as the version number entered in the section 42, and give up the version number as it is, and at the same time the information data 50 input to the recording storage unit 50 is also given up as it is.

한편, 인코더에서는 전송중인 프로그램을 변경하거나 추가프로그램이 부가하게 되는 경우, 미리 버젼필드가 갱신된 정보테이블을 TS패킷으로 전송하게 되는 바, 디코더에서 상기 전송된 TS패킷이 소정절차를 거쳐 처리된 뒤 상기 버젼필드와 정보테이블이 각각 버젼번호처리부(44)와 기록제어부(50)로 입력되게 된다.On the other hand, in the encoder, when a program being transmitted or an additional program is added, an information table having a version field updated in advance is transmitted to a TS packet. After the transmitted TS packet is processed by a decoder through a predetermined procedure, The version field and the information table are input to the version number processing section 44 and the recording control section 50, respectively.

이때 상기 버젼번호처리부(44)는 상기 제1버젼번호저장부에 저장된 현재 처리중인 버젼번호보다 크게 된 입력된 버젼번호를 상기 제2버젼번호저장부(42)에 저장하여 다음 프로그램의 정보변경을 대비하게 되고, 또한 이에 따른 제어신호를 상기 기록제어부(50)에 출력하게 된다.At this time, the version number processor 44 stores the input version number larger than the current version number stored in the first version number storage unit in the second version number storage unit 42 to change information of the next program. In addition, the control signal is output to the recording controller 50.

상기 기록제어부(50)는 버젼번호처리부(44)로부터 입력된 제어신호에따라 입력된 정보테이블데이타를 제2저장메모리에 저장하여 다음 프로그램의 정보변경에 대비하게 된다.The recording controller 50 stores the input information table data in the second storage memory according to the control signal input from the version number processing section 44 to prepare for the next program information change.

이어서, 인코더에서는 전송중인 프로그램 변경된 데이타를 전송함과 동시에 current-next-indicator 필드를 셋팅된 TS패킷으로 전송하게 되는 바, 디코더에서 상기 전송된 TS패킷이 소정절차를 거쳐 처리된 뒤 상기 current-next-indicator필드이 각각 버젼번호처리부(44)와 기록제어부(50)로 입력되게 된다.Subsequently, the encoder transmits the program-changed data being transmitted and simultaneously transmits the current-next-indicator field to the set TS packet. After the TS packet is processed by the decoder through the predetermined procedure, the current-next is processed. The -indicator fields are input to the version number processing section 44 and the recording control section 50, respectively.

이때 상기 버젼번호처리부(44)는 상기 제2버젼번호저장부(42)에 저장된 다음 처리될 버젼번호를 상기 제1버젼번호저장부(40)에 이동저장하므로써 프로그램의 정보변경을 하게 되고, 또한 상기 기록제어부(50)도 입력된 current-next-indicator필드신호에 의해 제2저장부(48)에 저장된 데이타를 상기 제1저장부(46)로 이동저장하여 다음 프로그램의 정보데이타를 현재 프로그램의 정보데이타로 변경 처리하게 된다.At this time, the version number processing section 44 changes the information of the program by moving and storing the version number to be processed in the second version number storage section 42 in the first version number storage section 40. The recording control unit 50 also moves and stores the data stored in the second storage unit 48 to the first storage unit 46 by the input current-next-indicator field signal, thereby storing the information data of the next program. The change is made to the information data.

이상에서 서술된 실시예는 모든 점에서 단순한 예시에 불과한 것이고, 이를 한정적으로 해석해서는 안되며, 단지 본 발명의 진정한 정신 및 범위내에 존재하는 변형예는 모두 본 발명의 청구범위에 속하는 것이다.The embodiments described above are merely illustrative in all respects and should not be construed as limiting, and all modifications that fall within the true spirit and scope of the present invention shall fall within the claims of the present invention.

Claims (1)

외부로부터 입력된 버젼번호를 제1버젼번호저장부(40)에 저장된 데이타와 비교하여 입력된 버젼번호가 큰 경우에는 제2버젼번호저장부(42)에 저장하고 그에 따른 제어신호를 출력하는 한편 current-next-indicator신호가 입력되면 상기 제2버젼번호저장부(42)에 저장된 데이타를 상기 제1버젼번호저장부(40)로 이동시키게 된 버젼번호처리부(44)와; 외부로부터 입력된 정보테이블을 상기 버젼버젼처리부(44)의 제어신호에 의해 제1저장부(46) 또는 제2저장부(48)에 저장하는 한편 current-next-indicator신호가 입력되면 상기 제2저장부(48)에 저장된 데이타를 상기 제1저장부(46)로 이동시키게 된 기록제어부(50)로 구성된 MPEG2 디코더에서 정보테이블의 갱신처리회로When the version number input from the outside is compared with the data stored in the first version number storage unit 40 and the input version number is large, the version number is stored in the second version number storage unit 42 and the control signal is output accordingly. a version number processor 44 for moving data stored in the second version number storage unit 42 to the first version number storage unit 40 when a current-next-indicator signal is input; The information table input from the outside is stored in the first storage unit 46 or the second storage unit 48 by the control signal of the version version processing unit 44 and the current-next-indicator signal is inputted. Update processing circuit of the information table in the MPEG2 decoder composed of the recording control unit 50 which moves the data stored in the storage unit 48 to the first storage unit 46.
KR1019950005331A 1995-03-15 1995-03-15 Circuit for updating information table in mpeg2 decoder KR100189351B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950005331A KR100189351B1 (en) 1995-03-15 1995-03-15 Circuit for updating information table in mpeg2 decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950005331A KR100189351B1 (en) 1995-03-15 1995-03-15 Circuit for updating information table in mpeg2 decoder

Publications (2)

Publication Number Publication Date
KR960036765A KR960036765A (en) 1996-10-28
KR100189351B1 true KR100189351B1 (en) 1999-06-01

Family

ID=19409816

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950005331A KR100189351B1 (en) 1995-03-15 1995-03-15 Circuit for updating information table in mpeg2 decoder

Country Status (1)

Country Link
KR (1) KR100189351B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100818933B1 (en) * 2005-12-02 2008-04-04 한국전자통신연구원 Method for 3D Contents Service based Digital Broadcasting

Also Published As

Publication number Publication date
KR960036765A (en) 1996-10-28

Similar Documents

Publication Publication Date Title
US10750205B2 (en) Selective use of start code emulation prevention
US7298913B2 (en) Video encoding method and apparatus employing motion compensated prediction interframe encoding, and corresponding video decoding method and apparatus
US7610605B2 (en) Method and apparatus for conversion and distribution of data utilizing trick-play requests and meta-data information
US5887110A (en) Video data playback system using effective scheme for producing coded video data for fast playback mode
US7551672B1 (en) Encoding system and method, decoding system and method, multiplexing apparatus and method, and display system and method
US6542518B1 (en) Transport stream generating device and method, and program transmission device
US20070133674A1 (en) Device for coding, method for coding, system for decoding, method for decoding video data
US8131135B2 (en) MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
SG180037A1 (en) Video-information encoding method and video-information decoding method
CN100433173C (en) After-recording apparatus
US6980732B1 (en) Data reproduction transmission apparatus and data reproduction transmission method
JP2001274689A (en) Device and method for processing data
WO2003092293A1 (en) Encoding device and method, decoding device and method, edition device and method, recording medium, and program
US20050265699A1 (en) Information recording device and information recording method
US6804457B1 (en) Digital video signal recorder/reproducer and transmitter
JPH10136300A (en) Insertion device for data used repetitively and digital broadcast transmission system
JP2001211452A (en) Data processing unit and data processing method
KR100189351B1 (en) Circuit for updating information table in mpeg2 decoder
KR19990028747A (en) Method for decoding and coding compressed video data streams with reduced memory requirements
US20040091159A1 (en) Image compression device and method for performing a frame skipping process
US6298091B1 (en) Method to play audio and video clips through MPEG decoders
KR0185831B1 (en) Mpeg-ii pmt depacketizer
KR0180174B1 (en) Mpeg 2 pat depacketizer
JP2002171529A (en) Video encoder and method, recording medium, and decoder
JP2000228759A (en) Hd/sd compatible decoder

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110103

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee