KR20000025330A - Method for transmitting/receiving transport stream packet with constant bit ratio through aal 5 - Google Patents

Method for transmitting/receiving transport stream packet with constant bit ratio through aal 5 Download PDF

Info

Publication number
KR20000025330A
KR20000025330A KR1019980042364A KR19980042364A KR20000025330A KR 20000025330 A KR20000025330 A KR 20000025330A KR 1019980042364 A KR1019980042364 A KR 1019980042364A KR 19980042364 A KR19980042364 A KR 19980042364A KR 20000025330 A KR20000025330 A KR 20000025330A
Authority
KR
South Korea
Prior art keywords
cpcs
atm
pdu
cell
packet
Prior art date
Application number
KR1019980042364A
Other languages
Korean (ko)
Other versions
KR100278846B1 (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 KR1019980042364A priority Critical patent/KR100278846B1/en
Publication of KR20000025330A publication Critical patent/KR20000025330A/en
Application granted granted Critical
Publication of KR100278846B1 publication Critical patent/KR100278846B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
    • H04L2012/5653Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL]
    • H04L2012/5658Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL] using the AAL5

Abstract

PURPOSE: A method for transmitting/receiving a TS(Transport Stream) packet is provided to detect data error/loss with cell levels in a reception terminal, when receiving a CBR(Constant Bit Ratio) TS packet, and to prevent disuse of an HDTV(High Definition TV) TS packet for cell error/loss. CONSTITUTION: A method for transmitting/receiving a TS(Transport Stream) packet of CBR(Constant Bit Ratio) and an ATM(Asynchronous Transfer Mode) layer through an AAL(ATM Adaptive Layer) 5, comprises the steps of: receiving the CBR TS packet from an application layer, and generating a CPCS(Common Part Convergence Sublayer)-PDU(Protocol Data Unit), composed of user information including more than one CBR TS and a trailer; dividing the CPCS-PDU into a plurality of ATM cells in which sequence numbers are inserted, and transmitting to the ATM layer of a transmission terminal; receiving the ATM cells from the ATM layer of a reception layer, and sensing whether damage of the ATM cells is generated by comparing the sequence numbers.

Description

에이에이엘5를 통한 고정 전송 속도의 전송 스트림 패킷의 송수신 방법Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5

본 발명은 고정 전송 속도(constant bit ratio; 이하 'CBR'이라 함) 특성을 가지는 전송 스트림(transport stream; 이하 'TS'라 함) 패킷의 송수신 방법에 관한 것으로서, 특히 AAL(ATM Adaptive Layer) 타입 5(이하 'AAL 5'라 함)를 통한 CBR특성의 HDTV(high definition TV)의 TS 패킷의 송수신 방법에 관한 것이다.The present invention relates to a method for transmitting and receiving a transport stream (hereinafter referred to as a "TS") packet having a constant bit rate (hereinafter referred to as "CBR") characteristics, in particular, AAL (ATM Adaptive Layer) type The present invention relates to a TS packet transmission / reception method of a high definition TV (HDTV) having a CBR characteristic through 5 (hereinafter, referred to as 'AAL 5').

국제 전기통신연합 전기통신 표준화 부분(이하 'ITU-T'라 함)에서 규정한 AAL에는 5가지 타입이 있으나, 현재 업계에서 실제 가장 많이 사용되는 AAL 타입은 가장 간단한 프로토콜을 갖고 있는 AAL 5이다.There are five types of AALs defined by the International Telecommunication Union Telecommunication Standardization Section (hereinafter referred to as 'ITU-T'), but the most commonly used AAL type in the industry is AAL 5, which has the simplest protocol.

예컨대, CBR MPEG(moving picture expert group), VOD(video on demand) 등이 CBR 전송 특성에도 불구하고 AAL 5를 사용하여 통신하도록 규정되었고, 앞으로 CBR 특성을 갖는 멀티미디어 데이터들도 AAL 5를 통해 통신이 이뤄질 것으로 예상되고 있다. 또한 ATM 연결에 대한 시그널링(signaling)은 반드시 AAL 5를 통해 수행하도록 지정되어 있기 때문에 앞으로도 AAL 5에 대한 활용도는 계속해서 높아질 것으로 전망된다.For example, CBR moving picture expert group (MPEG), video on demand (VOD), etc. have been specified to communicate using AAL 5 despite CBR transmission characteristics, and multimedia data having CBR characteristics can also be communicated using AAL 5 in the future. It is expected to come true. In addition, because signaling for ATM connections is specified to be performed through AAL 5, the utilization of AAL 5 is expected to continue to increase.

이하에서는 종래 AAL 5에서 적용되는 전송 스트림 패킷의 송수신 방법에 대하여 설명한다.Hereinafter, a method of transmitting and receiving a transport stream packet applied to the conventional AAL 5 will be described.

먼저, 도1을 참조하여 AAL층과 이의 상위 및 하위 계층으로부터의 TS 패킷 데이터의 송수신에 대하여 설명한다.First, the transmission and reception of TS packet data from the AAL layer and its upper and lower layers will be described with reference to FIG.

도1에 도시한 바와 같이, TS 패킷 데이터의 송수신을 위한 계층 구조는 물리층(40a, 40b)을 최하위층으로 하여, 그 위에 각각 ATM(asynchronous transfer mode; 비동기 전송 모드) 층(30a, 30b), AAL 층(20a, 20b)과 애플리케이션 계층(10a, 10b)으로 이루어진다. 여기서, AAL 층은 CPCS(common part convergence sublayer; 공통부 컨버젼스 서브층)와 SAR(segmentation and reassembly sublayer; 셀분할 조립 서브층)로 이루어진다.As shown in Fig. 1, the hierarchical structure for transmitting and receiving TS packet data has the physical layers 40a and 40b as the lowermost layers, and the ATM (asynchronous transfer mode) layers 30a and 30b and AAL thereon, respectively. It consists of layers 20a and 20b and application layers 10a and 10b. Here, the AAL layer is comprised of a common part convergence sublayer (CPCS) and a segmentation and reassembly sublayer (SAR).

ITU-T I.363을 이용하여 CBR HDTV TS 패킷을 송신하는 경우, HDTV의 부호화 시스템이 ATM 프로토콜 스택에서 최상위에 있는 애플리케이션 계층(10a)이 된다.When transmitting CBR HDTV TS packets using ITU-T I.363, the coding system of HDTV becomes the application layer 10a at the top of the ATM protocol stack.

이 때, H.222.1에서 규정한 시스템에서는 애플리케이션 계층(10a)으로부터 188 바이트의 고정 크기를 갖는 HDTV TS 패킷 두 개를 받아 376 바이트 크기의 CPCS 서비스 데이터 단위 (SDU; service data unit)를 생성한다.At this time, the system defined in H.222.1 receives two HDTV TS packets having a fixed size of 188 bytes from the application layer 10a and generates a 376-byte CPCS service data unit (SDU).

생성된 CPCS SDU는 CPCS-UNITDATA invoke primitive의 CPCS-ID(interface data) 파라미터(사용자 정보)를 통해 AAL 5 CPCS 계층(24a)에 전달된다. 이와 함께 CPCS 사용자 사이의 사적 (private) 데이터는 CPCS-UU(user to user indication; 사용자간 표시) 파라미터를 통해 이루어지며, 해당 CPCS SDU에 대한 손실 우선 순위는 CPCS-LP(loss priority) 파라미터를 통해 이뤄진다. 또한, CPCS-CI(congestion indicator) 파라미터는 해당 CPCS SDU가 ATM 네트웍에서 혼잡(congestion)을 경험했는지의 여부를 나타내는 데 사용되고, M 파라미터는 해당 CPCS-UNITDATA invoke primitive의 CPCS-ID 파라미터를 통해 전달하는 데이타가 전송해야 할 CPCS SDU 전체를 포함하고 있는지 혹은 일부만 포함하고 있는지를 나타낸다. 즉, M 파라미터가 0이면 더 이상 전송할 CPCS SDU가 없다는 것을 나타내는데, HDTV TS패킷을 전송할 때에는 M 파라미터는 0을 갖게 된다.The generated CPCS SDU is delivered to the AAL 5 CPCS layer 24a through a CPCS-ID (interface data) parameter (user information) of the CPCS-UNITDATA invoke primitive. In addition, private data between CPCS users is achieved through user-to-user indication (CPCS-UU) parameters, and loss priorities for corresponding CPCS SDUs are determined through loss priority (CPCS-LP) parameters. It is done. In addition, a CPCS-CI (congestion indicator) parameter is used to indicate whether a corresponding CPCS SDU has experienced congestion in an ATM network, and an M parameter is transmitted through a CPCS-ID parameter of a corresponding CPCS-UNITDATA invoke primitive. Indicates whether the data contains all or only some of the CPCS SDUs to be transmitted. That is, if the M parameter is 0, it indicates that there are no more CPCS SDUs to transmit. When the HDTV TS packet is transmitted, the M parameter has 0.

ITU-T I.363에서 규정한 AAL 5 CPCS 계층(24a)에서의 사용자 데이터 송신 방법을 도2를 참조하여 설명한다.A user data transmission method in the AAL 5 CPCS layer 24a defined in ITU-T I.363 will be described with reference to FIG.

도2는 각각 CPCS, SAR, ATM 층에서의 데이터 패킷을 나타내는 도면이다.2 is a diagram illustrating data packets at CPCS, SAR, and ATM layers, respectively.

CPCS-UNITDATA invoke primitive를 통해 188바이트 크기의 HDTV TS 패킷 두 개가 CPCS-ID 파라미터로 입력되면 CPCS는 그 뒤에 0 - 47 바이트의 패딩(paddig) 바이트(PAD)를 삽입한다. 이 패딩 바이트(PAD) 다음에는 8 바이트의 트레일러(trailer)를 삽입하여 하나의 CPCS-PDU (protocol data unit; 프로토콜 데이터 단위)를 생성한다.When two 188-byte HDTV TS packets are input as CPCS-ID parameters through CPCS-UNITDATA invoke primitive, CPCS inserts 0-47 bytes of paddig byte (PAD). After this padding byte (PAD), an 8-byte trailer is inserted to generate one CPCS-PDU (protocol data unit).

여기서, 패딩 바이트는 CPCS PDU의 크기를 48바이트의 정수 배로 만들기 위해 삽입되는 것으로 HDTV TS 전송에는 376 바이트 CPCS-SDU에 8바이트의 트레일러가 삽입되므로 패딩 바이트는 불필요하다.Here, the padding byte is inserted to make the size of the CPCS PDU an integer multiple of 48 bytes. The padding byte is unnecessary because an 8-byte trailer is inserted into the 376-byte CPCS-SDU for HDTV TS transmission.

8 바이트의 트레일러는 1 바이트의 CPCS 사용자간 데이터 필드(CPCS-UU), 모두 0의 값을 갖는 1바이트 크기의 CPI(common part indicator; 공통부 식별자) 필드, CPCS-ID의 크기를 나타내는 2 바이트의 길이(Length) 필드와 CPCS-ID로부터 길이 필드까지의 오류 검사를 위한 4 바이트 크기의 CRC(cyclic redundancy circle; 순환 용장 검사) 필드로 구성된다. 이 때, CPCS 사용자간 데이타 필드는 CPCS-UNITDATA invoke primitive에서의 CPCS-UU 파라미터의 값이 그대로 저장된다.The eight-byte trailer contains one byte of a CPCS-to-user data field (CPCS-UU), a one-byte common part indicator (CPI) field with a value of all zeros, and two bytes indicating the size of the CPCS-ID. It consists of a length field of and a 4 byte cyclic redundancy circle (CRC) field for error checking from the CPCS-ID to the length field. At this time, the CPCS-UU parameter value of the CPCS-UNITDATA invoke primitive is stored in the data field between CPCS users as it is.

한편, 하나의 CPCS-PDU는 SAR(segmentation and reassembly; 셀분할·조립)-UNITDATA invoke primitive를 통해 SAR 계층에 전달된다.On the other hand, one CPCS-PDU is delivered to the SAR layer through segmentation and reassembly (SAR) -UNITDATA invoke primitive.

이때, SAR-UNITDATA invoke primitive는 48 바이트의 정수배 크기를 갖는 ID 파라미터, CPCS-LP의 값을 그대로 갖게되는 SAR-LP 파라미터, CPCS-CI 값을 그대로 저장하는 SAR-CI 파라미터, M 파라미터로 구성된다. M 파라미터는 현재 SAR-UNITDATA invoke primitive 의 ID 파라미터를 통해 전달하는 데이타가 전송해야 할 SAR SDU 전체를 포함하고 있는지 혹은 일부만 포함하고 있는지를 나타낸다. M 파라미터가 0이면 더 이상 전송할 SAR SDU가 없다는 것을 나타내는데, HDTV TS 패킷을 전송할 때에는 M 파라미터가 0을 갖게 된다.In this case, the SAR-UNITDATA invoke primitive consists of an ID parameter having an integer multiple of 48 bytes, a SAR-LP parameter having the CPCS-LP value as it is, a SAR-CI parameter storing the CPCS-CI value as it is, and an M parameter. . The M parameter indicates whether the data transmitted through the ID parameter of the current SAR-UNITDATA invoke primitive includes all or only some of the SAR SDUs to be transmitted. If the M parameter is 0, it indicates that there are no SAR SDUs to send anymore. When the HDTV TS packet is transmitted, the M parameter has 0.

송신단의 SAR 계층(24a)은 ID 파라미터를 통해 한 번에 384 바이트(376 바이트 사용자 데이타 + 8 바이트 CPCS 트레일러)크기의 SAR-SDU를 전달받는다. 전달된 데이타는 도2에 나타낸 바와 같이 48 바이트 단위로 읽혀지고, ATM-DATA request primitive를 통해 ATM 계층으로 전달된다. ATM 계층으로 전달된 48 바이트 데이타는 도2에 나타낸 바와 같이 5바이트 ATM 헤더가 삽입되어 53바이트의 ATM 셀이 형성된다. SAR 계층으로부터 전송되어야 할 데이타가 384바이트이므로 모두 8번에 걸쳐 ATM 계층으로 데이타가 전달된다. 8번째의 48바이트 데이타를 ATM 계층으로 보낼 때에는 ATM-DATA request primitive의 AUU(ATM layer User to User) 파라미터가 1이 되어 현재의 48바이트가 SAR SDU의 끝임을 나타낸다.The SAR layer 24a of the transmitting end receives 384 bytes (376 bytes of user data + 8 bytes of CPCS trailer) of SAR-SDU at a time through the ID parameter. The transmitted data is read in units of 48 bytes as shown in FIG. 2, and transferred to the ATM layer through an ATM-DATA request primitive. The 48-byte data transferred to the ATM layer is inserted with a 5-byte ATM header as shown in Fig. 2 to form a 53-byte ATM cell. Since data to be transmitted from the SAR layer is 384 bytes, data is transferred to the ATM layer all eight times. When the eighth 48-byte data is sent to the ATM layer, the ATM layer user to user (AUU) parameter of the ATM-DATA request primitive becomes 1, indicating that the current 48 bytes are the end of the SAR SDU.

다음에는 AAL 5를 통한 데이터의 수신 방법에 대하여 설명한다.Next, a method of receiving data through AAL 5 will be described.

ITU-T I.363에서 규정한 AAL 5의 수신단 SAR 계층(24b)은 ATM-DATA indication primitive를 통해 ATM계층(30b)으로부터 48바이트의 사용자 데이타를 받는다. 전달받은 48 바이트 데이타는 SAR-UNITDATA signal primitive의 ID 파라미터를 통해 CPCS 계층(22b)으로 전달된다. ATM-DATA indication primitive에서 AUU가 1이면 SAR-UNITDATA signal primitive의 M 파라미터를 0으로 보내 해당 48바이트가 SAR-SDU의 끝임을 나타낸다.The receiver SAR layer 24b of AAL 5 specified in ITU-T I.363 receives 48 bytes of user data from the ATM layer 30b through the ATM-DATA indication primitive. The received 48-byte data is delivered to the CPCS layer 22b through the ID parameter of the SAR-UNITDATA signal primitive. In the ATM-DATA indication primitive, if AUU is 1, the M parameter of the SAR-UNITDATA signal primitive is sent to 0, indicating that the corresponding 48 bytes are the end of the SAR-SDU.

한편, ITU-T I.363에서 규정한 AAL5 CPCS 계층은 다음과 같은 방법으로 사용자 데이타를 수신한다.On the other hand, the AAL5 CPCS layer specified in ITU-T I.363 receives user data in the following way.

초기 상태에서는 rcv_LP를 0으로 리셋하고 SAR 계층(22b)으로부터 SAR-UNITDATA signal primitive를 기다린다. SAR-UNITDATA signal primitive에 있는 ID파라미터를 받아 리어셈블리(reassembly)버퍼에 저장하고, rcv_LP는 SAR-UNITDATA signal에서의 SAR-LP와의 로컬 오어링(local ORing)을 통해 갱신한다.In the initial state, reset rcv_LP to 0 and wait for the SAR-UNITDATA signal primitive from the SAR layer 22b. Receives the ID parameter in the SAR-UNITDATA signal primitive and stores it in the reassembly buffer. The rcv_LP is updated by local ORing with the SAR-LP in the SAR-UNITDATA signal.

수신한 SAR-ID의 M 파라미터가 0이면, 현재 수신된 ATM 셀까지 포함하여 리어셈블리 버퍼에 저장된 데이타가 완전한 CPCS PDU를 구성한다는 것으로 인식하여 송신단에서 삽입한 8 바이트의 트레일러(trailer)를 체크하여 수신된 CPCS PDU가 에러 없이 전송되었는지 검사한다. 이 과정에는 리어셈블리 버퍼내의 데이타에 대한 CRC 체크, CPI 필드 체크, 길이 필드 체크, PAD(패딩) 필드 체크, 최대 허용 CPCS-SDU 크기 체크가 포함된다.If the M parameter of the received SAR-ID is 0, it recognizes that the data stored in the reassembly buffer including the currently received ATM cell constitutes a complete CPCS PDU and checks the trailer of 8 bytes inserted by the transmitter. Check that the received CPCS PDU was transmitted without error. This process includes a CRC check, a CPI field check, a length field check, a PAD (padding) field check, and a maximum allowable CPCS-SDU size check for the data in the reassembly buffer.

이러한 점검을 마치고 최종적으로 에러가 없는 것으로 판단되면 CPCS-UNITDATA signal을 통해 사용자 데이터 부분을 상위의 애플리케이션 계층(10b)에 전송한다. 이들 체크에서 어느 하나라도 에러가 발견되면 즉시 현재까지 리어셈블리 버퍼에 저장된 데이타를 모두 폐기하고 CPCS는 초기 상태로 되돌아간다.After this check and finally determine that there is no error, the user data portion is transmitted to the upper application layer 10b through the CPCS-UNITDATA signal. If either of these checks finds an error, it immediately discards all data stored in the reassembly buffer to date and returns the CPCS to its initial state.

만일 수신한 SAR-ID의 M 파라미터가 1이면, 현재 수신된 ATM 셀이 CPCS PDU의 끝이 아니라는 의미가 된다. 이 경우, 현재까지 리어셈블리 버퍼에 저장된 데이터의 크기가 최대 허용 CPCS-SDU 크기 보다 작으면, 계속해서 다음 SAR-UNITDATA signal을 기다리게 되고, 그렇지 않으면 현재까지 리어셈블리 버퍼에 저장된 데이타를 모두 폐기하고 초기 상태로 되돌아간다.If the M parameter of the received SAR-ID is 1, it means that the currently received ATM cell is not the end of the CPCS PDU. In this case, if the size of the data stored in the reassembly buffer so far is smaller than the maximum allowable CPCS-SDU size, it continues to wait for the next SAR-UNITDATA signal; otherwise, all data stored in the reassembly buffer so far is discarded and initialized. Return to the state.

한편, ITU-T I.363 AAL 5에서는 선택사항으로 RAS 타이머를 사용할 수 있다. RAS 타이머는 수신된 ATM 셀사이의 시간 간격에 상한을 두는 장치이다. 이 경우, 수신단 CPCS계층이 SAR 계층으로부터 SAR-UNITDATA signal primitive를 받았을 때 M 파라미터가 1이면 다시 타이머가 0값으로부터 동작하고, M 파라미터가 0이면 타이머 동작이 멈추게 된다. RAS 타이머에 의해 time-out되면 현재까지 리어셈블리 버퍼에 저장된 모든 데이터는 폐기되고 다시 타이머는 값을 0으로 돌려 다시 동작한다.On the other hand, ITU-T I.363 AAL 5 can optionally use the RAS timer. The RAS timer is an apparatus that places an upper limit on the time interval between received ATM cells. In this case, when the receiving CPCS layer receives the SAR-UNITDATA signal primitive from the SAR layer, if the M parameter is 1, the timer operates again from the value 0, and if the M parameter is 0, the timer operation stops. When time-out is made by the RAS timer, all data stored in the reassembly buffer so far is discarded and the timer restarts by returning the value to zero.

한편, 종래의 AAL 5에서의 데이터 송수신 방법에서는 데이터 손실에 대한 대처가 CPCS-PDU 수준에서 이루어지기 때문에, CPCS-PDU 수준에서 데이나 에러/손실이 있으면 리어셈블리 버퍼에 저장된 데이타를 모두 버리게 된다. 따라서, 두 개의 TS 패킷이 하나의 CPCS-PDU를 이루는 HDTV TS 전송에 있어서 어느 한쪽의 TS 패킷에만 에러/손실이 발생한 경우 I.363 AAL 5에서는 에러가 없는 TS 패킷까지도 함께 폐기하여야 하므로, 데이터 손실이 두 배로 증가된다.On the other hand, in the conventional data transmission / reception method of AAL 5, since data loss is dealt with at the CPCS-PDU level, if there is any error or loss at the CPCS-PDU level, all data stored in the reassembly buffer is discarded. Therefore, if an error / loss occurs in only one TS packet in the HDTV TS transmission in which two TS packets form one CPCS-PDU, I.363 AAL 5 also discards the TS packet without error. This is doubled.

이를 구체적으로 설명하면 다음과 같다.This will be described in detail as follows.

두 개의 HDTV TS 패킷은 하나의 CPCS-PDU를 구성하고 이것은 8개의 ATM 셀을 통해 수신단으로 전송된다. 이 때, 하나의 CPCS-PDU를 구성하는 두 개의 HDTV TS 패킷을 각각 A 패킷, B 패킷이라고 하면, 8개의 ATM 셀 중 1, 2, 3번째 셀은 A 패킷의 정보만을, 5, 6, 7, 8번째 셀은 B 패킷의 정보만을 포함하고 (8번째 셀은 CPCS트레일러 포함), 4번째 셀은 A 패킷, B 패킷의 정보를 모두 포함하게 된다. ITU-T I.363 AAL type5에서는 이들 8개의 셀중 어느 하나라도 에러/손실이 발생하면 그 때까지 리어셈블리 버퍼에 저장된 모든 데이타를 폐기한다. 따라서, 최악의 경우, 8번째의 셀에만 에러/손실이 발생하게 되어도 기존에 수신된 7개의 셀을 모두 폐기시키게 되는 현상을 초래한다. 이 경우, 아무런 에러/손실 없이 전달된 TS패킷마저도 함께 손실되게 된다. 이것은 ITU-T I.363 AAL type5가 CPCS PDU 수준의 에러/손실 감지기능만이 존재하기 때문이다. 즉, CPCS PDU 단위로만 에러/손실을 감지하므로, HDTV TS 패킷 전송시와 같이 여러 개의 데이타 단위가 하나의 CPCS PDU로 전송될 경우, 어느 하나의 데이타 단위에 발생한 에러/손실로 인해 다른 데이타 단위까지 함께 폐기되는 결과를 초래하는 문제점을 가지고 있다.Two HDTV TS packets constitute one CPCS-PDU, which is transmitted to the receiving end through eight ATM cells. At this time, if two HDTV TS packets constituting one CPCS-PDU are called A packet and B packet, respectively, 1, 2, and 3 cells of 8 ATM cells are only A packet information, 5, 6, 7 The 8th cell includes only the information of the B packet (the 8th cell includes the CPCS trailer), and the 4th cell includes all the information of the A packet and the B packet. In ITU-T I.363 AAL type 5, if any one of these eight cells fails / losses, all data stored in the reassembly buffer is discarded until then. Therefore, in the worst case, even if an error / loss occurs only in the eighth cell, all seven previously received cells are discarded. In this case, even TS packets transmitted without any error / loss are lost together. This is because the ITU-T I.363 AAL type 5 has only error / loss detection at the CPCS PDU level. That is, since error / loss is detected only in the unit of CPCS PDU, when several data units are transmitted in one CPCS PDU as in the case of HDTV TS packet transmission, up to another data unit due to an error / loss occurring in one data unit This has the problem of being discarded together.

또한, ITU-T I.363 AAL 5는 CBR 특성을 갖는 트래픽에서 필요로 하는 시간 보상을 지원하지 않는다. 따라서, CBR 특성을 갖는 HDTV TS 패킷을 I.363 AAL 5를 통해 전송할 때 ATM 네트웍에서 발생한 셀 지연 시간 변이가 투명하게 수신단의 HDTV 복호기 시스템 계층(애플리케이션 계층)에 전달된다.In addition, ITU-T I.363 AAL 5 does not support the time compensation required for traffic with CBR characteristics. Therefore, when transmitting HDTV TS packets having CBR characteristics through I.363 AAL 5, the cell delay variation occurring in the ATM network is transparently transmitted to the HDTV decoder system layer (application layer) of the receiving end.

HDTV 복호기 시스템은 TS 패킷에 실려있는 PCR(Program Clock Reference; 프로그램 클록 레퍼런스)값을 이용하여 시스템 클럭을 동기화 하므로, 이와 같이 AAL 수준에서 아무런 시간 보상을 하지 않으면 HDTV 복호기 시스템에 큰 버퍼를 유지하거나, 시스템 동기에 사용하는 PLL의 클럭 잠김 성능이 개선되어야 하는데, 이것은 HDTV 시스템의 비용 상승을 초래한다.The HDTV decoder system synchronizes the system clock using the PCR value contained in the TS packet. Thus, if no time compensation is performed at the AAL level, the HDTV decoder maintains a large buffer in the HDTV decoder system. The clock locking performance of PLLs used for system synchronization should be improved, which increases the cost of HDTV systems.

본 발명은 이와 같은 문제점을 해결하기 위한 것으로서, CBR TS 패킷의 수신시 수신단에서 셀 수준의 데이타 에러/손실 탐지를 할 수 있도록 하여 셀 에러/손실에 대한 HDTV TS 패킷의 과다 폐기를 방지하기 위한 것이다.The present invention is to solve the above problems, and to prevent the cell-level data error / loss detection at the receiving end when receiving the CBR TS packet to prevent excessive discarding of HDTV TS packets for cell error / loss. .

또한, 수신단 CPCS에서는 CBR 트래픽에 대하여 시간 보상을 행함으로써, 네트웍에서의 ATM 셀 손실로 인한 자연 시간 변이를 줄이기 위한 것이다.In addition, the receiving end CPCS compensates for CBR traffic, thereby reducing the natural time variation due to ATM cell loss in the network.

도1은 종래의 패킷 데이터의 송수신을 위한 계층 구조를 나타내는 도면이다.1 is a diagram illustrating a hierarchical structure for transmitting and receiving conventional packet data.

도2는 CPCS, SAR, ATM 층에서의 패킷 데이터를 나타내는 도면이다.2 is a diagram illustrating packet data in the CPCS, SAR, and ATM layers.

도3은 본 발명의 실시예에 따른 패킷 데이터를 나타내는 도면이다.3 illustrates packet data according to an embodiment of the present invention.

이와 같은 목적을 달성하기 위한 본 발명의 하나의 특징에 따른 전송 스트림 패킷의 송수신 방법은, 고정 전송 비트(CBR)의 전송 스트림(TS) 패킷을 AAL 5를 통해 비동기 전송 모드(ATM) 층과 송수신하는 것으로서,According to an aspect of the present invention, a method for transmitting and receiving a transport stream packet includes transmitting and receiving a transport stream (TS) packet of a fixed transport bit (CBR) with an asynchronous transport mode (ATM) layer through AAL 5. In doing that,

상위 애플리케이션 계층으로부터 상기 CBR TS 패킷을 수신하여 하나 이상의 상기 CBR TS를 포함하는 사용자 정보와 트레일러로 이루어지는 공통부 컨버젼스 서브층(CPCS) 프로토콜 데이터 단위(PDU)를 생성하는 제1 단계와; 상기 CPCS-PDU를 순차번호가 각각 삽입된 다수의 ATM 셀로 분할하여 송신단의 ATM 층으로 송신하는 제2 단계와; 수신단의 ATM 층으로부터 상기 ATM 셀들을 수신하고, 상기 순차번호를 비교하여 상기 ATM 셀의 손실여부를 감지하는 제3 단계를 포함한다.Receiving the CBR TS packet from an upper application layer to generate a common unit convergence sublayer (CPCS) protocol data unit (PDU) comprising user information and trailers including one or more of the CBR TSs; Dividing the CPCS-PDU into a plurality of ATM cells each having a sequence number inserted therein and transmitting the divided CPCS-PDU to an ATM layer of a transmitting end; And receiving the ATM cells from an ATM layer of a receiver, comparing the sequence numbers, and detecting whether the ATM cells are lost.

여기서, 상기 제3 단계에서 손실된 ATM 셀을 감지한 경우에는 상기 손실된 ATM 셀에 더미셀을 삽입하여 상기 CPCS-PDU의 길이를 유지하도록 하는 제4 단계를 더 포함하는 것이 바람직하다.Here, when detecting the lost ATM cell in the third step, it is preferable to further include a fourth step of inserting a dummy cell into the lost ATM cell to maintain the length of the CPCS-PDU.

또한, 상기 손실된 ATM 셀이 포함되는 CBR TS 패킷을 애플리케이션 계층에 송신하는 경우, 상기 CBR TS 패킷 헤더에 있는 전송 패킷 에러 지시자 필드를 1로 세팅하는 것이 바람직하다.In addition, when transmitting the CBR TS packet including the lost ATM cell to the application layer, it is preferable to set the transport packet error indicator field in the CBR TS packet header to 1.

여기서, 상기 ATM 셀에 삽입된 상기 순차 번호는 1 바이트의 사용자간 데이터 필드(CPCS-UU), 모두 0의 값을 갖는 1 바이트의 공통부 식별자(CPI) 필드, 상기 사용자 정보의 크기를 나타내는 2 바이트의 길이 필드가 이용될 수 있다.Here, the sequence number inserted into the ATM cell is a 1 byte inter-user data field (CPCS-UU), a 1 byte common part identifier (CPI) field having a value of all 0, and 2 indicating the size of the user information. The length field of bytes may be used.

한편, 본 발명의 다른 특징에 따른 전송 스트림 패킷의 송수신 방법은, 고정 전송 비트(CBR)의 전송 스트림(TS) 패킷을 AAL 5를 통해 비동기 전송 모드(ATM) 층과 송수신하는 것으로서,Meanwhile, a method of transmitting and receiving a transport stream packet according to another aspect of the present invention is to transmit and receive a transport stream (TS) packet having a fixed transport bit (CBR) with an asynchronous transport mode (ATM) layer through AAL 5,

상위 애플리케이션 계층으로부터 상기 CBR TS 패킷을 수신하여, 하나 이상의 상기 CBR TS를 포함하는 사용자 정보와 트레일러로 이루어지는 공통부 컨버젼스 서브층(CPCS) 프로토콜 데이터 단위(PDU)를 생성하는 제1 단계와; 상기 CPCS PDU를 순차번호가 각각 삽입된 다수의 ATM 셀로 분할하여 송신단의 ATM 층으로 송신하는 제2 단계와; 상기 다수의 ATM 셀을 상기 ATM 층으로부터 수신하기 시작하면, 상기 ATM 셀의 1 포인트 셀 지연 시간 변이와 1포인트 셀 지연 시간 변이의 표준편차를 이용하여 시간 상한값을 설정하는 제3 단계와; 상기 다수의 ATM 셀로부터 상기 CPCS-PDU를 조립(reassembly)하는 제4 단계와; 상기 CPCS PDU가 상기 시간 상한 값 이내에 조립되는 경우에는 상기 CPCS PDU에 대한 에러를 체크한 후, 상기 애플리케이션 계층으로 전송하는 제5 단계와; 상기 CPCS PDU가 상기 시간 상한 값 이후에 조립되는 경우에는 마지막으로 수신한 ATM 셀의 순차 번호를 체크한 후, 빈자리를 더미 셀로 채워 상기 CPCS PDU를 구성하는 제6단계를 포함한다.Receiving the CBR TS packet from an upper application layer and generating a common unit convergence sublayer (CPCS) protocol data unit (PDU) comprising user information and trailers including one or more of the CBR TSs; Dividing the CPCS PDU into a plurality of ATM cells each having a sequence number inserted therein and transmitting the divided CPCS PDU to an ATM layer of a transmitting end; Setting a time upper limit value using a standard deviation of one point cell delay time variation and one point cell delay time variation of the ATM cell when the plurality of ATM cells begin to receive from the ATM layer; A fourth step of assembling the CPCS-PDU from the plurality of ATM cells; A fifth step of checking an error for the CPCS PDU when the CPCS PDU is assembled within the time limit, and transmitting the error to the application layer; If the CPCS PDU is assembled after the time limit value, and after checking the sequential number of the last received ATM cell, and filling the empty space with the dummy cell comprises a sixth step to configure the CPCS PDU.

여기서, 상기 제6 단계는 상기 시간 상한 값 이후에 도착한 ATM 셀이, 이전의 CPCS PDU에 포함되어야 하는 셀인지 새로운 CPCS PDU를 구성하는 셀인지를 판단하는 제7 단계와; 상기 제7 단계에서 이전의 CPCS PDU에 포함되어야 하는 셀인 것으로 판단한 경우 이전에 도착된 ATM 셀을 버리고, 새로운 CPCS PDU를 구성하는 ATM 셀을 기다리는 제8단계와; 상기 제7 단계에서 새로운 CPCS PDU를 구성하는 셀로 판단하는 경우 도착된 ATM 셀이 상기 CPCS PDU에 존재하는 위치를 계산하고, 그 앞의 빈 부분은 더미셀들로 채워 넣는 제8단계로 이루어진다.The sixth step may include determining whether an ATM cell arrived after the time limit is a cell to be included in a previous CPCS PDU or a cell constituting a new CPCS PDU; An eighth step of discarding a previously arrived ATM cell and waiting for an ATM cell constituting a new CPCS PDU if it is determined in the seventh step that the cell should be included in a previous CPCS PDU; In the seventh step, if it is determined that the cell constitutes a new CPCS PDU, the eighth step includes calculating a position where the arrived ATM cell exists in the CPCS PDU, and filling the empty part with dummy cells.

이 때, 시간 상한 값은 8 × (셀 슬롯 + 수신된 셀들의 지연 시간의 표준편차)로 구하는 것이 바람직하다.At this time, it is preferable to obtain the upper time limit as 8 × (cell slot + standard deviation of delay time of received cells).

이하에서는 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다.Hereinafter, with reference to the drawings will be described an embodiment of the present invention;

본 발명의 제1 실시예에서는 CPCS-PDU 수준의 셀 에러/손실 감지에 의한 과도한 HDTV TS 패킷 손실을 줄이기 위해서 셀 단위로 셀 에러/손실을 감지한다.In the first embodiment of the present invention, in order to reduce excessive HDTV TS packet loss caused by CPCS-PDU level cell error / loss detection, cell error / loss is detected on a cell basis.

이를 위해, 본 발명의 제1 실시예에서는 각 셀에 네 비트의 크기를 가지는 순차번호를 삽입하여 수신단에서의 순차 번호를 보고 셀 단위의 손실을 감지하도록 한다.To this end, in the first embodiment of the present invention, a sequence number having a size of four bits is inserted into each cell so that a loss of a cell unit can be detected by looking at the sequence number at the receiving end.

이를 도3을 참조하여 구체적으로 설명한다.This will be described in detail with reference to FIG. 3.

HDTV TS 패킷을 ATM으로 전송할 경우, 한 개의 CPCS-PDU에서 8개의 ATM 셀이 생성되므로, 각 셀들에 네 비트씩의 순차번호를 삽입하면 총 네 바이트의 추가 공간이 필요하게 되는데 이는 CPCS-PDU의 트레일러가 지니는 특성을 이용하여 할당한다.When transmitting HDTV TS packets to ATM, eight ATM cells are generated from one CPCS-PDU, so inserting four bits of sequence number into each cell requires an additional four bytes of space. Assign it using the characteristics of the trailer.

즉, CPCS-PDU의 트레일러에 존재하는 CPI 항목(1 바이트)과 CPCS-UU 항목(1 바이트)은 각각 트레일러의 길이를 8 바이트로 맞추고 사용자의 사적(private) 정보를 투명하게 전송하기 위해 사용되며, 또한 트레일러의 길이 항목(2 바이트)은 HDTV TS 패킷의 특성상 항상 고정된 값이 사용된다. 따라서 CPI, CPCS-UU, 그리고 길이 항목들은 모두 송신 초기에 송수신간 통신을 통해 미리 알 수 있는 값들이거나 특별한 기능을 지원하는 항목들이 아니기 때문에 이들 항목들이 차지하는 4 바이트의 영역을 도3에 도시한 바와 같이 각 셀들마다 사용하는 순차번호를 위해 사용한다.That is, the CPI item (1 byte) and CPCS-UU item (1 byte) present in the trailer of the CPCS-PDU are used to adjust the length of the trailer to 8 bytes and to transmit the user's private information transparently. In addition, the trailer length item (2 bytes) always uses a fixed value due to the nature of the HDTV TS packet. Therefore, since the CPI, CPCS-UU, and length items are all values that can be known in advance through communication between the transmission and reception at the beginning of transmission or are not items that support special functions, the area of 4 bytes occupied by these items is shown in FIG. As used for the sequence number used for each cell.

즉, 도3에 도시한 바와 같이 CPI, CPCS-UU, 그리고 길이 항목으로 할당되었던 필드를 이용하여 16개의 순차번호를 CPCS-SDU(N1)에 더하여 480바이트의 데이터 패킷(N2)을 구성한다. 그리고, 이 데이터 패킷(N2)에 4 바이트의 CRC 필드를 더하여, 384 바이트의 CPCS-PDU(N3)를 형성한다.That is, as shown in FIG. 3, a 480-byte data packet N2 is formed by adding 16 sequence numbers to the CPCS-SDU N1 using the CPI, CPCS-UU, and fields assigned to the length items. A 4-byte CRC field is added to this data packet N2 to form a 384-byte CPCS-PDU N3.

한편, 각 셀마다 순차번호가 추가되면, 수신단에서는 수신된 셀들의 순차번호를 비교하여 연속적으로 수신된 두 셀간의 셀 손실 여부를 알아낼 수 있으며, 손실된 셀의 개수도 알아낼 수 있다.On the other hand, when the sequence number is added to each cell, the receiving end can compare the sequence numbers of the received cells to determine whether the cell loss between the two consecutively received cells, and can also find the number of cells lost.

이때, 수신단에서 손실된 셀을 감지하는 경우 수신단의 AAL에서는 이와 같이 손실된 셀의 위치에 48바이트의 더미(dummy) 셀을 삽입하여, CPCS-PDU의 길이(384 바이트)를 유지할 수 있도록 한다. 이와 동시에, 손실된 셀의 순차번호를 통해 하나의 CPCS-PDU로 구성된 두 TS 패킷들 중 어떤 패킷의 위치에 셀 손실 또는 에러가 발생했는지 알아낸다. 이 정보를 이용하여 손실된 셀을 포함한 PDU 전체를 폐기하는 대신, 손실된 셀을 포함하는 TS 패킷을 구별하여 표시함으로서 데이터 손실을 최소화할 수 있다.In this case, when the receiver detects a lost cell, the AAL of the receiver inserts a 48-byte dummy cell at the location of the lost cell to maintain the length (384 bytes) of the CPCS-PDU. At the same time, a cell loss or an error occurs at a location of two TS packets composed of one CPCS-PDU through the sequence number of the lost cell. Instead of discarding the entire PDU including the lost cell using this information, data loss can be minimized by distinguishing and displaying TS packets including the lost cell.

이 때, TS 패킷에 손실된 셀이 포함되어 있음을 애플리케이션 계층 (HDTV 디코더 시스템)에 알리기 위해 해당 TS 패킷 헤더에 있는 전송 패킷 에러 지시자(transport_packet_error_indicator) 필드를 1로 세팅한다. 이 필드는 TS 패킷 헤더의 특정 위치에 고정되어 위치하므로 본 발명의 제1 실시예에 따르면 순차번호 0, 4, 8, 그리고 12번의 셀 내부에서의 특정 비트에 위치하게 된다. 따라서, 수신단 AAL에서 더미셀이 포함된 TS 패킷을 구성하는 셀들의 순차번호를 보고 해당 전송 패킷 에러 지시자(transport_packet_error_indicator) 비트를 세팅하여 패킷의 에러 여부를 TS 디코더 시스템으로 전달한다.At this time, the transport packet error indicator (transport_packet_error_indicator) field in the corresponding TS packet header is set to 1 to inform the application layer (HDTV decoder system) that the TS packet contains the lost cell. Since this field is fixedly located at a specific position of the TS packet header, according to the first embodiment of the present invention, the field is located at a specific bit in cells of sequence numbers 0, 4, 8, and 12. Therefore, the receiver AAL looks at the sequence numbers of the cells constituting the TS packet including the dummy cell, sets the corresponding transport packet error indicator bit and transmits a packet error to the TS decoder system.

이와 같이 함으로써, 종래 TU-T I.363 AAL 5만을 사용하여 HDTV TS 패킷들을 전송하는 경우 보다, 에러 없이 수신된 TS 패킷의 수를 증가시킬 수 있다.By doing this, it is possible to increase the number of received TS packets without error, compared to the case of transmitting HDTV TS packets using only conventional TU-T I.363 AAL 5.

다음에는 본 발명의 제2 실시예를 설명한다.Next, a second embodiment of the present invention will be described.

셀 지연 시간 변이는 순수한 네트웍에서의 셀 지연 시간 변이뿐만 아니라 셀 에러나 셀 손실이 발생된 CPCS-PDU를 폐기할 때 발생하는 셀 지연 시간 변이를 포함한다. 이 중, CPCS-PDU를 폐기할 때 발생하는 셀 지연 시간은 순차번호와 더미 셀 삽입을 통해 보상해 줄 수 있다. 그러나, 순차번호만을 보고 판별하는 방법은 실제 셀이 수신된 후에야 가능하게 되므로 셀의 시간적인 지연은 해결되기 힘들게 된다.Cell delay variations include cell delay variations in pure networks as well as cell delay variations that occur when discarding CPCS-PDUs with cell errors or cell losses. Among these, the cell delay time generated when discarding the CPCS-PDU may be compensated by inserting a sequence number and a dummy cell. However, since the method of determining only by viewing the sequence number is possible only after the actual cell is received, it is difficult to solve the time delay of the cell.

따라서 본 발명의 제2 실시예는 순차번호를 이용한 더미셀 삽입 방식과 함께 타이머를 통해 셀의 시간 지연에 제한을 두어 PDU 단위에서의 지연변이를 줄이기 위한 것이다.Therefore, the second embodiment of the present invention is to reduce the delay variation in the PDU unit by limiting the time delay of the cell through the timer with the dummy cell insertion method using the sequence number.

본 발명의 제2 실시예에 따르면, 수신단에서 AAL이 ATM계층으로부터 셀을 수신하기 시작하면 수신된 셀들의 도착시간으로부터 1-포인트(point) 셀 지연 시간 변이와 1-포인트 셀 지연 시간 변이의 표준편차를 함께 계산한다. 수신측 AAL에서 계산된 셀 지연 시간 변이가 네트웍 물리 계층의 물리적인 대역폭내로 안정화되었다고 판단되면 타이머는 다음의 수학식 1로 초기화된다.According to the second embodiment of the present invention, if the AAL starts receiving a cell from the ATM layer at the receiving end, the standard of one-point cell delay time variation and one-point cell delay time variation from the arrival time of the received cells is determined. Calculate the deviation together. When it is determined that the cell delay variation calculated in the receiving AAL is stabilized within the physical bandwidth of the network physical layer, the timer is initialized to the following Equation 1.

시간 상한값 = 8.0 × (셀 슬롯 + 수신된 셀들의 지연 시간 변이의 표준편차)Upper time limit = 8.0 × (cell slot + standard deviation of delay time variation of received cells)

여기서, 셀 슬롯(cell_slot)은 53바이트의 ATM 셀을 전송하기 위한 총 네트웍 클럭 싸이클로 정의되는 데, 155.52Mbps의 SDH(synchronous digital hierarchy; 디지털 동기 하이어라키) 또는 SONET(synchronous optical network; 동기식 광통신망)인 경우 셀 슬롯은 다음의 수학식 2와 같이 약 7.0이다.Here, the cell slot (cell_slot) is defined as the total network clock cycle for transmitting 53 bytes of ATM cells, which is a 155.52 Mbps synchronous digital hierarchy (SDH) or synchronous optical network (SONET). In this case, the cell slot is about 7.0 as shown in Equation 2 below.

위의 수학식 1은 각 셀들에 대한 도착예정시간에 셀 지연 시간의 표준편차만큼의 여유시간을 더하여, 셀 손실여부를 초기에 결정 짓는 다는 것을 나타낸다. 수학식 1에서 CPCS-PDU가 총 8개의 셀들로 구성되므로 8을 곱한 만큼의 값을 타이머에서의 셀 손실 결정을 위한 시간 상한값으로 준다.Equation 1 above indicates that the cell loss is initially determined by adding a spare time equal to the standard deviation of the cell delay time to the estimated arrival time for each cell. Since CPCS-PDU consists of a total of eight cells in Equation 1, a value multiplied by 8 is given as an upper time limit for determining a cell loss in a timer.

본 발명의 제2 실시예에서 CPCS-PDU가 타이머가 끝나기 전에 조립되었다면 CPCS-PDU에 대한 에러를 체크한 뒤 상위 계층으로 전송되고 타이머는 새로운 셀 지연 시간의 표준편차를 사용하여 갱신된다.In the second embodiment of the present invention, if the CPCS-PDU is assembled before the timer expires, an error for the CPCS-PDU is checked and transmitted to the upper layer, and the timer is updated using the standard deviation of the new cell delay time.

만약 CPCS-PDU가 타이머 종료 이전에 생성되지 못했다면, 마지막으로 수신한 셀의 순차 번호를 체크한 뒤 빈자리를 더미 셀들로 채우고 더미 셀들을 포함한 CPCS-PDU를 상위 계층으로 전송한다. 이 경우 타이머는 다음 셀이 실제로 도착할 때까지 재시작 되지 않다가 실제 셀이 도착되면 순차번호를 체크해서 도착된 셀이 이전 PDU에 포함되어야 하는 셀인지 아니면 새로운 CPCS-PDU를 구성하는 셀인지를 판단하게 된다. 전자의 경우에는 도착된 셀을 버리고 새로운 CPCS-PDU를 구성하는 셀이 도착할 때까지 기다리게 되며, 후자의 경우에는 도착된 셀의 PDU내에서의 위치를 계산하고 그 앞의 빈 부분은 더미 셀들로 채워 넣게 된다. 이와 동시에 타이머는 새로운 CPCS-PDU에서 기다려야 하는 셀들의 개수에 비례하도록 설정된다.If the CPCS-PDU is not generated before the timer expires, the sequence number of the last received cell is checked and the empty spaces are filled with dummy cells, and the CPCS-PDU including the dummy cells is transmitted to the upper layer. In this case, the timer is not restarted until the next cell actually arrives. When the actual cell arrives, the timer checks the sequential number to determine whether the arrived cell is a cell to be included in the previous PDU or constitutes a new CPCS-PDU. do. In the former case, the arrived cell is discarded and the cell constituting the new CPCS-PDU arrives. In the latter case, the position of the arrived cell in the PDU is calculated and the empty part before it is filled with dummy cells. It is put in. At the same time, the timer is set to be proportional to the number of cells to wait in a new CPCS-PDU.

한편, 만약 하나의 CPCS-PDU를 구성하는 여덟 개의 셀들이 모두 더미셀들이라면 상위 계층, 즉 HDTV 디코더 시스템에서는 전혀 사용할 수 없는 데이터들이므로 그 PDU는 상위 계층으로 전송하지 않는다.On the other hand, if all eight cells constituting one CPCS-PDU are dummy cells, the PDU is not transmitted to the higher layer because data is not available at all in the upper layer, that is, the HDTV decoder system.

이상에서는 CBR HDTV의 TS 전송을 예로 들어 설명하였으나, 본 발명은 CBR HDTV TS 패킷 송수신에서 뿐만 아니라, 다음과 같은 트래픽에 적용할 수 있다.In the above, the TS transmission of the CBR HDTV has been described as an example, but the present invention can be applied to the following traffic as well as the CBR HDTV TS packet transmission and reception.

즉, CBR SPTS(Single Program Transport packet Stream)인 VOD(Video On Demand)의 ATM 망으로의 송·수신, CBR MPEG의 ATM 망으로의 송·수신과 기타 TS 패킷 구조를 갖는 CBR 트래픽의 AAL5를 통한 ATM 망으로의 송·수신에 적용할 수도 있다.That is, VOD (Video On Demand), which is a CBR SPTS (Single Program Transport Packet Stream), is transmitted and received to ATM network, CBR MPEG is transmitted and received to ATM network, and other ABR5 of CBR traffic having TS packet structure. It can also be applied to sending and receiving ATM networks.

이상에서 설명한 바와 같이, 본 발명에 따르면 CBR HDTV TS 패킷의 송·수신시 송신단의 CPCS 계층에서 전송하는 셀마다 순차번호를 부여하여 수신단에서 셀 수준의 데이타 에러/손실 탐지를 할 수 있도록 함으로서 셀 에러/손실에 대한 HDTV TS 패킷의 과다 폐기를 방지할 수 있다.As described above, according to the present invention, when transmitting and receiving a CBR HDTV TS packet, a cell error is assigned to each cell transmitted by a CPCS layer of a transmitting end so that the receiving end can detect a cell level data error / loss. It is possible to prevent excessive discarding of HDTV TS packets for loss / loss.

또한, 수신단 CPCS에서는 CBR 트래픽에 대한 시간 보상 방법으로, 수신된 셀의 1-포인트 셀지연 변이와 셀지연 변이 표준편차를 이용하여 타이머의 시간 상한값값으로 사용함으로서 네트웍에서의 ATM 셀 손실로 인한 자연 시간 변이를 줄일 수 있다.In addition, the receiving CPCS uses the 1-point cell delay variation and the cell delay variation standard deviation of the received cell as the time limit value of the timer as a time compensation method for the CBR traffic. Time variation can be reduced.

Claims (9)

고정 전송 비트(CBR)의 전송 스트림(TS) 패킷을 AAL 5를 통해 비동기 전송 모드(ATM) 층과 송수신하는 방법에 있어서,A method of transmitting and receiving a transport stream (TS) packet of a fixed transport bit (CBR) with an asynchronous transport mode (ATM) layer via AAL 5, 상위 애플리케이션 계층으로부터 상기 CBR TS 패킷을 수신하여, 하나 이상의 상기 CBR TS를 포함하는 사용자 정보와 트레일러로 이루어지는 공통부 컨버젼스 서브층(CPCS) 프로토콜 데이터 단위(PDU)를 생성하는 제1 단계와;Receiving the CBR TS packet from an upper application layer and generating a common unit convergence sublayer (CPCS) protocol data unit (PDU) comprising user information and trailers including one or more of the CBR TSs; 상기 CPCS-PDU를 순차번호가 각각 삽입된 다수의 ATM 셀로 분할하여 송신단의 ATM 층으로 송신하는 제2 단계와;Dividing the CPCS-PDU into a plurality of ATM cells each having a sequence number inserted therein and transmitting the divided CPCS-PDU to an ATM layer of a transmitting end; 수신단의 ATM 층으로부터 상기 ATM 셀들을 수신하고, 상기 순차번호를 비교하여 상기 ATM 셀의 손실여부를 감지하는 제3 단계를 포함하는 것을 특징으로 하는 AAL5 를 통한 CBR TS 패킷의 송수신 방법.Receiving the ATM cells from an ATM layer of a receiver, and comparing the sequence numbers to detect whether the ATM cells are lost or not; and transmitting the CBR TS packets through AAL5. 제1항에서,In claim 1, 상기 제3 단계에서 손실된 ATM 셀을 감지한 경우, 상기 손실된 ATM 셀에 더미셀을 삽입하여 상기 CPCS-PDU의 길이를 유지하도록 하는 제4 단계를 더 포함하는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.And detecting a lost ATM cell in the third step, inserting a dummy cell into the lost ATM cell to maintain the length of the CPCS-PDU. How to send and receive TS packets. 제2항에서,In claim 2, 상기 손실된 ATM 셀이 포함되는 CBR TS 패킷을 애플리케이션 계층에 송신하는 경우, 상기 CBR TS 패킷 헤더에 있는 전송 패킷 에러 지시자 필드를 1로 세팅하는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.And transmitting the CBR TS packet including the lost ATM cell to the application layer, setting a transport packet error indicator field in the CBR TS packet header to 1. 제2항에서,In claim 2, 상기 ATM 셀에 삽입된 상기 순차 번호는 CPCS-PDU 중 트레일러 영역이 이용된 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.The sequence number inserted in the ATM cell is a method of transmitting and receiving a CBR TS packet through AAL5, characterized in that a trailer area of CPCS-PDU is used. 제4항에서,In claim 4, 상기 트레일러 영역은The trailer area is 1 바이트의 사용자간 데이터 필드(CPCS-UU), 모두 0의 값을 갖는 1 바이트의 공통부 식별자(CPI) 필드, 상기 사용자 정보의 크기를 나타내는 2 바이트의 길이 필드와, 오류 검사를 위한 순환 용장 검사(CRC) 필드로 이루어지며,1-byte inter-user data field (CPCS-UU), 1-byte common part identifier (CPI) field with a value of all 0, 2-byte length field indicating the size of the user information, and redundancy for error checking Check (CRC) field, 상기 순차 번호는 상기 CPCS-UU, 상기 CPI 필드, 상기 길이 필드가 이용되는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.The sequence number is a method for transmitting and receiving CBR TS packets through AAL5, characterized in that the CPCS-UU, the CPI field, the length field is used. 제1항 내지 제5항 중 어느 한 항에서,The method according to any one of claims 1 to 5, 상기 CBR TS 패킷은 HDTV TS 패킷인 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.The CBR TS packet is a method of transmitting and receiving a CBR TS packet through AAL5, characterized in that the HDTV TS packet. 고정 전송 비트(CBR)의 전송 스트림(TS) 패킷을 AAL 5를 통해 비동기 전송 모드(ATM) 층과 송수신하는 방법에 있어서,A method of transmitting and receiving a transport stream (TS) packet of a fixed transport bit (CBR) with an asynchronous transport mode (ATM) layer via AAL 5, 상위 애플리케이션 계층으로부터 상기 CBR TS 패킷을 수신하여, 하나 이상의 상기 CBR TS를 포함하는 사용자 정보와 트레일러로 이루어지는 공통부 컨버젼스 서브층(CPCS) 프로토콜 데이터 단위(PDU)를 생성하는 제1 단계와;Receiving the CBR TS packet from an upper application layer and generating a common unit convergence sublayer (CPCS) protocol data unit (PDU) comprising user information and trailers including one or more of the CBR TSs; 상기 CPCS PDU를 순차번호가 각각 삽입된 다수의 ATM 셀로 분할하여 송신단의 ATM 층으로 송신하는 제2 단계와;Dividing the CPCS PDU into a plurality of ATM cells each having a sequence number inserted therein and transmitting the divided CPCS PDU to an ATM layer of a transmitting end; 상기 다수의 ATM 셀을 상기 ATM 층으로부터 수신하기 시작하면, 상기 ATM 셀의 1 포인트 셀 지연 시간 변이와 1포인트 셀 지연 시간 변이의 표준편차를 이용하여 시간 상한 값을 설정하는 제3 단계와;Setting a time upper limit value using a standard deviation of one point cell delay time variation and one point cell delay time variation of the ATM cell when the plurality of ATM cells begin to receive from the ATM layer; 상기 다수의 ATM 셀로부터 상기 CPCS-PDU를 조립(reassembly)하는 제4 단계와;A fourth step of assembling the CPCS-PDU from the plurality of ATM cells; 상기 CPCS PDU가 상기 시간 상한 값 이내에 조립되는 경우에는 상기 CPCS PDU에 대한 에러를 체크한 후, 상기 애플리케이션 계층으로 전송하는 제5 단계와;A fifth step of checking an error for the CPCS PDU when the CPCS PDU is assembled within the time limit, and transmitting the error to the application layer; 상기 CPCS PDU가 상기 시간 상한 값 이후에 조립되는 경우에는 마지막으로 수신한 ATM 셀의 순차 번호를 체크한 후, 빈 자리를 더미 셀로 채워 상기 CPCS PDU를 구성하는 제6단계를 포함하는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.And when the CPCS PDU is assembled after the time limit, checking the sequence number of the last received ATM cell, and filling the empty space with a dummy cell to configure the CPCS PDU. How to send and receive CBR TS packets through AAL5. 제7항에서,In claim 7, 상기 제6 단계는The sixth step 상기 시간 상한 값 이후에 도착한 ATM 셀이, 이전의 CPCS PDU에 포함되어야 하는 셀인지 새로운 CPCS PDU를 구성하는 셀인지를 판단하는 제7 단계와;A seventh step of determining whether an ATM cell arrived after the time limit is a cell to be included in a previous CPCS PDU or a cell constituting a new CPCS PDU; 상기 제7 단계에서 이전의 CPCS PDU에 포함되어야 하는 셀인 것으로 판단한 경우 이전에 도착된 ATM 셀을 버리고, 새로운 CPCS PDU를 구성하는 ATM 셀을 기다리는 제8단계와;An eighth step of discarding a previously arrived ATM cell and waiting for an ATM cell constituting a new CPCS PDU if it is determined in the seventh step that the cell should be included in a previous CPCS PDU; 상기 제7 단계에서 새로운 CPCS PDU를 구성하는 셀로 판단하는 경우 도착된 ATM 셀이 상기 CPCS PDU에 존재하는 위치를 계산하고, 그 앞의 빈 부분은 더미셀들로 채워 넣는 제8단계를 포함하는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.If it is determined in the seventh step that the cell constituting a new CPCS PDU includes calculating the position where the arrived ATM cell is present in the CPCS PDU, and the empty part in front of it comprises the eighth step of filling with dummy cells Method of transmitting and receiving a CBR TS packet through AAL5. 제7항 또는 제8항에서,In claim 7 or 8, 상기 제3 단계에서 시간 상한 값은In the third step, the time upper limit is 8 × (셀 슬롯 + 수신된 셀들의 지연 시간의 표준편차)로 구해지는 것을 특징으로 하는 AAL5를 통한 CBR TS 패킷의 송수신 방법.A method of transmitting / receiving a CBR TS packet through AAL5, characterized by obtaining 8 × (cell slot + standard deviation of delay times of received cells).
KR1019980042364A 1998-10-10 1998-10-10 Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5 KR100278846B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980042364A KR100278846B1 (en) 1998-10-10 1998-10-10 Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980042364A KR100278846B1 (en) 1998-10-10 1998-10-10 Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5

Publications (2)

Publication Number Publication Date
KR20000025330A true KR20000025330A (en) 2000-05-06
KR100278846B1 KR100278846B1 (en) 2001-01-15

Family

ID=19553577

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980042364A KR100278846B1 (en) 1998-10-10 1998-10-10 Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5

Country Status (1)

Country Link
KR (1) KR100278846B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792989B1 (en) * 2001-05-21 2008-01-08 엘지전자 주식회사 Transmission method of discard information of service data unit for a radio communications system
KR20180027281A (en) * 2016-09-06 2018-03-14 에스케이텔레콤 주식회사 Method and Apparatus for Recovering Packet Loss

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667739B1 (en) * 2000-06-09 2007-01-12 삼성전자주식회사 Apparatus for transmitting/receiving wireless data and method thereof
KR100434335B1 (en) * 2001-11-27 2004-06-04 학교법인 한국정보통신학원 Control Packet and Data Burst Generation Method in Optical Burst Switching Networks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792989B1 (en) * 2001-05-21 2008-01-08 엘지전자 주식회사 Transmission method of discard information of service data unit for a radio communications system
KR20180027281A (en) * 2016-09-06 2018-03-14 에스케이텔레콤 주식회사 Method and Apparatus for Recovering Packet Loss

Also Published As

Publication number Publication date
KR100278846B1 (en) 2001-01-15

Similar Documents

Publication Publication Date Title
US6633564B1 (en) Method and apparatus for inserting packets into a data stream
US5703878A (en) Method of transferring structured data of constant bit rate traffic in an ATM network
US5946309A (en) Hybrid ATM adaptation layer
US6151318A (en) Method and apparatus for encapsulating ATM cells in a broadband network
AU723092B2 (en) Minicell sequence number count
US5740173A (en) Asynchronous transfer mode (ATM) cell arrival monitoring system
US8135036B2 (en) Unified data packet for encapsulating data packets having diverse formats
EP1080600B1 (en) Method for eliminating misconcatenation of partial packets in aal2 and partial packet with channel identifier
GB2327557A (en) Telecommunications system
US6996109B2 (en) ATM cell transmitting/receiving device of ATM switching system
EP1004218B1 (en) Method for transmitting data across atm networks of different types
US20040223496A1 (en) ATM communications system and method
EP1047280A2 (en) Communication systems
US20070171912A1 (en) Network relay method and device
AU703430B2 (en) A method and apparatus for communicating between nodes in a communications network
KR100278846B1 (en) Method of transmitting / receiving a transmission stream packet of a fixed transmission rate through ALS5
US6597697B1 (en) Extended AAL2 connection identifier
EP0993226A1 (en) Data transmission apparatus
KR100525542B1 (en) Apparatus for data transmission and receive using ATM cell
US6948013B2 (en) Apparatus and method for configuring data cells
JP2005516476A (en) Method of implementing ATM adaptation layer 2 for variable bit rate real-time service
US7079543B1 (en) Method and system for transmitting traffic having disparate rate components
KR0185866B1 (en) Apparatus and method of generating a pointer of sdt in aal type 1
KR0129184B1 (en) A circuit for generation of pdu in sscop sublayer
KR100236038B1 (en) Multiplexer and demultiplexer for directly interfacing external image signals in an atm card

Legal Events

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

Payment date: 20040331

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee