KR20070017057A - Method, Device And Program For Receiving A Data Stream - Google Patents

Method, Device And Program For Receiving A Data Stream Download PDF

Info

Publication number
KR20070017057A
KR20070017057A KR1020060073680A KR20060073680A KR20070017057A KR 20070017057 A KR20070017057 A KR 20070017057A KR 1020060073680 A KR1020060073680 A KR 1020060073680A KR 20060073680 A KR20060073680 A KR 20060073680A KR 20070017057 A KR20070017057 A KR 20070017057A
Authority
KR
South Korea
Prior art keywords
data
section
interface module
received
packet
Prior art date
Application number
KR1020060073680A
Other languages
Korean (ko)
Inventor
마르쉬 스테판느 드
앙리 팰롱
Original Assignee
딥콩
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 딥콩 filed Critical 딥콩
Priority to KR1020060073680A priority Critical patent/KR20070017057A/en
Publication of KR20070017057A publication Critical patent/KR20070017057A/en

Links

Images

Classifications

    • 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
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

본 발명에 따르면, 오류정정부호가 각각의 섹션과 관련되고 함께 전송되는 데이터 패킷상에 분산된 데이터 섹션을 포함하고, 인터페이스 모듈에 의해 데이터스트림의 패킷을 수신하는 단계(20,22)와, 상기 인터페이스 모듈로부터 처리모듈로, 패킷 단위로, 상기 데이터스트림을 전송하는 단계(42,50)와, 상기 인터페이스 모듈에 의한 데이터 수신시에, 현재의 데이터 섹션에 대한 오류정정부호를 증량 계산하는 단계(32)와, 전체 섹션이 수신되었을 경우, 상기 증량 계산된 오류정정부호를 섹션검증 표시자를 전달하기 위해 검증하는 단계(36)를 포함하는 것을 특징으로 하는 데이터스트림 수신방법이 제공된다.According to the invention, an error correcting code comprises a data section distributed over data packets associated with and transmitted with each section, and receiving (20, 22) packets of the data stream by the interface module; Transmitting (42,50) the data stream, in packet units, from an interface module to a processing module, and incrementally calculating an error correcting code for a current data section upon receipt of data by the interface module ( 32) and if the entire section has been received, verifying the increased error correction code to deliver a section verification indicator (36).

데이터스트림, 오류정정부호, 순환잉여검사(CRC) Data Stream, Error Correction Code, Cyclic Redundancy Check (CRC)

Description

데이터스트림을 수신하는 방법, 장치 및 프로그램{Method, Device And Program For Receiving A Data Stream}Method, Device And Program For Receiving A Data Stream}

도 1 및 도 2는 종래 기술의 2가지 실시예에 따른 전송스트림의 수신을 도시한 것이다.1 and 2 illustrate reception of a transport stream according to two embodiments of the prior art.

도 3a 및 도 3b는 본 발명에 따른 장치 및 상기 장치의 상세한 도면을 통한 전송스트림의 수신을 각각 도시한 것이다.3a and 3b illustrate the reception of a transport stream through a device and a detailed view of the device according to the invention, respectively.

도 4는 본 발명에 따른 방법의 흐름도이다.4 is a flow chart of a method according to the invention.

본 발명은 오류정정부호(error correction code)가 각각의 섹션(section)과 관련되고 전송되는 데이터 패킷상에 분산된 데이터 섹션을 포함하는 데이터스트림의 수신시 처리에 관한 것이다.The present invention relates to a processing upon reception of a data stream in which an error correction code is associated with each section and includes data sections distributed over data packets being transmitted.

일반적으로, 데이터스트림은 섹션에서 데이터 패킷상에 자체적으로 분산된다. 이는 예컨대 프로그램 특정정보(program specific information, PSI) 및 시스템 정보(SI)라고 하는 서비스 데이터스트림이 기본 전송스트림이라고 하는 데이터 패킷상에 분산되는 MPEG, DVB-T, DBV-H 라고 하는 정규화된 데이터 포맷의 경우이 다.In general, data streams are themselves distributed over data packets in sections. It is a normalized data format called MPEG, DVB-T, DBV-H, for example, in which service data streams called program specific information (PSI) and system information (SI) are distributed on data packets called base transport streams. This is the case.

각각의 섹션은 예컨대 CRC라고 하는 순환잉여부호 또는 순환잉여검사(cyclical redundancy code or checksum)와 같은 오류정정부호를 전달하여 전송의 무결성을 검증한다. 이러한 오류정정부호는 이미터(emitter)에 의해 계산되고 데이터 섹션과 함께 전송된다. 수신시에, 새로운 오류정정부호가 수신된 데이터 섹션으로부터 계산되고 데이터스트림과 함께 수신된 데이터 섹션과 비교된다. 대안으로, 상기 섹션은 이미터에 의해 계산된 보수코드(complementary code)를 전달하므로 상기 보수코드를 포함한 전체 섹션의 CRC는 0이된다. 따라서, 수신시 수신된 섹션의 CRC가 계산되고 상기 섹션이 온전한지를 결정하기 위해 비교된다.Each section carries an error correcting code, such as a cyclical redundancy code or checksum called CRC to verify the integrity of the transmission. This error correction code is calculated by the emitter and sent with the data section. Upon receipt, a new error correction code is calculated from the received data section and compared with the received data section along with the data stream. Alternatively, the section carries a complementary code calculated by the emitter so that the CRC of the entire section including the complementary code is zero. Thus, upon receipt, the CRCs of the received sections are calculated and compared to determine if the sections are intact.

