KR20090012175A - Device for processing streams and method thereof - Google Patents

Device for processing streams and method thereof Download PDF

Info

Publication number
KR20090012175A
KR20090012175A KR1020080073146A KR20080073146A KR20090012175A KR 20090012175 A KR20090012175 A KR 20090012175A KR 1020080073146 A KR1020080073146 A KR 1020080073146A KR 20080073146 A KR20080073146 A KR 20080073146A KR 20090012175 A KR20090012175 A KR 20090012175A
Authority
KR
South Korea
Prior art keywords
stream
unit
dummy
streams
interleaving
Prior art date
Application number
KR1020080073146A
Other languages
Korean (ko)
Other versions
KR101535833B1 (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 KR20090012175A publication Critical patent/KR20090012175A/en
Application granted granted Critical
Publication of KR101535833B1 publication Critical patent/KR101535833B1/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2355Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes
    • H03M13/151Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes using error location or error correction polynomials
    • H03M13/1515Reed-Solomon codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/27Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes using interleaving techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23605Creation or processing of packetized elementary streams [PES]

Abstract

A device for processing streams and a method thereof are provided to transmit/receive a stream effectively and stably by using a dummy insertion unit and a stream rearrangement unit. A stream rearrangement unit(110) stacks and rearranges streams. A dummy insertion unit(120) adds a dummy to the rearranged streams. An Interleaving unit performs convolutional interleaving of the stream to which the dummy is added. The stream rearrangement unit vertically stacks streams as much as a set number per a unit. The stream rearrangement unit orthogonally rotates the stacked streams. Therefore, the streams are rearranged.

Description

스트림 처리 장치 및 방법 {Device for processing streams and method thereof}Device for processing streams and method

본 발명은 스트림 처리 장치 및 그 방법에 관한 것으로, 보다 상세하게는, 더미를 이용하여 스트림을 인터리빙하는 스트림 처리 장치 및 그 방법에 관한 것이다. The present invention relates to a stream processing apparatus and a method thereof, and more particularly, to a stream processing apparatus and a method for interleaving a stream using a dummy.

전자 및 통신 기술의 발달에 힘입어, 방송 시스템 분야에서도 디지털 기술이 도입되어 디지털 방송에 대한 다양한 규격이 발표되고 있다. 구체적으로는, 미국향 규격인 ATSC VSB 규격과, 유럽향 규격인 DVB-T 규격이 있다.With the development of electronic and communication technologies, digital technologies have been introduced in the broadcasting system field, and various standards for digital broadcasting have been published. Specifically, there are the ATSC VSB standard, which is an American standard, and the DVB-T standard, which is an European standard.

이 중, 미국향 규격인 ATSC VSB 전송 방식은 NTSC 주파수 대역을 기본으로 하며, 송수신기 구현의 용이성 및 경제성 측면에서 장점을 갖는다. 이러한 ATSC VSB 전송 방식은 단일 반송파 진폭변조 잔류측파대 방식(VSB : Vestigial Side Band)을 사용하는 것으로, 단일 6MHz 대역폭으로 고품질의 비디오, 오디오, 및 보조 데이터를 전송할 수 있다.Among them, the ATSC VSB transmission method, which is an American standard, is based on the NTSC frequency band, and has advantages in terms of ease and economy of transceiver implementation. The ATSC VSB transmission method uses a single carrier amplitude modulated residual band (VSB), which can transmit high quality video, audio, and auxiliary data in a single 6MHz bandwidth.

한편, 좀 더 향상된 디지털 방송 서비스를 제공하기 위하여 다양한 디지털 방송 규격에 대한 제안이 이루어지고 있다.Meanwhile, proposals for various digital broadcasting standards have been made to provide more advanced digital broadcasting services.

이에 따라, 좀 더 효율적이고 안정적으로 스트림을 처리하기 위한 기술 개발에 대한 필요성이 대두되고 있다.Accordingly, there is a need for developing technologies for processing streams more efficiently and stably.

본 발명은 이상과 같은 필요성에 따라 안출된 것으로, 본 발명의 목적은 효율적이고 안정적으로 스트림을 처리할 수 있는 스트림 처리 장치 및 그 방법과 그에 따라 처리된 스트림을 수신하는 디지털 방송 수신기를 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made in accordance with the above necessity, and an object of the present invention is to provide a stream processing apparatus and method for processing streams efficiently and stably and a digital broadcast receiver for receiving the processed streams accordingly. .

본 발명의 일 실시 예에 따른 스트림 처리 장치는, 스트림을 스택킹(stacking)하여 재배열하는 스트림 재배열부 및 상기 재배열된 스트림에 더미(dummy)를 추가하는 더미 삽입부를 포함한다.The stream processing apparatus according to an embodiment of the present invention includes a stream rearrangement unit for stacking and rearranging streams and a dummy insertion unit for adding a dummy to the rearranged stream.

여기서, 상기 인터리빙부는, 컨벌루셔널 인터리버가 될 수 있다.Here, the interleaving unit may be a convolutional interleaver.

이 경우, 상기 스트림 재배열부는, 상기 스트림을 기 설정된 개수 단위로 수직 방향으로 스택킹하고, 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열할 수 있다.In this case, the stream rearrangement unit may stack the streams in a vertical direction by a predetermined number unit and rearrange the streams by rotating the stacked streams for each unit at right angles.

바람직하게는, 상기 스트림 재배열부는, 상기 단위 별 스트림들 각각을 기 설정된 크기의 블럭으로 구분하고, 각 블럭 단위로 상기 직각 회전을 수행할 수 있다.Preferably, the stream rearrangement unit may divide each of the streams of the unit into blocks having a predetermined size and perform the quadrature rotation in each block unit.

또한 바람직하게는, 상기 더미 삽입부는, 상기 블럭 단위로 회전된 스트림에 상기 인터리빙부의 메모리 사이즈에 대응하는 더미를 삽입할 수 있다.Also preferably, the dummy inserting unit may insert a dummy corresponding to the memory size of the interleaving unit into the stream rotated in units of blocks.

그리고, 본 스트림 처리 장치는, 상기 인터리빙부에서 출력되는 스트림에서 상기 더미를 제거하는 더미 제거부 및 상기 더미가 제거된 스트림을 버스트(Burst) 단위로 모으는 버스트 생성부를 더 포함할 수 있다.The stream processing apparatus may further include a dummy remover that removes the dummy from the stream output from the interleaving unit, and a burst generator that collects the stream from which the dummy is removed in burst units.

한편, 본 발명의 또 다른 실시 예에 따르면, 상기 스트림재배열부는, 상기 스트림을 기 설정된 제1 크기 단위 만큼 가로 방향으로 배열하면서, 세로 방향으로 스택킹하여 재배열할 수 있다.Meanwhile, according to another embodiment of the present invention, the stream rearrangement unit may arrange the streams in a horizontal direction by a predetermined first size unit and stack and rearrange the streams in a vertical direction.

이 경우, 상기 스트림 처리 장치는, 상기 스트림의 세로 방향 종단부에 RS 패리티를 부가하는 RS 인코더부 및 상기 RS 패리티가 부가된 스트림의 가로 방향 종단부에 CRC 값을 부가하는 CRC 인코더부를 더 포함할 수 있다.In this case, the stream processing apparatus may further include an RS encoder that adds RS parity to a longitudinal end of the stream, and a CRC encoder to add a CRC value to a horizontal end of the stream to which the RS parity is added. Can be.

또한, 상기 더미 삽입부는, 상기 스택킹된 스트림을 기 설정된 제2 크기 단위의 전송 버스트로 구분하여, 하나의 전송 버스트가 이루어지지 않는 스트림에 대하여 전송 버스트 사이즈에 맞게 더미를 추가할 수 있다.In addition, the dummy insertion unit may divide the stacked stream into transmission bursts of a preset second size unit and add a dummy to a transmission burst size for a stream in which one transmission burst does not occur.

바람직하게는, 상기 스트림 재배열부에 입력되는 스트림은 패리티가 부가된 패킷 단위로 구분될 수 있다.Preferably, the stream input to the stream rearrangement unit may be divided into packet units to which parity is added.

한편, 본 발명의 일 실시 예에 따른 스트림 처리 방법은, 스트림을 스택킹(stacking)하여 재배열하는 스트림 재배열 단계, 상기 재배열된 스트림에 더미(dummy)를 추가하는 더미 삽입 단계 및 상기 더미가 추가된 스트림을 인터리빙하는 인터리빙 단계를 포함한다.On the other hand, the stream processing method according to an embodiment of the present invention, a stream rearrangement step of stacking and rearranging streams, a dummy insertion step of adding a dummy to the rearranged stream and the dummy An interleaving step of interleaving the added stream.

이 경우, 상기 인터리빙 단계는, 컨벌루셔널 인터리버를 이용할 수 있다.In this case, the interleaving step may use a convolutional interleaver.

이 경우, 상기 스트림 재배열 단계는, 상기 스트림을 기 설정된 개수 단위로 수직 방향으로 스택킹하는 단계, 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열하는 단계를 포함할 수 있다.In this case, the stream rearranging step may include stacking the streams in a vertical direction by a predetermined number unit, and rearranging the streams by vertically rotating the stacked streams.

바람직하게는, 상기 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열하는 단계는, 상기 단위 별 스트림들 각각을 기 설정된 크기의 블럭으로 구분하고, 각 블럭 단위로 상기 직각 회전을 수행할 수 있다.Preferably, the rearranging the streams by orthogonally rotating the stacked unit streams may include dividing each of the unit streams into blocks having a predetermined size and performing the orthogonal rotation for each block unit. Can be.

또한, 상기 더미 삽입 단계는, 상기 블럭 단위로 회전된 스트림에 상기 컨벌루셔널 인터리버의 메모리 사이즈에 대응하는 더미를 삽입할 수 있다.In the dummy insertion step, a dummy corresponding to the memory size of the convolutional interleaver may be inserted into the stream rotated in the block unit.

보다 바람직하게는 본 스트림 처리 방법은, 상기 인터리빙된 스트림에서 상기 더미를 제거하는 단계 및 상기 더미가 제거된 스트림을 버스트(Burst) 단위로 모으는 단계를 더 포함할 수 있다.More preferably, the present stream processing method may further include removing the dummy from the interleaved stream and collecting the stream from which the dummy is removed in bursts.

본 발명의 또 다른 실시 예에 따르면, 상기 스트림재배열 단계는, 상기 스트림을 기 설정된 제1 크기 단위 만큼 가로 방향으로 배열하면서, 세로 방향으로 스택킹하여 재배열할 수 있다.According to another embodiment of the present invention, the stream rearranging step may be rearranged by stacking the streams in a vertical direction while arranging the streams in a horizontal direction by a predetermined first size unit.

또한, 본 스트림 처리 방법은, 상기 스트림의 세로 방향 종단부에 RS 패리티를 부가하는 RS 인코딩 단계 및 상기 RS 패리티가 부가된 스트림의 가로 방향 종단부에 CRC 값을 부가하는 CRC 인코딩 단계를 더 포함할 수 있다.The stream processing method may further include an RS encoding step of adding RS parity to a longitudinal end of the stream and a CRC encoding step of adding a CRC value to a horizontal end of the stream to which the RS parity is added. Can be.

한편, 상기 더미 삽입 단계는, 상기 스택킹된 스트림을 기 설정된 제2 크기 단위의 전송 버스트로 구분하여, 하나의 전송 버스트가 이루어지지 않는 스트림에 대하여 전송 버스트 사이즈에 맞게 더미를 추가할 수도 있다.Meanwhile, in the dummy insertion step, the stacked stream may be divided into transmission bursts of a preset second size unit, and a dummy may be added to a stream in which one transmission burst does not occur according to a transmission burst size.

바람직하게는, 상기 스트림 재배열 단계는, 패리티가 부가된 패킷 단위로 구분되는 스트림을 재배열할 수 있다.Preferably, the stream rearrangement step may rearrange streams divided into packet units to which parity is added.

한편, 본 발명의 일 실시 예에 따른 디지털 방송 수신기는, 스트림을 수신하 는 튜너부, 상기 수신된 스트림을 복조하는 복조부, 상기 복조된 스트림을 등화하는 등화부 및 상기 등화된 스트림을 디인터리빙하는 디인터리버부를 포함한다. 여기서, 상기 스트림은 디지털 방송 송신기 측에서 기 설정된 단위로 스택킹되어 재배열된 후, 더미가 추가되어 처리된 것일 수 있다.Meanwhile, a digital broadcast receiver according to an embodiment of the present invention includes a tuner unit for receiving a stream, a demodulator for demodulating the received stream, an equalizer for equalizing the demodulated stream, and deinterleaving the equalized stream. It includes a deinterleaver unit. Here, the stream may be stacked and rearranged in a predetermined unit at the digital broadcast transmitter, and then a dummy may be added and processed.

바람직하게는, 상기 스트림은 상기 디지털 방송 송신기 측에서 컨벌루셔널 인터리빙된 후, 상기 더미가 제거된 것일 수 있다.Preferably, the stream may be one in which the dummy is removed after convolutional interleaving at the digital broadcast transmitter side.

보다 바람직하게는, 상기 스트림에 추가된 더미를 제거하는 더미 제거부;를 더 포함할 수 있다. 이 경우, 상기 스트림은 상기 디지털 방송 송신기 측에서 블럭 인터리빙된 것이며, 상기 더미가 추가된 것일 수 있다.More preferably, the dummy removal unit for removing the dummy added to the stream; may further include. In this case, the stream may be block interleaved at the digital broadcast transmitter, and the dummy may be added.

이상과 같은 다양한 실시 예에 따른 스트림 처리 장치 및 그 방법과, 디지털 방송 수신기를 이용함으로써, 효율적이고 안정적으로 스트림을 송수신할 수 있게 된다.By using the stream processing apparatus and the method and the digital broadcast receiver according to the various embodiments as described above, it is possible to efficiently and stably transmit and receive the stream.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the drawings will be described the present invention in more detail.

도 1은 본 발명의 일 실시 예에 따른 스트림 처리 장치의 구성을 나타내는 블럭도이다. 도 1에 따르면, 본 스트림 처리 장치는, 스트림 재배열부(110), 더미 삽입부(120)를 포함한다.1 is a block diagram showing the configuration of a stream processing apparatus according to an embodiment of the present invention. According to FIG. 1, the present stream processing apparatus includes a stream rearrangement unit 110 and a dummy insertion unit 120.

스트림 재배열부(110)는 입력되는 스트림을 스택킹하여 재배열한다. 재배열 방식은 실시 예에 따라 달라질 수 있다. The stream rearrangement unit 110 stacks and rearranges the input stream. Rearrangement may vary depending on the embodiment.

더미 삽입부(120)는 스트림 재배열부(110)에서 재배열된 스트림에 더 미(dummy)를 추가한다. 더미란 재배열된 스트림이 기 설정된 처리 단위 또는 전송 단위로 구분될 수 있도록, 맞추기 위하여 삽입되는 데이터를 의미한다. 더미로는 어떠한 의미를 가지지 않는 임의의 데이터. 예를 들어, 더미는 0비트와 같이 기설정된 비트값이나, 기 설정된 바이트값이 사용될 수 있다. 또는, 어떠한 의미를 가지는 데이터도 더미로 활용될 수 잇다. 예를 들어, 부가적으로 전송할 다양한 유형, 예를 들어, 부가 기준 신호나 채널 부가 정보 등의 데이터가 존재하는 경우, 해당 데이터를 더미로 활용할 수도 있다. The dummy inserter 120 adds dummy to the stream rearranged by the stream rearranger 110. The dummy refers to data inserted to fit the rearranged stream so that the rearranged stream can be divided into predetermined processing units or transmission units. Arbitrary data that has no meaning in the dummy. For example, the dummy may have a preset bit value such as 0 bit or a preset byte value. Alternatively, data having any meaning may be used as a dummy. For example, when there are various types of data to be additionally transmitted, for example, additional reference signals or channel additional information, the corresponding data may be used as a dummy.

스트림 재배열부(110)는 스트림을 기 설정된 단위로 스택킹할 수 있다. 일 예로, 스트림 재배열부(110)는 하나의 패킷 또는 세그먼트 단위의 스트림을 가로 방향으로 나열한 후, 그 다음 라인에 다음 패킷 또는 세그먼트 단위의 스트림을 배치하여, 세로 방향으로 스택킹할 수 있다.The stream rearrangement unit 110 may stack the streams in predetermined units. For example, the stream rearrangement unit 110 may arrange one packet or segment unit stream in the horizontal direction, and then arrange the next packet or segment unit stream on the next line and stack the stream in the vertical direction.

한편, 도 1의 더미 삽입부(120) 후단에는 인터리빙을 위한 인터리빙부가 추가될 수 있다.Meanwhile, an interleaving unit for interleaving may be added to the rear end of the dummy insertion unit 120 of FIG. 1.

도 2는 본 발명의 일 실시 예에 따라 도 1의 구성에 인터리빙부가 추가된 형태를 나타내는 모식도이다. 2 is a schematic diagram illustrating a form in which an interleaving unit is added to the configuration of FIG. 1 according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 컨벌루셔널 인터리버로 구현된 인터리빙부(130)가 더미 삽입부(120) 후단에 마련될 수 있다. 구체적으로는, 인터리빙부(130)는 스트림을 바이트 단위로 처리하는 컨벌루셔널 바이트 인터리버 타입으로 구현될 수 있다. 도 2의 컨벌루셔널 인터리버는 사용되는 송신기에 따라 브랜치(Branch) 수 및 메모리 사이즈가 다르게 설정될 수 있다.As shown in FIG. 2, an interleaving unit 130 implemented as a convolutional interleaver may be provided at the rear end of the dummy insertion unit 120. Specifically, the interleaving unit 130 may be implemented as a convolutional byte interleaver type for processing the stream in bytes. The convolutional interleaver of FIG. 2 may have different branches and memory sizes according to the transmitter used.

컨벌루셔널 바이트 인터리버로 구현된 경우, 인터리빙부(130)는 서로 다른 길이의 복수 개의 쉬프트 레지스터들을 포함한다. 즉, M, 2M, ... (B-2)M, (B-1)M과 같은 크기의 쉬프트 레지스터들이 순차적으로 배치된다. 인터리빙부(130)는 각 쉬프트 레지스터들을 순차적으로 선택함으로써, 인터리빙되는 간격이 달라지도록 한다. When implemented with a convolutional byte interleaver, the interleaving unit 130 includes a plurality of shift registers of different lengths. That is, shift registers of the same size as M, 2M, ... (B-2) M, (B-1) M are sequentially arranged. The interleaving unit 130 selects each shift register sequentially so that the interleaving interval is changed.

도 2에 따르면, 인터리빙부(130)로 입력되는 스트림은 바이트 단위로 구분되어 복수 개의 쉬프트 레지스터로 순차적으로 저장된 후, 다시 순차적으로 출력된다. 이에 따라, 바이트 단위의 인터리빙이 이루어질 수 있다. According to FIG. 2, streams input to the interleaving unit 130 are divided into bytes and sequentially stored in a plurality of shift registers, and then sequentially output. Accordingly, byte interleaving may be performed.

예를 들어, 입력되는 스트림이 복수 개의 필드로 구분되고, 하나의 필드가 312 세그먼트 또는 패킷으로 이루어지는 경우라면, 인터리빙부(130)는 52 데이터 세그먼트 또는 패킷 단위로 동작하는 형태로 구현될 수 있다. For example, if the input stream is divided into a plurality of fields, and one field is composed of 312 segments or packets, the interleaving unit 130 may be implemented in a form of 52 data segments or packets.

도 3 내지 도 6은 인터리빙부(130)가 컨벌루셔널 인터리버로 구현되었을 때의, 스트림 처리 과정을 설명하기 위한 모식도이다.3 to 6 are schematic diagrams for describing a stream processing process when the interleaving unit 130 is implemented as a convolutional interleaver.

도 3에 따르면, 스트림 재배열부(110)는 스트림을 기 설정된 개수의 단위로 순차적으로 스택킹한다. 예를 들어, 6개의 패킷 단위로 스택킹을 수행할 수 있다. 각 패킷은 188 바이트의 데이터와 20 바이트의 패리티가 포함된 형태가 될 수 있다. 스트림 재배열부(110)는 수직 방향으로 스택킹된 각 스트림 단위들을 직각 회전시켜 재배열할 수 있다.According to FIG. 3, the stream rearrangement unit 110 sequentially stacks the streams in units of a predetermined number. For example, stacking may be performed in units of six packets. Each packet may be in the form of 188 bytes of data and 20 bytes of parity. The stream rearrangement unit 110 may rearrange the stream units stacked in a vertical direction by rotating them at right angles.

이 경우, 도 3에 도시된 바와 같이, 스트림 재배열부(110)는 스택킹된 복수 개의 패킷들을 다시 복수 개의 블럭으로 구분할 수도 있다. 이 경우, 6개의 패킷이 4개의 블럭으로 구분될 수 있다. 도 3과 같이 하나의 패킷이 총 208 바이트로 이루어지는 경우, 스트림 재배열부(110)는 6개의 패킷별로 52 바이트의 블럭으로 구분할 수 있다. 이에 따라, 도 3과 같이 복수의 패킷은 N개의 블럭으로 구분될 수 있다. 설명의 편의상, 스트림 재배열부(110)에 의해 구분된 블럭을 1, 2, 3, 4, … N-3, N-2, N-1, N으로 표기하였다.In this case, as shown in FIG. 3, the stream rearrangement unit 110 may divide the plurality of stacked packets back into a plurality of blocks. In this case, six packets may be divided into four blocks. As shown in FIG. 3, when one packet includes a total of 208 bytes, the stream rearrangement unit 110 may be divided into blocks of 52 bytes for each of six packets. Accordingly, as shown in FIG. 3, the plurality of packets may be divided into N blocks. For convenience of description, the blocks divided by the stream rearrangement unit 110 are divided into 1, 2, 3, 4,... N-3, N-2, N-1, and N are described.

도 4는 스트림 재배열부(110)에서 스트림을 블럭으로 구분한 후, 구분된 블럭 각각을 회전시킨 상태를 예시한 것이다. 스트림 재배열부(110)는 N개의 블럭을 각각 시계 방향으로 90도 회전시킬 수 있다. 이에 따라, 6개의 패킷(a, b, c, d, e, f)들은 도 4에 도시된 바와 같이 수직 방향으로 배열된다. 스트림 재배열부(110)는 도 4와 같이 회전된 블럭을 순차적으로 출력할 수 있다.4 illustrates a state in which the stream rearrangement unit 110 divides the stream into blocks and rotates each of the divided blocks. The stream rearrangement unit 110 may rotate N blocks 90 degrees in a clockwise direction, respectively. Accordingly, six packets (a, b, c, d, e, f) are arranged in the vertical direction as shown in FIG. The stream rearrangement unit 110 may sequentially output the rotated block as shown in FIG. 4.

한편, 도 4에서는 스트림 재배열부(110)에서 회전된 N개의 블럭을 첫번째 블럭부터 N번째 블럭까지 순차적으로 출력하는 것을 예시하였으나, 이와 같이 순차적으로 출력하지 않고 랜덤하게 출력할 수도 있다. 스트림 재배열부(110)에서 N개의 블럭을 랜덤한 순서에 따라 출력할 경우, 인터리빙부(130)의 인터리빙 수행 이후 데이터가 더 많이 섞이는 효과를 기대할 수 있다.Meanwhile, in FIG. 4, the N blocks rotated by the stream rearranging unit 110 are sequentially output from the first block to the N-th block. However, the blocks may be randomly output without sequentially outputting the N blocks. When outputting N blocks in a random order in the stream rearrangement unit 110, an effect of mixing more data after interleaving by the interleaving unit 130 may be expected.

도 5는 더미 삽입부(120)에 의해 더미(20)가 추가된 스트림의 상태를 예시한 모식도이다. 도 5에 따르면, 더미 삽입부(120)는 데이터부분(10)에 이어서 더미(20)를 추가할 수 있다. 이 경우, 더미 삽입부(120)는 인터리빙부(130)의 메모리 사이즈, 즉, 인터리빙 사이즈를 고려하여, 적절한 크기의 더미를 삽입할 수 있다. 5 is a schematic diagram illustrating a state of a stream in which the dummy 20 is added by the dummy insertion unit 120. According to FIG. 5, the dummy inserting unit 120 may add a dummy 20 after the data portion 10. In this case, the dummy insertion unit 120 may insert a dummy having an appropriate size in consideration of the memory size of the interleaving unit 130, that is, the interleaving size.

즉, 인터리빙부(130)는 복수 개의 쉬프트 메모리를 포함하기 때문에, 데이터 부분(10)이 쉬프트 메모리에 저장된 후 출력되기 위해서는, 그에 대응되는 더미가 추가되어야 한다. 이에 따라, 더미가 인터리빙부(130)에 입력됨으로 인하여 데이터 부분(10)이 정상적으로 쉬프트되어 출력될 수 있게 된다.That is, since the interleaving unit 130 includes a plurality of shift memories, in order for the data portion 10 to be stored in the shift memory and outputted therein, a dummy corresponding thereto must be added. Accordingly, since the dummy is input to the interleaving unit 130, the data portion 10 is normally shifted and output.

도 6은 더미(20)가 삽입된 스트림에 대하여 인터리빙부(130)가 인터리빙한 이후의 스트림 상태를 나타내는 모식도이다. 인터리빙부(130)에 의한 인터리빙 수행으로 인하여 데이터가 섞이게 된다. 이 경우, 도 5의 더미(20)는 데이터 부분(10)의 출력 이후에 출력되므로, 도 6의 경우 데이터(10)의 좌측에 위치하게 된다. 데이터 우측의 더미(20')는 이전 데이터에 대한 더미가 될 수 있다.6 is a schematic diagram showing a stream state after the interleaving unit 130 interleaves the stream into which the dummy 20 is inserted. Due to the interleaving performed by the interleaving unit 130, data is mixed. In this case, since the dummy 20 of FIG. 5 is output after the output of the data portion 10, the dummy 20 of FIG. 5 is located on the left side of the data 10. The dummy 20 'to the right of the data may be a dummy for previous data.

이와 같이, 스트림 재배열부(110)에서 스트림을 재배열한 이후에, 인터리빙이 수행되기 때문에, 인터리빙 간격이 충분히 넓게 확보될 수 있다. 즉, 도 2와 같은 컨벌루셔널 인터리버를 사용하였을 경우, M, 2M과 같은 메모리 경로가 선택되었을 경우, 동일 데이터 간의 인터리빙 간격이 4바이트나 8바이트 정도 밖에 되지 않는다. 따라서, 인터리빙 성능이 떨어진다. As such, since the interleaving is performed after rearranging the streams in the stream rearranging unit 110, the interleaving interval can be secured sufficiently wide. That is, when the convolutional interleaver shown in FIG. 2 is used, when memory paths such as M and 2M are selected, the interleaving interval between the same data is only about 4 bytes or 8 bytes. Thus, interleaving performance is poor.

하지만, 스트림 재배열부(110)에서 도 3 내지 도 5에 도시된 바와 같이, 스트림을 재배열한 후, 더미를 추가하여 인터리빙을 하게 되면, 동일 데이터 간의 인터리빙 간격이 충분히 넓게 확보될 수 있다. 이에 따라, 인터리빙 성능을 향상시킬 수 있게 된다.However, as shown in FIGS. 3 to 5 in the stream rearrangement unit 110, if the stream is rearranged and interleaved by adding a dummy, an interleaving interval between the same data may be sufficiently widened. Accordingly, interleaving performance can be improved.

한편, 도 6과 같이 더미가 포함된 상태로 인터리빙된 이후에, 전송을 위하여 더미를 제거하는 구성을 더 포함할 수 있다. Meanwhile, after being interleaved with the dummy included as shown in FIG. 6, the method may further include a configuration of removing the dummy for transmission.

도 7은 도 2와 같은 인터리빙부(130)를 구비한 스트림 처리 장치에 더미 제 거부(140) 및 버스트 생성부(150)를 더 포함하는 실시 예를 나타내는 블럭도이다. FIG. 7 is a block diagram illustrating an exemplary embodiment including a dummy rejection 140 and a burst generator 150 in a stream processing apparatus including the interleaving unit 130 as shown in FIG. 2.

도 7에 따르면, 본 스트림 처리 장치(100)에서 인터리빙부(130)는 도 6과 같은 형태의 스트림을 더미 제거부(140)로 출력할 수 있다.According to FIG. 7, in the stream processing apparatus 100, the interleaving unit 130 may output a stream having the form as shown in FIG. 6 to the dummy remover 140.

더미 제거부(140)는 스트림 내에서 더미를 제거하고, 버스트 생성부(150)는 더미 제거부(140)에 의해 더미가 제거된 스트림을 버스트(Burst) 단위로 모은다. 본 스트림 처리 장치(100)으로 입력되는 스트림의 일 단위를 1 버스트라고 한다면, 인터리빙부(130)에서의 처리를 위하여 더미가 추가된 후 제거된 상태에서 버스트 생성부(150)는 1 버스트에 해당하는 스트림을 모아서 출력할 수 있다.The dummy remover 140 removes the dummy in the stream, and the burst generator 150 collects the stream from which the dummy is removed by the dummy remover 140 in burst units. If one unit of the stream input to the stream processing apparatus 100 is one burst, the burst generator 150 corresponds to one burst in a state in which the dummy is added and then removed for processing by the interleaving unit 130. You can gather and output streams that do.

도 8은 도 7의 인터리빙부(130)에서 인터리빙된 이후에, 더미 제거부(140)에서 더미를 제거하고, 버스트 생성부(150)에서 버스트 단위로 모은 상태를 나타내는 모식도이다. 8 is a schematic diagram illustrating a state in which the dummy is removed from the dummy removing unit 140 after being interleaved by the interleaving unit 130 of FIG. 7 and collected in burst units in the burst generating unit 150.

즉, 도 8의 스트림은 본 스트림 처리 장치(100)에서 출력되는 스트림의 최종 상태가 될 수 있다. 도 8에 따르면, 스트림은, 도면의 수직 방향으로 컨벌루셔널 인터리버의 브랜치 수(B)에 대응하는 길이를 갖는다.That is, the stream of FIG. 8 may be the final state of the stream output from the stream processing apparatus 100. According to FIG. 8, the stream has a length corresponding to the number of branches B of the convolutional interleaver in the vertical direction of the figure.

이 경우, 도 8의 최우측 세로 라인을 살피면, 도 5의 각 패킷(a,b,c,d,e,f,...)들이 일정 단위로 인터리빙되어 배치되어 있음을 알 수 있다. 예를 들어, a 패킷을 살피면 6 구간마다 하나씩 나누어 배치되는 방식으로 인터리빙된 상태이다. 이와 같이, 스트림 재배열 이후에 더미를 추가하여 인터리빙을 하게 되면, 종래의 인터리빙 방식에서 스트림 초기에 인터리빙 간격이 좁아지는 것을 방지할 수 있게 된다. 결과적으로, 안정적인 스트림 전송이 가능해 지게 되므로, 스트림 폐기, 재전송 등의 가능성이 줄어들게 되어, 효율적인 디지털 방송 서비스를 제공할 수 있게 된다. In this case, looking at the rightmost vertical line of FIG. 8, it can be seen that each packet (a, b, c, d, e, f, ...) of FIG. 5 is interleaved and arranged in a predetermined unit. For example, if a packet is looked at, it is interleaved in such a manner that one packet is divided every six intervals. As described above, if the interleaving is performed after the stream rearrangement is added, the interleaving interval can be prevented from being narrowed at the beginning of the stream in the conventional interleaving scheme. As a result, since stable stream transmission is enabled, the possibility of stream discarding, retransmission, etc. is reduced, and thus an efficient digital broadcast service can be provided.

도 9는 본 발명의 다른 실시 예에 따른 스트림 처리 장치의 구성을 나타내는 모식도이다. 도 9에 따르면, 본 스트림 처리 장치는 스트림 재배열부(110) 및 더미 삽입부(120) 이외에 RS 인코더부(160), CRC 인코더부(170) 및 버스트 전송부(180)를 더 포함한다.9 is a schematic diagram showing the configuration of a stream processing apparatus according to another embodiment of the present invention. According to FIG. 9, the present stream processing apparatus further includes an RS encoder unit 160, a CRC encoder unit 170, and a burst transmitter 180 in addition to the stream rearrangement unit 110 and the dummy insertion unit 120.

스트림 재배열부(110)는 스트림을 기 설정된 제1 크기 단위 만큼 가로 방향으로 배열하면서, 세로 방향으로 스택킹하여 재배열한다. 재배열된 스트림의 형태는 도 10을 통해 확인할 수 있다.The stream rearrangement unit 110 arranges the streams in the horizontal direction by the first predetermined size unit and stacks the rearrangements in the vertical direction. The shape of the rearranged stream can be seen through FIG.

도 10에 따르면, 스트림(30)은 기 설정된 제1 크기 단위(x2) 만큼 가로 방향으로 배열되고, 그 다음 스트림들은 다음 라인에서 가로 방향으로 배열된다. 따라서, 하나의 라인 내에 복수 개수 단위(x1)의 스트림들이 배치된다. x1은 실시 예에 따라 다양하게 설정될 수 있다. 예를 들어, 187 바이트로 설정될 수 있다.According to FIG. 10, the stream 30 is arranged in the horizontal direction by the first predetermined size unit x2, and the next streams are arranged in the horizontal direction in the next line. Therefore, a plurality of streams x1 are arranged in one line. x1 may be set variously according to an embodiment. For example, it may be set to 187 bytes.

도 10과 같은 형태로 스트림(30)이 재배열되면, RS 인코더부(160)는 세로 방향의 종단부에 RS 패리티(40)를 추가한다. 즉, RS 인코더부(160)는 스트림(30)의 세로 방향으로 RS 패리티(40)를 산출하고, 산출된 RS 패리티(40)를 세로 방향으로 추가한다.When the stream 30 is rearranged in the form as shown in FIG. 10, the RS encoder unit 160 adds the RS parity 40 to the vertical end portion. That is, the RS encoder 160 calculates the RS parity 40 in the vertical direction of the stream 30 and adds the calculated RS parity 40 in the vertical direction.

CRC 인코더부(170)는 RS 패리티(40)가 추가된 스트림(30)에 대하여 가로 방향으로 CRC(cyclic redundancy check) 값(50)을 추가한다. CRC값(50)에는, 스트림(30)에 대한 CRC값 및 RS 패리티(40)에 대한 CRC값이 모두 포함된다. The CRC encoder 170 adds a cyclic redundancy check (CRC) value 50 in the horizontal direction with respect to the stream 30 to which the RS parity 40 is added. The CRC value 50 includes both the CRC value for stream 30 and the CRC value for RS parity 40.

결과적으로 도 10의 하단부에 도시된 형태와 같은 스트림이 구성된다.As a result, a stream like the one shown in the lower part of FIG. 10 is constructed.

구성된 스트림은 도 11과 같은 방식으로 전송된다.The configured stream is transmitted in the same manner as in FIG.

즉, 도 11은 스트림의 처리 방식을 설명하기 위한 모식도이다. 도 11에 따르면, 버스트 전송부(180)는 더미삽입부(120)에서 제공되는 스트림을 버스트 단위(61, 62, 63, 64, 65, 66, 67, 68)로 전송된다. 여기서, 하나의 버스트 크기는 CRC값(50) 부분까지 포함된 스트림의 가로 방향 사이즈보다 크게 설정될 수 있다. 이 경우, 다음 라인의 스트림 일부까지 함께 포함되어 전송된다.That is, FIG. 11 is a schematic diagram for explaining a processing method of a stream. According to FIG. 11, the burst transmitter 180 transmits the stream provided from the dummy inserter 120 to burst units 61, 62, 63, 64, 65, 66, 67, and 68. Here, one burst size may be set larger than the horizontal size of the stream included up to the CRC value 50. In this case, a part of the stream of the next line is included together and transmitted.

즉, 도 11의 우측에 도시된 도면과 같이 버스트 단위의 전송이 이루어진다. 한편, 도 11에서 마지막 전송 버스트(68)의 경우, 스트림이 하나의 버스트 단위를 모두 채우지 못한 상태이다.That is, bursts are transmitted as shown in the diagram on the right side of FIG. 11. Meanwhile, in the case of the last transmission burst 68 in FIG. 11, the stream does not fill all one burst unit.

더미 삽입부(120)는, 이러한 버스트(68)에 대하여 버스트 내의 빈 공간을 채우도록 더미를 삽입한다. 즉, 더미 삽입부(120)는 스트림을 기 설정된 제2 크기 단위의 전송 버스트로 구분하여, 하나의 전송 버스트가 이루어지지 않는 스트림에 대하여 전송 버스트 사이즈에 맞게 더미를 추가하는 작업을 수행한다. 이에 따라, 버스트 전송부(180)에 의해 버스트 단위의 데이터 전송이 이루어질 수 있게 된다.The dummy insertion part 120 inserts a dummy with respect to this burst 68 so that the empty space in a burst may be filled. That is, the dummy inserting unit 120 divides the stream into transmission bursts of a preset second size unit, and adds a dummy to a transmission burst size for a stream in which one transmission burst does not occur. As a result, the burst transmission unit 180 may perform data transmission in burst units.

도 10 및 도 11에 도시된 바와 같이, RS 패리티(40)가 스트림의 세로 방향으로 산출되어 부가된 상태에서 가로 방향으로 전송이 이루어지게 되므로, 결과적으로 블럭 인터리빙이 이루어지게 된다. 즉, 재배열되어 RS 패리티(40) 및 CRC 값(50)이 부가된 상태의 스트림은 복수 개의 메모리에 도 10의 하단부에 도시된 형태로 저장된 이후에, 도 11에서와 같이 가로 방향으로 버스트 단위로 출력됨으로 써, 블럭 인터리빙 효과를 얻을 수 있다.As shown in FIG. 10 and FIG. 11, since the RS parity 40 is calculated in the vertical direction of the stream and transmitted in the horizontal direction, the block interleaving is performed as a result. That is, the rearranged streams having the RS parity 40 and the CRC value 50 added thereto are stored in the plurality of memories in the form shown in the lower portion of FIG. 10, and then burst in the horizontal direction as shown in FIG. 11. By outputting as, block interleaving effect can be obtained.

이와 같이, 본 스트림 처리 장치는 다양한 방식으로 구현될 수 있다.As such, the present stream processing apparatus may be implemented in various ways.

한편, 상술한 다양한 구성의 스트림 처리 장치들은 디지털 방송 송신기에 사용될 수 있다. 또한, 처리되는 스트림은 기존의 노멀 데이터 스트림만을 포함하는 형태가 될 수도 있고, 에러에 강건하게 처리된 부가 데이터 스트림이나, 등화 성능을 높이기 위한 기지 데이터 등이 더 포함된 스트림일 수 있다.Meanwhile, the above-described stream processing apparatuses of various configurations may be used in a digital broadcast transmitter. In addition, the stream to be processed may be a form including only existing normal data streams, or may be a stream including additional data streams that are robustly processed to error, or known data for enhancing equalization performance.

이 경우, 본 스트림 처리 장치는, 스트림을 구성하는 먹스부, 부가 데이터 스트림을 에러에 강건하게 처리하는 데이터 처리부, 랜덤화를 수행하는 랜덤화부, RS 인코딩을 수행하는 RS 인코더, 트렐리스 인코더, 필드 싱크나 세그먼트 싱크를 스트림에 추가하는 싱크 멀티플렉서, 변조 작업을 수행하는 변조부, 수신측과의 사이에서 기지의 데이터를 스트림에 추가하는 기지 데이터 삽입부 등의 다양한 구성요소를 더 포함할 수 있다. 이러한 구성요소들은 다양한 형태로 배치되어, 다양한 실시 예를 구성할 수 있다.In this case, the present stream processing apparatus includes a mux unit constituting the stream, a data processing unit for robustly processing additional data streams to an error, a randomization unit performing randomization, an RS encoder performing RS encoding, a trellis encoder, The apparatus may further include various components such as a sink multiplexer for adding a field sink or a segment sink to a stream, a modulator for performing a modulation operation, and a known data inserter for adding known data to a stream with a receiver. . These components may be arranged in various forms to constitute various embodiments.

도 12는 본 발명의 일 실시예에 따른 스트림 처리 방법을 설명하기 위한 흐름도이다. 도 12에 따르면, 스트림이 입력되면 스트림 재배열이 이루어진다(S1010). 재배열 방식은 인터리빙부(130)의 구성에 따라 달라진다. 즉, 인터리빙부(130)가 컨벌루셔널 인터리버로 이루어진 경우, 스트림은 스택킹된 이후에 일정한 크기의 블럭으로 구분되고, 직각 회전되어 재배열 될 수 있다.12 is a flowchart illustrating a stream processing method according to an embodiment of the present invention. According to FIG. 12, when a stream is input, a stream rearrangement is performed (S1010). The rearrangement method depends on the configuration of the interleaving unit 130. That is, when the interleaving unit 130 is formed of a convolutional interleaver, the stream may be divided into blocks of a predetermined size after being stacked, and may be rearranged by being rotated at right angles.

반면, 스트림 처리 장치가 도 9에 도시된 바와 같이 구성되어, 블럭 인터리빙이 일어난 경우, 일부 버스트에 대해서만 더미가 추가될 수도 있다. On the other hand, if the stream processing apparatus is configured as shown in Fig. 9, and block interleaving occurs, a dummy may be added only for some bursts.

스택킹되어 재배열된 스트림은 후단으로 순차적으로 출력되거나 또는 랜덤하게 출력될 수 있다.Stacked and rearranged streams may be sequentially output to the next stage or randomly output.

그리고 나서, 출력되는 스트림에 대하여 더미가 추가된다(S1020).Then, a dummy is added to the output stream (S1020).

상술한 바와 같이, 더미는 인터리빙부(130)에서 정상적으로 인터리빙이 이루어져 스트림이 출력될 수 있도록, 인터리빙부(130)의 내부 메모리를 특정 값으로 채워주는 역할을 한다.As described above, the dummy serves to fill the internal memory of the interleaving unit 130 with a specific value so that the interleaving unit 130 normally interleaves the stream to be output.

한편, 스트림 재배열이 도 3 내지 5에서 도시된 바와 같이 재배열된 후 더미가 삽입된 경우에는, 더미 추가 이후에 컨벌루션 인터리빙 과정이 수행될 수 있다. 인터리빙으로 인하여 스트림내의 각 패킷들은 다양한 간격으로 재배열된다. 이 경우, 인터리빙 이후에 더미를 제거하는 단계가 더 포함될 수도 있다. 또한, 더미 제거 후에, 스트림을 버스트 단위로 모아서 출력하는 단계도 더 포함될 수 있다. 이에 대해서는, 상술한 부분에서 구체적으로 설명하였으므로, 중복 설명은 생략한다.Meanwhile, when a dummy is inserted after the stream rearrangement is rearranged as illustrated in FIGS. 3 to 5, a convolutional interleaving process may be performed after the dummy addition. Due to interleaving, each packet in the stream is rearranged at various intervals. In this case, the step of removing the dummy after interleaving may be further included. In addition, after removing the dummy, collecting the stream in burst units may be further included. Since this has been described in detail in the above-described portion, redundant description is omitted.

한편, 도 9와 같은 형태로 스트림 처리 장치가 구현될 경우 더미 추가 이후에 별도의 인터리빙 단계가 존재하지 않을 수도 있다. 즉, 도 9와 같은 스트림 처리 장치의 경우, 스트림을 스택킹하여 재배열한 후 RS 인코딩, CRC 인코딩을 수행하여 스트림을 재구성한다. 이러한 상태에서, 출력이 가로 방향으로 이루어지게 됨으로써, 블럭 인터리빙이 발생하게 된다. 이 과정에서 스트림, RS 패리티, CRC 값 등으로 하나의 버스트가 완전히 채워지지 않는 경우, 해당 버스트에 대해서는 더미를 채우게 된다. Meanwhile, when the stream processing apparatus is implemented as shown in FIG. 9, a separate interleaving step may not exist after the dummy addition. That is, in the case of the stream processing apparatus as shown in FIG. 9, the streams are stacked and rearranged to perform RS encoding and CRC encoding to reconstruct the stream. In this state, the output is made in the horizontal direction, whereby block interleaving occurs. In this process, if a burst is not completely filled with stream, RS parity, CRC value, etc., a dummy is filled for the burst.

도 13은 본 발명의 일 실시 예에 따른 디지털 방송 수신기의 구성을 나타내 는 블럭도이다. 도 13의 디지털 방송 수신기는 도 1이나 도 7, 9의 구성을 가지는 스트림 처리 장치 및 이를 포함한 디지털 방송 송신기에서 처리한 스트림을 수신할 수 있다. 구체적으로는, 본 디지털 방송 수신기는 휴대폰, 노트북, 네비게이션, 전자수첩 등과 같은 휴대형 디스플레이 장치나, TV, 셋탑박스 등과 같은 디스플레이 장치로 구현될 수 있다. 13 is a block diagram illustrating a configuration of a digital broadcast receiver according to an embodiment of the present invention. The digital broadcast receiver of FIG. 13 may receive a stream processed by the stream processing apparatus having the configuration of FIGS. 1, 7, and 9, and a stream processed by the digital broadcast transmitter including the same. Specifically, the digital broadcast receiver may be implemented as a portable display device such as a mobile phone, a notebook, a navigation, an electronic notebook, or a display device such as a TV or a set-top box.

도 13에 따르면, 본 디지털 방송 수신기는 튜너부(210), 복조부(220), 등화부(230), 디인터리버부(240)를 포함한다. According to FIG. 13, the digital broadcast receiver includes a tuner 210, a demodulator 220, an equalizer 230, and a deinterleaver 240.

튜너부(210)는 채널을 선국하여 스트림을 수신한다. The tuner 210 tunes a channel to receive a stream.

복조부(220)는 튜너부(210)에서 수신된 스트림을 복조하고, 등화부(230)는 복조된 스트림을 등화한다.The demodulator 220 demodulates the stream received by the tuner 210, and the equalizer 230 equalizes the demodulated stream.

디인터리버부(240)는 등화된 스트림을 디인터리빙하여, 스트림을 원 상태로 재구성한다. The deinterleaver 240 deinterleaves the equalized stream to reconstruct the stream to its original state.

도 13의 디지털 방송 수신기에서 수신되는 스트림은 송신단 측에서 컨벌루셔널 인터리빙된 후, 더미가 제거된 상태의 스트림일 수 있다. 즉, 도 8과 같은 형태의 스트림을 수신하여 처리할 수 있다.The stream received by the digital broadcast receiver of FIG. 13 may be a stream in which a dummy is removed after convolutional interleaving at the transmitter side. That is, it is possible to receive and process the stream as shown in FIG.

또는, 도 10 및 11과 같은 방식으로 처리된 스트림인 경우, 더미가 제거되지 않은 스트림일 수도 있다. 더미가 제거되지 않은 상태의 스트림이 수신되는 경우, 디지털 방송 수신기는 더미를 제거하는 구성을 더 포함할 수 있다.Alternatively, in the case of a stream processed in the same manner as in FIGS. 10 and 11, the stream may not be removed. When the stream in which the dummy is not removed is received, the digital broadcast receiver may further include a configuration for removing the dummy.

도 14는 더미를 포함하는 스트림을 수신하는 본 발명의 다른 실시 예에 따른 디지털 방송 수신기의 구성을 나타내는 블럭도이다. 도 14의 디지털 방송 수신기는 튜너부(210), 복조부(220), 등화부(230), 더미 제거부(250), 디코더부(260)를 더 포함한다.14 is a block diagram illustrating a configuration of a digital broadcast receiver according to another embodiment of the present invention for receiving a stream including a dummy. The digital broadcast receiver of FIG. 14 further includes a tuner 210, a demodulator 220, an equalizer 230, a dummy remover 250, and a decoder 260.

더미 제거부(250)는 도 10 및 11과 같이 처리되어 더미 제거 없이 송신된 스트림으로부터 더미를 제거한다. 즉, 도 14의 디지털 방송 수신기에서는 디지털 방송 송신기 측에서 블럭 인터리빙 처리하여, 더미까지 포함된 상태의 스트림을 수신하여 처리한다.The dummy remover 250 is processed as shown in FIGS. 10 and 11 to remove the dummy from the transmitted stream without removing the dummy. That is, the digital broadcast receiver of FIG. 14 performs block interleaving on the digital broadcast transmitter side, and receives and processes a stream including a dummy.

이 경우, 더미 제거부(250)는 스트림에 포함된 정보 또는 별도의 채널을 통해 제공되는 정보를 통해 스트림의 데이터 영역의 사이즈를 확인함으로써, 그 사이즈 초과분에 대해서는 더미로 파악할 수 있다.In this case, the dummy remover 250 checks the size of the data area of the stream based on information included in the stream or information provided through a separate channel, so that the excess may be regarded as a dummy.

디코더부(260)는 더미가 제거된 상태의 스트림을 디코딩하여, 스트림을 복원한다. 이 경우, 디코더부(260)는 입력되는 스트림을 순차적으로 스택킹한 후, 스택킹에 수직한 방향으로 처리함으로써, 블럭 디인터리빙 효과도 얻을 수 있다. The decoder 260 decodes the stream in which the dummy is removed and restores the stream. In this case, the decoder 260 sequentially stacks the input stream and then processes it in a direction perpendicular to the stacking, thereby obtaining a block deinterleaving effect.

한편, 도 13이나 도 14의 디지털 방송 수신기에는 도시하지 않았으나, 디지털 방송 수신기는 트렐리스 디코더, RS 디코더, 역랜덤화부, 디멀티플렉서 등과 같은 다양한 구성을 더 포함할 수 있다.Although not shown in the digital broadcast receiver of FIG. 13 or FIG. 14, the digital broadcast receiver may further include various components such as a trellis decoder, an RS decoder, a derandomization unit, a demultiplexer, and the like.

또한, 도 13이나 도 14의 디지털 방송 수신기에서 수신하는 스트림은 노멀 데이터 스트림, 에러에 강건하게 처리된 부가 데이터 스트림, 기지 데이터 등을 포함할 수도 있다.In addition, the stream received by the digital broadcast receiver of FIG. 13 or FIG. 14 may include a normal data stream, an additional data stream robustly processed to an error, known data, and the like.

이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발 명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형 실시예들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.While the above has been shown and described with respect to preferred embodiments of the present invention, the present invention is not limited to the specific embodiments described above, it is usually in the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.

도 1은 본 발명의 일 실시 예에 따른 스트림 처리 장치의 구성을 나타내는 블럭도,1 is a block diagram showing a configuration of a stream processing apparatus according to an embodiment of the present invention;

도 2는 도 1의 스트림 처리 장치에서 컨벌루셔널 인터리버가 포함된 구성 예를 나타내는 모식도,2 is a schematic diagram illustrating a configuration example in which a convolutional interleaver is included in the stream processing apparatus of FIG. 1;

도 3 내지 6은 컨벌루셔널 인터리버를 이용하는 스트림 처리 장치에서의 스트림 처리 과정을 설명하기 위한 모식도,3 to 6 are schematic diagrams for explaining a stream processing procedure in a stream processing apparatus using a convolutional interleaver,

도 7은 도 1의 스트림 처리 장치의 세부 구성의 예를 나타내는 블럭도,7 is a block diagram illustrating an example of a detailed configuration of a stream processing apparatus of FIG. 1;

도 8은 더미가 제거된 최종 상태의 스트림 구성의 일 예를 나타내는 모식도,8 is a schematic diagram illustrating an example of a stream configuration in a final state in which a dummy is removed;

도 9는 본 발명의 다른 실시 예에 따른 스트림 처리 장치의 구성을 나타내는 모식도,9 is a schematic diagram showing the configuration of a stream processing apparatus according to another embodiment of the present invention;

도 10 및 도 11은 도 9의 스트림 처리 장치에서의 스트림 처리 과정을 설명하기 위한 모식도,10 and 11 are schematic views for explaining a stream processing procedure in the stream processing apparatus of FIG.

도 12는 본 발명의 일 실시 예에 따른 스트림 처리 방법을 설명하기 위한 흐름도, 그리고,12 is a flowchart illustrating a stream processing method according to an embodiment of the present invention;

도 13 및 도 14는 본 발명의 다양한 실시 예에 따른 디지털 방송 수신기의 구성을 나타내는 블럭도이다.13 and 14 are block diagrams illustrating a configuration of a digital broadcast receiver according to various embodiments of the present disclosure.

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

110 : 스트림 재배열부 120 : 더미 삽입부110: stream rearrangement unit 120: dummy insertion unit

130 : 인터리빙부 140 : 더미 제거부130: interleaving unit 140: dummy removal unit

150 : 버스트 생성부 210 : 튜너부150: burst generator 210: tuner unit

220 : 복조부 230 : 등화부220: demodulator 230: equalizer

250 : 더미 제거부 260 : 디코더부250: dummy removal unit 260: decoder unit

Claims (23)

스트림을 스택킹(stacking)하여 재배열하는 스트림 재배열부; 및,A stream rearrangement unit for stacking and rearranging the streams; And, 상기 재배열된 스트림에 더미(dummy)를 추가하는 더미 삽입부;를 포함하는 스트림 처리 장치.And a dummy inserter for adding a dummy to the rearranged stream. 제 1 항에 있어서,The method of claim 1, 상기 더미가 추가된 스트림을 컨벌루셔널 인터리빙하는 인터리빙부;를 더 포함하는 것을 특징으로 하는 스트림 처리 장치.And an interleaving unit configured to convolutionally interleave the stream to which the dummy is added. 제 2 항에 있어서,The method of claim 2, 상기 스트림 재배열부는, The stream rearrangement unit, 상기 스트림을 단위 별로 기 설정된 개수만큼 수직 방향으로 스택킹하고, 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열하는 것을 특징으로 하는 스트림 처리 장치.Stacking the stream in a vertical direction by a predetermined number of units per unit, and rearranging the streams by rotating the stacked streams for each unit at right angles. 제 3 항에 있어서,The method of claim 3, wherein 상기 스트림 재배열부는,The stream rearrangement unit, 상기 단위 별 스트림들 각각을 기 설정된 크기의 블럭으로 구분하고, 각 블럭 단위로 상기 직각 회전을 수행하는 것을 특징으로 하는 스트림 처리 장치.And classifying each of the streams for each unit into blocks having a predetermined size, and performing the quadrature rotation for each block unit. 제 4 항에 있어서,The method of claim 4, wherein 상기 더미 삽입부는, The dummy insertion unit, 상기 블럭 단위로 회전된 스트림에 상기 인터리빙부의 메모리 사이즈에 대응하는 더미를 삽입하는 것을 특징으로 하는 스트림 처리 장치.And a dummy corresponding to the memory size of the interleaving unit is inserted into the stream rotated by the block unit. 제 4 항에 있어서,The method of claim 4, wherein 상기 인터리빙부에서 출력되는 스트림에서 상기 더미를 제거하는 더미 제거부; 및,A dummy removing unit removing the dummy from the stream output from the interleaving unit; And, 상기 더미가 제거된 스트림을 버스트(Burst) 단위로 모으는 버스트 생성부;를 더 포함하는 것을 특징으로 하는 스트림 처리 장치.And a burst generator for collecting the stream from which the dummy is removed in burst units. 제 1 항에 있어서,The method of claim 1, 상기 스트림재배열부는,The stream rearrangement unit, 상기 스트림을 기 설정된 제1 크기 단위 만큼 가로 방향으로 배열하면서, 세로 방향으로 스택킹하여 재배열하는 것을 특징으로 하는 스트림 처리 장치.And arranging the streams in a horizontal direction by a first predetermined size unit and stacking and rearranging the streams in a vertical direction. 제 7 항에 있어서,The method of claim 7, wherein 상기 스트림의 세로 방향 종단부에 RS 패리티를 부가하는 RS 인코더부; 및,An RS encoder for adding RS parity to a longitudinal end of the stream; And, 상기 RS 패리티가 부가된 스트림의 가로 방향 종단부에 CRC 값을 부가하는 CRC 인코더부;를 더 포함하는 것을 특징으로 하는 스트림 처리 장치.And a CRC encoder for adding a CRC value to a horizontal end portion of the stream to which the RS parity has been added. 제 8 항에 있어서,The method of claim 8, 상기 더미 삽입부는, The dummy insertion unit, 상기 스택킹된 스트림을 기 설정된 제2 크기 단위의 전송 버스트로 구분하여, 하나의 전송 버스트가 이루어지지 않는 스트림에 대하여 전송 버스트 사이즈에 맞게 더미를 추가하는 것을 특징으로 하는 스트림 처리 장치.And dividing the stacked stream into transmission bursts of a second preset unit, and adding a dummy to a transmission burst size for a stream in which one transmission burst does not occur. 제1 내지 제6항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 6, 상기 스트림 재배열부에 입력되는 스트림은 패리티가 부가된 패킷 단위로 구분되는 것을 특징으로 하는 스트림 처리 장치.And streams input to the stream rearrangement unit are divided into packet units to which parity is added. 스트림을 스택킹(stacking)하여 재배열하는 스트림 재배열 단계;및,A stream rearrangement step of stacking and rearranging the streams; and, 상기 재배열된 스트림에 더미(dummy)를 추가하는 더미 삽입 단계;를 포함하는 스트림 처리 방법.A dummy insertion step of adding a dummy to the rearranged stream. 제 11 항에 있어서,The method of claim 11, 상기 더미가 추가된 스트림에 대하여 컨벌루셔널 인터리버를 이용하여 인터리빙하는 단계;를 더 포함하는 것을 특징으로 하는 스트림 처리 방법.And interleaving the stream to which the dummy has been added by using a convolutional interleaver. 제 12 항에 있어서,The method of claim 12, 상기 스트림 재배열 단계는, The stream rearrangement step, 상기 스트림을 단위 별로 기 설정된 개수 만큼 수직 방향으로 스택킹하는 단계;Stacking the stream in a vertical direction by a predetermined number of units per unit; 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열하는 단계;를 포함하는 것을 특징으로 하는 스트림 처리 방법.Rearranging the streams by orthogonally rotating the stacked unit streams. 제 13 항에 있어서,The method of claim 13, 상기 스택킹된 단위 별 스트림들을 직각 회전시켜 상기 스트림을 재배열하는 단계는,Rearranging the streams by orthogonally rotating the stacked unit streams, 상기 단위 별 스트림들 각각을 기 설정된 크기의 블럭으로 구분하고, 각 블럭 단위로 상기 직각 회전을 수행하는 것을 특징으로 하는 스트림 처리 방법.And classifying each of the unit streams into blocks having a predetermined size, and performing the quadrature rotation in units of blocks. 제 14 항에 있어서,The method of claim 14, 상기 더미 삽입 단계는, The dummy insertion step, 상기 블럭 단위로 회전된 스트림에 상기 컨벌루셔널 인터리버의 메모리 사이즈에 대응하는 더미를 삽입하는 것을 특징으로 하는 스트림 처리 방법.And a dummy corresponding to the memory size of the convolutional interleaver is inserted into the stream rotated in the block unit. 제 14 항에 있어서,The method of claim 14, 상기 인터리빙된 스트림에서 상기 더미를 제거하는 단계; 및,Removing the dummy from the interleaved stream; And, 상기 더미가 제거된 스트림을 버스트(Burst) 단위로 모으는 단계;를 더 포함하는 것을 특징으로 하는 스트림 처리 방법.Collecting the stream from which the dummy is removed in burst units. 제 11 항에 있어서,The method of claim 11, 상기 스트림재배열 단계는,The stream rearrangement step, 상기 스트림을 기 설정된 제1 크기 단위 만큼 가로 방향으로 배열하면서, 세로 방향으로 스택킹하여 재배열하는 것을 특징으로 하는 스트림 처리 방법.And arranging the streams in a horizontal direction by a predetermined first size unit and stacking and rearranging the streams in a vertical direction. 제 17 항에 있어서,The method of claim 17, 상기 스트림의 세로 방향 종단부에 RS 패리티를 부가하는 RS 인코딩 단계; 및,An RS encoding step of adding RS parity to a longitudinal end of the stream; And, 상기 RS 패리티가 부가된 스트림의 가로 방향 종단부에 CRC 값을 부가하는 CRC 인코딩 단계;를 더 포함하는 것을 특징으로 하는 스트림 처리 방법.And a CRC encoding step of adding a CRC value to a horizontal end portion of the stream to which the RS parity has been added. 제 18 항에 있어서,The method of claim 18, 상기 더미 삽입 단계는, The dummy insertion step, 상기 스택킹된 스트림을 기 설정된 제2 크기 단위의 전송 버스트로 구분하여, 하나의 전송 버스트가 이루어지지 않는 스트림에 대하여 전송 버스트 사이즈에 맞게 더미를 추가하는 것을 특징으로 하는 스트림 처리 방법.And dividing the stacked stream into transmission bursts of a second preset unit, and adding a dummy to a transmission burst size for a stream in which one transmission burst does not occur. 제11 내지 제16항 중 어느 한 항에 있어서,The method according to any one of claims 11 to 16, 상기 스트림 재배열 단계는, The stream rearrangement step, 패리티가 부가된 패킷 단위로 구분되는 스트림을 재배열하는 것을 특징으로 하는 스트림 처리 방법.A stream processing method comprising rearranging streams divided into packet units to which parity is added. 스트림을 수신하는 튜너부;A tuner unit for receiving a stream; 상기 수신된 스트림을 복조하는 복조부;A demodulator for demodulating the received stream; 상기 복조된 스트림을 등화하는 등화부; 및,An equalizer for equalizing the demodulated stream; And, 상기 등화된 스트림을 디인터리빙하는 디인터리버부;를 포함하며,And a deinterleaver unit for deinterleaving the equalized stream. 상기 스트림은 디지털 방송 송신기 측에서 기 설정된 단위로 스택킹되어 재배열된 후, 더미가 추가되어 처리된 것임을 특징으로 하는 디지털 방송 수신기.And the stream is stacked and rearranged in a predetermined unit at a digital broadcast transmitter, and then a dummy is added and processed. 제21항에 있어서,The method of claim 21, 상기 스트림은 상기 디지털 방송 송신기 측에서 컨벌루셔널 인터리빙된 후, 상기 더미가 제거된 것임을 특징으로 하는 디지털 방송 수신기.And the stream is removed after the convolutional interleaving at the digital broadcast transmitter. 제21항에 있어서,The method of claim 21, 상기 스트림에 추가된 더미를 제거하는 더미 제거부;를 더 포함하며,And a dummy remover configured to remove the dummy added to the stream. 상기 스트림은 상기 디지털 방송 송신기 측에서 블럭 인터리빙된 것이며, 상기 더미가 추가된 것임을 특징으로 하는 디지털 방송 수신기.Wherein the stream is block interleaved at the digital broadcast transmitter and the dummy is added.
KR1020080073146A 2007-07-26 2008-07-25 Device for processing streams and method thereof KR101535833B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US95210907P 2007-07-26 2007-07-26
US60/952,109 2007-07-26

Publications (2)

Publication Number Publication Date
KR20090012175A true KR20090012175A (en) 2009-02-02
KR101535833B1 KR101535833B1 (en) 2015-07-13

Family

ID=40683097

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080073146A KR101535833B1 (en) 2007-07-26 2008-07-25 Device for processing streams and method thereof

Country Status (1)

Country Link
KR (1) KR101535833B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5537420A (en) * 1994-05-04 1996-07-16 General Instrument Corporation Of Delaware Convolutional interleaver with reduced memory requirements and address generator therefor
KR20040031179A (en) * 2002-10-04 2004-04-13 엘지전자 주식회사 Apparatus and method for decoding trellis in digital TV

Also Published As

Publication number Publication date
KR101535833B1 (en) 2015-07-13

Similar Documents

Publication Publication Date Title
US8489963B2 (en) Device for processing streams and method thereof
US9348691B2 (en) Apparatus for transmitting broadcast signal, apparatus for receiving broadcast signal, and method for transmitting/receiving broadcast signal through apparatus for transmitting/receiving broadcasting signal
CN107113456B (en) Broadcast signal receiving method and receiving device
US8787220B2 (en) Digital broadcast transmitter, digital broadcast receiver, and methods for configuring and processing digital transport streams thereof
US8611731B2 (en) Digital television transmitting system and receiving system and method of processing broadcast data
US8891465B2 (en) Digital broadcasting transmitter, digital broadcasting receiver, and methods for configuring and processing a stream for same
TW201608846A (en) Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
KR20100004816A (en) Digital broadcasting system and method of processing data in digital broadcasting system
US8301965B2 (en) Method and apparatus for cascade encoding
US8831038B2 (en) Transmission stream generating device for generating transmission stream which additional data is stuffed in a payload area of a packet, digital broadcast transmitting/receiving device for transmitting/receiving the transmission stream, and methods thereof
US20070140257A1 (en) Dtv transmitter and method of coding data in dtv transmitter
US5802107A (en) Symbol rotator
KR101779026B1 (en) Method for de-interleaving and Broadcast Recieving Apparatus
KR101535833B1 (en) Device for processing streams and method thereof
US20100329382A1 (en) Digital broadcasting transmitter and receiver, and methods for processing streams thereof

Legal Events

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

Payment date: 20180628

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190627

Year of fee payment: 5