KR19980020815A - Video data interface device between demux and decoder - Google Patents

Video data interface device between demux and decoder Download PDF

Info

Publication number
KR19980020815A
KR19980020815A KR1019960039416A KR19960039416A KR19980020815A KR 19980020815 A KR19980020815 A KR 19980020815A KR 1019960039416 A KR1019960039416 A KR 1019960039416A KR 19960039416 A KR19960039416 A KR 19960039416A KR 19980020815 A KR19980020815 A KR 19980020815A
Authority
KR
South Korea
Prior art keywords
data
demux
video
decoder
video data
Prior art date
Application number
KR1019960039416A
Other languages
Korean (ko)
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 KR1019960039416A priority Critical patent/KR19980020815A/en
Publication of KR19980020815A publication Critical patent/KR19980020815A/en

Links

Landscapes

  • Communication Control (AREA)

Abstract

본 발명은 전송측과 수신측의 데이타 송수신 방식이 다른 경우의 인터페이스 장치에 관한 것으로, 특히 MPEGⅡ(Moving Picture Expert Group Ⅱ)에서의 TS (Transport Stream) 중 비디오 데이타를 역다중화하여 인터럽트 방식으로 송신하는 디먹스와 이를 DMA(Direct Memory Access) 방식으로 수신하는 디코더 사이의 서로 다른 인터페이스 방식에 따라 데이타 손실이 발생하지 않도록 한 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치에 관한 것이다.The present invention relates to an interface device in a case where data transmission and reception methods of a transmitting side and a receiving side are different. In particular, the present invention relates to a method of demultiplexing video data in a transport stream (MPS) in MPEG II (Moving Picture Expert Group II) and transmitting in an interrupt manner. The present invention relates to a video data interface device between a demux and a decoder such that data loss does not occur according to a different interface method between a demux and a decoder receiving the DMA (Direct Memory Access) method.

본 발명의 목적은 디먹스로부터의 비디오 데이타를 인터럽트 방식에 따라 버퍼에서 입력 저장하고 이어 이를 DMA 방식에 따라 비디오 디코더로 전송하도록 하는 장치를 제공하여 데이타 손실을 방지하고자 하는 것이다.It is an object of the present invention to provide an apparatus for inputting and storing video data from a demux in a buffer according to an interrupt scheme and then transmitting the video data to a video decoder according to a DMA scheme to prevent data loss.

이에 따라, 인터럽트 방식의 디먹스와 DMA 방식의 비디오 디코더 사이의 데이타 송수신을 버퍼를 통해 비동기식으로 수행하게 됨으로써 데이타 손실이 방지되어 데이타 손실로 인한 화질의 이상 발생이 없어지게 된다.Accordingly, since data transmission and reception between the interrupt-type demux and the DMA-type video decoder is performed asynchronously through the buffer, data loss is prevented, and thus an image quality loss due to data loss is eliminated.

Description

디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치Video data interface device between demux and decoder

본 발명은 전송측과 수신측의 데이타 송수신 방식이 다른 경우의 인터페이스 장치에 관한 것으로, 특히 MPEGⅡ(Moving Picture Expert Group Ⅱ)에서의 TS (Transport Stream) 중 비디오 데이타를 역다중화하여 인터럽트 방식으로 송신하는 디먹스와 이를 DMA 방식으로 수신하는 디코더 사이의 서로 다른 인터페이스 방식에 따라 데이타 손실이 발생하지 않도록 한 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치에 관한 것이다.The present invention relates to an interface device in a case where data transmission and reception methods of a transmitting side and a receiving side are different. In particular, the present invention relates to a method of demultiplexing video data in a transport stream (MPS) in MPEG II (Moving Picture Expert Group II) and transmitting in an interrupt manner. The present invention relates to a video data interface device between a demux and a decoder such that data loss does not occur according to a different interface method between a demux and a decoder receiving the DMA method.

일반적으로 VOD(Video On Demand)용 STB(Set Top Box)의 구현에 있어서, TS를 역다중화하는 디먹스와 비디오 스트림을 복원하는 비디오 디코더 사이의 데이타 인터페이스는 그 송수신 방식이 각각 다르다.In general, in the implementation of a set top box (STB) for video on demand (VOD), a data interface between a demux for demultiplexing TS and a video decoder for restoring a video stream is different from each other.

이때, 디먹스는 입력되는 TS를 역다중화 하여 오디오 데이타, 비디오 데이타, 기타 데이타들로 분류하여 인터럽트 방식에 의해 각각의 디코더로 전송한다.At this time, the demux demultiplexes the input TS, classifies it into audio data, video data, and other data, and transmits them to each decoder by an interrupt method.

여기서, 다른 데이타들의 디코더는 디먹스와 동일하게 인터럽트 방식으로 데이타를 수신하고 있는 반면, 비디오 디코더는 DMA 방식으로 데이타를 수신한다.Here, the decoder of other data receives data in an interrupt manner similar to a demux, while the video decoder receives data in a DMA manner.

이와 같이, 디먹스와 비디오 디코더 사이의 송수신 방식이 다름으로 인해 데이타의 손실이 발생할 수 있게 된다.As such, data loss may occur due to different transmission and reception methods between the demux and the video decoder.

즉, 디먹스는 도 1a에서와 같이 비디오 디코더로부터 비디오 데이타 요청신호가 입력(assert)되면 데이타를 전송하기 시작한다. 이렇게 전송을 하다가 비디오 디코더로부터 비디오 데이타 요청신호가 중단(deassert)되면 전송을 중지하지만, 비디오 데이타 요청신호가 중단되는 순간 바로 데이타 전송을 중지하지 못하고 비디오 데이타 요청신호가 중단되기 바로 직전에 역다중화 시켜 놓았던 몇 개의 데이타들을 마저 내보내게 된다.That is, the demux starts transmitting data when the video data request signal is asserted from the video decoder as shown in FIG. 1A. When the video data request signal is deasserted from the video decoder, the transmission is stopped. However, the data is not stopped immediately after the video data request signal is interrupted and demultiplexed just before the video data request signal is interrupted. It will even export some data you have placed.

이에 반하여 비디오 디코더의 DMA 방식에 의한 데이타 수신은 도 1b에서와 같이 DMA 요청신호가 발생(assert)한 후 정확히 N개의 데이타가 수신되면, DMA 요청신호를 중단(deassert)하고 그 이후로 들어오는 데이타는 무시하게 된다.On the contrary, data reception by the DMA method of the video decoder is performed as shown in FIG. 1B. When exactly N data are received after the DMA request signal is generated, the DMA request signal is deasserted and the data received thereafter is Ignore it.

결국, 디먹스에서 마지막에 전송된 몇 개의 데이타는 비디오 디코더에서 처리되지 않아 데이타 손실이 발생하게 되는 것이다.As a result, some of the last data transmitted from the demux is not processed by the video decoder, resulting in data loss.

이에 본 발명은 상기와 같은 문제점을 해결하기 위해 디먹스로부터의 비디오 데이타를 인터럽트 방식에 따라 버퍼에서 입력 저장하고 이어 이를 DMA 방식에 따라 비디오 디코더로 전송하도록 하는 장치를 제공하여 데이타 손실을 방지함을 목적으로 한다.Accordingly, the present invention provides a device for storing the video data from the demux in the buffer according to the interrupt scheme and then transmitting the video data from the demux to the video decoder according to the DMA scheme to prevent data loss. The purpose.

상기 목적을 달성하기 위한 본 발명 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치는, 외부로부터 수신한 TS를 오디오 데이타와 비디오 데이타와 기타 데이타들로 역다중화 하여 인터럽트 방식에 의해 송신하는 디먹스와, 상기 디먹스로부터 송신되는 비디오 데이타를 DMA 방식으로 수신하여 복원하는 비디오 디코더를 포함하는 비디오 데이타 인터페이스 장치에 있어서, 상기 디먹스로부터 비디오 데이타를 반 이상이 될 때까지 수신하여 저장하고 있다가 상기 비디오 디코더로 N개씩 송신하는 버퍼와; 상기 버퍼의 용량이 반 이상이 될 때까지 상기 디먹스로 비디오 데이타 요청신호를 발생하고, 상기 버퍼의 용량이 엠프티 상태가 아니면 상기 비디오 디코더의 DMA 요청신호에 의해 버퍼로부터 N개 데이타가 비디오 디코더로 전송되도록 하면서 동시에 데이타 입력을 확인시켜 주는 데이타 기록신호를 비디오 디코더로 발생하는 제어부를 포함하는 것을 특징으로 한다.The video data interface device between the demux and the decoder of the present invention for achieving the above object comprises: a demux for demultiplexing a TS received from the outside into audio data, video data and other data and transmitting the same by an interrupt method; A video data interface device including a video decoder for receiving and restoring video data transmitted from a demux in a DMA manner, wherein the video data is received and stored from the demux until at least half of the video data is stored in the video decoder. A buffer for transmitting N pieces each; The video data request signal is generated by the demux until the capacity of the buffer is more than half, and when the capacity of the buffer is not empty, N data from the buffer is transmitted by the DMA request signal of the video decoder. And a control unit for generating a data record signal to the video decoder to confirm the data input at the same time.

도 1a는 인터럽트 방식의 디먹스에서의 데이타 전송 타이밍도,1A is a timing diagram of data transmission in an interrupt type demux;

도 1b는 DMA(Direct Memory Access) 방식의 디코더에서의 데이타 입력 타이밍도,1B is a data input timing diagram of a decoder of a direct memory access (DMA) scheme;

도 2는 본 발명 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치의 구성 블록도.2 is a block diagram of a video data interface device between the present demux and decoder;

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

10 : 디먹스(DEMUX) 20 : 비디오 디코더10: DEMUX 20: Video Decoder

30 : 버퍼 40 : 제어부30: buffer 40: control unit

이하, 본 발명의 일실시예를 첨부 도면을 참조로 하여 좀 더 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in more detail with reference to the accompanying drawings.

도 2는 본 발명 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치의 구성 블록도로서, 그 구성은 디먹스(10)와, 비디오 디코더(20)와, 버퍼(30)와, 제어부(40)를 포함한다.2 is a block diagram of a video data interface device between the present demux and the decoder, the configuration of which includes a demux 10, a video decoder 20, a buffer 30, and a controller 40. do.

상기 디먹스(10)는 외부로부터 수신한 TS를 오디오 데이타와 비디오 데이타와 기타 데이타들로 역다중화 하여 인터럽트 방식에 의해 송신한다.The demux 10 demultiplexes the TS received from the outside into audio data, video data, and other data and transmits the data by an interrupt method.

상기 비디오 디코더(20)는 상기 디먹스(10)로부터 송신되는 비디오 데이타를 DMA 방식으로 수신하여 부호화한다.The video decoder 20 receives and encodes video data transmitted from the demux 10 in a DMA manner.

상기 버퍼(30)는 상기 디먹스(10)로부터 비디오 데이타를 반 이상이 될 때까지 수신하여 저장하고 있다가 비디오 디코더(20)로 N개씩 송신한다.The buffer 30 receives and stores video data from the demux 10 until it becomes more than half and transmits N pieces of data to the video decoder 20.

이때, 버퍼(30)의 용량이 반 이상이 되면 HF(Half Full) 신호를 발생하고, 저장하고 있는 데이타가 전혀 없으면 EMPTY 신호를 발생한다.At this time, when the capacity of the buffer 30 is more than half, an HF (Half Full) signal is generated, and when no data is stored, an EMPTY signal is generated.

상기 제어부(40)는 상기 버퍼(30)의 용량이 반 이상이 될 때까지 상기 디먹스(10)로 비디오 데이타 요청신호를 발생하고, 상기 버퍼(30)의 용량이 엠프티 상태가 아니면 상기 비디오 디코더(20)의 DMA 요청신호에 의해 버퍼(30)로부터 N개 데이타가 비디오 디코더(20)로 전송되도록 하면서 동시에 데이타 입력을 확인시켜 주는 데이타 기록신호(WR)를 비디오 디코더(20)로 발생한다. 즉, 상기 제어부(40)는 상기 버퍼(30)의 HF 신호와 EMPTY 신호를 사용하여 디먹스(10)와 비디오 디코더(20) 사이에서 비디오 데이타가 비동기식으로 송수신 되도록 제어한다.The controller 40 generates a video data request signal to the demux 10 until the capacity of the buffer 30 is half or more, and if the capacity of the buffer 30 is not empty, the video is generated. The video decoder 20 generates a data write signal WR for confirming data input while allowing N data from the buffer 30 to be transmitted to the video decoder 20 by the DMA request signal of the decoder 20. . That is, the controller 40 controls the video data to be asynchronously transmitted and received between the demux 10 and the video decoder 20 using the HF signal and the EMPTY signal of the buffer 30.

상기와 같은 구성으로 이루어진 본 발명의 동작은 다음과 같다.Operation of the present invention having the configuration as described above is as follows.

우선, 버퍼(30)로부터 EMPTY 신호가 제어부(40)로 입력되면 제어부(40)에서는 비디오 데이타 요청신호를 도 1a에서와 같이 디먹스(10)로 발생한다.First, when an EMPTY signal is input from the buffer 30 to the controller 40, the controller 40 generates a video data request signal to the demux 10 as shown in FIG. 1A.

이에 따라, 디먹스(10)는 제어부(40)로부터 비디오 데이타 요청신호가 중단될 때까지 데이타를 버퍼(30)로 전송한다.Accordingly, the demux 10 transmits the data to the buffer 30 until the video data request signal from the control unit 40 is stopped.

이때, 버퍼(30)의 용량이 반 이상이 되면 버퍼(30)에서는 제어부(40)로 HF 신호를 발생한다.At this time, when the capacity of the buffer 30 is half or more, the buffer 30 generates the HF signal to the controller 40.

이에 제어부(40)에서는 비디오 데이타 요청신호를 중단시킨다.In response, the controller 40 stops the video data request signal.

여기서, 디먹스(10)는 인터럽트 방식으로 데이타를 전송하고 있는 상태이므로 제어부(40)로부터 비디오 데이타 요청신호가 중단되더라도 몇 개의 데이타가 더 전송되게 된다.Here, since the demux 10 is transmitting data in an interrupt manner, some more data is transmitted even if the video data request signal from the control unit 40 is interrupted.

그러나, 이 마지막 전송되는 데이타들도 버퍼(30)에서는 모두 입력하여 저장하게 되므로 도 1b에서와 같이 DMA 방식의 비디오 디코더(20)로 전송될 시 무시되는 데이타가 없게 된다.However, since the last transmitted data are all input and stored in the buffer 30, there is no data that is ignored when transmitted to the DMA video decoder 20 as shown in FIG.

즉, 비디오 디코더(20)로부터 제어부(40)로 DMA 요청신호가 입력되면 제어부(40)에서는 버퍼(30)의 EMPTY 신호로써 엠프티 상태를 확인하여 엠프티 상태가 아님이 확인되면 버퍼(30)로부터 비디오 디코더(20)로 데이타가 전송되도록 한다.That is, when the DMA request signal is input from the video decoder 20 to the control unit 40, the control unit 40 checks the empty state by using the EMPTY signal of the buffer 30, and when it is determined that the empty state is not empty, the buffer 30. Data is sent from the video decoder 20 to the video decoder 20.

이와 동시에 제어부(40)에서는 현재 버퍼(30)로부터 데이타가 비디오 디코더(20)로 입력되고 있음을 알리는 데이타 기록신호(WR)를 발생하여 비디오 디코더(20)에서 현재 입력되는 데이타를 처리할 수 있도록 한다.At the same time, the controller 40 generates a data recording signal WR indicating that data is being input from the current buffer 30 to the video decoder 20 so that the data currently input by the video decoder 20 can be processed. do.

이때, 비디오 디코더(20)로 입력된 데이타가 N개가 되면 비디오 디코더(20)에서는 제어부(40)로 발생하는 DMA 요청신호를 중단한다.At this time, when there are N pieces of data input to the video decoder 20, the video decoder 20 stops the DMA request signal generated by the control unit 40.

이에, 제어부(40)에서는 버퍼(30)에서 더 이상 데이타가 나가지 않도록 제어한다.Thus, the controller 40 controls the data to no longer flow out of the buffer 30.

결국, 본 발명은 디먹스(10)로부터의 비디오 데이타를 버퍼(30)에서 잠시 저장하였다가 비디오 디코더(20)의 DMA 요청신호에 의해 데이타가 정확하게 N개씩 전송되도록 하는 비동기식 송수신 방식을 사용함으로써 데이타 손실을 방지하게 되는 것이다.As a result, the present invention uses the asynchronous transmission / reception scheme in which the video data from the demux 10 is temporarily stored in the buffer 30 and the data is transmitted exactly N times by the DMA request signal of the video decoder 20. It will prevent the loss.

이상에서 살펴본 바와 같이 본 발명에 따르면, 인터럽트 방식의 디먹스와 DMA 방식의 비디오 디코더 사이의 데이타 송수신을 버퍼를 통해 비동기식으로 수행하게 됨으로써 데이타 손실이 방지되어 데이타 손실로 인한 화질의 이상 발생이 없어지게 된다.As described above, according to the present invention, since data transmission and reception between the interrupt-type demux and the DMA-type video decoder is performed asynchronously through the buffer, data loss is prevented, thereby preventing any abnormality in image quality due to data loss. do.

Claims (1)

외부로부터 수신한 TS를 오디오 데이타와 비디오 데이타와 기타 데이타들로 역다중화 하여 인터럽트 방식에 의해 송신하는 디먹스와, 상기 디먹스로부터 송신되는 비디오 데이타를 DMA 방식으로 수신하여 복원하는 비디오 디코더를 포함하는 비디오 데이타 인터페이스 장치에 있어서,A demux for demultiplexing the TS received from the outside into audio data, video data, and other data, and transmitting the data by the interrupt method; and a video decoder for receiving and restoring the video data transmitted from the demux by the DMA method. In a video data interface device, 상기 디먹스로부터 비디오 데이타를 반 이상이 될 때까지 수신하여 저장하고 있다가 상기 비디오 디코더로 N개씩 송신하는 버퍼와;A buffer for receiving and storing video data from the demux until more than half, and transmitting N pieces of video data to the video decoder; 상기 버퍼의 용량이 반 이상이 될 때까지 상기 디먹스로 비디오 데이타 요청신호를 발생하고, 상기 버퍼의 용량이 엠프티 상태가 아니면 상기 비디오 디코더의 DMA 요청신호에 의해 버퍼로부터 N개 데이타가 비디오 디코더로 전송되도록 하면서 동시에 데이타 입력을 확인시켜 주는 데이타 기록신호를 비디오 디코더로 발생하는 제어부를 포함하는 것을 특징으로 하는 디먹스와 디코더 사이의 비디오 데이타 인터페이스 장치.The video data request signal is generated by the demux until the capacity of the buffer is more than half, and when the capacity of the buffer is not empty, N data from the buffer is transmitted by the DMA request signal of the video decoder. And a control unit for generating a data record signal to the video decoder to confirm the data input while being transmitted to the video data interface.
KR1019960039416A 1996-09-11 1996-09-11 Video data interface device between demux and decoder KR19980020815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960039416A KR19980020815A (en) 1996-09-11 1996-09-11 Video data interface device between demux and decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960039416A KR19980020815A (en) 1996-09-11 1996-09-11 Video data interface device between demux and decoder

Publications (1)

Publication Number Publication Date
KR19980020815A true KR19980020815A (en) 1998-06-25

Family

ID=66520486

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960039416A KR19980020815A (en) 1996-09-11 1996-09-11 Video data interface device between demux and decoder

Country Status (1)

Country Link
KR (1) KR19980020815A (en)

Similar Documents

Publication Publication Date Title
KR100327853B1 (en) Digital Broadcasting Receiving System in Information Processing Equipment
EP0743795B1 (en) Transport packet stream encoder and method for operating the same
EP0714213B1 (en) MPEG2 transport decoder
US4442485A (en) Dynamically buffered data transfer system for large capacity data source
US5621463A (en) Easily expandable transport stream encoder
US20050243873A1 (en) Apparatus and method for demultiplexing of transport stream
MXPA96001816A (en) Method and apparatus for operating a decorrient transportation packet for data representing a plurality of signals decomposes
US4549219A (en) Image information transmission system
US9516361B2 (en) Encoding apparatus and the method
KR19980020815A (en) Video data interface device between demux and decoder
US6665001B1 (en) Multiplex and demultiplex controlling apparatus, multiplex and demultiplex controlling system, and method thereof
JP3039380B2 (en) Multimedia communication terminal
KR0174910B1 (en) Bitstream Data Transmission Device
JPH08275147A (en) Receiver for coded image and audio data
US20030149977A1 (en) Transferring large bitmap data using analog switching
US7006573B2 (en) Image processing apparatus and method, and computer readable storage medium
KR960036744A (en) A moving picture reproducing apparatus and a moving picture reproducing processing circuit
KR100212192B1 (en) Channel interfacing apparatus for demultiplexing in the stu of a stb
GB2350980A (en) Extraction portions of data from a data stream
KR100235615B1 (en) Transport packet element transmission method in a digital video home system
JP3161344B2 (en) Decryption device
KR0175604B1 (en) Atm connection apparatus at stb for vod
KR20010073381A (en) Apparatus and method for saving/reviving of broadcasting signal for digital television
JPH0514882A (en) Image communication system
KR970002478B1 (en) Data distributed circuit for parallel image decoder

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination