KR20050066950A - Apparatus and method of the hierarchical transmission of a multimedia data ts for preventing the jitter of timing information, and apparatus and method of recovering a multimedia data ts transmitted hierarchically - Google Patents

Apparatus and method of the hierarchical transmission of a multimedia data ts for preventing the jitter of timing information, and apparatus and method of recovering a multimedia data ts transmitted hierarchically Download PDF

Info

Publication number
KR20050066950A
KR20050066950A KR1020040044016A KR20040044016A KR20050066950A KR 20050066950 A KR20050066950 A KR 20050066950A KR 1020040044016 A KR1020040044016 A KR 1020040044016A KR 20040044016 A KR20040044016 A KR 20040044016A KR 20050066950 A KR20050066950 A KR 20050066950A
Authority
KR
South Korea
Prior art keywords
packet
hierarchical
multimedia data
user
transmission
Prior art date
Application number
KR1020040044016A
Other languages
Korean (ko)
Other versions
KR100579132B1 (en
Inventor
최동준
김내수
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to US10/983,081 priority Critical patent/US7415528B2/en
Publication of KR20050066950A publication Critical patent/KR20050066950A/en
Application granted granted Critical
Publication of KR100579132B1 publication Critical patent/KR100579132B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234327Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into layers, e.g. base layer and one or more enhancement layers
    • 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/23614Multiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2383Channel coding or modulation of digital bit-stream, e.g. QPSK modulation
    • 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/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols

Abstract

1. 청구범위에 기재된 발명이 속하는 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은, 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 그 방법과, 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치 및 그 방법에 관한 것임.The present invention relates to a hierarchical transmission apparatus and method for transmitting a multimedia data transport stream for preventing timing information jitter, and to a restoration apparatus and method for a hierarchically transmitted multimedia data transmission stream.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 송신측에서는 하나의 멀티미디어데이터 전송스트림(예를 들면, MPEG TS) 내의 사용자 패킷들을 우선순위에 따라 계층적으로 분리하여 전송하고, 또한 타이밍정보(예를 들면, PCR)이 있는 사용자 패킷 등을 포함하는 상위(HP: High Priority)계층 패킷들에 대해서는 위치정보(예를 들면, 일련번호 등)를 함께 전송하고, 수신측에서는 이러한 위치정보를 이용하여 원래의 멀티미디어데이터 전송스트림 내에서의 상위계층 패킷들의 위치를 정확하게 복원함으로써, 타이밍정보 지터(jitter)의 발생을 방지하고, 일반적인 역다중화기를 통해서도 각 계층에 따른 선택적 수신을 가능하게 하며, 또한 열악한 전송채널 상황에서도 수신율을 높일 수 있게 하는, 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 그 방법과, 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치 및 그 방법을 제공하는데 그 목적이 있음.According to the present invention, a user packet in a multimedia data transport stream (for example, MPEG TS) is transmitted in a hierarchical manner according to priority, and a user packet having timing information (for example, PCR) is transmitted at the transmitting side. Higher priority (HP) layer packets including location information are transmitted together with location information (e.g., serial number, etc.), and at the receiving end, the location information is used to transmit a higher level in the original multimedia data transmission stream. By accurately restoring the positions of the layer packets, it is possible to prevent the generation of timing information jitter, to enable selective reception according to each layer through a general demultiplexer, and to increase the reception rate even in a poor transport channel situation. Hierarchical transmission apparatus and method for transmitting multimedia data transmission stream for preventing timing information jitter To provide a reconstructed device of a multimedia data stream and a method that are sent to the purpose.

3. 발명의 해결 방법의 요지3. Summary of the Solution of the Invention

본 발명은, 멀티미디어데이터 전송스트림(TS)의 계층적 전송 장치에 있어서, 외부로부터 인코딩된 멀티미디어데이터 전송스트림을 입력받아 패킷 단위로 구분하기 위한 입력 정합 수단; 상기 입력 정합 수단으로부터 출력되는 각각의 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 입력순서에 따라 일련번호를 삽입하기 위한 일련번호 삽입 수단; 상기 일련번호가 삽입된 멀티미디어데이터 전송스트림(TS) 패킷에 오류검출코드를 삽입하여 사용자 패킷을 생성하기 위한 오류검출코드 삽입 수단; 사용자가 지정한, 패킷에 대한 계층정보를 저장하는 계층정보 저장 수단; 상기 저장되어 있는 계층정보를 이용하여, 상기 오류검출코드 삽입 수단으로부터 출력되는 상기 사용자 패킷을 계층적으로 분리하기 위한 계층 분리 수단; 상기 계층적으로 분리된 사용자 패킷들을 계층별로 분리하여 저장하기 위한 계층 저장 수단; 및 계층별로 소정의 개수만큼의 상기 저장된 사용자 패킷들과 해당 계층정보를 묶어 계층적 전송프레임을 구성하고, 상기 구성된 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송하기 위한 계층적 프레임화 및 전송 수단을 포함함.According to an aspect of the present invention, there is provided a hierarchical transmission apparatus for transmitting a multimedia data transmission stream (TS), comprising: input matching means for receiving an encoded multimedia data transmission stream from the outside and classifying the data into packet units; Serial number inserting means for inserting serial numbers in accordance with an input order for each multimedia data transport stream (TS) packet outputted from said input matching means; Error detection code insertion means for generating a user packet by inserting an error detection code into the multimedia data transmission stream (TS) packet inserted with the serial number; Hierarchical information storage means for storing hierarchical information about a packet designated by a user; Hierarchical separation means for hierarchically separating the user packet output from the error detection code insertion means by using the stored hierarchical information; Hierarchical storage means for dividing and storing the hierarchically separated user packets by layers; And forming a hierarchical transmission frame by combining a predetermined number of the stored user packets and corresponding layer information for each layer, and transmitting the configured hierarchical transmission frame in different transmission schemes for each layer. Including means.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 PCR 지터 방지를 위한 멀티미디어 스트림 전송/복원 등에 이용됨.The present invention is used to transmit / restore multimedia streams to prevent PCR jitter.

Description

타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 그 방법과, 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치 및 그 방법{Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically} Apparatus and method of the hierarchical transmission of a multimedia data TS for preventing a hierarchical transmission apparatus and method thereof for multimedia data transmission stream for preventing timing information jitter the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically}

본 발명은, 멀티미디어데이터 전송스트림의 계층적 전송 및 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 기술에 관한 것으로, 더욱 상세하게는 송신측에서는 하나의 멀티미디어데이터 전송스트림(예를 들면, MPEG TS) 내의 사용자 패킷들을 우선순위에 따라 계층적으로 분리하여 전송하고, 또한 타이밍정보(예를 들면, PCR)이 있는 사용자 패킷 등을 포함하는 상위(HP: High Priority)계층 패킷들에 대해서는 위치정보(예를 들면, 일련번호 등)를 함께 전송하고, 수신측에서는 이러한 위치정보를 이용하여 원래의 멀티미디어데이터 전송스트림 내에서의 상위계층 패킷들의 위치를 정확하게 복원하는, 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 그 방법과, 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치 및 그 방법에 관한 것이다.The present invention relates to a hierarchical transmission of a multimedia data transport stream and a restoration technology of a multimedia data transport stream transmitted hierarchically, and more particularly, in a transmitting side, a multimedia data transport stream (eg, MPEG TS) is provided. User packets are separated and transmitted hierarchically according to priority, and location information (for example, high priority) packets including user packets with timing information (for example, PCR) are included. For example, the serial number, etc.) are transmitted together, and the receiving side uses the position information to accurately restore the position of higher layer packets in the original multimedia data transport stream. Transmission device and method thereof, and the hierarchically transmitted multimedia data transmission stream. Source to an apparatus and a method thereof.

최근, 지상파 디지털 비디오 방송(DVB-T: Digital Video Broadcasting - Terrestrial)나 위성 디지털 비디오 방송(DVB-S2: Digital Video Broadcasting - Satellite2)에서는 전송하고자 하는 데이터를 그 내용에 따라 구분하여 전송하거나, 또는 채널 상황에 맞게 전송된 데이터의 일부 혹은 전체를 수신할 수 있는 방식에 대한 표준화 작업이 활발히 이루어지고 있다.Recently, in terrestrial digital video broadcasting (DVB-T: Terrestrial) or satellite digital video broadcasting (DVB-S2: Digital Video Broadcasting-Satellite 2), data to be transmitted is classified and transmitted according to the content, or a channel. There is an active standardization of how to receive some or all of the transmitted data according to the situation.

이러한, 최근의 상황에서, 다양한 채널 환경에서 그에 맞는 방송 서비스 또는 데이터 통신 서비스가 제공될 수 있는 계층적 전송 방식이 차세대 방송/통신 융합의 기본적인 구조로서 고려되고 있다.In such a recent situation, a hierarchical transmission scheme in which a broadcast service or a data communication service can be provided in various channel environments is considered as a basic structure of next generation broadcast / communication convergence.

종래에 발표되었던 계층적 전송 방식에서는 대부분 계층적 채널 부호화/복호화와 변복조 방식에 대하여 중점적으로 다루고 있는 반면에, 실제적으로 이러한 방식이 사용될 때 필요한 주변의 장치에 대해서는 구체적으로 언급하고 있지 않다.In the conventional hierarchical transmission schemes, most hierarchical channel coding / decoding and modulation / demodulation schemes focus on the other hand, but do not specifically mention the peripheral devices required when such schemes are used.

또한, 종래에 제안되었던 계층적 전송 방식들도 대부분은 실제로 사용되고 있지 않은데, 그 이유 중의 하나는 채널의 상태가 나쁠 경우나 원하는 계층만을 수신하였을 경우에, 해당 계층의 패킷만 이용하여 MPEG-2 역다중화기가 수신할 수 있는 형태의 엠펙 전송스트림(MPEG TS)으로의 복원이 힘들다는데 있었다.In addition, most of the hierarchical transmission schemes that have been proposed in the past are not actually used. One of the reasons is that when the channel is in a bad state or when only the desired layer is received, only the packets of the corresponding layer are used for the MPEG-2 inverse. It was difficult to restore the MPEG transport stream to the multiplexer.

특히, 종래의 계층적 전송 방식에서 심각하게 야기되는 문제점 중의 하나는 계층적 전송 시스템에서 전송되었던 엠펙 전송스트림(MPEG TS)이 수신측에서 원래 상태대로 복원되지 않고, 또한 엠펙 전송스트림(MPEG TS)에서의 PCR 정보를 가지고 있는 패킷의 위치가 달라져 지터(jitter)가 발생한다 점이다.In particular, one of serious problems in the conventional hierarchical transmission scheme is that the MPEG transport stream (MPEG TS) transmitted in the hierarchical transmission system is not restored to its original state at the receiver side, and also the MPEG transport stream (MPEG TS). This is because jitter occurs because the location of the packet with PCR information in the network changes.

상기와 같은 문제점을 해결하기 위한 종래의 방법으로는, 독립된 엠펙 전송스트림(MPEG TS)마다 별개의 계층적으로 분리하여 전송하는 방식(송신측에서의 해결방법)이 제안되어 있으나, 이 경우에는 계층적 전송 시스템 구현이 복잡하고 비용이 많이 들며, 또한 수신측에서도 각 계층에 따른 선택적 수신을 위해서, 일반적인 MPEG TS 역다중화기가 아닌 다수의 MPEG TS 역다중화기로 이루어진 특수한 역다중화기가 필요하다는 문제점이 있었다.As a conventional method for solving the above problems, a method of transmitting a separate hierarchically separated (MPEG TS) for each independent MPEG transport stream (MPEG TS) has been proposed, but in this case hierarchical transmission The implementation of the system is complicated and expensive, and there is a problem in that the receiving side requires a special demultiplexer composed of a plurality of MPEG TS demultiplexers rather than a general MPEG TS demultiplexer for selective reception according to each layer.

즉, 계층적 전송 방식을 이용하여 실제 MPEG-2 TS를 전송함에 있어서 발생되는 문제점 중 하나는 계층을 분리하고, 그 분리된 계층을 각기 다른 전송방식으로 전송한 후, 다시 MPEG-2 TS로 복원하는 과정에서 지터가 발생한다는 것이다. 이는 엠펙 전송스트림(MPEG TS)의 타이밍 정보(PCR)를 가진 패킷이 원래의 엠펙 전송스트림(MPEG TS)의 위치에서 벗어나기 때문이다. 따라서, 계층적 구조를 이용하여 엠펙 전송스트림(MPEG TS)을 계층으로 구분하여 전송할 경우, 수신기에서 선택적으로 수신 계층을 선택하기 위해서는, 수신기에서 해당 계층을 수신하여 엠펙 전송스트림(MPEG TS)을 출력할 때 타이밍 정보가 포함된 완전한 형태의 엠펙 전송스트림(MPEG TS)으로 복원하여야 한다. 그리고, 이러한 기능을 위해서는 각 계층마다 새로운 타이밍 정보가 포함된 엠펙 전송스트림(MPEG TS)을 생성할 수 있도록 송신측에 재다중화기와 같은 별도의 시스템을 사용하여야 한다. 또한, 이렇게 재다중화기를 사용한다 할지라도, 수신기에서 여러 계층을 동시에 수신하는 것이 곤란하다는 문제점이 있었다.That is, one of the problems in transmitting the actual MPEG-2 TS by using the hierarchical transmission method is to separate the layers, transmit the separated layers in different transmission methods, and then restore the MPEG-2 TS. Jitter occurs in the process. This is because a packet having timing information PCR of an MPEG transport stream deviates from the position of the original MPEG transport stream MPEG TS. Therefore, when the MPEG TS is divided into layers using a hierarchical structure and then transmitted, the receiver receives the corresponding layer and outputs the MPEG TS to the receiver to selectively select the reception layer. In this case, it should be restored to a complete MPEG transport stream (MPEG TS) including timing information. For this function, a separate system, such as a remultiplexer, must be used on the transmitting side to generate an MPEG transport stream (MPEG TS) including new timing information for each layer. In addition, even when using the remultiplexer, there is a problem that it is difficult to receive several layers at the same time in the receiver.

한편, 상기와 같은 지터를 없애기 위한 또 다른 종래의 방법으로는, 수신측에서 새롭게 구성되는 엠펙 전송스트림(MPEG TS)에 맞게 엠펙 전송스트림(MPEG TS)내의 PCR값을 수정하는 방법(수신측에서의 해결 방법)이 있었다. 그러나, 이와 같이 PCR 지터를 없애기 위하여 PCR 값을 정확히 수정하기 위해서는, 수신기에 새로운 회로 추가와 복잡한 알고리듬의 적용이 필요하다는 문제점이 있었다.On the other hand, another conventional method for eliminating jitter as described above is a method of correcting a PCR value in an MPEG transport stream (MPEG TS) in accordance with an MPEG transport stream (MPEG TS) newly configured at the reception side (solution at the reception side). How). However, in order to accurately correct the PCR value in order to eliminate the PCR jitter, there is a problem that it is necessary to add a new circuit to the receiver and apply a complex algorithm.

본 발명은, 상기와 같은 문제점을 해결하기 위하여 제안된 것으로, 송신측에서는 하나의 멀티미디어데이터 전송스트림(예를 들면, MPEG TS) 내의 사용자 패킷들을 우선순위에 따라 계층적으로 분리하여 전송하고, 또한 타이밍정보(예를 들면, PCR)이 있는 사용자 패킷 등을 포함하는 상위(HP: High Priority)계층 패킷들에 대해서는 위치정보(예를 들면, 일련번호 등)를 함께 전송하고, 수신측에서는 이러한 위치정보를 이용하여 원래의 멀티미디어데이터 전송스트림 내에서의 상위계층 패킷들의 위치를 정확하게 복원함으로써, 타이밍정보 지터(jitter)의 발생을 방지하고, 일반적인 역다중화기를 통해서도 각 계층에 따른 선택적 수신을 가능하게 하며, 또한 열악한 전송채널 상황에서도 수신율을 높일 수 있게 하는, 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 그 방법과, 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치 및 그 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and at the transmitting side, user packets in one multimedia data transport stream (for example, MPEG TS) are separated and transmitted hierarchically according to priority, and also timing Location information (e.g., serial number, etc.) is transmitted together with high priority (HP) layer packets including user packets with information (e.g., PCR), and the receiving side transmits the location information. By precisely restoring the positions of upper layer packets in the original multimedia data transport stream, it prevents the occurrence of timing information jitter, and enables selective reception according to each layer through a general demultiplexer. It is a multimedia for preventing jitter of timing information, which can increase the reception rate even in a poor transmission channel situation. It provides a foundation hierarchical transmission unit of a transport stream and a method and a recovery apparatus in the multimedia data stream transmitted in a hierarchical way and that it is an object.

본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다. Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기의 목적을 달성하기 위한 본 발명은, 멀티미디어데이터 전송스트림(TS: Transport Stream)의 계층적 전송 장치에 있어서, 외부로부터 인코딩된 멀티미디어데이터 전송스트림을 입력받아 패킷 단위로 구분하기 위한 입력 정합 수단; 상기 입력 정합 수단으로부터 출력되는 각각의 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 입력순서에 따라 일련번호를 삽입하기 위한 일련번호 삽입 수단; 상기 일련번호가 삽입된 멀티미디어데이터 전송스트림(TS) 패킷에 오류검출코드(Error Check Code)를 삽입하여 사용자 패킷을 생성하기 위한 오류검출코드 삽입 수단; 사용자가 지정한, 패킷에 대한 계층정보를 저장하는 계층정보 저장 수단; 상기 저장되어 있는 계층정보를 이용하여, 상기 오류검출코드 삽입 수단으로부터 출력되는 상기 사용자 패킷(User Packet)을 계층적으로 분리하기 위한 계층 분리 수단; 상기 계층적으로 분리된 사용자 패킷들을 계층별로 분리하여 저장하기 위한 계층 저장 수단; 및 계층별로 소정의 개수만큼의 상기 저장된 사용자 패킷들과 해당 계층정보를 묶어 계층적 전송프레임을 구성하고, 상기 구성된 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송하기 위한 계층적 프레임화 및 전송 수단을 포함한다.According to an aspect of the present invention, there is provided a hierarchical transmission apparatus for a multimedia data transport stream (TS), comprising: input matching means for receiving an externally encoded multimedia data transport stream in packet units; Serial number inserting means for inserting serial numbers in accordance with an input order for each multimedia data transport stream (TS) packet outputted from said input matching means; Error detection code insertion means for inserting an error check code into the multimedia data transmission stream (TS) packet having the serial number inserted therein to generate a user packet; Hierarchical information storage means for storing hierarchical information about a packet designated by a user; Hierarchical separation means for hierarchically separating the user packet output from the error detection code insertion means by using the stored hierarchical information; Hierarchical storage means for dividing and storing the hierarchically separated user packets by layers; And forming a hierarchical transmission frame by combining a predetermined number of the stored user packets and corresponding layer information for each layer, and transmitting the configured hierarchical transmission frame in different transmission schemes for each layer. Means;

한편, 본 발명은, 멀티미디어데이터 전송스트림 복원 장치에 있어서, 전송채널을 통하여 전송되는 계층적 전송프레임들을 수신하고, 상기 수신된 전송프레임에서 사용자 패킷과 계층정보를 추출하기 위한 계층적 프레임 수신 및 사용자 패킷 추출 수단; 상기 추출된 사용자 패킷에 있는 오류검출코드를 이용하여 전송 중에 오류가 발생한 사용자 패킷을 제거하고, 오류가 없는 사용자 패킷들은 상기 추출된 계층정보를 이용하여 계층별로 분리하기 위한 오류패킷 제거 및 계층분리 수단; 상기 오류패킷 제거 수단으로부터 출력되는 사용자 패킷을 계층마다 별개로 저장하기 위한 계층 저장 수단; 상기 계층 저장 수단에 계층별로 저장된 사용자 패킷들을, 상기 사용자 패킷에 있는 위치정보를 이용하여 원래의 멀티미디어데이터 전송스트림의 순서대로 복원하기 위한 스케줄링 수단; 상기 스케줄링되어 원래의 순서대로 복원된 사용자 패킷에서 오류검출코드와 위치정보를 제거하여 멀티미디어데이터 전송스트림(TS) 패킷을 복원하기 위한 오류검출코드/위치정보 제거 수단; 및 상기 복원된 멀티미디어데이터 전송스트림(TS) 패킷을 입력받아 전송률을 변환하여 멀티미디어데이터 전송스트림(TS)으로 출력하기 위한 출력 정합 수단을 포함한다.On the other hand, the present invention, in the multimedia data transport stream recovery apparatus, receiving hierarchical transport frames transmitted through a transport channel, hierarchical frame reception and user for extracting user packets and hierarchical information from the received transport frame Packet extraction means; Error packet removal and layer separation means for removing a user packet having an error during transmission by using an error detection code in the extracted user packet, and separating user packets without errors by layers using the extracted layer information. ; Hierarchical storage means for separately storing user packets outputted from the error packet removing means for each hierarchical layer; Scheduling means for restoring user packets stored for each layer in the hierarchical storage means in the order of the original multimedia data transport stream using location information in the user packet; Error detection code / location information removal means for restoring a multimedia data transport stream (TS) packet by removing the error detection code and location information from the scheduled and restored original user packet; And an output matching means for receiving the restored multimedia data transport stream (TS) packet, converting a data rate, and outputting the converted data to the multimedia data transport stream TS.

한편, 본 발명은, 멀티미디어데이터 전송스트림의 계층적 전송 방법에 있어서, 외부로부터 인코딩된 멀티미디어데이터 전송스트림(TS)을 입력받아 패킷 단위로 구분하는 입력 정합 단계; 상기 입력 정합 단계에서 구분된 각각의 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 입력순서에 따라 일련번호를 삽입하고, 상기 일련번호가 삽입된 멀티미디어데이터 전송스트림(TS) 패킷에 오류검출코드(Error Check Code)를 삽입하여 사용자 패킷을 생성하는 일련번호/오류검출코드 삽입 단계; 사용자가 지정한, 패킷에 대한 계층정보를 이용하여, 상기 일련번호와 오류검출코드가 삽입된 사용자 패킷(User Packet)들을 계층적으로 분리하여 저장하는 계층 분리 단계; 및 계층별로 소정의 개수만큼의 상기 저장된 사용자 패킷들과 해당 계층정보를 묶어 계층적 전송프레임을 구성하고, 상기 구성된 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송하는 계층적 프레임화 및 전송 단계를 포함한다.The present invention provides a hierarchical transmission method of a multimedia data transport stream, comprising: an input matching step of receiving a multimedia data transport stream (TS) encoded from the outside and classifying the data into packet units; A serial number is inserted according to the input order for each multimedia data transmission stream (TS) packet classified in the input matching step, and an error check code is inserted into the multimedia data transmission stream (TS) packet in which the serial number is inserted. Inserting a serial number / error detection code to insert a code) to generate a user packet; A hierarchical separation step of hierarchically separating and storing the user packets into which the serial number and the error detection code are inserted, using the hierarchical information on the packet designated by the user; And forming a hierarchical transmission frame by tying a predetermined number of the stored user packets and corresponding layer information for each layer, and transmitting the configured hierarchical transmission frame by different transmission methods for each layer. It includes.

한편, 본 발명은, 엠펙 전송스트림 복원 방법에 있어서, 전송채널을 통하여 전송되는 계층적 전송프레임들을 수신하고, 상기 수신된 전송프레임에서 사용자 패킷과 계층정보를 추출하는 계층적 프레임 수신 및 사용자 패킷 추출 단계; 상기 추출된 사용자 패킷에 있는 오류검출코드를 이용하여 전송 중에 오류가 발생한 사용자 패킷(Error Packet)은 제거하고, 오류가 없는 사용자 패킷들은 상기 추출된 계층정보를 이용하여 계층별로 분리 저장하는 오류패킷 제거 및 계층별 저장 단계; 상기 사용자 패킷에 있는 위치정보를 이용한 스케줄링을 통하여, 상기 계층별로 저장된 사용자 패킷을 원래의 멀티미디어데이터 전송스트림(TS)의 순서대로 복원하는 스케줄링 단계; 상기 스케줄링 단계에 의하여 원래의 순서에 맞게 복원된 사용자 패킷에서 오류검출코드와 위치정보를 제거하여 멀티미디어데이터 전송스트림(TS) 패킷을 복원하는 오류검출코드/위치정보 제거 단계; 및 상기 복원된 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 전송률을 변환하여 멀티미디어데이터 전송스트림(TS)으로 출력하는 출력 정합 단계를 포함한다.On the other hand, the present invention, in the MPEG transport stream recovery method, receiving hierarchical transport frames transmitted through a transport channel, hierarchical frame reception and user packet extraction for extracting user packets and layer information from the received transport frame step; Eliminates an error packet generated during transmission by using an error detection code in the extracted user packet, and removes an error packet that separates and stores error-free user packets for each layer using the extracted layer information. And storing by layer; A scheduling step of restoring the user packet stored for each layer in order of the original multimedia data transport stream (TS) through scheduling using location information in the user packet; An error detection code / location information removal step of restoring a multimedia data transmission stream (TS) packet by removing the error detection code and location information from the user packets restored in the original order by the scheduling step; And an output matching step of converting a transmission rate for the restored multimedia data transport stream (TS) packet and outputting the multimedia data transport stream (TS).

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명에 따른 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치의 일실시예 구성도로서, 입력된 멀티미디어데이터 전송스트림을 다수의 계층으로 분리/전송/복원하는 과정을 나타낸다. 여기서, 멀티미디어데이터 전송스트림은 엠펙 전송스트림(MPEG TS) 등을 포함하는 개념으로서, 이하에서는 엠펙 전송스트림(MPEG TS)과 그에 대한 타이밍정보인 PCR을 일실시예로 들어 설명하기로 한다.1 is a configuration diagram of a hierarchical transmission apparatus of a multimedia data transmission stream and a restoration apparatus of a hierarchically transmitted multimedia data transmission stream for preventing timing information jitter according to the present invention. It shows the process of separating / transmitting / restoring into multiple layers. Here, the multimedia data transport stream is a concept including an MPEG transport stream (MPEG TS) and the like. Hereinafter, an MPEG transport stream (MPEG TS) and PCR, which is timing information thereof, will be described.

본 발명은 방송 혹은 통신을 위해 생성된 엠펙 전송스트림(MPEG TS)을 내용에 따라 구분하여 각기 다른 계층으로 전송하는 기술과 관련된 것으로서, 에러가 발생할 수 있는 전송채널 환경에서 MPEG-2 TS를 기반으로 계층적 전송 방식을 이용하여 방송 혹은 통신을 할 때 하나의 엠펙 전송스트림(MPEG TS)의 계층분류/전송/복원 과정에서 발생되는 PCR 지터 문제를 해결한다.The present invention relates to a technology for transmitting MPEG TSs generated for broadcasting or communication according to contents and transmitting them to different layers, based on MPEG-2 TS in a transmission channel environment in which an error may occur. It solves the PCR jitter problem that occurs during hierarchical classification / transmission / restore of one MPEG TS during broadcast or communication using hierarchical transmission.

먼저, 디지털 방송 송신시스템에서의 엠펙 전송스트림의 계층적 전송 장치(100)를 설명하면, 다음과 같다.First, a hierarchical transmission apparatus 100 for an MPEG transport stream in a digital broadcasting transmission system will be described.

엠펙 전송스트림(MPEG TS) 입력 정합부(101)는 인코딩 장치의 MPEG-2 다중화기(도 1에는 도시되지 않음)로부터 출력되어 입력되는 엠펙 전송스트림(TS)을 패킷 단위로 구분하고, 각 구분된 패킷에는 MPEG TS 출력 정합부(127)에서 전송률을 맞출 수 있도록 시간정보(time stamp)를 삽입할 수 있다. 여기서, 각 패킷은 페이로드(payload)와 동기화 바이트(SYNC) 등으로 구성된다. MPEG TS 출력 정합부(127)에서 시간정보(time stamp)를 이용하여 전송률을 맞출 수 있도록 MPEG TS 입력 정합부(101)에서 시간정보(time stamp)를 삽입하는 경우를 실시예로 설명하였으나, 시간정보(time stamp)를 이용하지 않고도 다양한 기존 기술을 이용하여 전송률을 맞출 수 있으므로, 도 2의 MPEG TS 패킷에는 시간정보(time stamp)를 나타내지 않았다.MPEG transmission stream (MPEG TS) input matching unit 101 classifies the MPEG transmission stream (TS) output from the MPEG-2 multiplexer (not shown in FIG. 1) of the encoding apparatus and inputs it in packet units, and distinguishes each segment. The time stamp may be inserted into the packet so that the MPEG TS output matching unit 127 may adjust the transmission rate. Here, each packet is composed of a payload and a sync byte (SYNC). Although the case where the time stamp is inserted in the MPEG TS input matcher 101 so that the bit rate is adjusted by using the time stamp in the MPEG TS output matcher 127 has been described as an embodiment, Since the transmission rate can be adjusted using various existing techniques without using time stamps, time stamps are not shown in the MPEG TS packet of FIG.

일련번호 삽입부(102)가 188 바이트 단위 엠펙 전송스트림(MPEG TS) 패킷에 대하여 입력 순서에 따라 일련번호(Sequence Number)를 부과하여 삽입하면, 오류검출코드 삽입부(103)는 오류검출코드(Error Check Code)를 삽입하여 하나의 사용자 패킷을 생성한다.When the serial number inserting unit 102 inserts and inserts a sequence number in 188 byte unit MPEG Transport Stream (MPEG TS) packet according to the input order, the error detecting code inserting unit 103 generates an error detecting code ( Error Check Code) is inserted to generate one user packet.

상기와 같은 과정을 거친 후, 일반적인 계층적 전송 과정을 거친다. 즉, 계층 분리부(105)는 엠펙 전송스트림(MPEG TS)의 헤더에 포함된 정보를 이용하여 개별적인 사용자 패킷을, 계층정보 테이블 저장부(104)에 저장된 계층정보에 따라 상위(HP) 계층과 하위(LP)계층 등의 계층(Layer)으로 분리한다. 여기서, 계층 분리는 두 개의 계층(즉, 상위(HP)계층, 하위(LP)계층)으로 분리할 수도 있고, 또는 보다 세분화하여 3이상의 계층 수로 분리할 수도 있다.After the above process, a general hierarchical transmission process is performed. That is, the hierarchical splitter 105 uses the information contained in the header of the MPEG TS to separate individual user packets from the upper (HP) layer according to the hierarchical information stored in the hierarchical information table storage 104. It is divided into layers such as LP layer. Here, the layer separation may be divided into two layers (that is, the upper (HP) layer, the lower (LP) layer), or may be further divided into three or more layers.

계층 분리부(105)에서 엠펙 전송스트림(MPEG TS) 패킷을 계층으로 구분할 때, 전송스트림(TS)내 PCR을 포함하는 패킷은 반드시 가장 안정적인 전송 계층(즉, 최상위 계층)으로 분류하여 전송하여야 한다. 예를 들어, 2계층의 경우, 반드시 HP(High Prority)로 분류하여 전송해야 한다. 이는 PCR값이 송신기가 수신측으로 전달하는 클럭 정보로서, 수신기에서의 역다중화를 위하여 반드시 필요한 값이기 때문이다. PCR은 엠펙 전송스트림(MPEG TS)의 적응 필드(adaptation field) 내에 포함이 되는데, 이 영역의 존재 여부는 2비트의 적응필드 제어(adaptation field control) 정보로 알 수 있다.When the MPEG TS stream packet is divided into layers by the layer separation unit 105, the packet including the PCR in the TS must be classified and transmitted as the most stable transport layer (ie, the highest layer). . For example, in the case of the second layer, it must be classified and transmitted as HP (High Prority). This is because the PCR value is clock information transmitted from the transmitter to the receiver, and is a value necessary for demultiplexing in the receiver. PCR is included in an adaptation field of an MPEG transport stream (MPEG TS), and the presence or absence of this region can be determined by 2 bits of adaptation field control information.

한편, 계층정보 테이블(Layer Information Table) 저장부(104)는 사용자가 우선순위(Priority)에 따라 지정한 각 사용자 패킷에 대한 계층정보, 즉 각 사용자 패킷이 어느 계층에 속하게 되는가에 대한 정보를 저장한다.Meanwhile, the layer information table storage unit 104 stores layer information about each user packet designated by a user according to priority, that is, information on which layer each user packet belongs to. .

각각의 계층 버퍼(Layer Buffer)(106, 107)는 각 계층에 속하는 사용자 패킷을 일정시간 동안 저장하며, 계층적 프레임화 및 전송부(108)는 일정시간 동안 저장된 사용자 패킷을 프레임 단위로 전송하기 위하여 프레임화한 후, 각 프레임을 각 계층에 할당된 전송방식에 따라서 전송 채널(110)을 통하여 전송한다.Each layer buffer (106, 107) stores the user packet belonging to each layer for a certain time, hierarchical framing and transmission unit 108 to transmit the user packet stored for a predetermined time frame by frame After framing, each frame is transmitted through the transmission channel 110 according to the transmission scheme assigned to each layer.

여기서, 전송프레임 구성 과정은, 일정시간 동안 각 계층 버퍼(106)에 저장된 사용자 패킷의 수를 감지하고, 그 일정시간 동안 계층 버퍼(106, 107)에 도착한 사용자 패킷들, 그 사용자 패킷들에 대한 계층정보, 및 프레임 헤더 등을 묶어 하나의 전송프레임을 구성하는 과정이다. In this case, the transport frame configuration process detects the number of user packets stored in each layer buffer 106 for a predetermined time, and detects the user packets arriving at the layer buffers 106 and 107 for the predetermined time and the user packets. A process of forming a single transport frame by combining hierarchical information and a frame header.

전송 채널(Transmission Channel)(110)은 에러가 존재할 수 있으며, 위성통신 채널과 이동통신채널을 포함하는 무선 채널, 및 패킷 손실이 발생할 수 있는 유선 채널 등이 해당할 수 있다.The transmission channel 110 may have an error, and may correspond to a wireless channel including a satellite communication channel and a mobile communication channel, and a wired channel through which packet loss may occur.

다음으로, 수신측의 엠펙 전송스트림 복원 장치(120)을 설멸하면, 다음과 같다.Next, when the MPEG transmission stream restoration apparatus 120 on the receiving side is removed, it is as follows.

계층적 프레임 수신 및 사용자패킷 추출부(121)는 각 계층마다 서로 다른 전송방식으로 전송된 계층적 전송프레임을 수신하고, 그 수신된 전송프레임에서 헤더 등을 제거하는 과정을 통하여 사용자 패킷(Usser Packet)들과 계층정보를 추출한다.The hierarchical frame receiving and user packet extracting unit 121 receives a hierarchical transmission frame transmitted in a different transmission method for each layer and removes a header from the received transmission frame. ) And hierarchical information is extracted.

오류패킷제거 및 계층분리부(122)는 사용자 패킷에 있는 오류검출코드(ECC)를 이용하여 계층적 전송 중에 오류가 발생한 사용자 패킷(Error Packet)은 제거하고, 오류가 없는 사용자 패킷들은 계층적 프레임 수신 및 사용자패킷 추출부(121)에서 추출된 계층정보를 이용하여 계층별로 분리하여 해당 계층버퍼(123, 124)에 저장한다.The error packet removal and layer separation unit 122 removes an error packet that has an error during hierarchical transmission by using an error detection code (ECC) in the user packet, and user packets without errors are hierarchical frames. The layer information extracted by the reception and user packet extracting unit 121 is separated into layers and stored in the layer buffers 123 and 124.

스케줄러(125)는 각 계층의 버퍼(123, 124)에 저장된 사용자 패킷을 일련번호 등의 위치정보를 이용하여 원래의 순서대로 복원하여, 오류검출코드/일련번호 제거부(126)로 출력한다.The scheduler 125 restores the user packets stored in the buffers 123 and 124 of each layer in the original order using location information such as serial numbers and outputs them to the error detection code / serial number removal unit 126.

그러면, 오류검출코드/일련번호 제거부(126)는 복원되어 들어오는 MPEG TS 패킷 각각에 대하여 그 패킷내에 삽입되어 있는 오류검출코드(ECC)와 일련번호를 제거한다.Then, the error detection code / serial number removal unit 126 removes the error detection code (ECC) and serial number inserted in the packet for each of the restored MPEG TS packets.

MPEG TS 출력 정합부(127)는 오류검출코드/일련번호가 제거된 MPEG TS을 외부(즉, 디코딩 장치)로 출력하는데, 이 때 MPEG TS의 최종적인 출력 전송률을 송신측 엠펙 전송스트림의 계층적 전송 장치(보다 정확하게는 MPEG TS 입력 정합부)(100)로 입력되는 입력 전송률과 동일하게 맞추어 출력한다. 여기서, 전송률은 MPEG TS내에 삽입된 시간정보(time stamp)를 이용하여 맞춘다.The MPEG TS output matching unit 127 outputs the MPEG TS from which the error detection code / serial number has been removed to the outside (i.e., the decoding device), wherein the final output rate of the MPEG TS is transmitted in a hierarchical manner of the transmitting MPEG transport stream. The output is matched with the input transmission rate input to the transmission device (more precisely, the MPEG TS input matching unit) 100. Here, the data rate is adjusted using time stamps embedded in the MPEG TS.

도 2 는 본 발명에 따른 도 1의 일련번호 삽입부 및 오류검출코드 삽입부에 대한 일실시예 설명도로서, 계층적 전송을 위하여 각 엠펙 전송스트림(MPEG TS) 패킷에 일련 번호와 오류검출 코드를 삽입하는 방법을 나타낸다.FIG. 2 is a diagram illustrating an embodiment of the serial number inserter and the error detection code inserter of FIG. 1 according to the present invention. FIG. 2 shows a serial number and an error detection code in each MPEG TS stream packet for hierarchical transmission. Indicates how to insert it.

일련번호 삽입부(102)는 계층적 전송을 위하여 계층 구분 전에, 전송되는 엠펙 전송스트림(MPEG TS) 패킷을 수신단에서의 복원을 위하여 추가적으로 몇 바이트의 일련 번호(seq_no)(202)를 삽입하며, 오류검출코드 삽입부(103)는 일련 번호 및 해당 엠펙 전송스트림(MPEG TS)에 에러가 발생하였는지 여부를 검사하기 위하여 오류검출 코드(203)를 추가적으로 삽입한다.The serial number inserting unit 102 inserts an additional few bytes of the serial number (seq_no) 202 for restoring the transmitted MPEG Transport Stream (MPEG TS) packet at the receiver before classifying the layer for hierarchical transmission. The error detection code insertion unit 103 additionally inserts an error detection code 203 to check whether an error has occurred in the serial number and the MPEG transport stream (MPEG TS).

일련번호 삽입부(102)는 카운터(211)와 일련번호 삽입기(212)로 구성되며, 카운터(211)(예를 들면, Modulo 216 Counter)가 엠펙 전송스트림(MPEG TS)을 하나 수신할 때마다 카운터 값을 증가시키면, 일련번호 삽입기(212)는 그 카운트값에 해당하는 일련번호(202)를 MPEG TS 페이로드(Payload)(201) 뒤에 추가한다.The serial number inserting unit 102 includes a counter 211 and a serial number inserter 212, and the counter 211 (for example, Modulo 2 16 Counter) can receive one MPEG transport stream (MPEG TS). If the counter value is incremented each time, the serial number inserter 212 adds a serial number 202 corresponding to the count value after the MPEG TS Payload 201.

한편, 오류검출코드 삽입부(103)는 오류검출코드 계산기(221)와 오류검출코드 삽입기(222)로 구성되는데, 오류검출코드 계산기(221)가 일련 번호와 해당 엠펙 전송스트림(MPEG TS) 패킷에 에러가 발생하였는지 여부를 검사하기 위한 오류검출 코드(error check code)를 계산하면, 오류검출코드 삽입기(222)는 그 계산된 오류검출코드(ECC)를 일련번호 뒤에 삽입한다.On the other hand, the error detection code insertion unit 103 is composed of an error detection code calculator 221 and an error detection code inserter 222, the error detection code calculator 221 serial number and the corresponding MPEG transport stream (MPEG TS) When calculating an error check code for checking whether an error has occurred in the packet, the error detection code inserter 222 inserts the calculated error detection code (ECC) after the serial number.

위와 같은 과정을 거치면, 사용자 패킷은 동기바이트 원래의 엠펙 전송스트림(MPEG TS) 페이로드(Payload)(201), 일련번호(202) 및 오류검출 코드(203) 등으로 구성된다.After the above process, the user packet is composed of the original MPEG transport stream (MPEG TS) payload 201, the serial number 202, the error detection code 203, and the like.

이하, 엠펙 전송스트림(MPEG TS) 패킷마다 일련번호(202) 및 오류검출코드 (ECC)(203)를 삽입하는 과정을 상세히 설명하면, 다음과 같다.Hereinafter, a process of inserting the serial number 202 and the error detection code (ECC) 203 for each MPEG TS packet will be described in detail.

일련번호의 최대값은 일련 번호를 위하여 할당하는 바이트(byte)의 크기에 따라 달라질 수 있다. 예를 들어, 2바이트를 사용할 경우에는 0 ~ 65535의 값을 순차적으로 사용하며, 1바이트의 경우에는 0 ~ 255의 값을 가진다. 또한, 각 일련번호가 포함된 패킷에 오류 검출을 위한 코드를 삽입한다.The maximum value of the serial number may vary depending on the size of bytes allocated for the serial number. For example, when 2 bytes are used, values of 0 to 65535 are sequentially used, and when 1 byte is used, values of 0 to 255 are used. In addition, a code for error detection is inserted into a packet including each serial number.

오류 검출을 위한 코드는 일반적인 CRC-8(Cyclic Redundancy Check-8) 또는 CRC-16(Cyclic Redundancy Check-16) 코드를 사용할 수 있다. CRC-8을 사용할 경우에는 CRC-8 코드가 다음 엠펙 전송스트림(MPEG TS) 패킷의 동기 바이트(SYNC byte)의 위치에 삽입되거나 혹은 별도의 바이트로 일련번호 뒤에 추가될 수도 있다. The code for error detection may use a general cyclic redundancy check-8 (CRC-8) or cyclic redundancy check-16 (CRC-16) code. In the case of using the CRC-8, the CRC-8 code may be inserted at the position of the SYNC byte of the next MPEG TS packet or may be added after the serial number as a separate byte.

상기와 같은 과정을 거치면, 188바이트의 엠펙 전송스트림(MPEG TS) 패킷은 일련번호 및 오류검출 코드 등이 삽입된 사용자 패킷(User Packet)이 된다.After the above process, the 188-byte MPEG TS packet becomes a user packet in which a serial number and an error detection code are inserted.

도 3 은 계층적 전송 방식으로 인한 PCR 지터(Jitter) 발생에 대한 설명도로서, 상위(HP: High Priority)와 하위(LP: Low Priority)의 두 계층만이 존재하는 경우, 일반적인 다중화 기법으로 패킷들을 복원하였을 때, PCR 지터(jitter)가 발생하는 현상을 나타내고 있다.FIG. 3 is an explanatory diagram of PCR jitter generation due to a hierarchical transmission method. When only two layers, a high priority (HP) and a low priority (LP), exist, the packet is a general multiplexing technique. When the jitter is restored, a phenomenon in which PCR jitter occurs is shown.

엠펙 전송스트림(MPEG TS)마다 계층적으로 분리하여 전송하는 기존의 계층적인 전송 방식과 달리, 본 발명에서는 하나의 엠펙 전송스트림(MPEG TS)을 계층적으로 분리하여 전송하는데, 이 경우에도 PCR 지터(jitter)가 발생할 수 있으며, 이를 해결하기 위하여 본 발명에서는 도 4내지 도6에 도시된 바와 같이, 일련번호 등을 삽입하여 전송하고, 수신측에서도 이를 이용하여 엠펙 전송스트림(MPEG TS)을 복원한다.Unlike the conventional hierarchical transmission method in which hierarchically separated MPEG MPEG transport streams are transmitted, the present invention is to transmit one MPEG transport stream hierarchically separated by PCR jitter. (jitter) may occur, and in order to solve the problem, the present invention inserts and transmits a serial number and the like, as shown in FIGS. 4 to 6, and the receiving side restores the MPEG TS using the same. .

이하, 일련번호등을 삽입하지 않는 계층적 전송 방식에서의 PCR 지터(jitter) 문제를 설명하면, 다음과 같다.Hereinafter, the PCR jitter problem in the hierarchical transmission method without inserting a serial number or the like will be described.

본 발명에 따르는 계층적 전송 방식에서는 하나의 엠펙 전송스트림(MPEG TS)이 그 내용에 따라서 몇개의 계층으로 분리되어 각기 다른 방식으로 전송된다. 그러나, HP(High Priority), LP(Low Priority)등 두 계층만이 존재하는 경우, 일반적인 다중화 방식으로 패킷을 복원하였을 때에는 도 3에서와 같이 PCR 지터가 발생할 수 있다.In the hierarchical transmission scheme according to the present invention, one MPEG transport stream (MPEG TS) is divided into several layers according to its contents and transmitted in different ways. However, when only two layers such as HP (Low Priority) and LP (Low Priority) exist, PCR jitter may occur as shown in FIG. 3 when the packet is recovered by a general multiplexing scheme.

예를 들어, 하나의 방송프로그램을 구성하고 있는 오디오/비디오가 하나의 전송형태를 가지는 경우(301)에 있어서, 오디오의 경우에는 에러가 심한 환경에서도 오디오만의 재생이 가능하도록 QPSK(Quadrature Phase Shift Keying) 방식으로 전송되고(302), 비디오의 경우에는 많은 데이터 양을 효과적으로 처리할 수 있도록 전송 효율이 높은 8PSK(8Phase Shift Keying)방식으로 전송될 수 있다(303).For example, in the case where the audio / video constituting one broadcast program has one transmission form (301), in the case of audio, QPSK (Quadrature Phase Shift) can be used to reproduce only audio even in an error-prone environment. Key transmission (302), and in the case of video can be transmitted in 8Phase Shift Keying (8PSK) method with high transmission efficiency to effectively process a large amount of data (303).

이 때, 오디오와 비디오를 각기 분리하여 전송하는 경우에 있어서, 수신기의 MPEG 역다중화기가 전송되는 엠펙 전송스트림(MPEG TS)을 올바르게 수신하기 위해서는 원래의 엠펙 전송스트림(MPEG TS)으로 복원되어야 한다.In this case, in case of separately transmitting audio and video, in order to correctly receive an MPEG transport stream (MPEG TS) to which the MPEG demultiplexer of the receiver is transmitted, the original MPEG transport stream (MPEG TS) must be restored.

그러나, 일반적인 계층적 구조에서 각 패킷에 대한 위치 정보가 없이 전송될 경우, 에러가 발생하지 않는 환경하에서도 두 계층의 패킷을 하나의 스트림으로 만드는 과정에서 지터(jitter)가 발생할 수 있다(304). 만약, HP 패킷만 수신 가능할 경우의 지터는 더욱 심각해진다(305).However, in the general hierarchical structure, when there is no location information for each packet, jitter may occur in the process of making packets of two layers into one stream even in an environment in which no error occurs (304). . If only HP packets can be received, the jitter becomes more serious (305).

도 4 는 본 발명에 따른 수신측에서 상위(HP)/하위(LP) 계층 모두 수신한 경우에 있어서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 설명도로서, 그 구체적인 복원 방법은 도 9의 수신 스케줄링 방법을 이용한다. 여기서, 1, 2, 3, ... 등의 숫자는 엠펙 전송스트림(TS) 패킷에 삽입되는 일련번호를 나타낸다.FIG. 4 is an exemplary explanatory diagram of a method for restoring an MPEG transport stream in a case where both the upper (HP) and lower (LP) layers are received at the receiving side according to the present invention. FIG. A reception scheduling method is used. Here, the numbers 1, 2, 3, ... represent serial numbers inserted into MPEG transport stream (TS) packets.

수신기에서 전송 채널의 상태에 따라서 두 계층(HP, LP) 모두 수신할 수 있는 경우, 송신단의 MPEG TS 다중화기로부터 출력되어 엠펙 전송스트림의 계층적 전송 장치(100)로 입력된 엠펙 전송스트림(401)과 순서가 동일 형태로 복원되어야 한다.When the receiver can receive both layers (HP, LP) according to the state of the transmission channel, the MPEG transport stream 401 outputted from the MPEG TS multiplexer of the transmitter and input to the hierarchical transmission device 100 of the MPEG transport stream. ) And the order should be restored to the same form.

엠펙 전송스트림의 계층적 전송 장치(100)가 MPEG TS 패킷에 일련번호와 오류검출코드가 삽입된 사용자 패킷들(401)을 HP 계층(402)과 LP 계층(403)으로 계층 분리하여 전송하면, 수신기의 엠펙 전송프레임 복원 장치(120)에서는 사용자 패킷 내에 포함되어 있는 일련번호를 이용하여 HP와 LP의 버퍼에 저장되어 있는 사용자 패킷을 원래의 엠펙 전송스트림의 순서("401"의 순서)에 맞게 복원한다(404). 이 때, 오류 검출 결과, 에러가 발생하여 폐기된 패킷("V2")의 위치에는 MPEG 시스템에서 정의한 빈 패킷("null")(도면에서 일련번호 "10")을 대신 삽입한다. When the hierarchical transmission apparatus 100 of the MPEG transport stream transmits the user packets 401 having the serial number and the error detection code inserted into the MPEG TS packet to the HP layer 402 and the LP layer 403, The MPEG transmission frame recovery apparatus 120 of the receiver uses the serial numbers included in the user packet to match the user packets stored in the buffers of HP and LP according to the order of the original MPEG transmission stream (the order of "401"). Restore (404). At this time, as a result of the error detection, an empty packet "null" (serial number "10" in the drawing) defined by the MPEG system is inserted in place of the packet "V2" discarded due to an error.

도 5 는 본 발명에 따른 수신측에서 상위(HP) 계층만 수신한 경우에 있어서의 엠펙 전송스트림의 복원에 대한 일실시예 설명도로서, 그 구체적인 복원 방법은 도 11의 수신 스케줄링 방법을 이용한다.FIG. 5 is an exemplary explanatory diagram of restoration of an MPEG transport stream in a case where only the upper (HP) layer is received by the receiving side according to the present invention. The specific restoration method uses the reception scheduling method of FIG.

HP만 수신한 경우는, 채널의 상태가 LP는 수신이 불가능하지만(503) HP는 수신이 가능함을 의미하는 것으로(502), LP의 위치와 HP 패킷 중 에러가 발생한 패킷의 위치에는 빈 패킷(PID=0x1FFF)을 삽입하여 복원한다(504).If only HP is received, the status of the channel means that LP cannot be received (503), but HP is able to receive (502). An empty packet ( PID = 0x1FFF) is inserted and restored (504).

도 6 은 본 발명에 따른 도 1의 계층적 프레임화 및 전송부에서의 위치정보 전송 방법에 대한 일실시예 설명도이다.FIG. 6 is a diagram for explaining a method of transmitting location information in the hierarchical framing and transmission unit of FIG. 1 according to the present invention.

엠펙 전송스트림(MPEG TS)에서 PCR 등가장 기본적인 정보를 가진 계층에 한하여 차별적으로 일련번호 등 엠펙 전송스트림(MPEG TS)내에서 위치 정보를 포함하는 구조에 대한 일실시예 설명도이다.Exemplary embodiments of a structure including location information in an MPEG transport stream (MPEG TS) such as a serial number differently from a layer having PCR most basic information in an MPEG transport stream (MPEG TS).

도 6은 엠펙 전송스트림(MPEG TS)에서 가장 기본적인 정보를 가진 계층에 한하여 차별적으로 일련번호 등 엠펙 전송스트림(MPEG TS)내에서 위치 정보를 포함하는 구조를 나타내었다.FIG. 6 illustrates a structure in which location information is included in an MPEG transport stream (MPEG TS) such as a serial number only in a layer having the most basic information in the MPEG transport stream (MPEG TS).

MPEG TS을 기반으로 한 응용 중에는 비디오/오디오 전송 서비스 외에 IP(Internet Protocol)와 같은 데이터 서비스를 제공하는 경우도 있다. 데이터 서비스의 경우에는 오디오/비디오와 같은 실시간성 서비스와는 달리, 개별 프로그램당 전송 지연에 대하여 민감하지 않다.Some applications based on MPEG TS provide data services such as IP (Internet Protocol) in addition to video / audio transmission services. Data services, unlike real-time services such as audio / video, are not sensitive to transmission delays per individual program.

따라서, 엠펙 전송스트림(MPEG TS)을 수신기의 역다중화기에서 정상적으로 해석이 가능하도록 전송하면, 이후 단에서의 패킷 처리는 정상적으로 이루어지며, 이로 인하여 서비스에는 아무런 영향이 없다. 따라서, 이와 같이 개별 프로그램이 전송 지연에 민감하지 않은 경우에는, 엠펙 전송스트림(MPEG TS) 중에서 타이밍 정보(PCR) 등 가장 기본적인 정보를 지닌 패킷으로 분류되는 계층(즉, 상위계층)에만 일련번호 또는 그에 상응하는 위치정보를 부과함으로써 엠펙 전송스트림(MPEG TS) 내에서의 상위계층 패킷에 대한 위치가 변하지 않도록 할 수 있다. 여기서, 일련번호에 상응하는 위치정보란 일련번호 대신에 부과되는 인접한 일련번호간의 차이값을 말한다.Therefore, if the MPEG TS is transmitted in a demultiplexer of the receiver so that it can be interpreted normally, packet processing in a subsequent stage is normally performed, and thus there is no effect on the service. Therefore, when an individual program is not sensitive to transmission delay, the serial number or only in a layer (that is, a higher layer) classified as a packet having the most basic information such as timing information (PCR) among MPEG transport streams (MPEG TS) By imposing corresponding location information, the location of higher layer packets in the MPEG TS may not be changed. Here, the location information corresponding to the serial number refers to a difference value between adjacent serial numbers imposed instead of the serial number.

한편, 엠펙 전송스트림(MPEG TS) 내에서의 위치 정보(즉, 일련번호 등)를 모든 계층에 삽입하지 않고, 상위(HP) 계층 패킷에 대해서만 해당 일련번호를 삽입하여 전송하면, 보다 높은 대역 효율을 얻을 수 있다.On the other hand, if the position information (ie, serial number, etc.) in the MPEG TS is not inserted into all layers, only the upper layer (HP) layer packet is inserted and transmitted, and the higher bandwidth efficiency is achieved. Can be obtained.

도 6에서는 3계층을 에로 들어 설명하였으나, 본 방법을 적용하는데 있어서 계층 수의 제한은 없으므로, 그 이상으로 계층을 분리할 수도 있다.In FIG. 6, the third layer is described as an example. However, since the number of layers is not limited in applying the present method, the layers may be separated.

이하, 도 6에 대하여 상세히 설명하기로 한다.Hereinafter, FIG. 6 will be described in detail.

처음 한 프레임 기간 동안의 사용자 패킷들을 정하진 규칙(Rule)에 따라서 3계층으로 구분한다(601). 이 때, 계층적 전송에서는 모든 패킷에 일련번호 등을 삽입하여 전송하는 형태(602)가 아니라, 전송의 품질이 가장 우수한 계층 1(최상위 계층)에 해당하는 패킷에 대해서만 일련번호 등을 삽입하여 전송한다(603). "603"에서 "1", "2", "3"은 계층 순위를 나타내고, "1", "6", "12"는 일련번호를 나타낸다.User packets during the first one frame period are divided into three layers according to a predetermined rule (601). At this time, in the hierarchical transmission, the serial number is inserted and transmitted only in the packet corresponding to the layer 1 (highest layer) having the highest transmission quality, rather than the form 602 in which the serial number is inserted into all packets. (603). "1", "2", and "3" in "603" represent hierarchical rankings, and "1", "6" and "12" represent serial numbers.

송신측에서는, 계층적으로 전송되어 수신측에서 복원되는 과정에서 PCR 지터가 발생하지 않도록, 일련 번호("1", "6", "12")(603) 또는 해당 계층 내에서 인접하는 일련번호 간의 차이값("0", "5", "6")을 함께 보낸다(604).On the transmitting side, the serial number ("1", "6", "12") 603 or between serial numbers that are adjacent in the corresponding layer is transmitted so that PCR jitter does not occur in the process of being transmitted hierarchically and restored on the receiving side. The difference values "0", "5", and "6" are sent together (604).

따라서, 수신기에서는 엠펙 전송스트림(MPEG TS) 중에서 가장 기본적인 정보(PCR 등)를 포함하는 패킷에 대하여서는 위치 정보를 알고 있기 때문에, PCR 지터 문제를 해결할 수 있다.Therefore, since the receiver knows the position information about the packet including the most basic information (PCR, etc.) in the MPEG transport stream (MPEG TS), the PCR jitter problem can be solved.

도 7 은 본 발명에 따른 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법에 대한 일실시예 흐름도를 나타내는데, 이하에서는 엠펙 전송스트림과 그에 대한 타이밍 정보인 PCR을 예로 들어 설명하기로 한다.7 is a flowchart illustrating a hierarchical transmission method of a multimedia data transport stream for preventing timing information jitter according to the present invention. Hereinafter, an MPEG transport stream and PCR, which is timing information thereof, will be described as an example. .

도 1에서 엠펙 전송스트림의 계층적 전송 장치(100)를 설명하면서, 이미 엠펙 전송스트림의 계층적 전송 방법에 대해서도 함께 설명한 바 있으나, 여기서는 엠펙 전송스트림의 계층적 전송 장치(100)에 적용되는 엠펙 전송스트림의 계층적 전송 방법만을 별도로 설명하기로 한다.While the hierarchical transmission device 100 of the MPEG transport stream has been described with reference to FIG. 1, the hierarchical transmission method of the MPEG transport stream has been described together, but here, the MPEG applied to the hierarchical transmission device 100 of the MPEG transport stream is described. Only the hierarchical transmission method of the transport stream will be described separately.

먼저, 계층적 전송 장치(100)가 외부(즉, 송신측 인코딩 장치의 MPEG-2 다중화기)로부터 인코딩된 엠펙 전송스트림(MPEG TS)을 입력받아 패킷 단위로 구분한다(701).First, the hierarchical transmission apparatus 100 receives an MPEG transport stream (MPEG TS) encoded from the outside (that is, the MPEG-2 multiplexer of the transmitter encoding apparatus) and divides the MPEG transmission stream into packet units (701).

그리고, 계층적 전송 장치(100)는 그 구분된 각각의 MPEG TS 패킷에 대하여 입력순서에 따라 일련번호를 삽입하고(702), 그 일련번호가 삽입된 MPEG TS 패킷에 오류검출코드(Error Check Code)를 삽입하여 사용자 패킷을 생성한다(703).Then, the hierarchical transmission apparatus 100 inserts a serial number for each divided MPEG TS packet in the input order (702), and an error check code is inserted into the MPEG TS packet having the serial number inserted therein. C) to generate a user packet (703).

다음으로, 계층적 전송 장치(100)는 사용자가 지정한, 패킷에 대한 계층정보를 이용하여, 일련번호와 오류검출코드가 삽입된 사용자 패킷(User Packet)들을 계층적으로 분리하여 해당 계층 버퍼에 저장한다(704). 여기서, 계층 분리 과정은, 사용자가 지정한 계층정보를 이용하여 사용자 패킷들을 계층적으로 분리하되, PCR(Program Clock Reference)을 포함하는 사용자 패킷을 상위계층(만약, 3이상의 계층으로 분리하는 경우에는 최상위 계층)으로 분리한다.Next, the hierarchical transmission device 100 hierarchically separates user packets in which a serial number and an error detection code are inserted and stores them in a corresponding layer buffer by using hierarchical information on a packet designated by a user. (704). In this case, the layer separation process may be performed by hierarchically separating user packets using hierarchical information designated by a user. However, if a user packet including a program clock reference (PCR) is separated into a higher layer (if three or more layers are separated) Layered).

이어서, 계층적 전송 장치(100)는 계층별로 일정한 개수만큼의 사용자 패킷들(계층 버퍼에 저장된 사용자 패킷들)과 해당 계층정보를 묶어 계층적 전송프레임을 구성한 후(705), 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송한다(706). 여기서, 계층적 전송프레임은 하위계층의 사용자 패킷들에 대해서는 삽입된 일련번호를 제거하고 상위계층의 사용자 패킷들에 대해서는 이미 삽입된 일련번호를 그대로 삽입한 채로 구성한다. 또한, 상위계층의 사용자 패킷 각각에 대해서도 삽입된 일련번호를 제거하고, 인접 사용자 패킷과의 일련번호 차이값을 삽입한 후에, 전송프레임을 구성할 수도 있다.Subsequently, the hierarchical transmission apparatus 100 configures a hierarchical transmission frame by combining a predetermined number of user packets (user packets stored in a layer buffer) and corresponding layer information for each layer (705). Different transmission schemes are transmitted for each layer (706). Here, the hierarchical transmission frame is configured to remove the inserted serial number for the user packets of the lower layer and to insert the already inserted serial number for the user packets of the upper layer. Also, the inserted frame number may be removed for each user packet of the upper layer, and the transport frame may be configured after inserting the difference of the serial number from the adjacent user packet.

도 8 은 본 발명에 따른 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 방법에 대한 일실시예 흐름도를 나타내는데, 이하에서는 엠펙 전송스트림과 그에 대한 타이밍 정보인 PCR을 예로 들어 설명하기로 한다.8 is a flowchart illustrating a method of recovering a multimedia data transport stream hierarchically transmitted according to the present invention. Hereinafter, an MPEG transport stream and PCR as timing information thereof will be described as an example.

도 1에서 엠펙 전송스트림의 복원 장치(120)를 설명하면서, 이미 엠펙 전송스트림의 복원 방법에 대해서도 함께 설명한 바 있으나, 여기서는 엠펙 전송스트림의 복원 장치(120)에 적용되는 엠펙 전송스트림의 복원 방법만을 별도로 설명하기로 한다.Although the restoration method of the MPEG transport stream has been described with reference to FIG. 1, the restoration method of the MPEG transport stream has already been described together with the present invention. It will be described separately.

먼저, 엠펙 전송스트림의 복원 장치(120)는 전송채널을 통하여 전송되는 계층적 전송프레임들을 수신하면, 그 수신된 전송프레임에서 사용자 패킷과 계층정보를 추출한다(801).First, when the restoration apparatus 120 of the MPEG transport stream receives hierarchical transport frames transmitted through a transport channel, the apparatus 120 extracts user packets and hierarchical information from the received transport frame (801).

그리고 나서, 엠펙 전송스트림의 복원 장치(120)는 추출된 사용자 패킷들에 대해서, 사용자 패킷에 있는 오류검출코드를 이용하여 전송 중에 오류가 발생한 패킷은 제거하고, 오류가 없는 사용자 패킷들은 추출된 계층정보를 이용하여 계층별로 분리 저장한다(802).Then, the restoration apparatus 120 of the MPEG transport stream removes packets having errors during transmission by using the error detection code in the user packets, and extracts the user packets without errors. In operation 802, the information is divided and stored in layers.

다음으로, 엠펙 전송스트림의 복원 장치(120)는 사용자 패킷에 있는 위치정보를 이용한 스케줄링을 통하여, 계층별로 저장된 사용자 패킷을 원래의 엠펙 전송스트림의 순서대로 복원한 후(803), 원래의 순서대로 복원된 각각의 사용자 패킷에서 오류검출코드와 위치정보를 제거하여 엠펙 전송스트림(MPEG TS) 패킷을 복원한다(804). Next, the restoration apparatus 120 of the MPEG transport stream restores the user packet stored for each layer in the order of the original MPEG transport stream through scheduling using the location information in the user packet (803), and then in the original order. The MPEG TS is restored by removing the error detection code and the location information from each recovered user packet (step 804).

여기서, "803"의 스케줄링 과정은, 사용자 패킷에 있는 위치정보를 이용하여 계층별로 저장된 사용자 패킷들을 원래의 엠펙 전송스트림의 순서에 맞게 복원하되, 오류가 발생하여 제거된 사용자 패킷이나 전송 중 손실된 사용자 패킷의 위치에는 빈 패킷("null")을 대신 출력하는 것을 특징으로 한다. 또한, 여기서의 위치정보는, 사용자 패킷의 일련번호 또는 인접한 사용자 패킷과의 일련번호 차이값을 말한다.Here, the scheduling process of "803", using the location information in the user packet to restore the user packets stored in each layer in the order of the original MPEG transport stream, the user packet that was removed due to an error or lost during transmission At the location of the user packet, an empty packet ("null") is output instead. In addition, the positional information here means the serial number of a user packet or the serial number difference value with an adjacent user packet.

이어서, 엠펙 전송스트림의 복원 장치(120)는 엠펙 전송스트림(MPEG TS) 패킷에 대하여 전송률을 변환하여 엠펙 전송스트림으로 외부 출력한다(805).Subsequently, the apparatus 120 for restoring the MPEG transport stream converts the transmission rate of the MPEG transport stream (MPEG TS) packet and externally outputs it to the MPEG transport stream (805).

도 9 는 본 발명에 따른 수신측에서 상위(HP)/하위(LP) 계층 모두 수신한 경우 도 1의 스케줄러에서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 상세흐름도이다.FIG. 9 is a detailed flowchart illustrating a method for reconstructing an MPEG transport stream in the scheduler of FIG. 1 when both the upper (HP) and lower (LP) layers are received by the receiving side according to the present invention.

엠펙 전송스트림의 복원 장치(120)에서의 주요한 과정은, 크게 오류검출코드(ECC)를 이용한 오류 검출 과정, 계층별 패킷 저장 과정, 및 일련번호 등의 위치정보를 이용하여 계층별로 저장된 사용자 패킷을 원래의 엠펙 전송스트림(MPEG TS)의 순서에 맞게 복원하는 과정 등으로 이루어진다. 여기서, 사용자 패킷의 구성은 도 2에 도시된 바와 같다.The main process in the restoration unit 120 of the MPEG transport stream includes user error stored in each layer using location information such as an error detection process using an error detection code (ECC), a packet storing process for each layer, and a serial number. Restoration is performed in the order of the original MPEG transport stream (MPEG TS). Here, the configuration of the user packet is as shown in FIG.

오류패킷제거 및 계층분리부(122)는 수신한 각 사용자 패킷에 대하여 오류검출코드(ECC)를 이용하여 오류 발생 여부를 검사한다. 이 때, 오류가 발생한 사용자 패킷은 더 이상 다음단으로 전송을 하지 않는데, 이는 오류검출코드(ECC)만으로는 오류가 어디서 발생하였는지를 알 수 없어 엠펙 전송스트림(MPEG TS) 뒤에 추가된 일련 번호가 올바른지를 알 수 없고, 만약 위의 두 정보(즉, 오류검출코드, 일련번호)에서 에러가 발생한 경우에는 추후 수신기가 올바르게 동작할 수 없기 때문이다.The error packet removal and layer separation unit 122 checks whether an error has occurred by using an error detection code (ECC) for each received user packet. At this time, an error user packet is no longer transmitted to the next stage, which means that the error detection code (ECC) alone does not know where the error occurred, so that the serial number added after the MPEG TS is correct. If the error occurs in the above two informations (ie error detection code and serial number), the receiver may not operate correctly later.

한편, 오류검출코드(ECC)를 이용한 오류 검출 과정의 수행 결과, 오류가 없는 경우에는, 입력받은 사용자 패킷을 계층에 따라서 해당 버퍼에 저장한다.On the other hand, if there is no error as a result of performing the error detection process using the error detection code (ECC), the received user packet is stored in the buffer according to the layer.

이하, 수신기가 HP/LP 두 계층 모두 수신이 가능할 경우, 스케줄러(125)가, 계층적으로 구분되어 저장된 사용자 패킷을 수신기가 해석할 수 있는 상태로 복원하는 방법을 상세하게 설명하면, 다음과 같다. 이하, 도 9의 흐름도의 설명과정에서의 패킷은 사용자 패킷을 의미한다.Hereinafter, when the receiver can receive both layers of HP / LP, the scheduler 125 will explain in detail how to restore the user packets hierarchically divided and stored into a state that can be interpreted by the receiver. . Hereinafter, the packet in the description process of the flowchart of FIG. 9 means a user packet.

수신측 스케줄링 처리를 위한 전역 변수 및 각 계층당 패킷을 임시로 저장할 수 있는 저장 장소의 할당 등 스케줄링 과정에 필요한 전체적인 시스템 초기화 과정을 수행한다(901).In operation 901, a global system initialization process required for the scheduling process, such as allocation of a global variable for receiving scheduling processing and a storage location for temporarily storing packets for each layer, is performed.

스케줄러(125)는 새로운 전송 프레임이 도착할 때까지 대기하다가(902), 새로운 전송 프레임이 도착하면, 변수를 초기화한다(903). 여기서, 새로운 프레임 도착 여부는 계층적 프레임 수신 및 사용자 패킷 추출부(121)가 스케줄러(125)에게 알려준다.The scheduler 125 waits until a new transmission frame arrives (902), and initializes a variable (903) when a new transmission frame arrives. Here, whether the new frame arrives or not, the hierarchical frame reception and user packet extracting unit 121 informs the scheduler 125.

여기서의 변수 초기화 과정을 상세하게 설명하면, 다음과 같다. 새로운 전송 프레임이 도착하는 시점에서 HP 버퍼/LP 버퍼 내에 있는 패킷 개수(이하, 현재 프레임에서 처리해야 될 HP패킷 총수(hp_pkts), 현재 프레임에 처리해야 될 LP패킷 총수(lp_pkts)라 한다)를 읽어 들여 그 값을 각각의 초기값으로 설정하고, 계층 버퍼로부터 가져와 처리된 각 계층의 패킷 수(hp_count, lp_count)를 "0"으로 설정하며, 다음 차례에 가져올 패킷의 타입(next_read_type)을 HP로 설정하며, 또한 한 패킷을 처리하는데 필요한 시간을 타이머로 설정하여 주기적으로 알람신호가 발생하도록 한다. A detailed description of the variable initialization process is as follows. Read the number of packets in the HP buffer / LP buffer (hereinafter referred to as the total number of HP packets to be processed in the current frame (hp_pkts) and the total number of LP packets to be processed in the current frame (lp_pkts) when a new transmission frame arrives. Set its initial value to its initial value, set the packet count (hp_count, lp_count) for each layer processed from the layer buffer to "0", and set the next packet type (next_read_type) to HP In addition, an alarm signal is periodically generated by setting a time required to process one packet as a timer.

이후, 이미 설정된 패킷 가져오기 알람 신호가 발생할 때까지 대기하다가(904), 만약 알람신호가 발생하면, 계층 버퍼로부터 가져올 패킷의 타입을 결정하고, 그 결정된 타입의 패킷을 해당 계층 버퍼로부터 가져온다(905)(보다 상세한 과정은 도 10a 및 10b 참조).Thereafter, the processor waits until a packet fetch alarm signal is generated (904), and if an alarm signal occurs, determines the type of packet to be fetched from the layer buffer, and obtains the packet of the determined type from the layer buffer (905). (See Figures 10A and 10B for more detailed procedures).

다음으로, 수신기가 재초기화되었는지를 확인하여(906), 만약 재초기화되지 않았다면, 다음으로 출력하여야 하는 패킷의 일련 번호(next_seq)(이하, 간단히, 넥스트출력패킷번호(next_seq)라 한다)가 현재 가지고 온 HP 패킷의 일련번호 (hp_seq)와 같은지를 확인하고(908), 만약 재초기화 되었으면(즉, 현재 처리가 수신 스케줄링 과정의 첫 시작인 경우이면) 다음에 출력하여야 하는 첫번째 패킷의 일련 번호(즉, 첫 넥스트출력패킷번호)(first next_seq)를 설정한 후(907)(도 11 참조), "908"과정을 수행한다.Next, the receiver checks whether the receiver has been reinitialized (906), and if not, the serial number (next_seq) of the packet to be output next (hereinafter, simply referred to as next_seq) is present. Check if the HP packet has the same serial number (hp_seq) (908), and if reinitialized (i.e., if the current process is the first start of the reception scheduling process) then the serial number of the first packet to be output ( That is, after setting the first next output packet number (first next_seq) (907) (see FIG. 11), the process 908 is performed.

"908" 과정의 확인 결과, 만약 넥스트출력패킷번호(next_seq)가 현재 가지고 온 HP 패킷의 일련번호(hp_seq)와 같으면, HP 패킷을 다음 단으로 출력하고 넥스트출력패킷번호 (next_seq)를 "1" 증가시킨 후(909), "913"을 수행한다. 한편, 넥스트출력패킷번호(next_seq)가 현재 가지고 온 HP패킷의 일련번호(hp_seq)와 같지 않으면, 넥스트출력패킷번호(next_seq)가 현재 가지고 온 LP 패킷의 일련번호(lp_seq)와 같은지를 다시 확인한다(910).If the next output packet number (next_seq) is the same as the serial number of the HP packet (hp_seq), the HP packet is output to the next stage and the next output packet number (next_seq) is set to "1". After incrementing 909, " 913 " On the other hand, if the next output packet number (next_seq) is not the same as the HP packet serial number (hp_seq), check again whether the next output packet number (next_seq) is the same as the serial number (lp_seq) of the LP packet. (910).

"910" 과정의 확인 결과, 넥스트출력패킷번호(next_seq)가 현재 가지고 온 LP 패킷의 일련번호(lp_seq)와 같으면, 현재 가지고 온 LP 패킷을 다음단으로 출력하고 넥스트출력패킷번호(next_seq)를 "1" 증가시킨 후(911), "913"을 수행한다.If the next output packet number (next_seq) is the same as the serial number (lp_seq) of the current LP packet, the outputted LP packet is output to the next step and the next output packet number (next_seq) is "". After increasing by 1 "(911)," 913 "is performed.

"910" 과정의 확인 결과, 넥스트출력패킷번호(next_seq)가 현재 가지고 온 LP 패킷의 일련번호(lp_seq)와도 같지 않으면, 즉 출력하여야 하는 일련 번호가 HP 패킷의 일련번호도 아니고 LP 패킷의 일련번호도 아니면, 다음 단으로 빈 패킷(null)을 출력시키고 넥스트출력패킷번호(next_seq)를 "1" 증가시킨다(912).As a result of checking the "910" process, if the next output packet number (next_seq) is not the same as the LP packet serial number (lp_seq), that is, the serial number to be output is not the serial number of the HP packet but the serial number of the LP packet. Otherwise, an empty packet (null) is output to the next stage and the next output packet number "next_seq" is incremented by "1" (912).

그리고 나서, 처음 프레임 시작할 때 설정된 HP, LP 프레임 내의 패킷 개수만큼의 패킷이 모두 처리되었는지를 확인하여(913), 만약 모두 처리되었으면 "902"로 돌아가 다음 프레임이 도착했는지를 확인하고, 만약 모두 처리되지 않았으면, "904"로 돌아가 "904"이하의 과정을 수행한다.Then, it checks whether all packets of the number of packets in the HP and LP frames set at the beginning of the first frame have been processed (913). If not, return to " 904 " and perform the procedure below " 904 ".

스케줄러(125)는 상기와 같은 스케줄링 과정을 통해서, 버퍼에 저장되어 있는 패킷들을 원래의 순서에 맞게 다음단(126)으로 출력할 수 있게 된다.The scheduler 125 may output the packets stored in the buffer to the next stage 126 in the original order through the scheduling process as described above.

도 10a 및 도 10b 는 본 발명에 따른 도 9에서의 계층버퍼들 중에서 가져올 사용자 패킷 결정 과정에 대한 일실시예 상세흐름도로서, 수신기가 HP/LP 두 계층 모두 수신이 가능할 경우 엠펙 전송스트림(MPEG TS) 복원 방법 중 '다음에 가져올 패킷의 타입을 결정하고 그 결정된 타입의 패킷을 가져오는 과정'(905)을 나타낸다. 이하, 도 10a 및 도 10b의 흐름도의 설명과정에서의 패킷은 사용자 패킷을 의미한다. FIG. 10A and FIG. 10B are detailed flowcharts illustrating a process of determining a user packet to be imported among the layer buffers in FIG. 9 according to the present invention. When a receiver can receive both layers of HP / LP, an MPEG transport stream (MPEG TS) ), A process of determining a type of a packet to be fetched next and retrieving a packet of the determined type (905). Hereinafter, the packet in the description process of the flowcharts of FIGS. 10A and 10B means a user packet.

먼저, 다음에 버퍼에서 읽어서 가져와야 할 패킷의 타입(next_read_type)을 확인하여(1001), HP인 경우에는 HP 버퍼로부터 한 패킷을 가져 온 후 저장하고, 해당 패킷의 일련번호(seq_no)를 이용하여 현재 가지고 온 HP패킷의 일련번호(hp_seq)를 설정하며, 버퍼로부터 가져와(즉, 읽어와) 처리된 HP 패킷의 현재 개수(hp_count)(이하, 간단히, 현재 처리된 HP패킷개수(hp_count)라 한다)를 "1" 증가시키고, 다음 차례에 읽어 올 패킷의 타입(next_read_type)을 LP로 설정한다(1002).First, check the packet type (next_read_type) to be read from the buffer next time (1001), and in case of HP, retrieve one packet from the HP buffer and store it, and then use the packet's serial number (seq_no). Sets the serial number (hp_seq) of the imported HP packet and the current number of HP packets processed (ie, read) from the buffer (ie, read) (hereinafter, simply referred to as HP_count). Is increased to "1", and the next type (next_read_type) of a packet to be read next is set to LP (1002).

한편, "1001"의 확인 결과, 다음에 읽어서 가져와야 할 패킷의 타입(next_read_type)이 LP인 경우에는, LP 버퍼로부터 한 패킷을 가져온 후 저장하고, 해당 패킷의 일련번호를 이용하여 HP 패킷의 일련번호를 설정하며, 버퍼로부터 가져와(즉, 읽어와) 처리된 LP 패킷의 현재 개수(lp_count)(이하, 간단히, 현재 처리된 LP패킷개수(lp_count)라 한다)를 "1" 증가시키고, 다음 차례에 읽어올 패킷의 타입(next_read_type)을 HP로 설정한다(1003).On the other hand, when the check result of "1001" indicates that the next packet to be read (next_read_type) is LP, the packet is retrieved from the LP buffer and stored, and the serial number of the HP packet using the serial number of the packet. To increase the current number of LP packets processed (ie read from the buffer) (lp_count) (hereafter simply referred to as the number of currently processed LP packets (lp_count)) by 1 The type (next_read_type) of the packet to be read is set to HP (1003).

현재 처리된 HP패킷개수(hp_count)와 현재 처리된 LP패킷개수(lp_count)에 따르면, 다음과 같은 다섯가지의 경우가 있을 수 있다. According to the currently processed HP packet count (hp_count) and the currently processed LP packet count (lp_count), there are five cases as follows.

첫번째 경우, 즉 현재 처리된 HP패킷개수(hp_count)나 현재 처리된 LP패킷개수(lp_count)가 "0"인 경우(1004), 다음 차례에 읽어 올 패킷의 타입(next_read type)을 LP로 설정한다(1005). 이는 새로운 프레임이 도착하여 이전 차례에 HP 패킷만 우선 읽어 들인 상태로 HP, LP 모두 읽어들이기 위함이다.In the first case, that is, if the number of HP packets currently processed (hp_count) or the number of currently processed LP packets (lp_count) is "0" (1004), the next packet type to be read next (next_read type) is set to LP. (1005). This is to read both HP and LP with the new frame first and only the HP packet read first.

두번째 경우, 즉 현재 처리된 HP패킷개수(hp_count) 및 현재 처리된 LP패킷개수(lp_count)가 "0"이 아니고(1004), 또한 현재 처리된 HP패킷개수(hp_count) 및 현재 처리된 LP패킷개수(lp_count)가 현재 프레임에서 처리되어야 할 HP/LP패킷 총수(lp_pkts, hp_pkts)보다 작은 경우에는(lp_count<lp_pkts 및 hp_count<hp_pkts) (1006), 넥스트출력패킷번호(next_seq)(즉, 다음에 출력하여야 할 패킷의 일련 번호)가 현재 가지고 온 HP패킷의 일련번호(hp_seq)나 현재 가지고 온 LP 패킷의 일련 번호(lp_seq)와 같은지의 확인 결과에 따라 다음과 같이 처리된다.In the second case, that is, the number of HP packets currently processed (hp_count) and the number of currently processed LP packets (lp_count) are not "0" (1004), and also the number of currently processed HP packets (hp_count) and the number of currently processed LP packets. If (lp_count) is less than the total number of HP / LP packets (lp_pkts, hp_pkts) to be processed in the current frame (lp_count <lp_pkts and hp_count <hp_pkts) (1006), the next output packet number (next_seq) According to the result of checking whether the packet's serial number) is equal to the HP packet's serial number (hp_seq) or the LP packet's serial number (lp_seq), it is processed as follows.

넥스트출력패킷번호(next_seq)가 현재 가지고 온 HP패킷의 일련번호(hp_seq)와 같으면(1007), 다음 차례에 읽어올 패킷의 타입(next_read type)을 LP로 설정한다(1008). 한편, 넥스트출력패킷번호(next_seq)가 현재 가지고 온 HP 패킷의 일련 번호(hp_seq)가 아닌(1007) LP 패킷의 일련 번호(lp_seq)와 같으면(1009), 다음 차례에 읽어올 패킷의 타입(next_read type)을 HP로 설정하고(1011), 만약 LP 패킷의 일련 번호(lp_seq)와도 같지 않으면(1009), 사용자에게 에러임을 알린다(1010).If the next output packet number (next_seq) is the same as the serial number (hp_seq) of the current HP packet (1007), the next packet type (next_read type) to be read next is set to LP (1008). On the other hand, if the next output packet number (next_seq) is equal to the LP packet serial number (lp_seq) instead of the current HP packet serial number (hp_seq) (1007) (1009), the next type of packet to be read (next_read) type) is set to HP (1011), and if it is not equal to the serial number (lp_seq) of the LP packet (1009), the user is informed that an error (1010).

세번째 경우(LP의 경우), 즉 현재 처리된 HP패킷개수(hp_count) 및 현재 처리된 LP패킷개수(lp_count)가 "0"이 아니고(1004), 또한 현재 처리된 LP패킷개수 (lp_count)가 현재 프레임에서 처리해야 될 LP패킷의 총수(lp_pkts)와 동일하고(lp_count==lp_pkts), 현재 처리된 HP패킷 개수(hp_count)가 현재 프레임에서 처리해야 될 HP패킷 총수(hp_pkts)보다 작으면(hp_count<hp_pkts)(1012), 다음 차례에 읽어올 패킷의 타입(next_read type)을 HP로 설정한다(1013).In the third case (LP), that is, the number of HP packets currently processed (hp_count) and the number of currently processed LP packets (lp_count) are not "0" (1004), and the number of currently processed LP packets (lp_count) is Equal to the total number of LP packets to be processed in the frame (lp_pkts) (lp_count == lp_pkts), and if the number of HP packets currently processed (hp_count) is less than the total number of HP packets to be processed in the current frame (hp_pkts) (hp_count < hp_pkts) (1012), and next_read type is set to HP (1013).

네번째 경우(HP의 경우), 즉 현재 처리된 HP패킷개수(hp_count) 및 lp_count가 "0"이 아니고(1004), 또한 현재 처리된 HP패킷개수(hp_count)가 현재 프레임 내에서 처리되어야 할 HP 패킷의 총수(hp_pkts)와 동일하고(hp_count==hp_pkts), 현재 처리된 LP패킷개수(lp_count)가 현재 프레임에서 처리해야 될 LP패킷 개수보다 작으면(lp_count<lp_pkts)(1014), 다음 차례에 읽어올 패킷의 타입을 LP로 설정한다(1015).In the fourth case (HP case), that is, the number of HP packets currently processed (hp_count) and lp_count is not "0" (1004), and the number of HP packets currently processed (hp_count) must be processed within the current frame. Equals the total number of hp packets (hp_pkts) (hp_count == hp_pkts), and if the number of LP packets currently processed (lp_count) is less than the number of LP packets to be processed in the current frame (lp_count <lp_pkts) (1014), read next The type of all packets is set to LP (1015).

다섯번째 경우(HP, LP 모두의 경우), 즉 현재 처리된 HP패킷개수(hp_count) 및 현재 처리된 LP패킷개수(lp_count)가 "0"이 아니고(1004), 또한 현재 처리된 HP패킷개수(hp_count)와 현재 처리된 LP패킷개수(lp_count)가 현 프레임 내에서 처리되어야 할 HP/LP 패킷의 총수(hp_pkts, lp_pkts)와 동일하면(1016), 현 프레임 내의 모든 패킷에 대한 처리가 완료되었음을 알리는 신호를 발생시킨다(1017). In the fifth case (both HP and LP), that is, the number of HP packets currently processed (hp_count) and the number of currently processed LP packets (lp_count) are not "0" (1004) and the number of currently processed HP packets ( hp_count) and the number of LP packets currently processed (lp_count) equal to the total number of HP / LP packets (hp_pkts, lp_pkts) to be processed within the current frame (1016), indicating that the processing for all packets within the current frame is complete. Generate a signal (1017).

한편, 위 어느 경우도 아니면, 사용자에게 에러임을 알린다(1018).On the other hand, if none of the above, the user is informed that the error (1018).

도 11 은 본 발명에 따른 도 9에서의 수신기 재초기화시에 출력해야 하는 첫번째 패킷(next_seq) 결정 과정(907)에 대한 일실시예 상세흐름도로서, 수신기가 HP/LP 두 계층 모두를 수신할 수 있는 경우 엠펙 전송스트림(MPEG TS) 복원 방법 중에서 수신기의 재초기화시에 출력해야 하는 첫번째 패킷을 결정하는 방법을 나타낸다. 이하, 도 11의 흐름도의 설명과정에서의 패킷은 사용자 패킷을 의미한다. FIG. 11 is a detailed flowchart of an embodiment of a first packet (next_seq) determination process 907 to be outputted when re-initializing a receiver in FIG. 9 according to the present invention, in which a receiver may receive both layers of HP / LP. If present, it indicates a method of determining the first packet to be output when re-initializing the receiver from MPEG TS. Hereinafter, the packet in the description process of the flowchart of FIG. 11 refers to a user packet.

현재 처리된 HP패킷개수(hp_count)(즉, 버퍼로부터 읽어 가져와 처리된 HP 패킷의 현재 개수) 또는 현재 처리된 LP패킷개수(lp_count)(즉, 버퍼로부터 가져와 처리된 LP 패킷의 현재 개수)가 "0"인지를 확인하여(1101), 어느 하나가 "0"이면 단순히 "908"과정으로 가고, 모두가 "0"이 아니면 도 9에 따라 버퍼로부터 가져오지 않은 계층의 패킷을 읽어들인 후 다음의 과정을 수행한다. 따라서, HP, LP 버퍼로부터 한 패킷씩 가져오게 된다.The number of HP packets currently processed (hp_count) (ie, the current number of HP packets read and processed from the buffer) or LP packets currently processed (ie, the current number of LP packets taken and processed from the buffer) are " 0 ", and if one is" 0 ", simply go to" 908 "process, and if all are not" 0 ", read the packet of the layer which is not taken from the buffer according to FIG. Perform the process. Therefore, one packet is taken from HP and LP buffers.

현재 가지고 온 HP 패킷의 일련 번호(hp_seq)가 현재 가지고 온 LP 패킷의 일련 번호(lp_seq)보다 큰지 여부를 확인하여(1102), 만약 HP 패킷의 일련 번호(hp_seq)가 LP 패킷의 일련 번호(lp_seq)보다 큰 경우에는 처음 처리해야 할 패킷의 일련번호를 LP의 패킷으로 결정한다(1103).Check if the serial number (hp_seq) of the HP packet that is currently imported is greater than the serial number (lp_seq) of the LP packet that is currently imported (1102), if the serial number (hp_seq) of the HP packet is the serial number (lp_seq) of the LP packet. If larger than), the serial number of the first packet to be processed is determined as a packet of LP (1103).

한편, 만약 현재 가지고 온 HP 패킷의 일련 번호(hp_seq)가 현재 가지고 온 LP 패킷의 일련 번호(lp_seq)보다 크지 않은 경우에는(1102), 다시 LP 패킷의 일련 번호(lp_seq)가 HP 패킷의 일련 번호(hp_seq)보다 "1" 큰 경우인지를 확인한다(1104).On the other hand, if the HP packet's serial number (hp_seq) is not greater than the LP packet's serial number (lp_seq) (1102), the LP packet's serial number (lp_seq) is again the HP packet's serial number. It is checked whether it is "1" larger than (hp_seq) (1104).

"1104"의 확인 결과, 현재 가지고 온 LP 패킷의 일련 번호(lp_seq)가 현재 가지고 온 HP 패킷의 일련 번호(hp_seq)보다 1 큰 경우에는, 처음 처리해야 할 패킷의 일련번호(즉, 첫 넥스트출력패킷번호(first next_seq))를 HP 패킷의 일련번호 (hp_seq)로 결정한다(1105).If the check result of "1104" indicates that the LP packet's serial number (lp_seq) is one greater than the HP packet's serial number (hp_seq), the serial number of the first packet to be processed (ie, the first next output). The packet number (first next_seq) is determined as the serial number (hp_seq) of the HP packet (1105).

"1104"의 확인 결과, 현재 가지고 온 LP 패킷의 일련 번호(lp_seq)가 현재 가지고 온 HP 패킷의 일련 번호(hp_seq)보다 1 큰 경우가 아니면, 처음 처리해야 할 패킷의 일련번호(즉, 첫 넥스트출력패킷번호(first next_seq))를 LP 패킷의 일련번호(lp_seq)으로 결정한다(1106).As a result of the check of "1104", the serial number of the first packet to be processed (that is, the first next message) unless the LP packet serial number (lp_seq) is greater than 1 than the HP packet serial number (hp_seq). The output packet number (first next_seq) is determined as the serial number (lp_seq) of the LP packet (1106).

도 12a 및 도 12b 는 본 발명에 따른 수신측에서 하위(LP) 계층만 수신한 경우 도 1의 스케줄러에서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 상세흐름도로서, 도 5에서 도시된 바와 같은 복원 과정을 구체적인 흐름도로 나타낸 것이다. 이하, 도 12a 및 도 12b 흐름도의 설명과정에서의 패킷은 사용자 패킷을 의미한다.12A and 12B are detailed flowcharts illustrating an embodiment of a method of restoring an MPEG transport stream in the scheduler of FIG. 1 when only a lower (LP) layer is received by a receiver according to the present invention. As shown in FIG. The restoration process is shown in a specific flowchart. Hereinafter, the packet in the description process of the flowcharts of FIGS. 12A and 12B means a user packet.

전송 채널이 정상 상태인 경우에는 HP와 LP가 모두 수신가능하지만, 채널 상태가 나쁜 경우에는 HP만 수신할 수 있는데, 이하에서는 수신기가 HP만 수신이 가능할 경우, HP 버퍼에 저장된 엠펙 전송스트림(MPEG TS) 패킷을 수신기가 해석할 수 있는 상태로 복원하는 방법을 상세히 설명하기로 한다.If the transmission channel is in a normal state, both HP and LP can receive, but if the channel is bad, only HP can receive. Hereinafter, if the receiver can only receive HP, the MPEG transmission stream (MPEG) stored in the HP buffer A method of restoring a TS) packet to a state that can be interpreted by the receiver will be described in detail.

먼저, 스케줄러(125)는 수신측 스케줄링 처리를 위한 전역 변수 및 HP 한 패킷을 임시로 저장할 수 있는 저장 장소를 할당하는 등 스케줄링 과정에 필요한 전체적인 초기화 과정를 수행한다(1201). 그리고, 한 패킷을 처리하는데 필요한 시간을 타이머로 설정하여 주기적으로 알람이 발생하도록 한다.First, the scheduler 125 performs an overall initialization process necessary for the scheduling process such as allocating a global variable for receiving scheduling processing and a storage location for temporarily storing one HP packet (1201). In addition, an alarm is generated periodically by setting a time required to process one packet as a timer.

스케줄러(125)는 새로운 전송 프레임이 도착할 때까지 기다리다가, 새로운 전송 프레임이 도착하면(1202), 새로운 전송 프레임이 도착하는 시점에서 버퍼 내에 있는 HP 패킷 수(즉, 현재 프레임에서 처리해야 될 HP패킷 총수(hp_pkts))를 읽어 설정하고, 현재 버퍼로부터 가져와 처리된 HP 패킷의 개수(hp_count)를 "0"으로 설정한다.The scheduler 125 waits for a new transmission frame to arrive, and then, when a new transmission frame arrives (1202), the number of HP packets in the buffer at the time the new transmission frame arrives (ie, the HP packets to be processed in the current frame). The total number (hp_pkts) is read and set, and the number (hp_count) of HP packets taken from the current buffer and processed is set to "0".

이후, 스케줄러(125)는 패킷을 가져올 시간을 알려주는 알람 신호가 발생할 때까지 기다리다가, 알람 신호가 발생하면(1204), 현재 처리된 HP패킷 개수(hp_count)가 현재 프레임에서 처리해야 될 HP패킷 총수(hp_pkts)보다 작은지 여부를 확인하여(1205), 만약 작으면 HP 버퍼에서 하나의 패킷을 가져온 후 현재 처리된 HP패킷 개수(hp_count)를 "1" 증가시키고, 해당 패킷의 일련번호(seq_no)를 현재 가져 온 HP 패킷의 일련번호(hp_seq)로 설정한다(1207). 만약, 현재 처리된 HP패킷 개수(hp_count)가 현재 프레임에서 처리해야 될 HP패킷 총수(hp_pkts)보다 작지 않으면(1205), 에러임을 알린다(1206).After that, the scheduler 125 waits until an alarm signal indicating a time for fetching a packet occurs, and when an alarm signal occurs (1204), the number of HP packets to be processed (hp_count) in the current frame is processed. Check if it is less than the total number (hp_pkts) (1205), if it is small, take one packet from the HP buffer, increase the number of currently processed HP packets (hp_count) by "1", and the serial number (seq_no) of the packet. ) Is set to the serial number (hp_seq) of the currently imported HP packet (1207). If the number of currently processed HP packets (hp_count) is not smaller than the total number of HP packets (hp_pkts) to be processed in the current frame (1205), an error is reported (1206).

다음으로, 수신기가 재초기화(재시작)되었는지를 확인하여(906), 만약 수신기가 재초기화(재시작)되었으면(즉, 수신기가 재시작되어 현재 처리 단계가 수신 스케줄링 과정의 첫 시작인 경우이면)(1208), 넥스트출력패킷번호(next_seq)(즉, 다음 차례에 출력하여야 할 패킷의 일련 번호)를 현재 가져온 HP 패킷의 일련 번호(hp_seq)로 설정한다(1209). Next, it is checked whether the receiver has been reinitialized (restarted) (906), if the receiver has been reinitialized (restarted) (ie, if the receiver is restarted and the current processing step is the first start of the reception scheduling process) (1208). Next, the next output packet number next_seq (that is, the serial number of the next packet to be output) is set to the serial number (hp_seq) of the currently obtained HP packet (1209).

한편, 수신기 재시작 여부(1208)의 확인 결과, 수신기가 재시작이 아니면, 넥스트출력패킷번호(next_seq)가 현재 가져온 HP의 일련번호(hp_seq)와 동일한지 여부를 검사하여(1210), 만약 동일하면 HP 패킷을 출력하고 넥스트출력패킷번호 (next_seq)를 "1" 증가시키고(1211), 만약 동일하지 않으면 빈 패킷을 생성하여 출력하고 넥스트출력패킷번호(next_seq)를 "1" 증가시킨다(1212).On the other hand, as a result of checking whether the receiver is restarted (1208), if the receiver is not restarted, it is checked whether the next output packet number (next_seq) is the same as the serial number (hp_seq) of the currently imported HP (1210), and if it is the same, HP The packet is output and the next output packet number (next_seq) is increased by "1" (1211). If it is not the same, an empty packet is generated and outputted, and the next output packet number (next_seq) is increased by "1" (1212).

다음으로, 현재 처리된 HP패킷 개수(hp_count)의 값이 현재 프레임 내에서 도착한 패킷의 수(hp_pkts)와 동일한지 여부를 확인하여(1213), 만약 동일하면 "1202"로 되돌아가 "1202"이하의 과정을 다시 반복하고, 만약 다르면 "1205"로 되돌아가 "1205"이하의 과정을 다시 반복한다.Next, it is checked whether the value of the currently processed HP packet count (hp_count) is the same as the number of packets arriving within the current frame (hp_pkts) (1213), and if it is the same, returns to "1202" and is less than "1202". Repeat the process of, and if it is different, return to "1205" and repeat the process of "1205" or less again.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

상기와 같은 본 발명은, 송신측에서는 일반적인 단일 출력 MPEG 다중화기의 출력(엠펙 전송스트림)을 계층적으로 분류하여 전송하고, 수신측에서는 특별한 MPEG TS 역다중화기를 사용하지 않고도 일반적인 MPEG TS 역다중화기를 통해서도 각 계층에 따른 선택적 수신을 가능하게 함으로써, 계층적 구조를 이용한 방송 시스템의 구성에 있어서 복잡도와 비용을 현저히 줄이는 효과가 있다.As described above, the present invention classifies and transmits the output (MPP transmission stream) of a general single output MPEG multiplexer on the transmitting side in a hierarchical manner. By enabling selective reception according to a layer, there is an effect that the complexity and cost are significantly reduced in the construction of a broadcast system using a hierarchical structure.

또한, 본 발명은, 에러가 발생할 수 있는 환경에서 MPEG-2 TS를 기반으로 계층적 전송 방식을 이용하여 방송 혹은 통신을 할 때 엠펙 전송스트림(MPEG TS)에 포함된 타이밍 정보(PCR) 등 중요한 정보를 가진 패킷을 가장 전송 성능이 우수한 계층으로 분류하여 전송함으로써, 수신기로 하여금 가장 열악한 채널 상황에서도 수신할 수 있게 하는 효과가 있다.In addition, the present invention is important for timing information (PCR) included in an MPEG transport stream (MPEG TS) when broadcasting or communicating using a hierarchical transmission method based on MPEG-2 TS in an environment where an error may occur. By classifying and transmitting a packet with information into a layer having the highest transmission performance, it is possible to allow a receiver to receive even in the worst channel conditions.

또한, 본 발명은, 타이밍 정보(PCR)등의 중요한 정보를 가진 패킷에 위치 정보(예를 들면, 일련번호 등)를 함께 전송함으로써, 수신측에서 원래의 엠펙 전송스트림(MPEG TS)내의 위치를 정확하고도 용이하게 복원하여 PCR 지터(jitter)가 발생하지 않게 하는 효과가 있다.In addition, the present invention transmits the position information (e.g., serial number, etc.) together in a packet having important information such as timing information (PCR), so that the position of the original MPEG transport stream (MPEG TS) at the receiving side can be determined. It is effective to restore accurately and easily so that PCR jitter does not occur.

도 1 은 본 발명에 따른 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치 및 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치의 일실시예 구성도, 1 is a block diagram illustrating a hierarchical transmission apparatus for transmitting multimedia data streams for preventing timing information jitter and an apparatus for restoring a multimedia data transmission stream transmitted hierarchically according to the present invention;

도 2 는 본 발명에 따른 도 1의 일련번호 삽입부 및 오류검출코드 삽입부에 대한 일실시예 설명도,FIG. 2 is a diagram illustrating an embodiment of the serial number insertion unit and the error detection code insertion unit of FIG. 1 according to the present invention; FIG.

도 3 은 계층적 전송 방식으로 인한 PCR 지터(Jitter) 발생에 대한 설명도,3 is an explanatory diagram for PCR jitter generation due to a hierarchical transmission method;

도 4 는 본 발명에 따른 수신측에서 상위(HP)/하위(LP) 계층 모두 수신한 경우에 있어서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 설명도,4 is a diagram illustrating an embodiment of a method for restoring an MPEG transport stream when both the upper (HP) and lower (LP) layers are received by the receiving side according to the present invention;

도 5 는 본 발명에 따른 수신측에서 상위(HP) 계층만 수신한 경우에 있어서의 엠펙 전송스트림의 복원에 대한 일실시예 설명도,FIG. 5 is a diagram for explaining restoration of an MPEG transport stream in a case where only a higher (HP) layer is received at a receiving side according to the present invention; FIG.

도 6 은 본 발명에 따른 도 1의 계층적 프레임화 및 전송부에서의 위치정보 전송 방법에 대한 일실시예 설명도,6 is a diagram for explaining a method of transmitting location information in the hierarchical framing and transmission unit of FIG. 1 according to the present invention;

도 7 은 본 발명에 따른 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법에 대한 일실시예 흐름도,7 is a flowchart illustrating a hierarchical transmission method of a multimedia data transport stream for preventing timing information jitter according to the present invention;

도 8 은 본 발명에 따른 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 방법에 대한 일실시예 흐름도,8 is a flowchart illustrating a method for reconstructing a hierarchically transmitted multimedia data transport stream according to the present invention;

도 9 는 본 발명에 따른 수신측에서 상위(HP)/하위(LP) 계층 모두 수신한 경우 도 1의 스케줄러에서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 상세흐름도,FIG. 9 is a detailed flowchart illustrating a method of restoring an MPEG transport stream in the scheduler of FIG. 1 when both the upper (HP) and lower (LP) layers are received by the receiving side according to the present invention;

도 10a 및 도 10b 는 본 발명에 따른 도 9에서의 계층버퍼들 중에서 가져올 사용자 패킷 결정 과정에 대한 일실시예 상세흐름도,10A and 10B are detailed flowcharts illustrating an embodiment of a user packet determination process to be imported among the layer buffers of FIG. 9 according to the present invention;

도 11 은 본 발명에 따른 도 9에서의 수신기 재초기화시에 출력해야 하는 첫번째 패킷(next_seq) 결정 과정에 대한 일실시예 상세흐름도,FIG. 11 is a detailed flowchart illustrating an embodiment of determining a first packet (next_seq) to be output when re-initializing a receiver in FIG. 9 according to the present invention; FIG.

도 12a 및 도 12b 는 본 발명에 따른 수신측에서 하위(LP) 계층만 수신한 경우 도 1의 스케줄러에서의 엠펙 전송스트림의 복원 방법에 대한 일실시예 상세흐름도이다.12A and 12B are detailed flowcharts illustrating an embodiment of a method for restoring an MPEG transport stream in the scheduler of FIG. 1 when only a lower (LP) layer is received at a receiver according to the present invention.

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

100: 엠펙 전송스트림의 계층적 전송 장치 101: MPEG TS 입력 정합부100: hierarchical transmission device of MPEG transport stream 101: MPEG TS input matching unit

102: 일련번호 삽입부 103: 오류검출코드 삽입부102: serial number insertion unit 103: error detection code insertion unit

104: 계층정보 테이블 저장부 105: 계층 분리부104: hierarchical information table storage unit 105: hierarchical separation unit

106, 107: 계층 버퍼 108: 계층적 프레임화 및 전송부106 and 107: hierarchical buffer 108: hierarchical framing and transmission unit

120: 엠펙 전송스트림 복원 장치120: MPEG transmission stream restoration device

121: 계층적 프레임 수신 및 사용자 패킷 추출부121: hierarchical frame receiving and user packet extracting unit

122: 오류패킷제거 및 계층분리부 123, 124: 계층 버퍼122: Error packet removal and layer separation unit 123, 124: Layer buffer

125: 스케줄러125: scheduler

126: 오류검출코드/일련번호 제거부 127: MPEG TS 출력 정합부126: error detection code / serial number removal unit 127: MPEG TS output matching unit

Claims (15)

멀티미디어데이터 전송스트림(TS: Transport Stream)의 계층적 전송 장치에 있어서,In the hierarchical transmission device of the multimedia data transport stream (TS), 외부로부터 인코딩된 멀티미디어데이터 전송스트림을 입력받아 패킷 단위로 구분하기 위한 입력 정합 수단;Input matching means for receiving an encoded multimedia data transport stream from the outside and classifying the packet into packet units; 상기 입력 정합 수단으로부터 출력되는 각각의 멀티미디어데이터 전송스트림 (TS) 패킷에 대하여 입력순서에 따라 일련번호를 삽입하기 위한 일련번호 삽입 수단;Serial number inserting means for inserting serial numbers in accordance with an input order for each multimedia data transport stream (TS) packet outputted from said input matching means; 상기 일련번호가 삽입된 멀티미디어데이터 전송스트림(TS) 패킷에 오류검출코드(Error Check Code)를 삽입하여 사용자 패킷을 생성하기 위한 오류검출코드 삽입 수단;Error detection code insertion means for inserting an error check code into the multimedia data transmission stream (TS) packet having the serial number inserted therein to generate a user packet; 사용자가 지정한, 패킷에 대한 계층정보를 저장하는 계층정보 저장 수단;Hierarchical information storage means for storing hierarchical information about a packet designated by a user; 상기 저장되어 있는 계층정보를 이용하여, 상기 오류검출코드 삽입 수단으로부터 출력되는 상기 사용자 패킷(User Packet)을 계층적으로 분리하기 위한 계층 분리 수단;Hierarchical separation means for hierarchically separating the user packet output from the error detection code insertion means by using the stored hierarchical information; 상기 계층적으로 분리된 사용자 패킷들을 계층별로 분리하여 저장하기 위한 계층 저장 수단; 및Hierarchical storage means for dividing and storing the hierarchically separated user packets by layers; And 계층별로 소정의 개수만큼의 상기 저장된 사용자 패킷들과 해당 계층정보를 묶어 계층적 전송프레임을 구성하고, 상기 구성된 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송하기 위한 계층적 프레임화 및 전송 수단Hierarchical framing and transmission means for combining a predetermined number of stored user packets and corresponding layer information for each layer to form a hierarchical transmission frame, and transmitting the hierarchical transmission frame by different transmission methods for each layer. 을 포함하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치.Hierarchical transmission device of the multimedia data transport stream for preventing timing information jitter comprising a. 제 1 항에 있어서,The method of claim 1, 상기 계층 분리 수단의 계층분리 과정은,The layer separation process of the layer separation means, 상기 계층정보를 이용하여 상기 사용자 패킷들을 계층적으로 분리하되, 타이밍정보를 포함하는 사용자 패킷을 상위계층으로 분리하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치.And hierarchically separating the user packets using the hierarchical information, and dividing the user packet including timing information into a higher layer. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 계층적 프레임화 및 전송 수단의 전송프레임 구성 과정은,The hierarchical framing and transmission frame configuration process of the transmission means, 하위계층의 사용자 패킷들에 대해서는 상기 삽입된 일련번호를 제거하여 전송프레임을 구성하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치.The hierarchical transmission apparatus of the multimedia data transport stream for preventing timing information jitter, characterized in that a transport frame is formed by removing the inserted serial number for user packets of a lower layer. 제 3 항에 있어서,The method of claim 3, wherein 상기 계층적 프레임화 및 전송 수단의 전송프레임 구성 과정은,The hierarchical framing and transmission frame configuration process of the transmission means, 상위계층의 사용자 패킷 각각에 대해서 상기 삽입된 일련번호를 제거하고, 인접 사용자 패킷과의 일련번호 차이값을 삽입한 후에, 전송프레임으로 구성하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 장치.Removing the inserted serial number for each user packet of the upper layer, and inserting the difference value of the serial number with the adjacent user packet, multimedia data transport stream for preventing jitter timing information, characterized in that configured as a transport frame Hierarchical transmission device. 멀티미디어데이터 전송스트림 복원 장치에 있어서,In the multimedia data transmission stream restoration apparatus, 전송채널을 통하여 전송되는 계층적 전송프레임들을 수신하고, 상기 수신된 전송프레임에서 사용자 패킷과 계층정보를 추출하기 위한 계층적 프레임 수신 및 사용자 패킷 추출 수단;Hierarchical frame receiving and user packet extracting means for receiving hierarchical transport frames transmitted through a transport channel and extracting user packets and hierarchical information from the received transport frame; 상기 추출된 사용자 패킷에 있는 오류검출코드를 이용하여 전송 중에 오류가 발생한 사용자 패킷을 제거하고, 오류가 없는 사용자 패킷들은 상기 추출된 계층정보를 이용하여 계층별로 분리하기 위한 오류패킷 제거 및 계층분리 수단;Error packet removal and layer separation means for removing a user packet having an error during transmission by using an error detection code in the extracted user packet, and separating user packets without errors by layers using the extracted layer information. ; 상기 오류패킷 제거 수단으로부터 출력되는 사용자 패킷을 계층마다 별개로 저장하기 위한 계층 저장 수단;Hierarchical storage means for separately storing user packets outputted from the error packet removing means for each hierarchical layer; 상기 계층 저장 수단에 계층별로 저장된 사용자 패킷들을, 상기 사용자 패킷에 있는 위치정보를 이용하여 원래의 멀티미디어데이터 전송스트림의 순서대로 복원하기 위한 스케줄링 수단;Scheduling means for restoring user packets stored for each layer in the hierarchical storage means in the order of the original multimedia data transport stream using location information in the user packet; 상기 스케줄링되어 원래의 순서대로 복원된 사용자 패킷에서 오류검출코드와 위치정보를 제거하여 멀티미디어데이터 전송스트림(TS) 패킷을 복원하기 위한 오류검출코드/위치정보 제거 수단; 및Error detection code / location information removal means for restoring a multimedia data transport stream (TS) packet by removing the error detection code and location information from the scheduled and restored original user packet; And 상기 복원된 멀티미디어데이터 전송스트림(TS) 패킷을 입력받아 전송률을 변환하여 멀티미디어데이터 전송스트림(TS)으로 출력하기 위한 출력 정합 수단Output matching means for receiving the restored multimedia data transport stream (TS) packet and converting a data rate to output the multimedia data transport stream (TS); 을 포함하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치.Apparatus for restoring a hierarchically transmitted multimedia data transport stream comprising a. 제 5 항에 있어서,The method of claim 5, 상기 스케줄링 수단에서의 전송스트림 복원 과정은,The transport stream restoration process in the scheduling means, 상기 사용자 패킷에 있는 위치정보를 이용하여 상기 계층 저장 수단에 저장된 사용자 패킷들을 원래의 멀티미디어데이터 전송스트림의 순서와 일치되도록 상기 오류검출코드/일련번호 제거 수단으로 출력하되, 상기 오류패킷 제거 수단에서 에러가 발생하여 제거된 사용자 패킷이나 전송 중 손실된 사용자 패킷의 위치에는 빈 패킷("null")을 대신 출력하는 것을 특징으로 하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치.Output the user packets stored in the hierarchical storage means to the error detection code / serial number removal means using the location information in the user packet so as to match the sequence of the original multimedia data transport stream. And an empty packet ("null") is output at the position of the user packet that has been eliminated and lost during transmission. 제 6 항에 있어서,The method of claim 6, 상기 위치정보는,The location information, 사용자 패킷의 일련번호 또는 인접한 사용자 패킷과의 일련번호 차이값인 것을 특징으로 하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치.And a serial number difference value of a user packet or a serial number difference between adjacent user packets. 제 5 항 내지 제 7 항 중 어느 한 항에 있어서,The method according to any one of claims 5 to 7, 상기 출력 정합 수단의 전송률 변환 과정은,The rate conversion process of the output matching means, 상기 멀티미디어데이터 전송스트림(TS) 패킷 내에 시간정보(time stamp)가 있는 경우에는 상기 시간정보(time stamp)를 이용하여 멀티미디어데이터 전송스트림(TS)의 전송률을 변환하는 것을 특징으로 하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 장치.When there is a time stamp in the multimedia data transmission stream (TS) packet, the transmission rate of the multimedia data transmission stream (TS) is converted hierarchically by using the time stamp. Device for restoring a multimedia data transmission stream. 멀티미디어데이터 전송스트림의 계층적 전송 방법에 있어서,In the hierarchical transmission method of the multimedia data transport stream, 외부로부터 인코딩된 멀티미디어데이터 전송스트림(TS)을 입력받아 패킷 단위로 구분하는 입력 정합 단계;An input matching step of receiving an encoded multimedia data transport stream (TS) from the outside and classifying the packet into packet units; 상기 입력 정합 단계에서 구분된 각각의 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 입력순서에 따라 일련번호를 삽입하고, 상기 일련번호가 삽입된 멀티미디어데이터 전송스트림(TS) 패킷에 오류검출코드(Error Check Code)를 삽입하여 사용자 패킷을 생성하는 일련번호/오류검출코드 삽입 단계;A serial number is inserted according to the input order for each multimedia data transmission stream (TS) packet classified in the input matching step, and an error check code is inserted into the multimedia data transmission stream (TS) packet in which the serial number is inserted. Inserting a serial number / error detection code to insert a code) to generate a user packet; 사용자가 지정한, 패킷에 대한 계층정보를 이용하여, 상기 일련번호와 오류검출코드가 삽입된 사용자 패킷(User Packet)들을 계층적으로 분리하여 저장하는 계층 분리 단계; 및A hierarchical separation step of hierarchically separating and storing the user packets into which the serial number and the error detection code are inserted, using the hierarchical information on the packet designated by the user; And 계층별로 소정의 개수만큼의 상기 저장된 사용자 패킷들과 해당 계층정보를 묶어 계층적 전송프레임을 구성하고, 상기 구성된 계층적 전송프레임을 계층별로 전송방식을 달리하여 전송하는 계층적 프레임화 및 전송 단계A hierarchical framing and transmission step of forming a hierarchical transmission frame by combining a predetermined number of stored user packets for each layer and corresponding layer information, and transmitting the configured hierarchical transmission frame by different transmission methods for each layer. 를 포함하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법.Hierarchical transmission method of a multimedia data transport stream for preventing jitter timing information comprising a. 제 9 항에 있어서,The method of claim 9, 상기 계층 분리 단계에서의 계층분리 과정은,The layer separation process in the layer separation step, 상기 사용자가 지정한 계층정보를 이용하여 상기 사용자 패킷들을 계층적으로 분리하되, 타이밍정보를 포함하는 사용자 패킷을 상위계층으로 분리하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법.Hierarchically separating the user packets using hierarchical information designated by the user, hierarchically transmitting the multimedia data transport stream for preventing timing information jitter, wherein the user packet including timing information is separated into a higher layer. Way. 제 9 항 또는 제 10 항에 있어서,The method according to claim 9 or 10, 상기 계층적 프레임화 및 전송 단계에서의 전송프레임 구성 과정은,The transport frame configuration process in the hierarchical framing and transmission step, 하위계층의 사용자 패킷들에 대해서는 상기 삽입된 일련번호를 제거하여 전송프레임을 구성하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법.A method of hierarchical transmission of a multimedia data transport stream for preventing timing information jitter, characterized in that a transport frame is formed by removing the inserted serial number for user packets of a lower layer. 제 11 항에 있어서,The method of claim 11, 상기 계층적 프레임화 및 전송 단계에서의 전송프레임 구성 과정은,The transport frame configuration process in the hierarchical framing and transmission step, 상위계층의 사용자 패킷 각각에 대해서 상기 삽입된 일련번호를 제거하고, 인접 사용자 패킷과의 일련번호 차이값을 삽입한 후에, 전송프레임으로 구성하는 것을 특징으로 하는 타이밍정보 지터 방지를 위한 멀티미디어데이터 전송스트림의 계층적 전송 방법.Removing the inserted serial number for each user packet of the upper layer, and inserting the difference value of the serial number with the adjacent user packet, multimedia data transport stream for preventing jitter timing information, characterized in that configured as a transport frame Hierarchical Transmission Method. 멀티미디어데이터 전송스트림 복원 방법에 있어서,In the multimedia data transmission stream restoration method, 전송채널을 통하여 전송되는 계층적 전송프레임들을 수신하고, 상기 수신된 전송프레임에서 사용자 패킷과 계층정보를 추출하는 계층적 프레임 수신 및 사용자 패킷 추출 단계;Receiving hierarchical transport frames transmitted through a transport channel, and extracting hierarchical frame and hierarchical information from the received transport frame; 상기 추출된 사용자 패킷에 있는 오류검출코드를 이용하여 전송 중에 오류가 발생한 사용자 패킷(Error Packet)은 제거하고, 오류가 없는 사용자 패킷들은 상기 추출된 계층정보를 이용하여 계층별로 분리 저장하는 오류패킷 제거 및 계층별 저장 단계;Eliminates an error packet generated during transmission by using an error detection code in the extracted user packet, and removes an error packet that separates and stores error-free user packets for each layer using the extracted layer information. And storing by layer; 상기 사용자 패킷에 있는 위치정보를 이용한 스케줄링을 통하여, 상기 계층별로 저장된 사용자 패킷을 원래의 멀티미디어데이터 전송스트림(TS)의 순서대로 복원하는 스케줄링 단계;A scheduling step of restoring the user packet stored for each layer in order of the original multimedia data transport stream (TS) through scheduling using location information in the user packet; 상기 스케줄링 단계에 의하여 원래의 순서에 맞게 복원된 사용자 패킷에서 오류검출코드와 위치정보를 제거하여 멀티미디어데이터 전송스트림(TS) 패킷을 복원하는 오류검출코드/위치정보 제거 단계; 및An error detection code / location information removal step of restoring a multimedia data transmission stream (TS) packet by removing the error detection code and location information from the user packets restored in the original order by the scheduling step; And 상기 복원된 멀티미디어데이터 전송스트림(TS) 패킷에 대하여 전송률을 변환하여 멀티미디어데이터 전송스트림(TS)으로 출력하는 출력 정합 단계An output matching step of converting a transmission rate for the restored multimedia data transport stream (TS) packet and outputting the multimedia data transport stream (TS); 를 포함하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 방법.Method of restoring a hierarchically transmitted multimedia data transport stream comprising a. 제 13 항에 있어서,The method of claim 13, 상기 스케줄링 단계에서의 전송스트림 복원 과정은,Transport stream restoration process in the scheduling step, 상기 사용자 패킷에 있는 위치정보를 이용하여 상기 계층별로 저장된 사용자 패킷들을 원래의 멀티미디어데이터 전송스트림의 순서에 맞게 복원하되, 오류가 발생하여 제거된 사용자 패킷이나 전송 중 손실된 사용자 패킷의 위치에는 빈 패킷("null")을 대신 출력하는 것을 특징으로 하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 방법.Using the location information in the user packet, the user packets stored for each layer are restored in the order of the original multimedia data transport stream, but an empty packet is located at the location of the user packet lost due to an error or a user packet lost during transmission. and restoring ("null") instead. 제 14 항에 있어서,The method of claim 14, 상기 위치정보는,The location information, 사용자 패킷의 일련번호 또는 인접한 사용자 패킷과의 일련번호 차이값인 것을 특징으로 하는 계층적으로 전송된 멀티미디어데이터 전송스트림의 복원 방법.And a serial number difference value of a user packet or a serial number difference between adjacent user packets.
KR1020040044016A 2003-12-27 2004-06-15 Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically KR100579132B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/983,081 US7415528B2 (en) 2003-12-27 2004-11-04 Apparatus and method for transmitting hierarchically multimedia data TS to prevent jitter of timing information and for recovering the multimedia data TS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020030098279 2003-12-27
KR20030098279 2003-12-27

Publications (2)

Publication Number Publication Date
KR20050066950A true KR20050066950A (en) 2005-06-30
KR100579132B1 KR100579132B1 (en) 2006-05-12

Family

ID=37257940

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040044016A KR100579132B1 (en) 2003-12-27 2004-06-15 Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically

Country Status (1)

Country Link
KR (1) KR100579132B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100768105B1 (en) * 2005-12-09 2007-10-18 한국전자통신연구원 Apparatus and Method for Multiplexing and Demultiplexing for Delivering MPEG-2 TS Packet Error Signal through CableCARD Interface
KR100799669B1 (en) * 2006-06-20 2008-01-30 삼성전자주식회사 Information communication method and device for improving the transmitting and receiving efficiency of video signals
WO2013112027A1 (en) * 2012-01-26 2013-08-01 한국전자통신연구원 Method for estimating network jitter in apparatus for transmitting coded media data
KR102035148B1 (en) * 2018-11-05 2019-10-22 전자부품연구원 360 VR image division transmission system and method
US11057605B2 (en) 2018-11-05 2021-07-06 Korea Electronics Technology Institute 360-degree VR video segmentation transmission system and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101401879B1 (en) * 2008-01-09 2014-05-29 엘지전자 주식회사 Data Transmitter/Receiver for transmitting/receiving data encoded into multiple layers and Method for transmitting data encoded into multiple layers using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3458376B2 (en) 1999-06-22 2003-10-20 横河電機株式会社 Transport stream generator
JP4491970B2 (en) 2001-01-10 2010-06-30 ソニー株式会社 Digital signal multiplexer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100768105B1 (en) * 2005-12-09 2007-10-18 한국전자통신연구원 Apparatus and Method for Multiplexing and Demultiplexing for Delivering MPEG-2 TS Packet Error Signal through CableCARD Interface
KR100799669B1 (en) * 2006-06-20 2008-01-30 삼성전자주식회사 Information communication method and device for improving the transmitting and receiving efficiency of video signals
US8189684B2 (en) 2006-06-20 2012-05-29 Samsung Electronics Co., Ltd. Video data communication method and apparatus for improving transmission efficiency
WO2013112027A1 (en) * 2012-01-26 2013-08-01 한국전자통신연구원 Method for estimating network jitter in apparatus for transmitting coded media data
KR102035148B1 (en) * 2018-11-05 2019-10-22 전자부품연구원 360 VR image division transmission system and method
WO2020096117A1 (en) * 2018-11-05 2020-05-14 전자부품연구원 System and method for transmitting 360 vr video segments
US11057605B2 (en) 2018-11-05 2021-07-06 Korea Electronics Technology Institute 360-degree VR video segmentation transmission system and method

Also Published As

Publication number Publication date
KR100579132B1 (en) 2006-05-12

Similar Documents

Publication Publication Date Title
US7110412B2 (en) Method and system to transport high-quality video signals
US20200145184A1 (en) Transmitting system, transmission slotting apparatus, receiving apparatus, and transmission slot generating method
US5930251A (en) Multimedia information processing system
EP2362653A1 (en) Transport stream packet header compression
JP2007104085A (en) Digital broadcast method and apparatus employing communication line
CN102118242B (en) Reception apparatus and method, program and reception system
KR20070075549A (en) Digital broadcasting system and processing method
RU2663205C2 (en) Data processing device and method
US20110051745A1 (en) Method of encapsulating data in digital satellite communication system, and data transmission apparatus therefor
EP1705842B1 (en) Apparatus for receiving packet stream
JP7397916B2 (en) Reception method and terminal
US7415528B2 (en) Apparatus and method for transmitting hierarchically multimedia data TS to prevent jitter of timing information and for recovering the multimedia data TS
CN110048764B (en) Method and system for transmitting satellite signal and receiver thereof
JP2008061150A (en) Receiver and information processing method
KR100579132B1 (en) Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically
CN102118342B (en) Reception apparatus and method, program and reception system
JP2012060311A (en) Stream dividing apparatus and reception apparatus
CN107710627B (en) Communication device, communication system, communication method, and program
JP2001308876A (en) Information transmission system, transmitter and receiver
RU2660837C2 (en) Data processing device and data processing method
US20100104026A1 (en) Method for processing a steam of multiplexed packets transporting multimedia data according to an MPEG-2 type format
RU2678515C2 (en) Data processing device and data processing method
KR101696191B1 (en) Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame
CN116405103B (en) Data transmission method and device based on channel bundling and storage medium
JP3172425B2 (en) Multimedia information transmission system, multimedia information reception system, multimedia information transmission method, and multimedia information reception method

Legal Events

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

Payment date: 20110429

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee