KR101696191B1 - Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame - Google Patents

Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame Download PDF

Info

Publication number
KR101696191B1
KR101696191B1 KR1020150034812A KR20150034812A KR101696191B1 KR 101696191 B1 KR101696191 B1 KR 101696191B1 KR 1020150034812 A KR1020150034812 A KR 1020150034812A KR 20150034812 A KR20150034812 A KR 20150034812A KR 101696191 B1 KR101696191 B1 KR 101696191B1
Authority
KR
South Korea
Prior art keywords
data
mpeg
transmission
packet
transmission rate
Prior art date
Application number
KR1020150034812A
Other languages
Korean (ko)
Other versions
KR20160109771A (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 KR1020150034812A priority Critical patent/KR101696191B1/en
Publication of KR20160109771A publication Critical patent/KR20160109771A/en
Application granted granted Critical
Publication of KR101696191B1 publication Critical patent/KR101696191B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/439Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using cascaded computational arrangements for performing a single operation, e.g. filtering

Abstract

본 발명은 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것으로, 비디오 영상데이터의 압축형태인 MPEG 데이터의 다중화 및 전송을 위하여 특정 전송선로의 최대 전송 속도에 맞추어 고정으로 데이터를 전송하면서, 가변 전송 속도로 코딩된 MPEG 데이터를 효과적으로 다중화하여 전송함으로써, 종래의 방식에 비해서 역 다중화를 간단하게 수행할 수 있는 것과 더불어 영상 전송의 지연을 대폭 감소시킬 수 있는 것을 특징으로 하는 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것이다.The present invention relates to a method and an apparatus for processing variable bit rate multiplexed data in an MPEG TS transmission frame, and more particularly, to multiplexing and transmitting MPEG data, which is a compression type of video image data, And multiplexing the MPEG data coded at the variable transmission rate and effectively transmitting the multiplexed MPEG data, the demultiplexing can be performed more easily than the conventional method, and the delay of the image transmission can be greatly reduced. To a variable bit rate multiplexed data processing method and apparatus therefor.

Description

MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치{METHOD AND SYSTEM FOR PROCESSING VARIABLE BIT RATE MULTIPLEXING DATA IN MPEG TS TRANSPORT FRAME}TECHNICAL FIELD [0001] The present invention relates to a method and apparatus for processing variable bit rate multiplexed data in an MPEG TS transmission frame,

본 발명은 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것으로, 더욱 상세하게는 비디오 영상데이터의 압축형태인 MPEG TS데이터의 다중화 및 전송을 위하여 특정 전송선로의 최대 전송 속도에 맞추어 고정으로 데이터를 전송하면서, 가변 전송 속도로 코딩된 MPEG TS 데이터를 효과적으로 다중화하여 전송함으로써, 종래의 방식에 비해서 역 다중화를 간단하게 수행할 수 있는 것과 더불어 영상 전송의 지연을 대폭 감소시킬 수 있는 것을 특징으로 하는 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것이다.The present invention relates to a variable bit rate multiplexed data processing method and apparatus for MPEG TS transmission frames, and more particularly to a variable bit rate multiplexed data processing method and apparatus for multiplexing and transmitting MPEG TS data, which is a compressed form of video image data, It is possible to effectively perform demultiplexing as compared with the conventional method and effectively reduce the delay of the video transmission by effectively multiplexing and transmitting the MPEG TS data coded with the variable transmission rate while transmitting the data with fixed transmission And more particularly, to a method and apparatus for processing variable bit rate multiplexed data in an MPEG TS transmission frame.

보통 MPEG-2, MPEG-4, H.264/AVC, HEVC 등 다양한 비디오 압축 표준으로 압축된 비디오 스트림은 오디오 및 데이터 스트림과 다중화되어 MPEG TS 전송스트림의 형태로 전송된다. 이러한 MPEG TS(전송스트림, transport stream)는 188 바이트 또는 204 바이트로 패킷화되어 네트워크를 통해서 전송된다.Video streams compressed by various video compression standards such as MPEG-2, MPEG-4, H.264 / AVC, and HEVC are multiplexed with audio and data streams and transmitted in the form of MPEG TS transport stream. This MPEG TS (transport stream) is packetized into 188 bytes or 204 bytes and transmitted over the network.

상기 다양한 비디오 압축 표준을 통해서 압축된 데이터가 MPEG TS로 다중화되어 출력되는 것을 MPEG TS 데이터라고 하면, 상기 MPEG TS 데이터는 특정 전송장치에서 버퍼링되었다가 해당 전송장치의 전송속도에 맞추어 채널코딩을 거쳐 전송패킷으로 변환된 다음 전송프레임으로 프레임화되고, 그 결과가 해당 전송장치의 전송속도에 따라 전송라인을 통해서 전송되게 된다.The MPEG TS data is buffered in a specific transmission apparatus and is channel-coded according to the transmission speed of the transmission apparatus. Converted into a packet, then framed into a transmission frame, and the result is transmitted through a transmission line according to the transmission speed of the transmission apparatus.

여기서 MPEG TS를 MPEG TS 데이터 혹은 단순히 MPEG TS(전송스트림)이라고 부르며, 이를 특정 전송장치에서 전송하기 위해 프레임화 과정을 거친 프레임 데이터를 MPEG TS 전송프레임이라고 한다.Here, MPEG TS is referred to as MPEG TS data or simply MPEG TS (transport stream), and the frame data subjected to the framing process in order to transmit it in a specific transmission apparatus is called MPEG TS transmission frame.

본 발명에서는 MPEG TS 전송프레임의 구조에 대해서 먼저 제안하고자 한다. 특정 전송장치가 MPEG TS 패킷을 전송하기 위해서, 해당 전송장치의 전송속도에 따라 유효데이터, 무효데이터 또는 가변 비트율 데이터로 구성되는 MPEG TS 패킷으로 상기 MPEG TS 전송프레임을 구성하고자 한다. 물론 이러한 MPEG TS 패킷은 188 바이트 또는 204 바이트마다 반복된다.In the present invention, a structure of an MPEG TS transmission frame is firstly proposed. In order to transmit an MPEG TS packet by a specific transmission apparatus, the MPEG TS transmission frame is configured with an MPEG TS packet composed of valid data, invalid data or variable bit rate data according to the transmission speed of the transmission apparatus. Of course, such MPEG TS packets are repeated every 188 bytes or 204 bytes.

이러한 MPEG TS 전송프레임에서 유효데이터에 대한 전송프레임은 인코딩된 비디오 압축데이터를 전송할 때 정상적인 유효 데이터를 전송하는 전송프레임 구조를 말한다. 또한 인코딩된 비디오 압축데이터 중에서 실제 유효한 비디오 데이터가 아닌 다중화를 위한 바이트 삽입 데이터로 무효데이터를 삽입하여 전송하는 프레임 구조가 무효데이터 전송프레임 구조이다. 상기 설명은 하나의 유효데이터 또는 무효데이터에 대한 MPEG TS 패킷이 하나의 MPEG TS 전송프레임으로 변환되어 전송되는 경우이다. 그러나 하나의 전송프레임에 복수의 패킷이 포함될 수도 있으므로, 이 경우에는 하나의 MPEG TS 전송프레임 구조가 복수의 유효데이터 혹은 무효데이터에 대한 MPEG TS 패킷으로 구성될 수 있다.In this MPEG TS transmission frame, a transmission frame for valid data refers to a transmission frame structure for transmitting normal valid data when transmitting encoded video compressed data. In addition, the frame structure in which the invalid data is inserted and transmitted as the byte insertion data for multiplexing rather than the actual valid video data among the encoded video compressed data is an invalid data transmission frame structure. In the above description, MPEG TS packets for one valid data or invalid data are converted into one MPEG TS transmission frame and transmitted. However, since a plurality of packets may be included in one transmission frame, in this case, one MPEG TS transmission frame structure may be composed of a plurality of valid data or MPEG TS packets for invalid data.

한편, 인코딩된 비디오 압축 프로그램 데이터 및 다중화 전송속도의 채우기 데이터인 무효데이터를 전송하는 방법 이외에, 비디오 압축 프로그램 데이터의 비트율이 다중화 전송속도보다 적을 경우 다중화 데이터의 빈자리를 채워 보내서 역다중화시 수신데이터를 삭제함으로써, 압축된 데이터를 복원하는 디코더에서는 이 데이터가 전달되지 않도록 할 수 있다.Meanwhile, when the bit rate of the video compression program data is smaller than the multiplexing transmission rate, in addition to the method of transmitting the encoded video compression program data and the invalid data which is the filling data of the multiplexing transmission rate, the empty space of the multiplexed data is filled, By this deletion, the decoder for restoring the compressed data can be prevented from transmitting this data.

다시 말해서, 상기 유효데이터와 무효데이터는 비디오 서버에서 수신한 MPEG TS 데이터이며, 가변 비트율 데이터는 전송장치에서는 비트율 조정용으로 사용하는 데이터 패킷을 말한다. 즉, 전송장치에서는 상기 유효데이터 패킷, 무효데이터 패킷, 가변 비트율 데이터 패킷 또는 이들의 조합을 통해서 해당 전송장치의 전송속도에 맞추어 MPEG TS 데이터를 전송하게 된다.In other words, the valid data and the invalid data are MPEG TS data received from the video server, and the variable bit rate data is a data packet used for bit rate adjustment in the transmitting apparatus. That is, the transmitting apparatus transmits the MPEG TS data according to the transmission rate of the corresponding transmission apparatus through the valid data packet, the invalid data packet, the variable bit rate data packet, or a combination thereof.

따라서 고정된 다중화 전송속도에 가변 비트율인 비디오 영상 프로그램을 전송할 때 다중화 속도에 맞지 않는 데이터를 송신 혹은 수신하기 위하여 다중화 전송속도와 역 다중화 전송속도를 동일하게 구성하고, 비디오 영상데이터의 유효 혹은 무효를 구분하는 프레임 전송 구조와 비트율을 맞추기 위한 비트율 조정용 전송프레임을 따로 구성하여 전송하는 방법이 필요하게 된다.Therefore, when transmitting a video image program with a variable bit rate to a fixed multiplex transmission rate, the multiplexing transmission rate and the demultiplexing transmission rate are set to be the same to transmit or receive data that does not match the multiplexing rate, and the validity or invalidity There is a need for a method of transmitting separately a transmission frame for bit rate adjustment to match the frame transmission structure to be distinguished and a bit rate.

즉, 고정 전송프레임 속도에 꽉 찬 데이터를 항상 전송하고 서비스에서 제외되는 데이터는 별도의 전송헤더 값을 삽입하고 이어지는 데이터는 모두 1로 전송하는 방법으로 전송방법을 단순화하여 다중화시 패킷 단위(188 바이트 또는 204 바이트)로 삽입과 추출을 용이하게 하는 전송 방식이다. 본 방식은 MPEG TS 전송프레임의 다중화시 추가했던 오버헤드 데이터를 모두 추출하여 유효 데이터를 검출하고, 비트율을 맞추기 위하여 수신된 모든 데이터를 버퍼에 저장하여 동기 클록에 맞추어 역다중화를 수행하는 방식에 비해서 실시간으로 다중화 역다중화가 구현 가능하여 영상 전송의 지연을 대폭 감소시킬 수 있는 방식이다.That is, a method of always transmitting data with a fixed transmission frame rate, inserting a separate transmission header value for data excluded from the service, and transmitting all subsequent data to 1, simplifies the transmission method, Or 204 bytes) to facilitate insertion and extraction. In this method, all the overhead data added when multiplexing the MPEG TS transmission frame is extracted to detect valid data, and all the received data is stored in the buffer to match the bit rate, and the demultiplexing is performed according to the synchronous clock Multiplexing demultiplexing can be realized in real time, and the delay of the image transmission can be greatly reduced.

즉 본 발명에서는 MPEG TS 전송프레임을 특정 전송망을 통해서 송수신함에 있어서, MPEG TS 전송프레임을 해당 전송망의 전송 환경에 맞추어 전송하고, 수신측에서는 가능하면 지연이 적은 상태로 디코딩하여 출력할 수 있도록 하기 위한 장치와 방법에 관한 것이다. 따라서 본 발명에서는 DS3/E3 전송망을 한 실시예로 하여 송신단과 수신단에서 MPEG TS 전송프레임을 송수신할 때 DS3/E3 전송장치의 송수신 클럭에 동기화하여 송수신하는 것을 개시하고 있으나, 본 발명의 기술적 특징은 DS3/E3 전송망에서만 국한되어 사용할 수 있는 것이 아니다.That is, in the present invention, in transmitting and receiving an MPEG TS transmission frame through a specific transmission network, an MPEG TS transmission frame is transmitted in accordance with a transmission environment of a corresponding transmission network, and a decoding And methods. Accordingly, the present invention discloses transmission and reception of an MPEG TS transmission frame in synchronization with a transmission / reception clock of a DS3 / E3 transmission apparatus when transmitting and receiving an MPEG TS transmission frame in a transmitting station and a receiving station using the DS3 / E3 transmission network as an embodiment, It is not limited to DS3 / E3 transmission network.

본 발명과 관련이 있는 종래기술로서, 한국등록특허 제1997-0057884호(1997. 07. 31.)는 엠피이지 2(MPEG-2)비디오 스트림 채널을 수용하는 다중장치에 관한 것으로, 가입자와 가까운 거리에 원격장치를 설치하여 MPEG-2 비디오 스트림 6채널을 DS3로 다중 전송하기 위한 DS3 다중장치를 제공하는데 그 목적이 있다. 상기 발명은 이 목적을 달성하기 위해서 1단계로 MPEG-2 비디오 스트림을 6.46 Mbps 프레임 신호로 생성하고, 이 신호가 DS3 프레임에 수용될 수 있는 신호로 이루어지기 위해서 3개의 6.5 Mbps를 20.1312 Mbps신호로 1차 다중화한다. 이 20.1312 Mbps 신호 프레임에는 3개의 6.5Mbps 신호를 수용하며 12비트의 FAW(Frame Alignment Word)와 유지보수 관련 M&A 채널 및 기타 오버헤드로 구성된 프레임 구조를 갖는다. 이 20.1312 Mbps 프레임 2개를 이용하여 DS3 프레임을 구성함으로써 DS3 프레임에 MPEG-2 비디오 스트림 6개를 수용하는 것에 관한 것이다.As a related art related to the present invention, Korean Patent Registration No. 1997-0057884 (1997. 07. 31.) relates to a multiplex apparatus for receiving an MPEG-2 video stream channel, It is an object of the present invention to provide a DS3 multiplexing apparatus for multiplexing six channels of an MPEG-2 video stream to a DS3 by installing a remote apparatus at a distance. In order to achieve this object, in order to achieve this object, the MPEG-2 video stream is generated as a 6.46 Mbps frame signal in one step, and three 6.5 Mbps and 20.1312 Mbps signals First multiplexing. This 20.1312 Mbps signal frame accommodates three 6.5Mbps signals and has a frame structure consisting of 12 bits of FAW (Frame Alignment Word), maintenance related M & A channels and other overhead. And to accommodate six MPEG-2 video streams in a DS3 frame by constructing a DS3 frame using two 20.1312 Mbps frames.

또 다른 선행기술문헌인 미국등록특허 US 7,447,231 B2(2008. 11. 04)호는 DS3 전송스트림을 ASI(Asynchronous Serial Interface) 전송스트림상의 MPEG-2 전송스트림으로 변환하는 것에 관한 것으로, PCR(Program Clock Reference)값에 따라 MPEG-2 패킷을 추출하고, 패킷 타임 쉬프트를 보상하기 위해서 새로운 PCR값을 계산하고, MPEG-2 패킷을 출력하기 전에 추출된 PCR값을 새로운 PCR값으로 대치하는 것을 포함한다. MPEG-2 패이로드를 전달하는 DS3 전송스트림을 처리하기 위한 장치는 스트림을 수신하고, 데이터 신호와 클럭신호를 출력하기 위한 DS3 수신기를 포함한다. DS3 수신기는 DS3 패킷을 수신하고 널 패킷을 제거하기 위한 DS3 인터페이스를 포함하고, 수신된 DS3 패킷이 PCR값을 포함하는지 결정하고, MPEG-2 패킷을 출력하기 전에 PCR값을 조정하기 위해서, DS3 인터페이스를 포함한다. 각각의 패킷을 버퍼에 저장하는 것이 아니라 PCR값을 버퍼에 저장하여 패킷을 출력하는 것을 특징으로 한다.Another prior art document US Patent No. 7,447,231 B2 (Apr. 4, 2008) relates to the conversion of a DS3 transport stream into an MPEG-2 transport stream on an ASI (Asynchronous Serial Interface) transport stream, Extracting an MPEG-2 packet according to a reference value, calculating a new PCR value to compensate for the packet time shift, and replacing the extracted PCR value with a new PCR value before outputting the MPEG-2 packet. An apparatus for processing a DS3 transport stream carrying an MPEG-2 payload includes a DS3 receiver for receiving a stream and outputting a data signal and a clock signal. The DS3 receiver includes a DS3 interface for receiving the DS3 packet and removing the null packet, determining whether the received DS3 packet contains a PCR value, and adjusting the PCR value before outputting the MPEG- . Each of the packets is stored in a buffer instead of being stored in a buffer, and a packet is output.

그러나 상기 선행기술문헌에는 MPEG-2 TS 데이터를 DS3채널에 싣는 방법과 DS3 인터페이스를 통해서 DS3 전송스트림을 ASI 전송스트림상의 복수의 MPEG-2 패킷으로 변환하는 것에 관한 내용이 개시되어 있으나 본 발명과 같이 MPEG-2 TS 데이터를 DS3 라인 인터페이스 유니트를 통해서 전송하고, MPEG-2 TS 패킷을 포함한 DS3 패킷을 수신하여 MPEG-2 TS 데이터로 출력함에 있어서, 효율적으로 상기 MPEG-2 TS 패킷을 송수신하는 방법에 대해서는 제시하고 있지 못하고 있다.However, the prior art document discloses a method of loading MPEG-2 TS data on a DS3 channel and a method of converting a DS3 transport stream into a plurality of MPEG-2 packets on an ASI transport stream through a DS3 interface, A method for efficiently transmitting and receiving the MPEG-2 TS packets in transmitting MPEG-2 TS data through a DS3 line interface unit, receiving DS3 packets including MPEG-2 TS packets, and outputting them as MPEG-2 TS data I do not suggest that.

이에 본 발명에서는 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리를 통해서 효율적으로 비디오 영상데이터의 압축형태인 MPEG TS 데이터의 다중화 및 전송을 위하여 최대 전송 속도에 맞추어 고정으로 데이터를 전송하는 방법을 제공하고자 한다. 또한 가변 전송 속도로 MPEG TS 데이터의 다중화를 위하여 MPEG TS 데이터의 속도를 가변 전송속도를 수용하도록 전송 프레임을 재생성하여 전송하고 이의 역 다중화를 지연을 대폭 줄인 상태에서 수행할 수 있도록 하는 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치를 제공하고자 한다.Accordingly, it is an object of the present invention to provide a method of transmitting data in a fixed manner at a maximum transmission rate for multiplexing and transmitting MPEG TS data, which is a compressed form of video image data, through variable bit rate multiplexed data processing in an MPEG TS transmission frame . In addition, in order to multiplex MPEG TS data at a variable transmission rate, an MPEG TS transmission frame which reproduces a transmission frame to accommodate a variable transmission rate of the MPEG TS data and transmits the MPEG TS data at a variable rate, A variable bit rate multiplexed data processing method and apparatus therefor.

본 발명은 비디오 영상데이터의 압축형태인 MPEG 데이터의 다중화 및 전송을 위하여 특정 전송선로의 최대 전송 속도에 맞추어 고정으로 데이터를 전송하면서, 가변 전송 속도로 코딩된 MPEG TS 데이터를 효과적으로 다중화하여 전송함으로써, 종래의 방식에 비해서 역 다중화를 간단하게 수행할 수 있는 것과 더불어 영상 전송의 지연을 대폭 감소시키는 것을 목적으로 한다.The present invention effectively multiplexes and transmits MPEG TS data coded at a variable transmission rate while transmitting data in a fixed manner in accordance with a maximum transmission rate of a specific transmission line for multiplexing and transmission of MPEG data, which is a compressed form of video image data, Demultiplexing can be performed more easily than in the conventional method, and the delay of the image transmission is greatly reduced.

또한 본 발명은 MPEG TS 데이터의 다중화시 추가했던 오버헤드 데이터를 모두 추출하여 데이터를 검출하고, 비트율을 맞추기 위하여 모든 수신된 데이터를 버퍼에 저장하여, 동기 클록에 맞추어 역다중화를 수행하는 방식에 비해서 실시간으로 다중화 및 역다중화가 구현 가능하도록 하여 영상 전송의 지연을 대폭 감소시키는 것을 목적으로 한다.The present invention also provides a method and apparatus for extracting all overhead data added during multiplexing of MPEG TS data to detect data, storing all received data in a buffer to match a bit rate, and performing demultiplexing in synchronization with a synchronous clock And realizes multiplexing and demultiplexing in real time, thereby greatly reducing the delay of image transmission.

이와 같은 목적을 달성하기 위해 본 발명의 일 실시예에 따른 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치는 MPEG TS(transport stream) 데이터를 버퍼링하는 메모리, 상기 MPEG TS 데이터를 송수신하는 전송장치의 송수신 속도에 따른 동작 클록을 생성하는 클록 생성부, 상기 생성된 동작 클록에 동기화하여 MPEG TS 데이터를 상기 버퍼에서 읽어내어 MPEG TS 패킷을 생성하는 것을 포함하는 MPEG TS 인터페이스 유니트, 상기 MPEG TS 패킷을 해당 전송장치의 전송패킷으로 변환하는 변환기, 상기 변환된 전송패킷을 포함하는 전송프레임을 구성하는 프레임 생성기 및 상기 구성한 전송프레임을 전송채널을 통해 전송하는 라인 인터페이스 유니드를 포함하며, 상기 MPEG TS 인터페이스 유니트는, 상기 MPEG TS 패킷을 유효데이터, 무효데이터 또는 가변 비트율 데이터를 서로 다중화하여 출력함으로써, MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 것을 특징으로 한다.In order to achieve the above object, a variable bit rate multiplexed data processing apparatus in an MPEG TS transmission frame according to an embodiment of the present invention includes a memory for buffering MPEG TS (Transport Stream) data, A clock generation unit for generating an operation clock according to a transmission / reception speed of a transmission / reception apparatus for transmitting / receiving data, an MPEG TS interface unit for reading MPEG TS data from the buffer in synchronization with the generated operation clock to generate MPEG TS packets, A converter for converting the MPEG TS packet into a transmission packet of the corresponding transmission apparatus, a frame generator for constructing a transmission frame including the converted transmission packet, and a line interface unit for transmitting the configured transmission frame through a transmission channel , The MPEG TS interface unit transmits the MPEG TS packet as valid data, Multiplexes and outputs the effect data or the variable bit rate data to each other at a transmission rate of the transmission apparatus, thereby processing the MPEG TS data.

또한 상기 유효데이터는, 인코딩된 압축데이터를 전송할 때 정상적인 유효데이터를 포함하는 패킷이며, 상기 무효 데이터는, 인코딩된 압축데이터 중에서 실제 유효한 데이터가 아닌 다중화를 위해 바이트 삽입된 바이트 삽입 데이터를 포함하는 패킷이며, 상기 가변 비트율 데이터는, 인코딩된 압축데이터의 비트율이 다중화 전송속도보다 낮을 경우 다중화 데이터의 빈자리를 채워 비트율을 조정하기 위한 패킷인 것을 특징으로 한다.In addition, the valid data is a packet including normal valid data when transmitting encoded compressed data, and the invalid data is not actually valid data among the encoded compressed data, but a packet including a byte-inserted byte insertion data for multiplexing And the variable bit rate data is a packet for adjusting the bit rate by filling the empty space of the multiplexed data when the bit rate of the encoded compressed data is lower than the multiplexing transmission rate.

또한 상기 전송장치는, DS3, E3 또는 이들의 조합을 포함한 데이터의 송수신이 가능한 것을 특징으로 한다.Further, the transmission apparatus is capable of transmitting and receiving data including DS3, E3, or a combination thereof.

아울러 본 발명의 또 다른 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치는 MPEG TS(transport stream) 데이터를 버퍼링하는 메모리, 상기 MPEG TS 데이터를 송수신하는 전송장치의 송수신 속도에 따른 동작 클록을 생성하는 클록 생성부, 전송프레임을 전송채널을 통해 수신하는 라인 인터페이스 유니트, 상기 수신한 전송프레임으로부터 전송패킷을 추출하는 역프레임 생성기, 상기 추출된 전송패킷을 MPEG TS 패킷으로 복구하는 역변환기 및 상기 복구한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 추출하여 상기 생성된 동작 클록에 동기화하여 상기 버퍼에 쓰는 것을 포함하는 MPEG TS 인터페이스 유니트;를 포함하며, 상기 MPEG TS 인터페이스 유니트는, 유효데이터, 무효데이터 또는 가변 비트율 데이터가 다중화된 상기 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 역다중화하여 출력함으로써, MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 것을 특징으로 한다.In addition, according to another embodiment of the present invention, the variable bit rate multiplexed data processing apparatus in the MPEG TS transmission frame includes a memory for buffering MPEG TS (transport stream) data, an operation according to the transmission and reception speed of the transmission apparatus for transmitting and receiving the MPEG TS data A line interface unit for receiving a transmission frame through a transmission channel, a reverse frame generator for extracting a transmission packet from the received transmission frame, an inverse converter for recovering the extracted transmission packet into an MPEG TS packet, And an MPEG TS interface unit for extracting only MPEG TS data including valid data from the recovered MPEG TS packets and writing the extracted MPEG TS data to the buffer in synchronization with the generated operation clock, Valid data, invalid data, or variable bit rate data is multiplexed Demultiplexing and outputting only MPEG TS data including valid data among the MPEG TS packets and demultiplexing the MPEG TS data at a transmission rate of the transmission apparatus.

또한 상기 유효데이터는, 인코딩된 압축데이터를 전송할 때 정상적인 유효데이터를 포함하는 패킷이며, 상기 무효 데이터는, 인코딩된 압축데이터 중에서 실제 유효한 데이터가 아닌 다중화를 위해 바이트 삽입된 바이트 삽입 데이터를 포함하는 패킷이며, 상기 가변 비트율 데이터는, 인코딩된 압축데이터의 비트율이 다중화 전송속도보다 낮을 경우 다중화 데이터의 빈자리를 채워 비트율을 조정하기 위한 패킷인 것을 특징으로 한다.In addition, the valid data is a packet including normal valid data when transmitting encoded compressed data, and the invalid data is not actually valid data among the encoded compressed data, but a packet including a byte-inserted byte insertion data for multiplexing And the variable bit rate data is a packet for adjusting the bit rate by filling the empty space of the multiplexed data when the bit rate of the encoded compressed data is lower than the multiplexing transmission rate.

또한 상기 전송장치는, DS3, E3 또는 이들의 조합을 포함한 데이터의 송수신이 가능한 것을 특징으로 한다.Further, the transmission apparatus is capable of transmitting and receiving data including DS3, E3, or a combination thereof.

또한 상기 역다중화는, 상기 유효데이터, 무효데이터 또는 가변 비트율 데이터를 MPEG TS 패킷의 헤더와 식별자만으로 인식할 수 있도록 하여, 단지 무효데이터 또는 가변 비트율 데이터를 삭제하는 것만으로 수행되므로, 역다중화를 위한 지연시간이 대폭 감소하는 것을 특징으로 한다.In addition, the demultiplexing is performed only by deleting the invalid data or the variable bit rate data by allowing the valid data, invalid data or variable bit rate data to be recognized only by the header and the identifier of the MPEG TS packet, And the delay time is greatly reduced.

아울러 본 발명의 또 다른 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법은 MPEG TS(transport stream) 데이터를 메모리에 버퍼링하는 단계, 상기 MPEG TS 데이터를 송수신하는 전송장치의 송수신 속도에 따른 동작 클록에 동기화하여 MPEG TS 데이터를 상기 버퍼에서 읽어내는 단계, 상기 버퍼에서 읽어낼 데이터가 부족한 경우, 전송속도 조정용 패킷을 생성하는 단계, 상기 버퍼에서 읽어낼 데이터가 부족하지 아니하고, 유효데이터가 아닌 경우, 무효데이터 패킷을 생성하는 단계 및 상기 버퍼에서 읽어낼 데이터가 부족하지 아니하고, 유효데이터인 경우, 유효데이터 패킷을 생성하는 단계를 포함하며, 상기 MPEG TS 패킷을 유효데이터, 무효데이터 또는 가변 비트율 데이터를 서로 다중화하여 출력함으로써, MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of processing variable bit rate multiplexed data in an MPEG TS transmission frame, the method comprising: buffering MPEG TS (transport stream) data in a memory; Reading the MPEG TS data from the buffer in synchronization with an operation clock corresponding to the operation clock; generating a transmission rate adjustment packet when there is insufficient data to be read from the buffer; Generating an invalid data packet if the valid data is invalid and generating a valid data packet if valid data is not insufficient to be read from the buffer; and transmitting the MPEG TS packet to valid data, invalid data or variable By multiplexing the bit rate data and outputting them, And a transmission rate of the multiplex is characterized in that process.

아울러 본 발명의 또 다른 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법은 전송프레임을 전송채널을 통해 수신하는 단계, 상기 수신한 전송프레임으로부터 전송패킷을 추출하는 단계, 상기 추출된 전송패킷을 MPEG TS 패킷으로 복구하는 단계, 상기 복구한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 추출하여 상기 MPEG TS 데이터를 송수신하는 전송장치의 송수신 속도에 따른 동작 클록에 동기화하여 메모리에 쓰는 단계를 포함하며, 상기 메모리에 쓰는 단계는, 유효데이터, 무효데이터 또는 가변 비트율 데이터가 다중화된 상기 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 역다중화하여 출력함으로써, MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of processing variable bit rate multiplexed data in an MPEG TS transmission frame, comprising: receiving a transmission frame through a transmission channel; extracting a transmission packet from the received transmission frame; Extracting only the MPEG TS data including the valid data from the recovered MPEG TS packets and synchronizing with the operation clock according to the transmission / reception speed of the transmitting / receiving apparatus for transmitting / receiving the MPEG TS data, Wherein the step of writing to the memory demultiplexes and outputs only MPEG TS data including valid data among the MPEG TS packets in which valid data, invalid data or variable bit rate data are multiplexed, And demultiplexes the data at a transmission speed of the apparatus.

본 발명은 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것으로, 비디오 영상데이터의 압축형태인 MPEG TS 데이터의 다중화 및 전송을 위하여 특정 전송선로의 최대 전송 속도에 맞추어 고정으로 데이터를 전송하면서, 가변 전송 속도로 코딩된 MPEG TS 데이터를 효과적으로 다중화하여 전송함으로써, 종래의 방식에 비해서 역 다중화를 간단하게 수행할 수 있는 것과 더불어 영상 전송의 지연을 대폭 감소시키는 효과가 있다.The present invention relates to a variable bit rate multiplexed data processing method and apparatus for MPEG TS transmission frames, and more particularly, to multiplexing and transmitting MPEG TS data, which is a compressed form of video image data, The MPEG TS data coded at the variable transmission rate can be efficiently multiplexed and transmitted while being transmitted, thereby making it possible to perform demultiplexing more easily than in the conventional method, and to significantly reduce the delay of the video transmission.

도 1은 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치가 적용되는 DS3/E3 전송장치의 망구성과 이를 통한 비디오 서비스의 개념을 설명하기 위한 개념도이다.
도 2는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치 블록도이다.
도 3는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 역다중화 데이터 처리 장치 블록도이다.
도 4는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 과정의 순서도이다.
도 5는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 역다중화 데이터 처리 과정의 순서도이다.
FIG. 1 is a conceptual diagram illustrating the concept of a DS3 / E3 transmission apparatus to which a variable bit rate multiplexed data processing apparatus is applied in an MPEG TS transmission frame according to an exemplary embodiment of the present invention, and a concept of a video service therefor.
2 is a block diagram of a variable bit rate multiplexed data processing apparatus in an MPEG TS transmission frame according to an embodiment of the present invention.
3 is a block diagram of a variable bit rate demultiplexing data processing apparatus in an MPEG TS transmission frame according to an embodiment of the present invention.
FIG. 4 is a flowchart illustrating a process of processing variable bit rate multiplexed data in an MPEG TS transmission frame according to an exemplary embodiment of the present invention. Referring to FIG.
5 is a flowchart illustrating a process of processing variable bit rate demultiplexing data in an MPEG TS transmission frame according to an exemplary embodiment of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다. 또한 본 발명의 실시 예들에 대해서 특정한 구조적 내지 기능적 설명들은 단지 본 발명에 따른 실시 예를 설명하기 위한 목적으로 예시된 것으로, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings. Like reference symbols in the drawings denote like elements. Furthermore, specific structural and functional descriptions for embodiments of the present invention are presented for the purpose of describing an embodiment of the present invention only, and, unless otherwise defined, all terms used herein, including technical or scientific terms Have the same meaning as commonly understood by those of ordinary skill in the art to which the present invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as ideal or overly formal in the sense of the art unless explicitly defined herein Do not.

도 1은 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치가 적용되는 DS3/E3 전송장치의 망구성과 이를 통한 비디오 서비스의 개념을 설명하기 위한 개념도이다.FIG. 1 is a conceptual diagram illustrating the concept of a DS3 / E3 transmission apparatus to which a variable bit rate multiplexed data processing apparatus is applied in an MPEG TS transmission frame according to an exemplary embodiment of the present invention, and a concept of a video service therefor.

도 1에 도시된 바와 같이 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 및 역 다중화 데이터 처리 장치는 DS3/E3 전송장치(100)에 포함되어 구성될 수 있으며, 이렇게 구성된 DS3/E3 전송장치(100)는 적어도 하나 이상의 비디오 서버(200), 적어도 하나 이상의 다른 DS3/E3 전송장치(100) 및 적어도 하나 이상의 클라이언트(300)와 상호 연결되며, 복수의 DS3/E3 전송장치(100)가 전송망을 형성한 상태에서, 비디오 서버에서 상기 전송망을 통해서 클라이언트로 비디오 서비스를 제공하는데 사용된다.As shown in FIG. 1, a variable bit rate multiplexing and demultiplexing data processing apparatus in an MPEG TS transmission frame according to an exemplary embodiment of the present invention may be included in a DS3 / E3 transmission apparatus 100, and the DS3 / The E3 transmission apparatus 100 is interconnected with at least one video server 200, at least one other DS3 / E3 transmission apparatus 100 and at least one client 300 and includes a plurality of DS3 / E3 transmission apparatuses 100 Is used to provide a video service from the video server to the client through the transmission network in the state where the transmission network is formed.

상기 클라이언트(300)는 DS3/E3 전송망을 통해 상기 비디오 서버(300)에 접근하여 원하는 비디오 스트림을 요청하거나, 클라이언트(300)와 로컬로 연결된 상기 DS3/E3 전송장치와 직접 연결된 비디오 서버(300)에 바로 비디오 스트림을 요청할 수도 있다. 즉, 로컬에서 비디오의 송수신이 모두 이루어지는 경우도 있다.The client 300 accesses the video server 300 through a DS3 / E3 transport network to request a desired video stream or a video server 300 directly connected to the DS3 / E3 transmission device locally connected to the client 300, Lt; RTI ID = 0.0 > stream. ≪ / RTI > That is, video transmission and reception may be performed locally.

상기 비디오 서버(300)는 상기 클라이언트(200)로부터 요청 받은 해당 비디오 스트림을 로컬로 연결된 DS3/E3 전송장치(100)에 SD급 혹은 HD급이나 그 이상의 UHD급 영상 압축 전송 스트림인 MPEG TS 데이터에 클라이언트에서 요청한 영상프로그램 인식번호를 삽입하여 출력한다.The video server 300 transmits the corresponding video stream requested by the client 200 to the locally connected DS3 / E3 transmission apparatus 100 as MPEG TS data which is an SD-class or HD-class or higher UHD- Insert the video program identification number requested by the client and output it.

상기 DS3/E3 전송장치(100)는 상기 비디오 서버(300)로부터 입력받은 가변 비트율인 비디오 영상 프로그램을 고정된 다중화 전송속도로 전송할 때 다중화 속도에 맞지 않는 데이터를 송신 혹은 수신하기 위하여 다중화 전송속도와 역 다중화 전송속도를 동일하게 구성하고, 비디오 영상데이터의 유효 혹은 무효를 구분하는 프레임 전송 구조와 비트율을 맞추기 위한 비트율 조정용 전송프레임을 따로 구성하여 전송함으로써 실시간 다중화 역다중화가 구현 가능하여 영상 전송의 지연을 대폭 감소시킬 수 있도록 구성된다.The DS3 / E3 transmission apparatus 100 transmits a video bit rate, which is a variable bit rate received from the video server 300, at a fixed multiplex transmission rate, It is possible to realize a real-time multiplexing demultiplexing by configuring the same demultiplexing transmission rate, constructing a frame transmission structure for distinguishing validity or invalidity of video image data and a transmission frame for bit rate adjustment for matching a bit rate, Can be greatly reduced.

도 2는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치의 블록도이다.2 is a block diagram of a variable bit rate multiplexed data processing apparatus in an MPEG TS transmission frame according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 장치는 MPEG TS Interface부(111), Randomizer(112), RS Encoder(113), Interleaver(114), Multiplexer(115), DS3/E3 Clock 생성부(116), DS3/E3 Framer+LIU(120)를 포함하여 구성된다.2, in the MPEG TS transmission frame according to an exemplary embodiment of the present invention, the variable bit rate multiplexed data processing apparatus includes an MPEG TS interface unit 111, a randomizer 112, an RS encoder 113, an interleaver 114 A multiplexer 115, a DS3 / E3 clock generator 116, and a DS3 / E3 framer + LIU 120. The DS3 /

상기 MPEG TS Interface(111)는 MPEG TS 다중화 Buffer(1111), MPEG TS 패킹부(1112), 다중화 제어부(1113)로 구성되며, 상기 MPEG TS 다중화 Buffer(1111)는 상기 비디오 서버(200)로부터 입력되는 MPEG TS 유효데이터, 무효데이터, 가변 비트율 데이터를 버퍼링하여 상기 제어부(1113)의 Read/Write 신호에 따라 상기 MPEG TS 패킹부(1112) 전달한다. 상기 MPEG TS 패킹부(1112)는 상기 MPEG TS 다중화 Buffer(1111)의 메모리로부터 MPEG TS 데이터를 읽어와 상기 DS3/E3 Clock 생성부(116)에서 생성하는 DS3/E3 클럭으로 동기화하여 새로운 MPEG TS 패킷을 생성한다. 동기화하기 위해 생성되는 클럭은 DS3의 경우 44.736Mb/s, E3의 경우 34.368Mb/S이다. 패킷 생성은 만약 MPEG TS 데이터가 유효 데이터인 경우 제일 앞에 0x47값인 SYNC BYTE를 전송하고 그 뒤에 비디오 영상프로그램 인식번호인 PID가 2BYTE 가 전송되고, 다음으로 비디오 영상프로그램 연속 전송 카운트값인 CC BYTE가 전송되며(예시, 0x47+pid+pid+CC+data+---), 만약 MPEG TS 데이터가 무효 데이터인 경우 인코딩된 비디오 압축데이터 중에서 실제 유효한 비디오 데이터가 아닌 다중화를 위한 BYTE 삽입데이터로 0x47 SYNC BYTE 와 무효데이터 표시인 0x1F+0xFF 값을 보내고, 다음으로 0x10을 보내고(MPEG TS의 표준 내용 및 도 4 및 도 5의 기재에 따라), 이어서 모든 데이터를 0x00로 전송하고(예시, 0x47+0x1F+0xFF+0x10+0x00+---), 만약 가변 비트율 데이터인 경우 0x47 값 이외에 0x35 등 정상적인 SYNC 바이트와 구분되는 데이터를 전송하고 이어지는 나머지 데이터는 모두 0xFF값으로 전송한다(예시,0x35+0xFF+---). 상기 MPEG TS Interface(111)에 생성된 MPEG TS 패킷은 DS3/E3 전송 패킷으로 변환되기 위해 상기 Randomizer(112)로 전달된다. The MPEG TS Interface 111 includes an MPEG TS multiplexing buffer 1111, an MPEG TS packing unit 1112 and a multiplexing control unit 1113. The MPEG TS multiplexing buffer 1111 receives input from the video server 200 And transmits the MPEG TS valid data, invalid data, and variable bit rate data to the MPEG TS packing unit 1112 in accordance with the Read / Write signal of the control unit 1113. The MPEG TS packing unit 1112 reads the MPEG TS data from the memory of the MPEG TS multiplex buffer 1111 and synchronizes with the DS3 / E3 clock generated by the DS3 / E3 clock generation unit 116 to generate a new MPEG TS packet . The clocks generated for synchronization are 44.736 Mb / s for DS3 and 34.368 Mb / S for E3. If the MPEG TS data is valid data, the SYNC BYTE value of 0x47 is transmitted first, followed by the PID of the video image program identification number 2BYTE, and then the CC BYTE of the video image program successive transmission count value is transmitted (0x47 + pid + pid + CC + data + ---). If the MPEG TS data is invalid data, it is not actually valid video data among the encoded video compressed data, but the BYTE insertion data for multiplexing is 0x47 SYNC BYTE And sends 0x10F + 0xFF, then 0x10 (according to the standard contents of the MPEG TS and FIGS. 4 and 5), then all the data to 0x00 (for example, 0x47 + 0x1F + 0xFF + 0x10 + 0x00 + ---). If the data is variable bit rate data, data other than the normal SYNC byte such as 0x35 is transmitted in addition to the value of 0x47. And (for example, 0x35 + 0xFF + ---). The MPEG TS packet generated in the MPEG TS Interface 111 is transferred to the Randomizer 112 to be converted into a DS3 / E3 transport packet.

상기 Randomizer(112)는 상기 MPEG TS Interface(111)를 통해 생성된 MPEG TS 패킷 데이터가 반복 형태를 가진 특정 주파수에 몰리는 현상을 제거하기 위해 의사 랜덤 숫자 발생기의 패턴에 따라 변화 시켜 난수와 섞어서 연속적으로 같은 데이터가 출력되지 않도록 한다.The Randomizer 112 changes the MPEG TS packet data generated through the MPEG TS Interface 111 according to the pattern of the pseudo random number generator in order to eliminate the phenomenon that the MPEG TS packet data is multiplexed to a specific frequency having a repetitive form, Do not output the same data.

상기 RS Encoder(113)는 Reed-solomon Encoder로 데이터 전송 과정 중 발생할 수 있는 비트 에러를 보정할 수 있도록 오류정정 코드를 삽입하는 기능을 한다. 예를 들어, 8비트 이하의 손상된 데이터의 복구가 가능하다.The RS encoder 113 inserts an error correction code into the Reed-Solomon encoder so as to correct a bit error that may occur during data transmission. For example, it is possible to recover less than 8 bits of corrupted data.

상기 Interleaver(114)는 8 Byte 이상 연속적인 오류를 방지하기 위해 데이터 스트림의 순서를 교란하고 전송 순서를 시간 축 상에서 분산시켜 버스트 에러를 랜덤에러로 전환한다. 주파수 및 시간 축에서 데이터 혼합하고 여러 세그먼트에 걸쳐 17 Byte씩 12단계로 데이터의 순서 섞기를 통해 연속적인 오류를 방지한다.The interleaver 114 disturbs the order of the data streams to prevent consecutive errors exceeding 8 bytes and distributes the transmission order on the time axis to convert burst errors into random errors. It mixes data on the frequency and time axes and prevents sequential errors by shuffling the data in 12 steps of 17 Bytes across multiple segments.

상기 Multiplexer(115)는 상기 MPEG TS Interface(111)의 클럭 동기화 처리된 MPEG TS 패킷과 상기 Randomizer(112)에 의한 난수처리 결과를 다중화하고, 이 난수 처리 다중화된 MPEG TS 패킷과 상기 RS Encoder(113)에 의한 오류정정 코드 삽입 결과를 다시 다중화하고, 이후 오류정정 코드 삽입 다중화된 MPEG TS 패킷과 상기 Interleaver(114)에 의한 Interleaving 결과를 다중화 한다.The multiplexer 115 multiplexes an MPEG TS packet subjected to clock synchronization processing of the MPEG TS Interface 111 and a random number processing result by the randomizer 112 and outputs the resultant multiplexed MPEG TS packet and the RS encoder 113 ), Multiplexes the error correction code-inserted multiplexed MPEG TS packet and the interleaver 114 interleaving result.

상기 DS3/E3 Framer+LIU(120)는 상기 MPEG TS Interface부(111)의 MPEG TS 패킷 생성 과정, Randomizer(112)의 난수처리 과정, RS Encoder(113)의 오류정정 코드 삽입 과정, Interleaver(114)의 랜덤에러 전환과정 등 일련의 과정을 통해 MPEG TS 데이터의 DS3/E3 컨버팅 과정을 통해 생성된 DS3/E3 패킷을 상기 DS3/E3 Clock 생성부(117)가 생성한 DS3/E3 클럭으로 동기화하여 DS3/E3 전송 프레임으로 Framing하고, 두 개의 TX1 및 TX2의 DS3/E3 전송 라인으로 전송하게 된다. 이때 LIU는 하드웨어적인 라인 인터페이스를 지원한다.The DS3 / E3 framer + LIU 120 generates an MPEG TS packet of the MPEG TS interface unit 111, a random number process of the randomizer 112, an error correction code insertion process of the RS encoder 113, ), The DS3 / E3 packet generated through the DS3 / E3 conversion process of the MPEG TS data is synchronized with the DS3 / E3 clock generated by the DS3 / E3 clock generator 117 Framing with a DS3 / E3 transmission frame and transmission to two TX1 and TX2 DS3 / E3 transmission lines. The LIU supports a hardware line interface.

도 3는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 역다중화 데이터 처리 장치의 블록도이다.3 is a block diagram of a variable bit rate demultiplexing data processing apparatus in an MPEG TS transmission frame according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 역다중화 데이터 처리 장치는 MPEG TS Interface부(131), De-Randomizer(132), RS Decoder(133), De-Interleaver(134), Multiplexer(135), DS3/E3 Clock 생성부(136), DS3/E3 De-Framer+LIU(140)를 포함하여 구성된다.3, the variable bit rate demultiplexing data processing apparatus in an MPEG TS transmission frame according to an exemplary embodiment of the present invention includes an MPEG TS interface unit 131, a de-randomizer 132, an RS decoder 133, A de-interleaver 134, a multiplexer 135, a DS3 / E3 clock generator 136, and a DS3 / E3 De-Framer + LIU 140.

상기 DS3/E3 De-Framer+LIU(140)는 1개의 DS3/E3 전송 라인입력(Rx1)과 1개의 감시용 Loopback DS3/E3 라인 출력(Tx1)의 하드웨어적인 인터페이스를 지원하며 Rx1 라인 입력단을 통해 입력되는 DS3/E3 전송 프레임을 상기 DS3/E3 Clock 생성부에서 생성하는 DS3/E3 바이트 레이트 주파수인 44.736Mb/s(DS3)나 34.368Mb/s(E3)와 동기화 하여 De-Framing하고, De-Framing을 통해 생성된 DS3/E3 패킷을 상기 DS3/E3 to MPEG TS Converter(130)단에 전달한다.The DS3 / E3 De-Framer + LIU 140 supports a hardware interface of one DS3 / E3 transmission line input (Rx1) and one monitoring loopback DS3 / E3 line output (Tx1) Framing the input DS3 / E3 transmission frame in synchronization with the DS3 / E3 byte rate frequency 44.336 Mb / s (DS3) or 34.368 Mb / s (E3) generated by the DS3 / E3 clock generator, And transmits the DS3 / E3 packet generated through the framing to the DS3 / E3 to MPEG TS Converter 130. [

상기 De-Interleaver(134)는 상기 MPEG TS to DS3/E3 Converter(110)의 Interleaver(114)에 의해 8 Byte 이상 연속적인 오류를 방지하기 위해 주파수 및 시간 축에서 데이터를 혼합하고 여러 세그먼트에 걸쳐 17 Byte씩 12 단계로 데이터의 순서 섞기를 한 데이터를 다시 De-Interleaving하여 복원한다.Interleaver 114 of the MPEG TS to DS3 / E3 Converter 110 mixes data on the frequency and time axes in order to prevent consecutive errors of 8 bytes or more from the De-Interleaver 134, De-interleaving the data that has been subjected to the order shuffling of the data in 12 steps, one byte at a time, is restored.

상기 RS Decoder(133)는 상기 MPEG TS to DS3/E3 Converter(110)의 RS Encoder(113)에 의해 데이터 전송 과정 중 발생할 수 있는 비트에러를 보정하기 위해 삽입된 오류정정 코드를 제거하는 역할을 한다.The RS decoder 133 removes the inserted error correction code to correct a bit error that might occur during the data transmission process by the RS encoder 113 of the MPEG TS to DS3 / E3 converter 110 .

상기 De-Randomizer(132)는 상기 MPEG TS to DS3/E3 Converter(110)의 Randomizer(112)에 의해 MPEG TS 스트림 데이터가 반복 형태를 가진 특정 주파수에 몰리는 현상을 제거하기위해 난수와 섞어서 연속적으로 같은 데이터가 출력되지 않도록 한 데이터에서 난수를 제거하여 MPEG TS 패킷을 복원한다.The De-Randomizer 132 mixes the random number with a random number to eliminate the phenomenon that the MPEG TS stream data is pushed to a specific frequency having a repetitive form by the Randomizer 112 of the MPEG TS to DS3 / E3 Converter 110, The MPEG TS packet is recovered by removing the random number from the data so that the data is not outputted.

상기 MPEG TS Interface(131)는 MPEG TS 역다중화 Buffer(1311), MPEG TS 디패킹부(1312), 역다중화 제어부(1313)로 구성되며, 상기 MPEG TS 디패킹부(1312)는 상기 De-Randomizer(132)로 전달 받은 MPEG TS 패킷을 상기 DS3/E3 Clock 생성부(136)에서 생성하는 DS3/E3 클럭으로 동기화하여 디패킹한다. 디패킹하여 생긴 MPEG TS 데이터를 상기 MPEG TS 역다중화 Buffer(1311)에 실시간으로 저장하고 이를 상기 역다중화 제어부(1313)의 Read/Write 신호에 따라 상기 클라이언트로 실시간 전송된다. 디패깅 과정은 상기 MPEG TS 패킹부(1112)의 처리 과정의 역으로, 데이터의 전송 프레임 헤더를 분석하여 맨 앞 헤더의 HEX 값이 Ox47인지 여부를 판단하고 만약 그 헤더의 맨 앞 HEX값이 Ox47이라면 Ox47 다음 2 Byte의 HEX 값이 0x1F + 0xFF로 검출되었다면 해당 무효 데이터 패킷을 제거하고, 반면에 0x1F + 0xFF이 아닌 비디오 영상프로그램 인식번호인 PID값이 검출된다면 유효 비디오 데이터를 추출한다. 반면 맨 앞 헤더의 HEX 값이 Ox47이 아닌 Ox35라면 맨 앞 Ox35 데이터와 모든 0xFF 값의 데이터를 삭제한다.The MPEG TS Interface 131 includes an MPEG TS demultiplexing buffer 1311, an MPEG TS depacking unit 1312 and a demultiplexing control unit 1313. The MPEG TS depacking unit 1312 demultiplexes the De- And outputs the MPEG TS packet to the DS3 / E3 clock generating unit 136 in synchronization with the DS3 / E3 clock generated by the DS3 / E3 clock generating unit 136 to be decoded. MPEG TS demultiplexing buffer 1311 and stores the MPEG TS data in real time in accordance with the Read / Write signal of the demultiplexing controller 1313. In the de-padding process, the transmission frame header of the data is analyzed in reverse to the processing of the MPEG TS packing unit 1112, and it is determined whether the HEX value of the first header is 0x47. If the HEX value before the header is 0x47 , The invalid data packet is removed if the HEX value of the next 2 bytes of 0x47 is detected as 0x1F + 0xFF, whereas if the PID value which is the video image program identification number other than 0x1F + 0xFF is detected, the valid video data is extracted. On the other hand, if the HEX value of the first header is 0x35 instead of 0x47, the data of the first Ox35 data and all 0xFF values are deleted.

이러한 과정을 통해서 본 발명은 MPEG TS 데이터의 다중화시 추가했던 오버헤드 데이터를 모두 추출하여 데이터를 검출하고, 비트율을 맞추기 위하여 모든 수신된 데이터를 버퍼에 저장하여, 동기 클록에 맞추어 역다중화를 수행하는 방식에 비해서 실시간으로 다중화 및 역다중화가 구현 가능하도록 하여 영상 전송의 지연을 대폭 감소시키는 것을 목적으로 한다.In this way, the present invention extracts all the overhead data added when MPEG TS data is multiplexed, detects data, and stores all received data in a buffer in order to match the bit rate, and performs demultiplexing according to the synchronous clock Multiplexing and demultiplexing can be implemented in real time in comparison with the conventional method, and the delay of the image transmission is greatly reduced.

즉, 역다중화 과정에서 단지 헤더만을 인식한 다음 무효데이터나 가변 비트율 데이터를 포함하는 전송프레임이나 패킷은 삭제하고, 출력 버퍼에 저장할 필요도 없이 유효데이터만 저장하여 클라이언트로 전송함으로써, 처리 지연시간이 획기적으로 줄어들게 할 수 있다.That is, in the demultiplexing process, only the header is recognized, and then the transmission frame or packet including the invalid data or the variable bit rate data is deleted, and only the valid data is stored without being stored in the output buffer, Can be dramatically reduced.

도 4는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 과정의 순서도이다.FIG. 4 is a flowchart illustrating a process of processing variable bit rate multiplexed data in an MPEG TS transmission frame according to an exemplary embodiment of the present invention. Referring to FIG.

도 1 내지 도 4를 참조하여 설명하면, 먼저 상기 비디오 서버(200)로부터 전송된 MPEG TS 데이터는 버퍼링을 통해 상기 MPEG TS Interface(111)로 입력된다(S100). 상기 MPEG TS Interface(111)에서는 상기 DS3/E3 Clock 생성부(116)에서 생성하는 DS3/E3 클럭으로 동기화한다(S110). 이후 MPEG TS 데이터의 비트율이 다중화 전송속도와 비교하여 부족한지 여부를 판단한다(S120). 만약 상기 S120단계에서 MPEG TS 데이터의 비트율이 다중화 전송속도와 비교하여 부족하다면 전송속도 조정용 패킷을 생성하는데 패킷 프레임의 헤더에 0x47값 이외에 0x35등 정상적인 SYNC 바이트와 구분되는 데이터를 전송하고 이어지는 나머지 데이터는 모두 0xFF값으로 채운다(S130). 반면 데이터가 부족하지 않다면 데이터의 유무효 여부를 판단한다(S140). 만약 무효 데이터라면 인코딩된 비디오 압축데이터 중에서 실제 유효한 비디오 데이터가 아닌 다중화를 위한 BYTE 삽입데이터로 0x47 SYNC BYTE 와 무효데이터 표시인 0x1F + 0xFF값을 보내고, 다음으로 0x10을 보내고(MPEG TS의 표준 내용 및 도 4 및 도 5의 기재에 따라), 이어서 모든 데이터를 0x00으로 전송하는 무효 비디오 데이터 패킷을 생성한다(S141). 반면 정상적인 유효 데이터라면 제일 앞에 0x47값인 SYNC BYTE를 전송하고 그 뒤에 비디오 영상프로그램 인식번호인 PID가 2 BYTE 가 전송되고 다음으로 비디오 영상프로그램 연속 전송 카운트 값인 CC BYTE가 전송하는 유효 비디오 데이터 패킷을 생성한다(S142). 상기 S130단계 내지 S142단계를 통해 MPEG TS 패킷이 생성되면 이후 상기 Randomizer(112)에 의해 의사 랜덤 숫자 발생기의 패턴에 따라 변화 시켜 난수와 섞어서 연속적으로 같은 데이터가 출력되지 않도록 하는 Randomizing되고, RS Encoder(113)에 의해 데이터 전송 과정 중 발생할 수 있는 비트에러를 보정할 수 있도록 오류정정 코드가 삽입되는 RS Encoding되고, Interleaver(114)에 의해 주파수 및 시간 축에서 데이터를 혼합하고 여러 세그먼트에 걸쳐 17Byte씩 12단계로 데이터의 순서 섞기를 통해 연속적인 오류를 방지하는 Interleaving과정 처리가 이루어진다(S150). 이후 DS3/E3 Framer+LIU(120)는 MPEG TS 데이터의 DS3/E3 컨버팅 과정을 통해 생성된 DS3/E3 패킷을 상기 DS3/E3 Clock 생성부(117) 생성하는 DS3/E3 클럭으로 동기화하여 DS3/E3 전송 프레임으로 Framing하고, 두 개의 TX1, TX2 DS3/E3 전송 라인의 하드웨어적인 인터페이스를 통해 전송한다(S160).Referring to FIGS. 1 to 4, the MPEG TS data transmitted from the video server 200 is input to the MPEG TS Interface 111 through buffering (S100). In the MPEG TS Interface 111, the DS3 / E3 clock is synchronized with the DS3 / E3 clock generated by the DS3 / E3 clock generator 116 (S110). Then, it is determined whether the bit rate of the MPEG TS data is insufficient compared with the multiplexing transmission rate (S120). If the bit rate of the MPEG TS data is insufficient as compared with the multiplexing transmission rate in step S120, data for discriminating the normal SYNC byte such as 0x35 is transmitted in addition to the value of 0x47 in the header of the packet frame to generate a transmission rate adjustment packet. All are filled with a value of 0xFF (S130). On the other hand, if the data is not insufficient, it is determined whether the data is invalid or not (S140). If the data is invalid data, 0x47 SYNC BYTE and 0x1F + 0xFF are sent as BYTE insertion data for multiplexing instead of the actual valid video data among the encoded video compression data, then 0x1F + 0xFF is sent, and then 0x10 is transmitted 4 and 5), and then generates an invalid video data packet that transmits all data at 0x00 (S141). On the other hand, if it is normal valid data, SYNC BYTE having a value of 0x47 is transmitted first, followed by a video image program recognition number PID of 2 BYTE, and then a valid video data packet transmitted by the CC BYTE, (S142). When the MPEG TS packets are generated through steps S130 through S142, the Randomizer 112 randomly changes the data according to the pattern of the pseudo random number generator so that the same data is not continuously output mixed with the random number, 113), and an error correction code is inserted to correct a bit error that may occur during the data transmission process. The interleaver 114 mixes the data on the frequency and time axes and divides the data by 17 bytes In step S150, an interleaving process is performed to prevent consecutive errors by sequentially shuffling the data. Then, the DS3 / E3 framer + LIU 120 synchronizes the DS3 / E3 packet generated through the DS3 / E3 conversion process of the MPEG TS data to the DS3 / E3 clock generated by the DS3 / E3 clock generator 117, E3 transmission frame, and transmitted through a hardware interface of two TX1 and TX2 DS3 / E3 transmission lines (S160).

도 5는 본 발명의 일 실시예에 따른 MPEG TS 전송프레임에서 가변 비트율 역다중화 데이터 처리 과정의 순서도이다.5 is a flowchart illustrating a process of processing variable bit rate demultiplexing data in an MPEG TS transmission frame according to an exemplary embodiment of the present invention.

도 1 내지 도 5를 참조하여 설명하면, 먼저 상기 DS3/E3 De-Framer+LIU(140) Rx1 라인입력단을 통해 DS3/E3 전송 프레임을 수신하여 상기 DS3/E3 Clock 생성부에서 생성하는 DS3/E3 바이트 레이트 주파수인 44.736Mb/s(DS3)나 34.368Mb/s(E3)와 동기화 하여 De-Framing하고, De-Framing을 통해 생성된 DS3/E3 패킷을 상기 De-Interleaver(134)단에 전달한다(S200).1 to 5, a DS3 / E3 transmission frame is received through the DS3 / E3 De-Framer + LIU (140) Rx1 line input terminal and the DS3 / E3 De-framing in synchronization with the byte rate frequency 44.736 Mb / s (DS3) or 34.368 Mb / s (E3), and delivers the DS3 / E3 packet generated through De-Framing to the De-Interleaver 134 (S200).

이후 상기 De-Interleaver(134)에서 De-Interleaving하고 상기 RS Decoder(133)에 의해 비트에러를 보정하기 위해 삽입된 오류정정 코드를 제거하는 RS Decoding 처리 과정을 거치고, 상기 De-Randomizer(132)에 의한 데이터 난수를 제거하는 DE-Randomizing 과정을 거친다(S220). 이후 이 데이터의 전송 프레임 헤더를 분석하여 맨 앞 헤더의 HEX 값이 Ox47인지 여부를 판단한다(S230). 만약 그 헤더의 맨 앞 HEX값이 Ox47이라면 Ox47 다음 2Byte의 HEX 값이 0x1F+0xFF인지 검출하여 무효 비디오 데이터인지 여부를 판단한다(S240). 만약 Ox47 다음 2Byte의 HEX 값이 0x1F+0xFF로 검출되었다면 이 무효 데이터로 판단되면 해당 무효 데이터 패킷을 제거하고(S241), 반면에 0x1F+0xFF이 아닌 비디오 영상프로그램 인식번호인 PID값이 검출된다면 유효 비디오 데이터를 추출한다(S242). 상기 S220단계에서 맨 앞 헤더의 HEX 값이 Ox47이 아닌 Ox35라면 맨 앞 Ox35 데이터와 모든 0xFF 값의 데이터를 삭제한다. 이후 상기 S230단계내지 S242 단계를 통해 디코딩된 데이터는 상기 MPEG TS Interface(131)를 통해 디코더 자체에서 생성한 DS3/E3 클럭으로 동기화되고(S250), MPEG TS Packet 버퍼링을 통해 클라이언트에게 제공된다.Thereafter, the de-interleaver 134 de-interleaves the data and performs an RS decoding process to remove the inserted error correction code to correct the bit error by the RS decoder 133, (Step S220). ≪ / RTI > Thereafter, the transmission frame header of the data is analyzed and it is determined whether the HEX value of the first header is 0x47 (S230). If the first HEX value of the header is 0x47, it is determined whether the HEX value of 0x47 next 2 bytes is 0x1F + 0xFF to determine whether it is invalid video data (S240). If it is determined that the HEX value of the next 2 bytes of 0x47 is 0x1F + 0xFF, the invalid data packet is removed (S241). If it is determined that the PID value is not 0x1F + 0xFF, And extracts the video data (S242). In step S220, if the HEX value of the first header is 0x35 instead of 0x47, the first Ox35 data and all 0xFF data are deleted. Thereafter, the decoded data is synchronized with the DS3 / E3 clock generated by the decoder itself through the MPEG TS Interface 131 (S250) and is provided to the client through the MPEG TS Packet buffering.

본 발명은 MPEG TS 전송프레임에서 가변 비트율 다중화 데이터 처리 방법 및 그 장치에 관한 것으로, 비디오 영상데이터의 압축형태인 MPEG 데이터의 다중화 및 전송을 위하여 특정 전송선로의 최대 전송 속도에 맞추어 고정으로 데이터를 전송하면서, 가변 전송 속도로 코딩된 MPEG 데이터를 효과적으로 다중화하여 전송함으로써, 종래의 방식에 비해서 역 다중화를 간단하게 수행할 수 있는 것과 더불어 영상 전송의 지연을 대폭 감소시키는 효과가 있다.The present invention relates to a method and an apparatus for processing variable bit rate multiplexed data in an MPEG TS transmission frame, and more particularly, to multiplexing and transmitting MPEG data, which is a compression type of video image data, And effectively multiplexing and transmitting MPEG data coded at a variable transmission rate, demultiplexing can be performed more easily than in the conventional method, and the delay of image transmission is greatly reduced.

이상으로 본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 기술적 보호범위는 아래의 특허청구범위에 의해서 판단되어야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, I will understand the point. Accordingly, the technical scope of the present invention should be determined by the following claims.

100 : DS3/E3 전송장치 110 : MPEG TS to DS3/E3 Converter
111 : MPEG TS Interface 112 : Randomizer
113 : RS Encoder 114 : Interleaver
115 : Multiplexer 116 : DS3/E3 clock 생성부
120 : DS3/E3 Framer+LIU 130 : DS3/E3 to MPEG TS Converter
131 : MPEG TS Interface 132 : De-Randomizer
133 : RS Decoder 134 : De-Interleaver
136 : DS3/E3 clock 생성부 140 : DS3/E3 De-Framer+LIU
200 : 비디오 서버 300 : 클라이언트
1111 : MPEG TS 다중화 Buffer 1112 : MPEG TS 패킹부
1113 : 다중화 제어부 1311 : MPEG TS 역다중화 Buffer
1312 : MPEG TS 디패킹부 1313 : 역다중화 제어부
100: DS3 / E3 transmission device 110: MPEG TS to DS3 / E3 Converter
111: MPEG TS Interface 112: Randomizer
113: RS Encoder 114: Interleaver
115: Multiplexer 116: DS3 / E3 clock generating unit
120: DS3 / E3 Framer + LIU 130: DS3 / E3 to MPEG TS Converter
131: MPEG TS Interface 132: De-Randomizer
133: RS Decoder 134: De-Interleaver
136: DS3 / E3 clock generator 140: DS3 / E3 De-Framer + LIU
200: Video server 300: Client
1111: MPEG TS multiplexing buffer 1112: MPEG TS packing unit
1113: multiplexing control unit 1311: MPEG TS demultiplexing buffer
1312: MPEG TS depacking unit 1313: Demultiplexing control unit

Claims (9)

MPEG TS(transport stream) 데이터를 버퍼링하는 버퍼;
상기 MPEG TS 데이터를 송신 혹은 수신하는 특정 전송장치의 송신 혹은 수신 속도에 따른 동작 클록을 생성하는 클록 생성부; 및
상기 생성된 동작 클록에 동기화하여 MPEG TS 데이터를 상기 버퍼에서 읽어내어 MPEG TS 패킷을 생성하는 것을 포함하는 MPEG TS 패킹부;를 포함하며,
상기 MPEG TS 패킷을 생성함에 있어서, 상기 MPEG TS 데이터를 유효데이터나 무효데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하는 것에 더하여 전송속도 조정용 데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하여, 무효데이터나 유효데이터 패킷과 전송속도 조정용 데이터 패킷을 다중화하여 생성함으로써,
상기 MPEG TS 패킷을 상기 특정 전송장치의 최대 전송속도에 고정되도록 하고, 전송할 데이터가 부족하면 상기 패킷 헤더를 이용하여 다중화하여 출력함으로써, 역다중화시에 상기 부가된 패킷 헤더를 참조함으로써, 역다중화를 위한 지연시간을 감소시키는 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 장치.
A buffer for buffering MPEG TS (transport stream) data;
A clock generator for generating an operation clock corresponding to a transmission or reception speed of a specific transmission apparatus that transmits or receives the MPEG TS data; And
And an MPEG TS packing unit for reading the MPEG TS data from the buffer in synchronization with the generated operation clock to generate an MPEG TS packet,
In addition to adding the synchronization information for transmitting the valid data or the invalid data to the packet header, the synchronization information for transmitting the transmission rate adjustment data is added to the packet header in addition to adding the MPEG TS data to the packet header, The invalid data or the valid data packet and the data rate adjustment data packet are multiplexed and generated,
The MPEG TS packet is fixed to the maximum transmission rate of the specific transmission apparatus, and if the data to be transmitted is insufficient, multiplexing is performed using the packet header, and the multiplexed TS packet is output by referring to the added packet header during demultiplexing, And multiplexing the MPEG TS data at a transmission rate of the transmission apparatus.
청구항 1에 있어서,
상기 유효데이터는,
인코딩된 압축데이터를 전송할 때 정상적인 유효데이터를 포함하는 데이터이며,
상기 무효데이터는,
인코딩된 압축데이터 중에서 실제 유효한 데이터가 아닌 다중화를 위해 바이트 삽입된 바이트 삽입 데이터를 포함하는 데이터이며,
상기 전송속도 조정용 데이터는,
인코딩된 압축데이터의 비트율이 다중화 전송속도보다 낮을 경우 다중화 데이터의 빈자리를 채워 비트율을 조정하기 위한 데이터인 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 장치.
The method according to claim 1,
The valid data includes:
Data containing normal valid data when transmitting encoded compressed data,
The invalid data includes,
Data that contains byte-inserted byte insertion data for multiplexing rather than actual valid data among the encoded compressed data,
The data for the transmission rate adjustment,
And multiplexing the MPEG TS data at a transmission rate of the transmission apparatus when the bit rate of the encoded compressed data is lower than the multiplex transmission rate.
청구항 1에 있어서,
상기 특정 전송장치는,
DS3 또는 E3 데이터의 송수신이 가능한 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 장치.
The method according to claim 1,
The specific transmission apparatus includes:
DS3 or E3 data is multiplexed at the transmission rate of the transmission apparatus.
MPEG TS(transport stream) 데이터를 버퍼링하는 버퍼;
상기 MPEG TS 데이터를 송신 혹은 수신하는 특정 전송장치의 송신 혹은 수신 속도에 따른 동작 클록을 생성하는 클록 생성부; 및
수신한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 추출하여 상기 생성된 동작 클록에 동기화하여 상기 버퍼에 쓰는 것을 포함하는 MPEG TS 디패킹부;를 포함하며,
상기 수신한 MPEG TS 패킷은, 상기 MPEG TS 데이터를 유효데이터나 무효데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하는 것에 더하여 전송속도 조정용 데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하여, 무효데이터나 유효데이터 패킷과 전송속도 조정용 데이터 패킷을 다중화하여 생성되었으므로,
상기 MPEG TS 디패킹부는 상기 부가된 패킷 헤더와 식별자를 참조하여 상기 수신한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 역다중화하여 출력함으로써, 상기 유효데이터, 무효데이터 또는 전송속도 조정용 데이터를 MPEG TS 패킷의 헤더와 식별자만으로 인식할 수 있도록 하여, 단지 무효데이터 또는 전송속도 조정용 데이터를 삭제하는 것만으로 수행되므로, 상기 역다중화를 위한 지연시간을 감소시키는 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 장치.
A buffer for buffering MPEG TS (transport stream) data;
A clock generator for generating an operation clock corresponding to a transmission or reception speed of a specific transmission apparatus that transmits or receives the MPEG TS data; And
Extracting only MPEG TS data including valid data from the received MPEG TS packets, and writing the extracted MPEG TS data to the buffer in synchronization with the generated operation clock;
The received MPEG TS packet adds synchronization information for transmitting valid data or invalid data to the MPEG TS data to the packet header in addition to synchronization information for transmitting the transmission rate adjustment data to the packet header, Since data and the valid data packet and the data packet for the transmission rate adjustment are generated by multiplexing,
The MPEG TS de-packing unit demultiplexes and outputs only the MPEG TS data including valid data among the received MPEG TS packets with reference to the added packet header and the identifier, thereby generating the valid data, invalid data, The MPEG TS data can be recognized only by the header and the identifier of the MPEG TS packet, and only the invalid data or the data for adjusting the transmission rate is deleted. Therefore, the delay time for the demultiplexing is reduced, At a transmission rate of < / RTI >
청구항 4에 있어서,
상기 유효데이터는,
인코딩된 압축데이터를 전송할 때 정상적인 유효데이터를 포함하는 데이터이며,
상기 무효데이터는,
인코딩된 압축데이터 중에서 실제 유효한 데이터가 아닌 다중화를 위해 바이트 삽입된 바이트 삽입 데이터를 포함하는 데이터이며,
상기 전송속도 조정용 데이터는,
인코딩된 압축데이터의 비트율이 다중화 전송속도보다 낮을 경우 다중화 데이터의 빈자리를 채워 비트율을 조정하기 위한 데이터인 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 장치.
The method of claim 4,
The valid data includes:
Data containing normal valid data when transmitting encoded compressed data,
The invalid data includes,
Data that contains byte-inserted byte insertion data for multiplexing rather than actual valid data among the encoded compressed data,
The data for the transmission rate adjustment,
And data for adjusting the bit rate by filling the empty space of the multiplexed data when the bit rate of the encoded compressed data is lower than the multiplexing transmission rate, characterized by demultiplexing the MPEG TS data at a transmission rate of the transmission apparatus.
청구항 4에 있어서,
상기 특정 전송장치는,
DS3 또는 E3 데이터의 송수신이 가능한 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 장치.
The method of claim 4,
The specific transmission apparatus includes:
DS3, or E3 data is demultiplexed at a transmission rate of the transmission apparatus.
삭제delete MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 장치에서, MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 방법에 있어서,
MPEG TS(transport stream) 데이터를 버퍼에 버퍼링하는 단계;
상기 MPEG TS 데이터를 송신 혹은 수신하는 특정 전송장치의 송신 혹은 수신 속도에 따른 동작 클록에 동기화하여 MPEG TS 데이터를 상기 버퍼에서 읽어내는 단계;
상기 버퍼에서 읽어낼 데이터가 부족한 경우, 전송속도 조정용 MPEG TS 패킷을 생성하는 단계;
상기 버퍼에서 읽어낼 데이터가 부족하지 아니하고, 유효데이터가 아닌 경우, 무효데이터로 MPEG TS 패킷을 생성하는 단계; 및
상기 버퍼에서 읽어낼 데이터가 부족하지 아니하고, 유효데이터인 경우, 유효데이터로 MPEG TS 패킷을 생성하는 단계;를 포함하며,
상기 MPEG TS 패킷을 생성함에 있어서, 상기 MPEG TS 데이터를 유효데이터나 무효데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하는 것에 더하여 전송속도 조정용 데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하여, 무효데이터나 유효데이터 패킷과 전송속도 조정용 데이터 패킷을 다중화하여 생성함으로써,
상기 MPEG TS 패킷을 상기 특정 전송장치의 최대 전송속도에 고정되도록 하고, 전송할 데이터가 부족하면 상기 패킷 헤더를 이용하여 다중화하여 출력함으로써, 역다중화시에 상기 부가된 패킷 헤더를 참조함으로써, 역다중화를 위한 지연시간을 감소시키는 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 다중화하여 처리하는 방법.
A method for multiplexing and processing MPEG TS data at a transmission rate of a transmission apparatus in an apparatus for multiplexing and processing MPEG TS data at a transmission rate of a transmission apparatus,
Buffering MPEG TS (transport stream) data in a buffer;
Reading MPEG TS data from the buffer in synchronization with an operation clock corresponding to a transmission or reception speed of a specific transmission apparatus that transmits or receives the MPEG TS data;
Generating an MPEG TS packet for transmission rate adjustment when data to be read out from the buffer is insufficient;
Generating an MPEG TS packet with invalid data if the data to be read from the buffer is not insufficient and is not valid data; And
And generating an MPEG TS packet with valid data if the data to be read out from the buffer is insufficient and valid data is received,
In addition to adding the synchronization information for transmitting the valid data or the invalid data to the packet header, the synchronization information for transmitting the transmission rate adjustment data is added to the packet header in addition to adding the MPEG TS data to the packet header, The invalid data or the valid data packet and the data rate adjustment data packet are multiplexed and generated,
The MPEG TS packet is fixed to the maximum transmission rate of the specific transmission apparatus, and if the data to be transmitted is insufficient, multiplexing is performed using the packet header, and the multiplexed TS packet is output by referring to the added packet header during demultiplexing, And multiplexing the MPEG TS data at a transmission rate of the transmission apparatus.
MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 장치에서, MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 방법에 있어서,
MPEG TS 데이터를 송신 혹은 수신하는 특정 전송장치의 송신 혹은 수신 속도에 따른 동작 클록을 생성하는 단계;
MPEG TS 패킷을 수신하고, 상기 수신한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 추출하여 상기 MPEG TS 데이터를 송수신하는 전송장치의 송수신 속도에 따른 동작 클록에 동기화하여 버퍼에 쓰는 단계;를 포함하며,
상기 수신한 MPEG TS 패킷은, 상기 MPEG TS 데이터를 유효데이터나 무효데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하는 것에 더하여 전송속도 조정용 데이터를 전송하기 위한 동기정보를 패킷 헤더에 부가하여, 무효데이터나 유효데이터 패킷과 전송속도 조정용 데이터 패킷을 다중화하여 생성되었으므로,
상기 부가된 패킷 헤더와 식별자를 참조하여 상기 수신한 MPEG TS 패킷 중에서 유효데이터를 포함하는 MPEG TS 데이터만을 역다중화하여 출력함으로써, 상기 유효데이터, 무효데이터 또는 전송속도 조정용 데이터를 MPEG TS 패킷의 헤더와 식별자만으로 인식할 수 있도록 하여, 단지 무효데이터 또는 전송속도 조정용 데이터를 삭제하는 것만으로 수행되므로, 상기 역다중화를 위한 지연시간을 감소시키는 것을 특징으로 하는 MPEG TS 데이터를 전송장치의 전송속도로 역다중화하여 처리하는 방법.
A method for demultiplexing MPEG TS data at a transmission rate of a transmission apparatus in an apparatus for demultiplexing and processing MPEG TS data at a transmission rate of a transmission apparatus,
Generating an operation clock corresponding to a transmission or reception speed of a specific transmission apparatus that transmits or receives MPEG TS data;
Extracting only MPEG TS data including valid data among the received MPEG TS packets and writing the same in a buffer synchronized with an operation clock according to transmission / reception speed of a transmitting / receiving apparatus for transmitting / receiving MPEG TS data; ≪ / RTI &
The received MPEG TS packet adds synchronization information for transmitting valid data or invalid data to the MPEG TS data to the packet header in addition to synchronization information for transmitting the transmission rate adjustment data to the packet header, Since data and the valid data packet and the data packet for the transmission rate adjustment are generated by multiplexing,
And outputs the valid data, invalid data or transmission rate adjustment data to the header of the MPEG TS packet by demultiplexing and outputting only the MPEG TS data including the valid data among the received MPEG TS packets with reference to the added packet header and the identifier And the data for transmission rate adjustment is deleted only by deleting the invalid data or the data for the transmission rate adjustment so that the delay time for the demultiplexing is reduced so that the MPEG TS data is demultiplexed at the transmission rate of the transmission apparatus Lt; / RTI >
KR1020150034812A 2015-03-13 2015-03-13 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame KR101696191B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150034812A KR101696191B1 (en) 2015-03-13 2015-03-13 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150034812A KR101696191B1 (en) 2015-03-13 2015-03-13 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame

Publications (2)

Publication Number Publication Date
KR20160109771A KR20160109771A (en) 2016-09-21
KR101696191B1 true KR101696191B1 (en) 2017-01-13

Family

ID=57080877

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150034812A KR101696191B1 (en) 2015-03-13 2015-03-13 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame

Country Status (1)

Country Link
KR (1) KR101696191B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954001A (en) * 2020-07-31 2020-11-17 西安万像电子科技有限公司 Image coding method, device, coding end equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223680A (en) * 2000-02-10 2001-08-17 Nec Corp Stuffing control circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233253B1 (en) * 1997-05-23 2001-05-15 Thomson Licensing S.A. System for digital data format conversion and bit stream generation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223680A (en) * 2000-02-10 2001-08-17 Nec Corp Stuffing control circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
International Standard ISO/IEC 13818-1. Information technology-Generic coding of moving pictures and associated audio information: Systems. Second ed. Dec. 1, 2000, pp.1-154*
長坂 篤, メディアサ─バ開發物語. 沖テクニカルレビュ─, 2004년 1월, 제197호, Vol.71, No.1, pp.134-139*

Also Published As

Publication number Publication date
KR20160109771A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
KR100510679B1 (en) Digital VSB transmitting system and enhanced data multiplexing method in a VSB transmitting system
US6310897B1 (en) Information transmitting method, encoder/decoder of information transmitting system using the method, and encoding multiplexer/decoding inverse multiplexer
US20100290536A1 (en) Moving image transmission/reception system
US6584120B1 (en) Data multiplexing apparatus and method
US20130021530A1 (en) Transmitting device, receiving system, communication system, transmission method, reception method, and program
EP2342854B1 (en) Method and system for synchronized mapping of data packets in an atsc data stream
EP1501228A1 (en) Encoded packet transmission/reception method, device thereof, and program
KR20110098830A (en) Method for transport stream synchronizing in a multiplexer comprising an external coprocessor
US7839925B2 (en) Apparatus for receiving packet stream
KR101760018B1 (en) Image data communication method and image data communication device
KR101696191B1 (en) Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame
US7415528B2 (en) Apparatus and method for transmitting hierarchically multimedia data TS to prevent jitter of timing information and for recovering the multimedia data TS
JP2001308876A (en) Information transmission system, transmitter and receiver
KR100579132B1 (en) Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically
EP2180710A1 (en) Method for processing a stream of multiplexed packets transporting multimedia data according to an MPEG-2 type format
KR101401746B1 (en) Apparatus and method for multiplexing of multimedia data
JP2010028642A (en) Image transmission system
JP3520851B2 (en) Data multiplexing device, data multiplexing method, and data transmission device
JP3978814B2 (en) Transmitting apparatus and method, receiving apparatus, and transmitting apparatus
KR100755836B1 (en) An apparatus for buffering transport stream packet in digital broadcasting receiver and a method thereof
JP2012239123A (en) Video data transmission device and receiving device
JP2006080715A (en) Transport stream transmitter and receiver
JPH1041978A (en) Digital data transmission method, digital data transmitter and receiver
Ding et al. A novel system multiplexing and program element identification scheme
JP2005064574A (en) Stream packet transmission apparatus and stream packet transmission method

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

Year of fee payment: 4