데이터스트림은 동조기에 의해 수신되고 그런 후 일반적으로 복조기의 일부인 인터페이스 모듈 또는 인터페이스 칩(IC)을 통해 처리모듈 또는 호스트 프로세서로 전송된다. The datastream is received by the tuner and then transmitted to the processing module or host processor via an interface module or interface chip (IC), which is typically part of the demodulator.

도 1에 도시된 종래 기술의 제 1 실시예에서, 전송스트림(TS)은 P1, P2, P3 및 P4로 표시된 4개의 패킷에 걸쳐 분산된 S1, S2, S3 및 S4로 표시된 4개의 섹션을 포함한다. 이 전송스트림은 프로세서(PRO)에 수신되는 데이터 패킷을 직접 전송하는 인터페이스 칩(IC)에 의해 동조기로부터 수신된다. 따라서, 데이터의 정확히 동일한 스트림이 인터페이스 칩으로부터 프로세서로 전송되며, 상기 프로세서는 섹션을 다시 모으고 CRC를 계산하여 상기 검증된 CRC와 함께 각각의 섹션 S1, S2, S3 및 S4을 전달한다. In the first embodiment of the prior art shown in FIG. 1, the transport stream TS comprises four sections labeled S1, S2, S3 and S4 distributed over four packets labeled P1, P2, P3 and P4. do. This transport stream is received from the tuner by an interface chip IC which directly transmits a data packet received to the processor PRO. Thus, exactly the same stream of data is sent from the interface chip to the processor, which reassembles the sections and calculates the CRC to convey each section S1, S2, S3 and S4 with the verified CRC.

도 2에 도시된 종래 기술의 제 2 실시예에서, 4개의 패킷에 걸쳐 분산된 4개 의 섹션을 포함하는 동일한 전송스트림이 인터페이스 칩(IC)에 의해 수신된다. 이 실시예에서, IC가 모든 계산을 수행하고 전송하기 위해 검증된 CRC와 함께 다시 모아진 상기 섹션을 직접 프로세서로 전달한다. In the second embodiment of the prior art shown in Fig. 2, the same transport stream comprising four sections distributed over four packets is received by the interface chip (IC). In this embodiment, the IC passes the collected section back to the processor directly with the verified CRC to perform and send all calculations.

상기 종래의 제 1 실시예는 전체 계산이 이 소자에 의해 수행되는 경우와 같은 프로세서 계산시간을 소비한다.The first conventional embodiment consumes the same processor computation time as when the entire computation is performed by this element.

상기 종래의 제 2 실시예에서, 인터페이스 칩은 수신된 데이터 패킷을 버퍼화시켜 데이터 섹션을 재조합하고 상기 CRC를 비교하기 위해 더 많은 메모리, 구성부품 및 전력을 필요로 한다.In the second conventional embodiment, the interface chip needs more memory, components and power to buffer the received data packets to reassemble the data sections and compare the CRCs.

따라서, 기존의 실시예 모두는 특히 처리장치에 적절치 않은 고가이며 전력소비적인 부품들을 필요로 한다.Thus, all of the existing embodiments require expensive and power-consuming components that are not particularly suitable for processing equipment.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 데이터 패킷상에 분산된 데이터 섹션을 포함하는 데이터 스트림을 수신하고, 너무 많은 메모리를 필요로 하지 않으며 소비전력을 절감하는 효율적인 방법 및 이에 따른 장치를 제공함으로써 상기 문제를 해결하기 위한 것이다. Accordingly, an object of the present invention is to solve a problem as described above, and an object of the present invention is to receive a data stream including a data section distributed on a data packet, which does not require too much memory and reduces power consumption. It is to solve the above problem by providing an efficient method and apparatus accordingly.

상기 목적을 달성하기 위해, 본 발명은 청구항 1에 언급된 바와 같은 데이터 스트림을 수신하는 방법과 청구항 8에 언급된 바와 같은 이에 따른 장치에 관한 것이다. 본 발명은 또한 청구항 13에 언급된 바와 같은 프로그램에 관한 것이다.To achieve the above object, the present invention relates to a method for receiving a data stream as mentioned in claim 1 and a device accordingly as referred to in claim 8. The invention also relates to a program as mentioned in claim 13.

이러한 인터페이스 모듈에서 오류정정부호의 증량 계산으로 인해, 본 발명은 메모리의 크기가 감소되고 인터페이스 모듈과 처리모듈 간의 계산을 재배분함으로써 데이터스트림의 수신을 효율적으로 수행한다. Due to the increased calculation of error correcting codes in this interface module, the present invention reduces the size of the memory and efficiently receives the data stream by redistributing the calculation between the interface module and the processing module.

본 발명의 다른 특징 및 이점은 첨부도면에 도시된 도면과 함께 상세한 설명으로부터 명백해진다.Other features and advantages of the present invention will become apparent from the detailed description taken in conjunction with the drawings shown in the accompanying drawings.

도 3a에서, 본 발명에 따른 데이터 스트림의 수신이 도시되어 있다. 이 데이터 스트림은 예컨대 MPEG 데이터에 포함되는 DVB-H 또는 DVB-T에 해당하며 전송스트림(TS)으로서 언급된다.In Figure 3a, the reception of a data stream in accordance with the present invention is shown. This data stream corresponds, for example, to DVB-H or DVB-T contained in MPEG data and is referred to as a transport stream (TS).

도시된 TS 단편은 P1, P2, P3 및 P4로 표시된 4개의 패킷에 걸쳐 분산된 S1, S2, S3 및 S4로 표시된 4개의 섹션을 포함한다. 각 데이터 섹션 S1 내지 S4는 CRC 체크섬에 해당하고 각각 CRC1 내지 CRC4로 표시된 오류정정부호를 포함한다. The depicted TS fragment comprises four sections labeled S1, S2, S3, and S4 distributed over four packets labeled P1, P2, P3, and P4. Each data section S1 through S4 corresponds to a CRC checksum and includes an error correcting code indicated by CRC1 through CRC4, respectively.

이 데이터스트림(TS)은 본 발명에 따른 장치(2)에 의해 수신된다. 보다 엄밀하게, 이 데이터스트림은 4로 표시되고 복조기의 일부인 인터페이스 모듈 또는 인터페이스칩(IC)에 의해 수신된다. 그런 후, 데이터스트림은 참조번호 6으로 표시된 처리모듈 또는 프로세서(PRO)로 전송된다.This data stream TS is received by the device 2 according to the invention. More precisely, this data stream is received by the interface module or interface chip (IC), which is labeled 4 and is part of the demodulator. The data stream is then sent to a processing module or processor PRO, indicated at 6.

인터페이스 모듈(4)은 더 상세히 설명되는 바와 같이 수신과 함께 현재의 데이터 섹션에 대한 오류정정부호를 증량하여 계산하도록 형성되어 있다. The interface module 4 is configured to incrementally calculate the error correction code for the current data section with reception as described in more detail.

기술된 실시예에서, 데이터 섹션은 인터페이스 모듈(4)에 의해 검증된 CRC와 함께 처리모듈(6)로 전송된다. 보다 엄밀하게, 각 섹션에서 수신된 CRC는 섹션이 온전한지 여부를 나타내는 플래그로 대체되며, 상기 플래그는 증량하여 계산된 CRC에 의한 검증에 의해 행해진다.In the described embodiment, the data section is sent to the processing module 6 together with the CRC verified by the interface module 4. More strictly, the CRC received in each section is replaced with a flag indicating whether the section is intact, which flag is increased by verification by the CRC calculated incrementally.

따라서, CRC의 계산 중 일부는 인터페이스 모듈(4)에서 이루어지고 일부는 처리모듈(6)에서 이루어진다. 이는 작은 크기의 메모리의 사용을 가능하게 하고, 프로세서가 계산하는데 시간이 더 적게 걸리며 전력소비를 절감하게 한다.Thus, some of the calculation of the CRC is made in the interface module 4 and some in the processing module 6. This allows for the use of small amounts of memory, and takes less time for the processor to calculate and saves power.

상술한 실시예에서, 인터페이스 모듈(4)은 처리모듈(6)로의 전송전에 수신된 데이터 패킷을 재패킷화하도록 형성된다.In the above-described embodiment, the interface module 4 is configured to repacket the received data packet before transmission to the processing module 6.

따라서, 인터페이스 모듈(4)은 단지 한 섹션의 데이터를 포함하고 최대 크기가 데이터 패킷의 크기에 해당하는 데이터 패킷의 처리모듈(6) 세그먼트를 전송한다.Thus, the interface module 4 transmits only one section of data and the processing module 6 segment of the data packet whose maximum size corresponds to the size of the data packet.

따라서, CRC 검증은 거의 또는 어떠한 여분의 부품들 없이 그리고 처리모듈(5)을 느리게 하지 않고도 효율적으로 수행된다. 더욱이, 데이터의 재패킷화는 처리모듈에 의한 더 빠른 처리를 가능하게 하고 또한 더 양호한 전원 관리를 가능하게 한다.Thus, CRC verification is efficiently performed with little or no extra parts and without slowing down the processing module 5. Moreover, repackaging of data enables faster processing by the processing module and also better power management.

도 3a와 도 3b 및 도 4를 참조로, 장치(2)의 기능에 대한 상세한 기능을 설명한다.3A, 3B and 4, a detailed function of the function of the apparatus 2 will be described.

도 3b에 도시된 바와 같이, 인터페이스 모듈(4)은 상술한 실시예에서 크기가 하나의 데이터 패킷의 크기에 해당하는 버퍼 메모리(10)에 접속된 참조번호 8로 표시된 수신소자를 구비한다. 버퍼(10)는 또한 데이터를 처리모듈(6)로 전송하도록 형성된 이미팅 소자(12)에 접속된다.As shown in Fig. 3B, the interface module 4 has a receiving element indicated by reference numeral 8 connected to a buffer memory 10 whose size corresponds to the size of one data packet in the above-described embodiment. The buffer 10 is also connected to an emitter element 12 configured to transmit data to the processing module 6.

인터페이스 모듈(4)은 또한 CRC 계산소자(14), CRC 검증소자(16) 및 상기 인터페이스 모듈(4)의 모든 소자에 명령을 내리는 명령소자(18)를 구비한다.The interface module 4 also has a CRC calculation element 14, a CRC verification element 16 and a command element 18 which commands all elements of the interface module 4.

이 장치(2)는 도 4에 도시된 데이터 패킷(P1)의 수신단계(20)를 달성하기 위해 형성되며, 이 데이터 패킷은 수신소자(8)에 의해 수신되고 기억단계(22)를 위해 버퍼(10)로 전송된다.This device 2 is formed to achieve the receiving step 20 of the data packet P1 shown in FIG. 4, which is received by the receiving element 8 and buffered for the storing step 22. Is sent to 10.

인터페이스 모듈(4)에 의한 데이터 패킷(P1)의 수신시에, 데이터는 또한 현재의 데이터 섹션 S1에 대한 오류정정부호를 증량 계산하는 단계(30)를 위해 CRC 계산소자(14)로 전송된다.Upon receipt of the data packet P1 by the interface module 4, the data is also sent to the CRC calculating element 14 for step 30 of incrementally calculating the error correcting code for the current data section S1.

단계(30)는 CRC 계산소자(14)에 의해 수행된 이용가능한 데이터와 함께 부분적인 CRC 부호의 서브 계산단계(32)를 포함한다.Step 30 includes a subcalculation step 32 of a partial CRC code with the available data performed by the CRC calculation element 14.

서브단계(32) 다음에 수신된 데이터가 섹션의 마지막 데이터 세트인지를 결정하기 위해 테스트(34)가 잇따른다.Sub-step 32 is followed by a test 34 to determine if the received data is the last data set of the section.

전체 섹션이 수신되었음을 의미하는 테스트(34)가 긍정적이면, 방법은 수신된 데이터 섹션에 대한 증량 계산된 오류정정부호의 서브 전달단계(36)를 포함한다. 이러한 코드는 현재 섹션으로부터 데이터의 마지막 세트를 수신한 후 계산되는 부분적인 CRC이다.If the test 34, which means that the entire section has been received, is positive, the method includes sub-passing 36 of the incremental error correcting code for the received data section. This code is the partial CRC calculated after receiving the last set of data from the current section.

상기 단계에서, 섹션의 마지막이 아직 수신되지 않았고 이에 따른 테스트(34)도 부정적이면 상기 수신된 데이터 세트가 상기 데이터 패킷의 데이터의 마지막 세트인지 여부를 결정하기 위해 상기 데이터 패킷의 마지막 검출 테스트(40)가 잇따른다.In this step, if the end of the section has not yet been received and accordingly the test 34 is also negative, the last detection test 40 of the data packet to determine whether the received data set is the last set of data of the data packet. ) Follows.

각 데이터 섹션 또는 데이터 패킷의 헤더 또는 풋터를 형성하는 데이터의 소정의 시퀀스를 검출함으로써 테스트(34 및 40)가 이루어진다. Tests 34 and 40 are made by detecting a predetermined sequence of data forming the header or footer of each data section or data packet.

상기 단계에서, 전체 패킷(P1)이 아직 수신되지 않은 경우 테스트(40)는 부정적이다. 따라서, 상기 방법은 데이터 패킷(P1)으로부터 다음 데이터 세트를 수신하기 위해 단계(20)로 되돌아가서 계속된다.In this step, the test 40 is negative if the entire packet P1 has not yet been received. Thus, the method continues back to step 20 to receive the next data set from data packet P1.

데이터 패킷(P1)중 데이터의 최종 세트가 수신될 때까지 동일한 단계가 반복된다. 각 루프에서, 단계(22)는 버퍼(10)에 있는 수신된 데이터 세트를 기억하게 하고 단계(32)는 현재 섹션에 대한 CRC의 증가 계산을 수행하게 한다.The same step is repeated until the final set of data in the data packet P1 is received. In each loop, step 22 causes the received data set in the buffer 10 to be remembered and step 32 allows to perform an incremental calculation of the CRC for the current section.

전체 데이터 패킷이 수신되었음을 의미하는 테스트(40)가 긍정적이면, 버퍼 메모리(10)의 컨텐츠 방출단계(42)가 잇따른다.If the test 40, which means that the entire data packet has been received, is positive, then the content release step 42 of the buffer memory 10 follows.

상기 단계(42)에서는, 전체 패킷(P1)이 수신되고 인터페이스 모듈(4)로부터 프로세서 모듈(6)로 전송된다. 단계(42)에서의 방출 후에, 버퍼 메모리(10)가 삭제된다(단계 44). 그러나, 증량 계산된 CRC는 메모리에 유지된다.In step 42, the entire packet P1 is received and transmitted from the interface module 4 to the processor module 6. After the ejection in step 42, the buffer memory 10 is deleted (step 44). However, the incremented CRC is kept in memory.

상기 방법은 데이터 패킷(P2)으로부터 데이터의 첫번째 세트를 수신하고 상기 세트를 기억하기 위해 단계(20)로 되돌감으로써 계속된다. 서브단계(32)가 수행되고 일부 CRC는 데이터 섹션(S1)으로부터 데이터를 여전히 포함하는 데이터 패킷 P2의 첫번째 세트와 함께 증량 계산된다.The method continues by receiving the first set of data from the data packet P2 and returning to step 20 to store the set. Substep 32 is performed and some CRCs are incremented with the first set of data packets P2 still containing data from data section S1.

섹션 S1의 마지막이 테스트(34)에서 검출되면, 상기 방법은 증량 계산된 CRC가 전달되는 서브단계(36)에 의해 계산된다.If the end of section S1 is detected in test 34, the method is calculated by substep 36 in which an incrementally calculated CRC is delivered.

상기 단계(36)에서, CRC의 계산단계(30) 다음에 증량 계산된 오류정정부호의 검증단계(46)가 잇따른다. 이는 수신된 오류정정부호(CRC1)와 비교함으로써 수행된다.In the step 36, the step of calculating the CRC 30 is followed by the step 46 of verifying the error correction code that has been incrementally calculated. This is done by comparing with the received error correcting code CRC1.

증량 계산된 CRC가 제공된 검증소자(16)에 의해 수행된 이 검증은 CRC 계산소자(14)에 의해 전달되고 현재 섹션의 수신된 CRC가 수신소자(8)에 의해 전달된다.This verification performed by the verification element 16 provided with the incrementally calculated CRC is passed by the CRC calculation element 14 and the received CRC of the current section is passed by the receiving element 8.

상기 예에서, 이 검증(46)은 데이터 섹션(S1)이 손상되지 않은 경우 양 CRC가 같은지 그렇지 않으면 다른지를 나타내기 위해 검증 표시자를 전달한다. In the above example, this verification 46 carries a verification indicator to indicate whether both CRCs are equal or otherwise different if the data section S1 is intact.

단계(48)에서, 버퍼(10)에 기억된 수신된 오류정정부호(CRC1)에 해당하는 데이터 세트는 명령소자(18)의 제어하에 표시자 또는 플래그로 대체된다.In step 48, the data set corresponding to the received error correcting code CRC1 stored in the buffer 10 is replaced with an indicator or a flag under the control of the command element 18.

또한, 상기 방법은 데이터 섹션(S1)으로부터의 데이터를 포함하는 데이터 패킷(P2)의 세그먼트를 프로세서 모듈(6)로 전송하기 위해 버퍼 메모리(12)의 컨텐츠의 방출단계(50)를 포함한다. 이 전송된 세그먼트에서, 수신된 오류정정부호는 검증 표시자에 의해 대체될 수 있다.The method also includes a step 50 of the release of the contents of the buffer memory 12 for transferring a segment of the data packet P2 containing the data from the data section S1 to the processor module 6. In this transmitted segment, the received error correction code can be replaced by a verification indicator.

무효의 표시자를 갖는 데이터 섹션의 수신시, 처리모듈(6)은 데이터 섹션을 정정하거나 폐기할 수 있다.Upon receipt of a data section with an invalid indicator, the processing module 6 may correct or discard the data section.

단계(50) 다음에 버퍼 메모리(10) 및 증량 계산된 CRC가 소거되는 단계(52)가 잇따른다.Step 50 is followed by step 52 in which the buffer memory 10 and the incrementally calculated CRC are erased.

상기 방법은 다음 데이터 세트를 수신하기 위해 단계(20)로 다시 돌아감으로써 계속된다. 패킷(P2)이 전체적으로 수신되지 않은 경우, 상기 방법은 데이터 섹션(S2)의 일부인 또 다른 데이터 패킷(P2) 세트를 처리함으로서 계속된다.The method continues by returning back to step 20 to receive the next data set. If the packet P2 has not been received in its entirety, the method continues by processing another set of data packets P2 that are part of the data section S2.

데이터 섹션(S2)이 데이터 패킷(P2)에 전체가 포함되며, 이에 따라 데이터의 마지막 세트가 수신되고 테스트(34)가 긍정적인 경우 데이터 섹션(S2)이 전송된다. 상술한 바와 같이, 전송전에, 수신된 CRC는 단계(46)에서 수행된 비교로 인해 발생한 검증 표시자로 대체된다.The data section S2 is entirely contained in the data packet P2, such that the data section S2 is sent if the last set of data is received and the test 34 is positive. As mentioned above, prior to transmission, the received CRC is replaced with a verification indicator that occurred due to the comparison performed in step 46.

그런 후, 도 3a에 도시된 바와 같이, 패킷(P2)의 마지막이 검출될 때 데이터 패킷(P2)의 나머지 데이터가 처리모듈(6)로 전송된다. 데이터 섹션(S3)의 마지막이 검출되는 경우, 데이터 패킷(P3)의 세그먼트가 CRC 표시자와 함께 전송되고, 데이터 패킷(P3)의 마지막이 검출되면 데이터 패킷(P3)의 나머지 데이터가 전송된다. 데이터 섹션(S4)의 마지막이 검출되면 이에 따른 검증 표시자와 함께 데이터 섹션(S4)의 나머지 데이터가 전송된다. Then, as shown in FIG. 3A, the remaining data of the data packet P2 is transmitted to the processing module 6 when the end of the packet P2 is detected. When the end of the data section S3 is detected, the segment of the data packet P3 is transmitted with the CRC indicator, and when the end of the data packet P3 is detected, the remaining data of the data packet P3 is transmitted. When the end of the data section S4 is detected, the remaining data of the data section S4 is transmitted along with the verification indicator accordingly.

상술한 실시예에서, 전송은 섹션의 마지막 또는 패킷의 마지막이 검출될 때마다 트리거되며, 이에 따라 데이터 패킷의 전송된 세그먼트는 단 하나의 데이터 섹션으로부터 데이터를 포함하며 그 크기는 최대가 하나의 데이터 패킷의 크기와 동일하다. In the above embodiment, the transmission is triggered each time the end of the section or the end of the packet is detected, so that the transmitted segment of the data packet contains data from only one data section, the size of which is at most one data. It is equal to the size of the packet.

물론, 다른 많은 실시예들도 가능하다.Of course, many other embodiments are possible.

실시예에 따라, 데이터스트림내에 전송된 오류정정부호는 오류정정부호를 포함한 하나의 전체 섹션의 CRC가 0과 같은 결정된 값일 수 있도록 섹션 또는 보수코드 세트를 통해 계산된 CRC일 수 있다. According to an embodiment, the error correcting code transmitted in the data stream may be a CRC calculated through the section or complementary code set such that the CRC of one entire section including the error correcting code may be a determined value such as zero.

상기 경우, 증량 계산된 CRC의 검증은 소정의 값과 비교이다.In this case, the verification of the incrementally calculated CRC is compared with a predetermined value.

또 다른 실시예에서는, 또한 인터페이스 모듈이 증량 계산된 오류정정부호를 처리모듈로 보내도록 할 수 있고, 전체 데이터 섹션은 처리모듈이 이들 2개의 오류정정부호 간의 비교를 달성하도록 수신된 오류정정부호를 포함한다. 이점적으로, 전송된 오류정정부호가 보수코드인 경우, 증량 계산된 오류정정부호만이 전송되고 처리모듈에 의해 0과 비교된다.In another embodiment, the interface module may also cause the module to send an incremented error correcting code to the processing module, and the entire data section may receive the received error correcting code so that the processing module achieves a comparison between these two error correcting codes. Include. Advantageously, if the transmitted error correcting code is a complement code, only the incrementally calculated error correcting code is transmitted and compared to zero by the processing module.

또 다른 실시예에서, 인터페이스 모듈의 버퍼 메모리는 하나의 데이터 패킷의 크기보다 더 크고 이에 따라 전송은 한 데이터 섹션의 마지막이 검출된 경우에만 트리거된다.In another embodiment, the buffer memory of the interface module is larger than the size of one data packet and thus the transmission is only triggered when the end of one data section is detected.

본 발명의 방법은 프로세서에 의해 실행될 때 상기 프로세서가 데이터스트림의 데이터 패킷을 수신하고, 수신시에, 패킷 단위로 데이터 스트림을 처리모듈로 전송하기 전에 현재의 데이터 섹션에 대한 오류정정부호를 증량 계산하게 한다.The method of the present invention, when executed by a processor, receives the data packet of the datastream, and upon receipt, incrementally calculates the error correction code for the current data section before transmitting the data stream to the processing module on a packet-by-packet basis. Let's do it.

이러한 프로세서 프로그램은 상술한 실시예 중 어느 하나를 달성하도록 형성될 수 있고 디지털 텔레비젼 수신기, 컴퓨터, 랩탑, 휴대장치 등과 같은 임의의 종류의 전자물품 및 그 내부 구성부품에 형성될 수 있다.Such a processor program may be formed to achieve any of the embodiments described above and may be formed on any type of electronic article and internal components thereof, such as digital television receivers, computers, laptops, portable devices, and the like.

상기에서 설명한 본 발명에 따른 데이터 스트림을 수신하는 방법, 장치 및 프로그램은 인터페이스 모듈에서 오류정정부호의 증량 계산으로 인해, 메모리의 크기가 감소되고 인터페이스 모듈과 처리모듈 간의 계산을 재배분함으로써 데이터스트림의 수신을 효율적으로 수행한다는 이점이 있다.The method, apparatus and program for receiving a data stream according to the present invention as described above may reduce the size of the memory and redistribute the calculation between the interface module and the processing module due to the increased calculation of error correction code in the interface module. There is an advantage of performing the reception efficiently.

Claims (14)

오류정정부호가 각각의 섹션과 관련되고 함께 전송되는 데이터 패킷(P1,P2,P3,P4)상에 분산된 데이터 섹션(S1,S2,S3,S4)을 포함하는 데이터스트림의 수신방법에 있어서,A method of receiving a data stream comprising data sections (S1, S2, S3, S4) in which error correction codes are associated with each section and distributed on data packets (P1, P2, P3, P4) transmitted together. 인터페이스 모듈(4)에 의해 데이터스트림(TS)의 패킷을 수신하는 단계(20,22)와,Receiving (20,22) packets of the data stream TS by the interface module 4; 상기 인터페이스 모듈로부터 처리모듈(6)로, 패킷 단위로, 상기 데이터스트림을 전송하는 단계(42,50)를 구비하고,Transmitting (42, 50) the data stream from the interface module to the processing module (6), in packet units, 상기 인터페이스 모듈에 의한 데이터 수신시에, 현재의 데이터 섹션에 대한 오류정정부호를 증량 계산하는 단계(32)와,Incrementally calculating an error correcting code for the current data section upon receipt of the data by the interface module; 전체 섹션이 수신되었을 경우, 증량 계산된 오류정정부호를 섹션검증 표시자를 전달하기 위해 검증하는 단계(36)를 포함하는 것을 특징으로 하는 데이터스트림 수신방법.And if the entire section has been received, verifying (36) the incrementally calculated error correction code to convey the section verification indicator. 제 1 항에 있어서,The method of claim 1, 상기 검증하는 단계(36)는 상기 증량 계산된 오류정정부호를 소정의 값과 비교하는 단계를 포함하는 데이터스트림 수신방법.And the verifying step (36) comprises comparing the increased error correction code with a predetermined value. 제 1 항에 있어서,The method of claim 1, 상기 검증하는 단계(36)는 상기 증량 계산된 오류정정부호를 상기 수신된 오류정정부호와 비교하는 단계를 포함하는 데이터스트림 수신방법.And said verifying step (36) comprises comparing said incremental error correcting code with said received error correcting code. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 전체 섹션이 수신된 경우, 상기 증량 계산된 오류정정부호가 상기 인터페이스 모듈에 의해 상기 검증을 수행하는 상기 처리모듈로 전송되는 데이터스트림 수신방법.And when the entire section is received, the incremental error correcting code is transmitted by the interface module to the processing module for performing the verification. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 검증하는 단계(36)는 상기 인터페이스 모듈에 의해 이루어지고, 상기 처리모듈로 전송전에 상기 검증 표시자에 의해 상기 데이터 섹션으로부터 상기 수신된 오류정정부호를 대체하는 단계를 더 포함하는 데이터스트림 수신방법.The verifying step 36 is performed by the interface module and further comprises replacing the received error correcting code from the data section by the verification indicator prior to transmission to the processing module. . 제 1 항 내지 제 5 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 5, 상기 처리모듈로 전송전에 상기 인터페이스 모듈에 의해 수신된 상기 데이터 패킷을 재패킷화하는 단계를 더 포함하는 데이터스트림 수신방법.Repacketing the data packet received by the interface module prior to transmission to the processing module. 제 6 항에 있어서,The method of claim 6, 상기 재패킷화 하는 단계는 단지 하나의 데이터 섹션의 데이터를 포함하는 데이터 패킷 세그먼트를 전송(42,50)하기 위해 다른 섹션의 데이터를 포함하는 데 이터 패킷을 세그먼트하는 단계를 포함하는 데이터스트림 수신방법.The repacketing comprises segmenting a data packet comprising data from another section to transmit (42,50) a data packet segment comprising data from only one data section. . 오류정정부호가 각각의 섹션과 관련되고 함께 전송되는 데이터 패킷(P1,P2,P3,P4)상에 분산된 데이터 섹션(S1,S2,S3,S4)을 포함하는 데이터스트림의 수신장치에 있어서,An apparatus for receiving a data stream comprising data sections (S1, S2, S3, S4) in which error correction codes are associated with each section and are distributed on data packets (P1, P2, P3, P4) transmitted together. 데이터스트림(TS)의 패킷을 수신하고 패킷단위로 상기 데이터스트림의 패킷을 전송하도록 형성된 인터페이스 모듈(4)과,An interface module 4 configured to receive packets of the data stream TS and transmit packets of the data stream on a packet basis; 상기 인터페이스 모듈에 의해 전송된 상기 패킷을 처리하도록 형성된 처리모듈(6)을 구비하며,A processing module 6 configured to process the packet transmitted by the interface module, 상기 인터페이스 모듈은 데이터 수신시에 현재의 데이터 섹션에 대한 오류정정부호를 증량 계산하도록 형성되고,The interface module is configured to incrementally calculate an error correcting code for the current data section upon receipt of the data, 상기 증량 계산된 오류정정부호를 검증하여 섹션검증 표시자를 전달하도록 형성되는 것을 특징으로 하는 데이터스트림 수신장치.And verifying that the error correction code has been increased and configured to deliver a section verification indicator. 제 8 항에 있어서,The method of claim 8, 상기 인터페이스 모듈은 상기 증량 계산된 오류정정부호를 처리모듈로 전송하도록 형성되고 상기 처리모듈(6)이 상기 검증을 수행하도록 형성되는 데이터스트림 수신장치.And the interface module is configured to transmit the increased error correction code to the processing module, and the processing module (6) is configured to perform the verification. 제 8 항에 있어서,The method of claim 8, 상기 인터페이스 모듈(4)이 상기 검증을 수행하고 상기 검증 표시자에 의해 상기 데이터 섹션으로부터 수신된 오류정정부호를 대체하도록 형성되는 데이터스트림 수신장치.And the interface module (4) is configured to perform the verification and replace the error correcting code received from the data section by the verification indicator. 제 8 항 내지 제 10 항 중 어느 한 항에 있어서,The method according to any one of claims 8 to 10, 상기 인터페이스 모듈(4)은 또한 상기 처리모듈(6)로 데이터 패킷을 전송하기 전에 수신된 상기 데이터 패킷을 재패킷화하도록 형성되는 데이터스트림 수신장치.The interface module (4) is further configured to repacket the received data packet before sending the data packet to the processing module (6). 제 11 항에 있어서,The method of claim 11, 상기 인터페이스 모듈(4)은 단 하나의 데이터 섹션의 데이터를 포함하는 데이터 패킷의 세그먼트를 전달하기 위해 다른 섹션의 데이터를 포함하는 데이터 패킷을 분할함으로써 상기 데이터 패킷을 재피킷화하도록 형성되는 데이터스트림 수신장치.The interface module 4 is configured to re-pitkit the data packet by dividing the data packet including the data of the other section to convey a segment of the data packet including the data of only one data section. . 프로세서에 의해 수행되는 경우, 상기 프로세서가 When performed by a processor, the processor 오류정정부호(CRC)가 각각의 섹션과 관련되고 함께 전송되는 데이터 패킷(P1,P2,P3,P4)상에 분산된 데이터 섹션(S1,S2,S3,S4)을 포함하는 데이터 스트림(TS)을 수신하고,Data stream TS comprising data sections S1, S2, S3, S4 with error correction code CRC associated with each section and distributed over data packets P1, P2, P3, P4 transmitted together. Receive 데이터 수신시에, 현재의 데이터 섹션에 대한 오류정정부호(CRC)를 증량 계 산하며,Upon receipt of the data, an error correction code (CRC) is incremented for the current data section, 상기 데이터스트림을 패킷 단위로 처리모듈로 전송하는 것을 수행하게 하는 명령어를 포함하는 프로세서에 의한 실행 프로그램.And an instruction for causing the data stream to be transmitted to the processing module in packet units. 제 13 항에 있어서,The method of claim 13, 상기 프로세서에 의해 실행될 때, 상기 프로세서가 상기 증량 계산된 오류정정부호를 검증하고 섹션검증 표시자를 전달하게 하는 프로세서에 의한 실행 프로그램.And, when executed by the processor, cause the processor to verify the increased error correction code and to pass a section verification indicator.
KR1020060073680A 2005-08-05 2006-08-04 Method, Device And Program For Receiving A Data Stream KR20070017057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060073680A KR20070017057A (en) 2005-08-05 2006-08-04 Method, Device And Program For Receiving A Data Stream

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP05291682.2 2005-08-05
KR1020060073680A KR20070017057A (en) 2005-08-05 2006-08-04 Method, Device And Program For Receiving A Data Stream

Publications (1)

Publication Number Publication Date
KR20070017057A true KR20070017057A (en) 2007-02-08

Family

ID=43650930

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060073680A KR20070017057A (en) 2005-08-05 2006-08-04 Method, Device And Program For Receiving A Data Stream

Country Status (1)

Country Link
KR (1) KR20070017057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125941A (en) * 2021-11-19 2022-03-01 深圳市欧瑞博科技股份有限公司 Data subpackaging method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125941A (en) * 2021-11-19 2022-03-01 深圳市欧瑞博科技股份有限公司 Data subpackaging method and device, electronic equipment and storage medium
CN114125941B (en) * 2021-11-19 2023-08-29 深圳市欧瑞博科技股份有限公司 Data packetizing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8359505B2 (en) Method and apparatus for decoding
KR102138000B1 (en) Apparatus and method for sending/receiving packet in multimedia communication system
US9294808B2 (en) Transmission concept for an access unit stream
US8929444B2 (en) Data communication unit, data communication network and method of decoding
KR20080084148A (en) Method and apparatus for decoding data in a receiver of digital broadcasting system
US8095856B2 (en) Method and apparatus for mitigating memory requirements of erasure decoding processing
JP2007049707A (en) Method, device and program for receiving data stream
CN101401347B (en) Method, module and apparatus for receiving data packet frames
US20090245346A1 (en) Method and apparatus for generating and processing packet
KR20070017057A (en) Method, Device And Program For Receiving A Data Stream
RU2579992C2 (en) Demultiplexing packet-based transport stream
CN101326727A (en) Device providing selective error correction data reception
US8429484B2 (en) Digitized radar information redundancy method and system
US8572450B2 (en) Systems and methods for detecting and correcting errors in transmitted data
KR20070081907A (en) Method and apparatus for decoding a mpe-fec frame in a dvb-h system
JP5322433B2 (en) Error detection method and control system during data processing in processing system
CN110049312B (en) ARINC818 protocol fault injection method and device
US20080298468A1 (en) Error tagging for decoder
EP2194668A2 (en) Apparatus and method for generating frame for mpe-fec decoding
JP2002261737A (en) Transmission data loss detection system
Eerenberg et al. Efficient validation/verification of a robust DVB-H link layer
EP1835728A1 (en) Method for data transfer and data recovery
CN117998040A (en) Video serialization encapsulation system, method, equipment and medium
JPH11308200A (en) Device and method for correcting error
JPH10173724A (en) Multimedia traffic controller

Legal Events

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