KR100753981B1 - Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver - Google Patents

Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver Download PDF

Info

Publication number
KR100753981B1
KR100753981B1 KR1020060046036A KR20060046036A KR100753981B1 KR 100753981 B1 KR100753981 B1 KR 100753981B1 KR 1020060046036 A KR1020060046036 A KR 1020060046036A KR 20060046036 A KR20060046036 A KR 20060046036A KR 100753981 B1 KR100753981 B1 KR 100753981B1
Authority
KR
South Korea
Prior art keywords
audio
elementary stream
video
sync marker
decoding
Prior art date
Application number
KR1020060046036A
Other languages
Korean (ko)
Other versions
KR20070059843A (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 한국전자통신연구원
Publication of KR20070059843A publication Critical patent/KR20070059843A/en
Application granted granted Critical
Publication of KR100753981B1 publication Critical patent/KR100753981B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4392Processing of audio elementary streams involving audio buffer management
    • 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/4341Demultiplexing of audio and video streams
    • 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/4346Disassembling 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 involving stuffing data, e.g. packets or bytes
    • 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H2201/00Aspects of broadcast communication
    • H04H2201/10Aspects of broadcast communication characterised by the type of broadcast system
    • H04H2201/11Aspects of broadcast communication characterised by the type of broadcast system digital multimedia broadcasting [DMB]

Abstract

본 발명은 디지털 멀티미디어 방송 수신기의 디코딩 장치 및 방법에 관한 것으로, MPEG 시스템 역다중화기로부터 파싱된 오디오 기본 스트림 데이터에 내부 동기를 위한 싱크 마커를 삽입하여 오디오 디코딩 버퍼 내의 잘못된 비트 스트림 데이터를 디코딩할 때 발생하는 오디오 디코더의 비정상 동작을 방지할 수 있는 오디오 버퍼의 구조를 제시한다. 열악한 전송 채널에 의해서 입력되는 DMB 전송 스트림에 오류가 발생하거나, DMB 방송 송신기와 수신기의 레이트 미스매치로 인해 수신기의 오디오 디코딩 버퍼에 오버플로우 혹은 엠티가 발생하여 저장된 오디오 기본 스트림 데이터가 깨지는 경우, 삽입된 싱크 마커를 탐색하여 오류가 없는 정상적인 프레임으로부터 새로이 디코딩을 시작할 수 있게 함으로써, 수신기의 오디오 디코더의 비정상 동작을 방지할 수 있다.The present invention relates to a decoding apparatus and method of a digital multimedia broadcasting receiver, and occurs when a wrong bit stream data in an audio decoding buffer is decoded by inserting a sync marker for internal synchronization into audio elementary stream data parsed from an MPEG system demultiplexer. A structure of an audio buffer capable of preventing abnormal operation of an audio decoder is provided. Insertion occurs when an error occurs in the DMB transport stream inputted by a poor transmission channel, or because the rate mismatch between the DMB broadcast transmitter and the receiver causes an overflow or empty in the receiver's audio decoding buffer and the stored audio elementary stream data is broken. It is possible to prevent the abnormal operation of the audio decoder of the receiver by searching for the sync marker to start a new decoding from an error-free normal frame.

디지털 멀티미디어 방송(Digital Multimedia Broadcasting; DMB) 수신기, 시스템 역다중화, 오디오 버퍼 Digital Multimedia Broadcasting (DMB) Receiver, System Demultiplexing, Audio Buffer

Description

디지털 멀티미디어 방송 수신기의 디코딩 장치 및 방법{Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver}Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver

도 1은 본 발명의 일 실시예에 따른 디지털 멀티미디어 방송(DMB) 수신기의 오디오/비디오 스트림 디코딩 장치의 개념적인 구조를 나타내는 블록도이다.1 is a block diagram illustrating a conceptual structure of an audio / video stream decoding apparatus of a digital multimedia broadcasting (DMB) receiver according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 DMB 수신기의 오디오/비디오 스트림 디코딩 방법을 나타내는 순서도이다.2 is a flowchart illustrating a method of decoding an audio / video stream of a DMB receiver according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 DMB 수신기의 디코딩 장치 및 방법에 적용된 오디오 디코딩 버퍼의 구조를 나타낸 도면이다.3 is a diagram illustrating a structure of an audio decoding buffer applied to a decoding apparatus and method of a DMB receiver according to an embodiment of the present invention.

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

101 : DMB 수신기의 MPEG 시스템 역 다중화기101: MPEG System Demultiplexer for DMB Receivers

102 : 비디오 디코딩 버퍼102: video decoding buffer

103 : 오디오 디코딩 버퍼103: audio decoding buffer

104 : PLL(Phase Locked Loop)104: Phase Locked Loop (PLL)

105 : 비디오 디코더(AVC/H.264)105: video decoder (AVC / H.264)

106 : 오디오 디코더(MPEG-4 BSAC/AAC+)106: Audio decoder (MPEG-4 BSAC / AAC +)

107 : 비디오 출력 버퍼107: video output buffer

108 : 오디오 출력 버퍼108: audio output buffer

109 : 비디오 디스플레이 프로세서109: video display processor

110 : 오디오 디스플레이 프로세서110: audio display processor

본 발명은 디지털 멀티미디어 방송(Digital Multimedia Broadcasting: DMB) 수신기에 관한 것으로서, 특히 새로운 오디오 버퍼 구조를 갖는 DMB 수신기의 디코더 및 디코딩 방법에 관한 것이다.The present invention relates to a digital multimedia broadcasting (DMB) receiver, and more particularly, to a decoder and a decoding method of a DMB receiver having a new audio buffer structure.

디지털 멀티미디어 방송은 방송과 통신이 결합된 이동 멀티미디어 방송 서비스를 지칭하는 것으로, 디지털 멀티미디어 방송을 수신하기 위한 디지털 멀티미디어 방송 수신기(이하 DMB 수신기라고 한다)는 수신한 오디오/비디오 다중 비트스트림을 디코딩하기 위하여 디코딩 부를 구비한다.Digital multimedia broadcasting refers to a mobile multimedia broadcasting service in which broadcasting and communication are combined. A digital multimedia broadcasting receiver (hereinafter, referred to as a DMB receiver) for receiving digital multimedia broadcasting is used to decode a received audio / video multiple bitstream. It has a decoding unit.

DMB 수신기의 디코딩 부의 동작을 간략히 설명하면, 먼저 시스템 역다중화기(DeMux)에서 해독된 PCR(Program Clock Reference) 정보는 PLL(Phase-Locked Loop)을 거쳐 송신단과 동기화된 수신단의 시스템 클록을 복원하기 위하여 사용된다. 그리고 오디오 디코더와 비디오 디코더는 복원된 시스템 클록에 따라 디코딩 과정을 수행하게 되며, 디코딩된 오디오/비디오 프레임 데이터는 각각 오디오/비디오 출력 버퍼에 저장된다. 저장된 오디오/비디오 프레임 데이터는 시스템 역다중화기(DeMux)에서 해독된 오디오/비디오 각각의 CTS(Composition Time Stamp)에 따라 출력단으로 출력함으로써 오디오/비디오 동기가 맞은 상태로 디스플레이된다.Briefly describing the operation of the decoding unit of the DMB receiver, first, the program clock reference (PCR) information decoded by the system demultiplexer (DeMux) is recovered through a phase-locked loop (PLL) to restore the system clock of the receiver synchronized with the transmitter. Used. The audio decoder and the video decoder perform the decoding process according to the restored system clock, and the decoded audio / video frame data is stored in the audio / video output buffer, respectively. The stored audio / video frame data is output to the output terminal according to the composition time stamp (CTS) of each audio / video decoded by the system demultiplexer (DeMux) so that the audio / video synchronization is displayed in a correct state.

전술한 바와 같이 종래의 DMB 수신기의 디코딩 부에서는 오디오/비디오 기본 스트림과 함께 전송된 타임 스탬프 정보를 이용하여, 서로 상이한 프레임 레이트(frame rate)와 디코딩 과정을 거치는 오디오 신호와 비디오 신호를 동기화가 이루어진 상태로 디스플레이하게 된다.As described above, the decoding unit of the conventional DMB receiver synchronizes audio and video signals having different frame rates and decoding processes using time stamp information transmitted together with the audio / video elementary stream. The status will be displayed.

하지만, 종래의 DMB 수신기에서는 수신기 측에서 PLL을 통해 수신단의 시스템 클록을 복원하지 않고 독립적인 시스템 클록을 사용하거나, PLL 단에서 정확한 시스템 클록을 복원해주지 못하게 되면, 송신단과 수신단의 전송 레이트 미스매치(transmission rate mismatch)로 인해 오디오 디코딩 버퍼에서 버퍼 오버플로우(overflow)나 엠티(empty)가 발생하여, 버퍼 내의 오디오 데이터가 깨지는 현상이 발생할 수 있다. 또한, 열악한 전송 채널로 인해 입력되는 DMB 오디오/비디오 다중 비트스트림에 오류가 발생할 수 있다.However, in the conventional DMB receiver, if the receiver side uses an independent system clock without restoring the system clock of the receiver through the PLL or fails to restore the correct system clock in the PLL stage, the transmission rate mismatch between the transmitter and the receiver ( Due to transmission rate mismatch, a buffer overflow or empty may occur in the audio decoding buffer, and audio data in the buffer may be broken. In addition, poor transmission channels may cause errors in the input DMB audio / video multiple bitstreams.

게다가, 일반적인 DMB 수신기의 경우 패킷 헤더가 제거된 순수 오디오 기본 비트 스트림 데이터만 오디오 디코딩 버퍼에 저장되므로, 연속되는 프레임의 오디오 기본 스트림의 경계를 파악하지 못할 경우, 오디오 디코더가 정확한 오디오 기본 스트림의 시작점에서 디코딩하지 못하게 되어 치명적인 오류가 발생한 오디오 프레임을 스피커로 출력하게 될 수 있다.In addition, in a typical DMB receiver, only pure audio elementary bit stream data without the packet header is stored in the audio decoding buffer, so if the audio decoder does not know the boundary of the audio elementary stream of successive frames, the audio decoder starts the correct audio elementary stream. Can't decode and will output a fatal audio frame to the speaker.

본 발명은 전술한 종래 기술의 문제점을 해결하기 위하여 제안된 것으로, 시스템 역다중화기에서 오디오 기본 스트림을 오디오 디코딩 버퍼에 저장할 때, 프레임의 시작을 알 수 있는 특정 비트열 즉, 싱크 마커를 오디오 기본 스트림의 앞부분에 삽입하여, 오디오 디코딩 버퍼의 오버플로우나 엠티로 인해 비정상적인 오디오 비트 스트림에 대한 디코딩 과정을 거치는 경우에도, 다음 프레임에서는 정확한 시작점으로부터 디코딩 과정을 수행할 수 있게 하는 오디오 버퍼 구조를 제공하는 데 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problems of the prior art, and when a system demultiplexer stores an audio elementary stream in an audio decoding buffer, a specific bit string, that is, a sync marker, to recognize the start of a frame is determined. Inserted at the beginning of, provides an audio buffer structure that allows the decoding process to be performed from the correct starting point in the next frame even when the audio decoding stream is decoded due to an overflow or empty of the audio decoding buffer. The purpose is.

상기 목적을 달성하기 위하여 본 발명의 일 측면에 의하면, 전송된 다중 비트 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱하며, 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입하는 역다중화기; 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림을 저장하는 디코딩 버퍼; 역다중화기로부터 해독된 프로그램 클럭 레퍼런스 정보로부터 송신단의 시스템 클록을 복원하는 위상동기루프; 싱크 마커가 삽입된 오디오 기본 스트림에서 싱크 마커를 탐색하며, 복원된 시스템 클록에 따라 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림으로부터 현재 프레임에 대한 오디오/비디오 신호를 복원하는 오디오/비디오 디코더; 및 복원된 오디오/비디오 프레임 데이터를 각각의 오디오/비디오 출력 타임 스탬프에 따라 오디오/비디오 출력장치로 출력시키는 오디오/비디오 디스플레이 프로세서를 포함하는 디지털 멀티미디어 방송 수신기의 디코딩 장치가 제공된다.In order to achieve the above object, according to an aspect of the present invention, an audio / video elementary stream and time stamp information are parsed from a transmitted multi-bit stream, and a sync marker for internal synchronization is inserted in front of the parsed audio elementary stream data. Demultiplexer; A decoding buffer for storing the video elementary stream and the audio elementary stream into which the sync marker is inserted; A phase locked loop for recovering the system clock of the transmitter from the program clock reference information decoded from the demultiplexer; An audio / video decoder for searching for a sync marker in the audio elementary stream into which the sync marker is inserted, and reconstructing the audio / video signal for the current frame from the video elementary stream and the audio elementary stream into which the sync marker is inserted according to the restored system clock; And an audio / video display processor for outputting the restored audio / video frame data to the audio / video output device according to each audio / video output time stamp.

바람직하게, 오디오 디코더는 싱크 마커를 기준으로 오디오 기본 스트림의 현재 프레임에 대한 시작점을 확인한다.Preferably, the audio decoder identifies the starting point for the current frame of the audio elementary stream based on the sync marker.

상기 디코딩 장치는 오디오/비디오 디코더 및 오디오/비디오 디스플레이 프 로세서에 연결되며 복원된 오디오/비디오 프레임 데이터를 저장하는 오디오/비디오 출력 버퍼를 더 포함한다.The decoding device further comprises an audio / video output buffer coupled to an audio / video decoder and an audio / video display processor and storing the recovered audio / video frame data.

본 발명의 다른 측면에 의하면, 역다중화기에서 전송된 다중 비트 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱한 후 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입하는 단계; 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림을 디코딩 버퍼에 저장하는 단계; 싱크 마커가 삽입된 오디오 기본 스트림에서 싱크 마커를 탐색하고 탐색된 싱크 마커를 기준으로 오디오 기본 스트림의 현재 프레임에 대한 시작점을 확인하는 단계; 및 역다중화기로부터 해독된 프로그램 클럭 레퍼런스 정보로부터 위상동기루프에 의해 복원된 시스템 클록에 따라 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림으로부터 현재 프레임에 대한 오디오/비디오 신호를 복원하는 단계를 포함하는 디지털 멀티미디어 방송 수신기의 디코딩 방법이 제공된다.According to another aspect of the present invention, parsing an audio / video elementary stream and time stamp information from a multiple bit stream transmitted by a demultiplexer and inserting a sync marker for internal synchronization in front of the parsed audio elementary stream data; Storing the video elementary stream and the audio elementary stream having the sync marker inserted in the decoding buffer; Searching for a sync marker in the audio elementary stream to which the sync marker is inserted and identifying a starting point for the current frame of the audio elementary stream based on the found sync marker; And restoring the audio / video signal for the current frame from the video elementary stream and the audio elementary stream into which the sync marker is inserted according to the system clock recovered by the phase-lock loop from the program clock reference information decoded from the demultiplexer. A decoding method of a digital multimedia broadcasting receiver is provided.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하기로 한다. 이하의 실시예는 본 기술 분야에서 통상적인 지식을 가진 자에게 본 발명을 충분히 이해하도록 하기 위한 것이며, 본 발명을 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following examples are provided to fully understand the present invention for those skilled in the art, and in describing the present invention, detailed descriptions of related well-known functions or configurations are unnecessary to the gist of the present invention. If it is determined that it can be blurred, its detailed description is omitted.

도 1은 본 발명의 일 실시예에 따른 디지털 멀티미디어 방송(DMB) 수신기의 오디오/비디오 스트림 디코딩 장치의 개념적인 구조를 나타내는 블록도이다.1 is a block diagram illustrating a conceptual structure of an audio / video stream decoding apparatus of a digital multimedia broadcasting (DMB) receiver according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 DMB 수신기의 디코딩 장치는 싱크 마커(Synch. Mark) 삽입부(101a)를 구비한 시스템 역다중화기(DeMux)(101), 비디오/오디오 디코딩 버퍼(102, 103), PLL(Phase-Locked Loop)(104), 비디오/오디오 디코더(105, 106), 비디오/오디오 출력 버퍼(107, 108), 및 비디오/오디오 디스플레이 프로세서(109, 110)를 구비한다.Referring to FIG. 1, a decoding apparatus of a DMB receiver according to the present invention includes a system demultiplexer (DeMux) 101 having a synch marker insertion unit 101a, and a video / audio decoding buffer 102 and 103. ), Phase-locked loop (PLL) 104, video / audio decoders 105, 106, video / audio output buffers 107, 108, and video / audio display processors 109, 110.

싱크 마커 삽입부(101a)는 시스템 역다중화기(101)에서 파싱된 오디오 기본 스트림(Elementary Stream; ES) 데이터를 오디오 디코딩 버퍼(103)에 저장할 때, 스트림 데이터의 앞부분에 특정 비트열 즉, 싱크 마커를 삽입하여 저장하는 부분이다. When the sync marker inserting unit 101a stores the audio elementary stream (ES) data parsed by the system demultiplexer 101 in the audio decoding buffer 103, the sync marker inserting unit 101a includes a specific bit string, that is, a sync marker in front of the stream data. This is the part to insert and save.

본 발명의 DMB 수신기의 디코딩 장치에서는 수신된 오디오/비디오 다중 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱한 후, 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입하고, 수신한 DMB 스트림에 오류가 포함되거나 송신기와 수신기 간의 레이트 미스매치로 인한 오디오 디코딩 버퍼의 오버플로우 또는 엠티가 발생되는 경우에 관계없이 삽입된 싱크 마커를 주기적으로 탐색하여 디코딩 시작 위치를 설정함으로써, 디코딩 장치의 비정상적인 동작을 방지하는 것을 주된 특징으로 한다.In the decoding apparatus of the DMB receiver of the present invention, after parsing audio / video elementary stream and time stamp information from the received audio / video multiple stream, a sync marker for internal synchronization is inserted in front of the parsed audio elementary stream data. Regardless of whether an error is included in the received DMB stream or an overflow or empty of the audio decoding buffer due to a rate mismatch between the transmitter and the receiver, the inserted sync marker is periodically searched to set the decoding start position. The main feature is to prevent abnormal operation of the device.

전술한 본 발명의 DMB 수신기의 동작을 설명하면 다음과 같다.Referring to the operation of the DMB receiver of the present invention described above is as follows.

먼저 시스템 역다중화기(101)에서 해독된 PCR(Program Clock Reference) 정보는 PLL(104)을 거쳐 송신단과 동기화된 수신단의 시스템 클록을 복원하기 위하여 사용된다. 오디오 디코더(106)와 비디오 디코더(105)는 복원된 시스템 클록에 따라 디코딩 과정을 수행하게 되며, 디코딩된 오디오/비디오 프레임 데이터는 각각 오디오/비디오 출력 버퍼(107, 108)에 저장된다. 저장된 오디오/비디오 프레임 데이터는 시스템 역다중화기(101)에서 해독된 오디오/비디오 각각의 CTS(Composition Time Stamp)에 따라 출력단으로 출력함으로써 오디오/비디오 동기가 맞은 상태로 디스플레이된다. 이때, 전술한 과정 중 비디오/오디오 디코더(105, 106)에서 수신한 DMB 스트림에 오류가 포함되거나 송신기와 수신기 간의 레이트 미스매치로 인한 오디오 디코딩 버퍼(103)의 오버플로우 또는 엠티로 인해 비정상적인 오디오 비트스트림에 대한 디코딩 과정을 거치는 경우에도, 오디오 기본 스트림 앞부분에 삽입된 싱크 마커를 탐색함으로써 다음 프레임에서는 정확한 시작점으로부터 디코딩 과정을 수행할 수 있게 된다.First, the program clock reference (PCR) information decoded by the system demultiplexer 101 is used to recover the system clock of the receiving end synchronized with the transmitting end via the PLL 104. The audio decoder 106 and the video decoder 105 perform a decoding process according to the restored system clock, and the decoded audio / video frame data is stored in the audio / video output buffers 107 and 108, respectively. The stored audio / video frame data is output to the output terminal according to the composition time stamp (CTS) of each of the audio / video decoded by the system demultiplexer 101, so that the audio / video synchronization is displayed in a correct state. In this case, abnormal audio bits may occur due to overflow or empty of the audio decoding buffer 103 due to an error in the DMB stream received by the video / audio decoders 105 and 106 or a rate mismatch between the transmitter and the receiver. Even when the stream is decoded, the sync marker inserted in front of the audio elementary stream can be searched to perform the decoding process from the correct starting point in the next frame.

전술한 본 발명의 DMB 수신기의 디코딩 방법을 간략히 나타내면 도 2와 같다. 도 2는 본 발명의 일 실시예에 따른 DMB 수신기의 오디오/비디오 스트림 디코딩 방법을 나타내는 순서도이다.The decoding method of the DMB receiver of the present invention described above is briefly shown in FIG. 2 is a flowchart illustrating a method of decoding an audio / video stream of a DMB receiver according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 먼저 역다중화기에서 전송된 다중 비트 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱한다(S10). 그리고 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입한다(S11). 그리고 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림을 디코딩 버퍼에 저장한다(S12). 다음, 싱크 마커가 삽입된 오디오 기본 스트림에서 싱크 마커를 탐색한다(S13). 그리고, 탐색된 싱크 마커를 기준으로 오디오 기본 스트림의 현재 프레임에 대한 시작점을 확인한다(S14). 다음, 역다중화기로부터 해독된 프로그램 클럭 레퍼런스 정보로부터 위상동기루프에 의해 복원된 시스템 클록에 따라 비디오 기본스트림과 싱크 마커가 삽입된 오디오 기본 스트림으로부터 현재 프레임에 대한 오디오/비디오 신호를 복원한다(S15). 그리고 복원된 오디오/비디오 신호는 LCD/CRT 등의 화면표시장치와 스피커에 동기화된 상태로 출력된다(S16).As shown in FIG. 2, first, an audio / video elementary stream and time stamp information are parsed from a multiple bit stream transmitted by a demultiplexer (S10). A sync marker for internal synchronization is inserted at the front of the parsed audio elementary stream data (S11). The video elementary stream and the audio elementary stream into which the sync marker is inserted are stored in the decoding buffer (S12). Next, the sync marker is searched for in the audio elementary stream in which the sync marker is inserted (S13). The start point of the current frame of the audio elementary stream is checked based on the found sync marker (S14). Next, the audio / video signal for the current frame is restored from the video elementary stream and the audio elementary stream into which the sync marker is inserted according to the system clock recovered by the phase-lock loop from the program clock reference information decoded by the demultiplexer (S15). . The restored audio / video signal is output in synchronization with a display device such as an LCD / CRT and a speaker (S16).

도 3은 본 발명의 일 실시예에 따른 DMB 수신기의 디코딩 장치 및 방법에 적용되는 오디오 디코딩 버퍼의 구조를 나타낸 도면이다. 이하, 도 3을 참조하여 본 실시예에 따른 오디오 디코딩 버퍼 구조를 설명한다.3 is a diagram illustrating a structure of an audio decoding buffer applied to a decoding apparatus and method of a DMB receiver according to an embodiment of the present invention. Hereinafter, the audio decoding buffer structure according to the present embodiment will be described with reference to FIG. 3.

시스템 역다중화기에서 파싱된 오디오 기본 스트림(Elementary Stream; ES) 데이터(202)는 스트림 데이터(202)의 앞부분에 특정 비트열 즉, 싱크 마커(201)를 삽입하여 오디오 디코딩 버퍼에 저장된다. 이때, 오디오 디코딩 버퍼의 라이트 포인터(Write Pointer)(203)와 리드 포인터(Read Pointer)(204)는 적절한 간격(Buffer Margin)(205)을 유지하며 제어되어야만 정상적인 오디오 디코딩이 보장된다.The audio elementary stream (ES) data 202 parsed by the system demultiplexer is stored in the audio decoding buffer by inserting a specific bit string, that is, a sync marker 201, in front of the stream data 202. At this time, the write pointer 203 and the read pointer 204 of the audio decoding buffer must be controlled while maintaining an appropriate buffer margin 205 to ensure normal audio decoding.

그러나, 송신단과 수신단의 시스템 클록의 동기가 맞지 않으면, 송신단과 수신단 사이의 전송 레이트 미스매치가 발생하여, 버퍼의 리드 포인터와 라이트 포인터의 간격 조절이 힘들어진다. 송신단과 수신단 사이에 레이트 미스매치가 발생하게 되면 오디오 디코딩 버퍼의 스트림 데이터가 깨지게 되고, 비정상적인 오디오 기본 스트림의 입력으로 오디오 디코더의 정상적인 동작을 보장할 수 없게 된다. 또한, 일반적인 DMB 방송 수신기의 경우, 시스템 역다중화기에서 파싱된 오디오 기본 스트림 데이터는 패킷 헤더가 제거된 형태로 오디오 디코딩 버퍼에 저장되므로, 각 프레임에 대한 오디오 기본 스트림에 대한 경계를 알 수 없게 된다. 따라서, 오디오 디코딩 버퍼 내의 스트림 데이터 오류가 발생할 경우, 다음 프레임 디코딩 시 정확한 디코딩 시작점을 알지 못하기 때문에 비정상적인 오디오 디코딩에 대한 오류가 다음 프레임으로 전파되는 현상을 초래할 수 있다.However, if the system clocks of the transmitter and the receiver are not synchronized, a transfer rate mismatch occurs between the transmitter and the receiver, making it difficult to adjust the interval between the read pointer and the write pointer of the buffer. If a rate mismatch occurs between the transmitter and the receiver, the stream data of the audio decoding buffer is broken, and the normal operation of the audio decoder cannot be guaranteed due to the abnormal input of the audio elementary stream. In addition, in the general DMB broadcast receiver, since the audio elementary stream data parsed by the system demultiplexer is stored in the audio decoding buffer in the form of a packet header removed, the boundary of the audio elementary stream for each frame is unknown. Accordingly, when a stream data error in the audio decoding buffer occurs, an error of abnormal audio decoding may be propagated to the next frame because the exact decoding starting point is not known at the next frame decoding.

하지만, 본 발명에서는 오디오 디코딩 버퍼 내의 오디오 기본 스트림(202) 앞에 특정 비트열 즉, 싱크 마커(201)를 삽입함으로써, 오디오 디코딩 시작시, 삽입된 싱크 마커(201)를 검사/탐색함으로써 정상적인 오디오 비트스트림 데이터의 시작점을 알 수 있으므로, 오디오 버퍼 내의 스트림 데이터의 오류로 인한 비정상적인 디코딩의 영향이 다음 프레임으로 전파되지 않게 된다.However, in the present invention, by inserting a specific bit string, that is, the sync marker 201, in front of the audio elementary stream 202 in the audio decoding buffer, and checking / searching the inserted sync marker 201 at the start of audio decoding, the normal audio bit Since the starting point of the stream data is known, the influence of abnormal decoding due to the error of the stream data in the audio buffer is not propagated to the next frame.

이상, 본 발명을 바람직한 실시 예를 들어 상세하게 설명하였으나, 본 발명은 상기 실시 예에 한정되지 않고, 본 발명의 기술적 사상의 범위 내에서 당 기술분야에서 통상의 지식을 가진 자에 의하여 여러 가지 변형이 가능하다.In the above, the present invention has been described in detail with reference to preferred embodiments, but the present invention is not limited to the above embodiments, and various modifications may be made by those skilled in the art within the scope of the technical idea of the present invention. This is possible.

삭제delete

이상에서 설명한 바와 같이 본 발명은 시스템 역다중화기에서 오디오 기본 스트림을 오디오 디코딩 버퍼에 저장할 때, 프레임의 시작을 알 수 있는 싱크 마커를 오디오 기본 스트림의 앞부분에 삽입하여, 오디오 디코딩 버퍼의 오버플로우나 엠티로 인한 비정상적인 오디오 비트스트림에 대한 디코딩 과정을 거치는 경우에도, 다음 프레임에서는 정확한 시작점으로부터 디코딩 과정을 수행할 수 있게 된다. 따라서 DMB 수신기에서 오디오 신호와 비디오 신호 간의 동기화의 안정성을 향상시킬 수 있는 이점이 있다.As described above, when the system demultiplexer stores an audio elementary stream in an audio decoding buffer, a sync marker indicating the start of a frame is inserted at the front of the audio elementary stream so that an overflow or empty of the audio decoding buffer is detected. Even if the decoding process for the abnormal audio bitstream due to the decoding process can be performed from the correct starting point in the next frame. Therefore, there is an advantage in that the DMB receiver can improve the stability of the synchronization between the audio signal and the video signal.

Claims (4)

전송된 다중 비트 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱하며 상기 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입하는 역다중화기;A demultiplexer for parsing audio / video elementary stream and time stamp information from the transmitted multi-bit stream and inserting a sync marker for internal synchronization in front of the parsed audio elementary stream data; 상기 비디오 기본 스트림과 싱크 마커가 삽입된 오디오 기본 스트림을 저장하는 디코딩 버퍼;A decoding buffer for storing the video elementary stream and the audio elementary stream into which the sync marker is inserted; 상기 역다중화기로부터 해독된 프로그램 클럭 레퍼런스 정보로부터 송신단의 시스템 클록을 복원하는 위상동기루프;A phase locked loop for restoring a system clock of a transmitter from program clock reference information decoded from the demultiplexer; 상기 싱크 마커가 삽입된 오디오 기본 스트림에서 상기 싱크 마커를 탐색하며, 상기 복원된 시스템 클록에 따라 상기 비디오 기본 스트림과 싱크 마커가 삽입된 오디오 기본 스트림으로부터 현재 프레임에 대한 오디오/비디오 신호를 복원하는 오디오/비디오 디코더; 및Search for the sync marker in the audio elementary stream into which the sync marker is inserted, and restore the audio / video signal for the current frame from the video elementary stream and the audio elementary stream into which the sync marker is inserted according to the restored system clock; / Video decoder; And 상기 복원된 오디오/비디오 프레임 데이터를 각각의 오디오/비디오 출력 타임 스탬프에 따라 오디오/비디오 출력장치로 출력시키는 오디오/비디오 디스플레이 프로세서를 포함하는 디지털 멀티미디어 방송 수신기의 디코딩 장치.And an audio / video display processor for outputting the restored audio / video frame data to an audio / video output device according to each audio / video output time stamp. 제 1 항에 있어서, 상기 오디오 디코더는 상기 싱크 마커를 기준으로 상기 오디오 기본 스트림의 상기 현재 프레임에 대한 시작점을 확인하는 디지털 멀티미디어 방송 수신기의 디코딩 장치.The decoding apparatus of claim 1, wherein the audio decoder identifies a starting point for the current frame of the audio elementary stream based on the sync marker. 제 1 항 또는 제 2 항에 있어서, 상기 오디오/비디오 디코더 및 상기 오디오/비디오 디스플레이 프로세서에 연결되며 상기 복원된 오디오/비디오 프레임 데이터를 저장하는 오디오/비디오 출력 버퍼를 더 포함하는 디지털 멀티미디어 방송 수신기의 디코딩 장치.3. The digital multimedia broadcasting receiver as claimed in claim 1 or 2, further comprising an audio / video output buffer connected to the audio / video decoder and the audio / video display processor and storing the restored audio / video frame data. Decoding device. 역다중화기에서 전송된 다중 비트 스트림으로부터 오디오/비디오 기본 스트림과 타임 스탬프 정보들을 파싱한 후 상기 비디오 기본 스트림과 파싱된 오디오 기본 스트림 데이터의 앞부분에 내부 동기를 위한 싱크 마커를 삽입하는 단계;Parsing audio / video elementary stream and time stamp information from the multiple bit stream transmitted by the demultiplexer and inserting a sync marker for internal synchronization in front of the video elementary stream and the parsed audio elementary stream data; 상기 비디오 기본 스트림과 싱크 마커가 삽입된 오디오 기본 스트림을 디코딩 버퍼에 저장하는 단계;Storing the video elementary stream and the audio elementary stream into which the sync marker is inserted in a decoding buffer; 상기 싱크 마커가 삽입된 오디오 기본 스트림에서 상기 싱크 마커를 탐색하고 상기 탐색된 싱크 마커를 기준으로 상기 오디오 기본 스트림의 현재 프레임에 대한 시작점을 확인하는 단계; 및Searching for the sync marker in the audio elementary stream into which the sync marker is inserted and identifying a starting point for the current frame of the audio elementary stream based on the found sync marker; And 상기 역다중화기로부터 해독된 프로그램 클럭 레퍼런스 정보로부터 위상동기루프에 의해 복원된 시스템 클록에 따라 상기 비디오 기본 스트림과 싱크 마커가 삽입된 오디오 기본 스트림으로부터 상기 현재 프레임에 대한 오디오/비디오 신호를 복원하는 단계를 포함하는 디지털 멀티미디어 방송 수신기의 디코딩 방법.Restoring the audio / video signal for the current frame from the video elementary stream and the audio elementary stream into which the sync marker is inserted according to the system clock recovered by the phase locked loop from the program clock reference information decoded from the demultiplexer. Decoding method of a digital multimedia broadcasting receiver comprising.
KR1020060046036A 2005-12-07 2006-05-23 Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver KR100753981B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050119112 2005-12-07
KR20050119112 2005-12-07

Publications (2)

Publication Number Publication Date
KR20070059843A KR20070059843A (en) 2007-06-12
KR100753981B1 true KR100753981B1 (en) 2007-08-31

Family

ID=38356101

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060046036A KR100753981B1 (en) 2005-12-07 2006-05-23 Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver

Country Status (1)

Country Link
KR (1) KR100753981B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060078035A (en) * 2004-12-30 2006-07-05 전자부품연구원 Front-end device supporting multi-spec decoding and high speed network protocol in a digital broadcasting receiver, and interfacing method therefor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060078035A (en) * 2004-12-30 2006-07-05 전자부품연구원 Front-end device supporting multi-spec decoding and high speed network protocol in a digital broadcasting receiver, and interfacing method therefor

Also Published As

Publication number Publication date
KR20070059843A (en) 2007-06-12

Similar Documents

Publication Publication Date Title
US9420332B2 (en) Clock compensation techniques for audio decoding
US6236432B1 (en) MPEG II system with PES decoder
EP1085750A2 (en) Reception system and digital broadcasting system
EP1463334A2 (en) Acquisition and error recovery of audio carried in a packetized data stream
CN1561642A (en) Robust method for recovering a program time base in MPEG-2 transport streams and achieving audio/video synchronization
US8842218B2 (en) Video/audio data output device and method
JP2002135777A (en) Decoding-reproducing module of moving picture, control program of reproducing time an receiver of multimedia information
US20060034337A1 (en) Data synchronization method and apparatus for digital multimedia data receiver
KR100294663B1 (en) Mpeg decoder and decoding control method
US7839925B2 (en) Apparatus for receiving packet stream
US7813619B2 (en) Synchronizing of a digital signal using a PCR program clock reference
WO2011160233A1 (en) High-speed interface for ancillary data for serial digital interface applications
US20040267951A1 (en) Data transmission system, data transmission apparatus, data reception apparatus, and data transmission method
US20080225942A1 (en) Contents reproducing apparatus
KR20040004167A (en) Broadcasting receiving and reproducing system and broadcasting receiving apparatus
US7688726B2 (en) Broadcast reception apparatus, TS packet reproduction apparatus, broadcast reception method and program
US20050147175A1 (en) Stream data communication system
KR100753981B1 (en) Decoding Method and Apparatus for Digital Multimedia Broadcasting Receiver
US20070223536A1 (en) Stream reproducing method and device
US20080002742A1 (en) Receiver system and related method for processing error packets utilizing packet replacement
JPH10136355A (en) Error detection and recovery for high speed isochronous data in mpeg-2 data stream
JP2006330541A (en) Audio-receiving and reproducing device
KR100735228B1 (en) System synchronization apparatus and method for multimedia player
JP4227870B2 (en) Functional module card and host device
KR20100106688A (en) Device and method for synchronizing signal in mobile broadcasting receiver

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

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee