KR0123225B1 - Detecting sar length error in aal type 3/4 of atm system - Google Patents

Detecting sar length error in aal type 3/4 of atm system

Info

Publication number
KR0123225B1
KR0123225B1 KR1019940028210A KR19940028210A KR0123225B1 KR 0123225 B1 KR0123225 B1 KR 0123225B1 KR 1019940028210 A KR1019940028210 A KR 1019940028210A KR 19940028210 A KR19940028210 A KR 19940028210A KR 0123225 B1 KR0123225 B1 KR 0123225B1
Authority
KR
South Korea
Prior art keywords
sar
length
atm
data
bytes
Prior art date
Application number
KR1019940028210A
Other languages
Korean (ko)
Other versions
KR960016277A (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 KR1019940028210A priority Critical patent/KR0123225B1/en
Publication of KR960016277A publication Critical patent/KR960016277A/en
Application granted granted Critical
Publication of KR0123225B1 publication Critical patent/KR0123225B1/en

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

There is provided an apparatus for detecting SAR length error in ATM telecommunication mode. The apparatus includes; 4-value comparator(12) for comparing a length(L1) data of SAR trailer as input with the value of 4; 8-value comparator(14) for comparing the length(L1) data with the value of 8; 44-value comparator(16) for comparing the length(L1) with the value of 44; and an error determining part(20) for determining whether or not the outputs of 4-value comparator(12), 8-value comparator(14), and 44-value comparator(16) deviate from an allowable value according to a segment type and thereby detecting a length error.

Description

ATM 통신방식의 SAR 길이에러 검출장치SAR length error detection device of ATM communication system

제1도는 본 발명에 따른 SAR 길이에 검출장치를 설명하기 위하여 도시한 것으로서,1 is a view illustrating a detection apparatus in a SAR length according to the present invention.

(a)는 AAL계층의 데이터 흐름 구조를 도시한 도면.(a) is a diagram showing a data flow structure of an AAL layer.

(b)는 SAR-PDU 데이터 포맷을 도시한 도면.(b) shows the SAR-PDU data format.

제2도는 본 발명에 따른 SAR 길이에러 검출장치를 도시한 블록도.2 is a block diagram showing a SAR length error detection apparatus according to the present invention.

제3도는 일반적인 ATM 셀의 구조를 도시한 것으로서,3 shows a structure of a general ATM cell,

(a)는 ATM 셀 전체의 구조를 도시한 도면.(a) is a diagram showing the structure of the entire ATM cell.

(b)는 사용자망접면(UNI)의 ATM 셀 해더 구조를 도시한 도면.(b) illustrates an ATM cell header structure of a user network interface (UNI).

(c)는 망노드접면(UNI)의 ATM 셀 해더 구조를 도시한 도면.(c) is a diagram illustrating an ATM cell header structure of a network node interface (UNI).

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

12 : 4비교기 14 : 8비교기12: 4 Comparators 14: 8 Comparators

16 : 44비교기 20 : 길이에러 판단부16: 44 Comparator 20: Length Error Determination Unit

본 발명은 비동기 전달모드(ATM : Asynchronous Transfer Mode) 통신방식에서 ATM 계층과 상위 사용자 서비스 계층을 연결하여 사용자 서비스정보와 ATM 셀 포맷을 정합시키며 전송오류를 처리하는 ATM 적응 계층 3/4(AAL 3/4)에 관한 것으로, 특히 ATM 계층으로부터 ATM 셀 데이터에서 AAL3/4 SAR 트레일러를 분리하여 SAR 길이에러를 검출하는 장치에 관한 것이다.According to the present invention, an ATM adaptation layer 3/4 (AAL 3) that connects an ATM layer and a higher user service layer to match user service information and ATM cell format and handles transmission errors in an asynchronous transfer mode (ATM) communication method. 4), and more particularly, to an apparatus for detecting SAR length errors by separating AAL3 / 4 SAR trailers from ATM cell data from the ATM layer.

최근들어, 통신수단이 급속히 디지털화되고 광통신의 발달로 인하여 넓은 대역의 전송이 가능해짐에 따라 사용자의 다양한 서비스 요구를 충족시키기 위하여 광대역 ISDN(B-ISDN : Broadband Intergrated Services Digital Network)이 등장하였다.Recently, as the means of communication is rapidly digitized and the development of optical communication enables the transmission of a wide band, a broadband ISDN (Broadband Intergrated Services Digital Network) has emerged to meet various user needs.

즉, B-ISDN은 광대역 정보통신(이병기, 강민호, 이종희 공저; 교학사; 1994; 서울; p239~314)에 기술된 바와 같이 원격검침, 데이터 단말, 전화, 패시밀리등 협대역 서비스로부터 영상전화, 영상회의 고속 데이터전송, 영상신호전송등과 같은 광대역 서비스까지를 공통적으로 취급하여 전달하기 위한 것으로, 비동기 전달모드(ATM) 통신방식을 기본으로 하여 구현된다.That is, B-ISDN is a video telephony service from narrowband services such as remote meter reading, data terminal, telephone, and facsimile, as described in broadband information communication (co-author Lee Byung-ki, Kang Min-ho, Jong-hee Lee; Kyohaksa; 1994; Seoul; p239 ~ 314). It is designed to handle and deliver broadband services such as video conferencing high-speed data transmission and video signal transmission in common, and is implemented based on an asynchronous transmission mode (ATM) communication method.

여기서, ATM 통신방식이란 ATM 셀(cell)을 비동기식 시분할 다중화 (ATDM : Asynchronous Time Division Multiplexing)하여 통신하는 방식으로 셀단위로 전송한다는 점에서 종래의 패킷(packet)통신방식과 유사하나 ATM 통신방식에서는 실시간 및 항등비트율의 신호까지를 취급하며 국부적인 지역망은 물론 거대한 공중망에 사용되기 위하여 국제표준화 기구에 의해 표준화된 통신방식이다.Here, the ATM communication method is similar to the conventional packet communication method in that an ATM cell is transmitted by cell unit by Asynchronous Time Division Multiplexing (ATDM). It handles real time and even bit rate signals and is standardized by the International Organization for Standardization as well as for local networks.

이러한 ATM 통신방식은 제4도의 (a) 내지 (c)에 도시된 바와 같은 ATM 셀을 기본으로 통신하게 되는바, 사용자의 긴 메시지를 ATM 셀로 절단되어 송신되고, 수신된 ATM 셀들은 다시 하나의 메시지로 재조립되어 상위 사용자에게 전달된다.This ATM communication is based on the ATM cell as shown in (a) to (c) of FIG. 4, the user's long message is cut into the ATM cell and transmitted, the received ATM cells are again one Reassembled into messages and delivered to the parent user.

즉, 제3도의 (a)에 도시된 바와 같이, ATM 셀은 5바이트(혹은 옥텟)의 헤더구간과 48바이트의 사용자정보구간으로 구분되고, 5바이트의 헤더는 제4도의 (b) 및 (c)에 도시된 바와 같이 사용자망접면(UNI : User Network Interface) 에서의 헤더구조와 망노드접면(NNI : Network Node Interface)에서의 헤더구조로 구분되며, 사용자망접면(UNI)에서의 헤더구조는 제1바이트가 4바이트의 일반흐름제어(GFC : Generi c Flow Control)와, 4바이트의 가상경로 식별번호(VPI : Virtual Path Identifier)로 이루어지고, 제2바이트가 4바이트의 가상경로 식별번호(VPI)와 4비트의 가상채널 식별번호(VCI : Virtual Channel Identifier)로 이루어지며, 제3바이트는 8비트의 가상채널 식별번호(VCI)로 이루어지고, 제4바이트는 4비트의 가상채널 식별번호(VCI)와 3비트의 유료부하 형태(PT : Payload Type)와 1비트의 셀포기순위 (CLP : Cell Loss Priority)로 이루어지고, 제5바이트는 8비트의 헤더오류제어(HEC : Header Error Control)로 이루어진다.That is, as shown in (a) of FIG. 3, an ATM cell is divided into a header section of 5 bytes (or octets) and a user information section of 48 bytes, and the header of 5 bytes is represented by (b) and (Fig. 4). As shown in c), the header structure is divided into a header structure at the user network interface (UNI) and a header structure at the network node interface (NNI) and a header structure at the user network interface (UNI). The first byte consists of 4 bytes of General Flow Control (GFC) and the 4 bytes of Virtual Path Identifier (VPI), and the second byte consists of 4 bytes of Virtual Path Identifier. (VPI) and 4-bit Virtual Channel Identifier (VCI), the third byte consists of 8-bit virtual channel identifier (VCI), and the fourth byte identifies 4-bit virtual channel. Number (VCI), 3-bit payload type (PT) and 1-bit cell abandonment ranking (CLP) : Cell Loss Priority, and the fifth byte is composed of 8-bit header error control (HEC).

또한, 제3도의 (c)에 도시된 바와 같은 망노드접면(NNI)에서의 헤더구조를 살펴보면, 앞서 설명한 사용자망접면(UNI)의 첫 번째 바이트에 있는 일반흐름제어(GFC)가 가상경로 식별번호(VPI)로 사용되는 것을 제외하고는 사용자망접면(UNI)의 헤더구조와 동일한 것을 알 수 있다.Also, when looking at the header structure of the network node interface (NNI) as shown in FIG. 3 (c), the general flow control (GFC) in the first byte of the user network interface (UNI) described above identifies the virtual path. It can be seen that it is the same as the header structure of the user interface (UNI) except that it is used as a number (VPI).

이러한 ATM 통신방식은 다음 표1에서와 같이 계층적인 구조를 이루고, 각각의 계층별로 표준화된 기준을 가지고 있다.This ATM communication method has a hierarchical structure as shown in Table 1 below, and has standardized standards for each layer.

상기 표1에서와 같이 ATM통신방식은 물리계층, ATM계층, ATM적응계층(AAL : ATM Adaptation Layer), 상위 프로토콜 계층과 같이 수직적인 구조로 구분되고, AAL 계층은 절단 및 재결합 부계층(SAR : Segmentation And Ressembly sublayer)과, 수렴(CS : Convergence Sublayer)부계층으로 구분되며, 물리계층은 물리매체(PM)와 전송수렴(TC : Transmission Convergence) 부계층으로 다시 구분된다.As shown in Table 1, the ATM communication method is divided into vertical structures such as a physical layer, an ATM layer, an ATM adaptation layer (AAL), and a higher protocol layer. The AAL layer is a cut and recombination sublayer (SAR). Segmentation And Ressembly sublayer, and Convergence Sublayer (CS) sublayer, and the physical layer is divided into physical medium (PM) and Transmission Convergence (TC) sublayer.

또한, ATM통신방식에서 사용자가 요구하는 서비스를 소스의 특성에 따라 다음 표2와 같이 분리할 수 있다.In addition, the services required by the user in the ATM communication method can be separated according to the characteristics of the source as shown in Table 2 below.

상기 표2에서와 같이 B-ISDN에서 서비스의 종류는 소스의 성질에 따라 A~D종으로 분류되는 바, A종 서비스는 실시간성, 항등비트율, 연결성의 서비스이고, B종 서비스는 실시간성, 가변비트율, 연결성의 서비스이고, C종 서비스는 비실시간성, 가변비트율, 비연결성의 서비스이고, D종 서비스는 비실시간성, 가변비트율, 비연결성서비스이다. 이러한 서비스들의 대표적인 예를 들면 항등율 영상신호, 가변율 영상신호, 연결성 데이터전달, 비연결성 데이터전달등이 있다.As shown in Table 2, the types of services in the B-ISDN are classified into Classes A to D according to the characteristics of the source. The Class A services are real-time, identity bit rate, and connectivity services. It is a variable bit rate, connectivity service, Class C service is a non-real time, variable bit rate, a non-connected service, Class D service is a non-real time, variable bit rate, a non-connected service. Representative examples of such services include identity rate video signals, variable rate video signals, connectivity data delivery, and connectionless data delivery.

한편, 상기와 같은 서비스에 대응하는 AAL프로토콜은 다음 표3과 같이 AAL1~AAL5로 구분되는데, 종래에는 AAL1~AAL4로 구분하였으나 AAL3과 AAL4가 유사한 점이 많아 AAL3/4 로 합쳐졌고, 고속데이터통신을 위해 오버헤드를 줄인 AAL5가 제안되었다.On the other hand, AAL protocols corresponding to the above services are classified into AAL1 to AAL5 as shown in the following Table 3, but conventionally divided into AAL1 to AAL4, but AAL3 and AAL4 are similar to each other. AAL5 has been proposed to reduce the overhead.

상기 표3에 있어서와 같이, AAL계층은 서비스의 종류에 따라 해당서비스를 효율적으로 처리해 주기 위하여 AAL1, AAL2, AAL3/4, AAL5와 같이 수평적으로 구분되는 바, AAL3/4계층은 비트율이 가변적인 C종 및 D종 서비스의 데이터를 전달하는 기능을 하며 메시지 모드와 스트림 모드가 있고, 서비스 사용자로부터의 서비스 데이터 유니트(U-SDU)를 투명하게 전달하고, 전송오류를 검출하며 정보의 식별 및 버퍼할당 기능을 수행하는 수렴부계층(CS)과 수렴부계층(CS)으로부터 받은 가변길이의 데이터를 분할하여 ATM셀을 만들어 ATM계층으로 전달하고, ATM계층으로부터 ATM셀을 수신하여 재조립하여 CS-PDU를 복구하는 절단 및 재결합부계층(SAR)으로 다시 분할한다.As shown in Table 3, the AAL layer is divided horizontally as AAL1, AAL2, AAL3 / 4, AAL5 to efficiently process the service according to the type of service. It functions to deliver data of class C and class D service, and has message mode and stream mode, and transparently delivers service data unit (U-SDU) from service user, detects transmission error, identifies information and Variable length data received from Convergence Layer (CS) and Convergence Layer (CS), which performs buffer allocation function, is divided into ATM cells to make an ATM cell, transferred to ATM layer, ATM cell is received from ATM layer, reassembled by CS Subdivide the PDU into break and recombination sublayers (SAR).

또한, 수렴(CS)부계층은 연결성 및 비연결성 서비스에 공통되는 기능을 담당하는 공통부 수렴부계층(CPCS : Common Part Convergence Sublayer)과 특정 AAL 사용자 서비스를 제공하기 위한 서비스 특유 수렴부계층 (SSCS : Service Specific Convergence Layer)으로 구분된다.In addition, the Convergence (CS) sublayer is a Common Part Convergence Sublayer (CPCS) that performs functions common to the connectivity and connectionless services, and a Service Specific Convergence Layer (SSCS) for providing specific AAL user services. : Service Specific Convergence Layer).

이와 같은 AAL 계층에 대한 자세한 내용은 ITU-T 권고 1.362 및 1.363 에 제안된 바 있고, 크레이그 파티지가 저술한 가기비트 네트워킹(Gigabit Network ing : Craig Partridge; 1994; Addison Wesley; pp(61~87) 및 이병기외 2인 공저의 광대역정보통신(pp314~327)에 자세히 기술되어 있다.Details of this AAL layer have been proposed in ITU-T Recommendations 1.362 and 1.363, and by Gigabit Networking: Craig Partridge; 1994; Addison Wesley; pp (61-87) and Lee Byung-ki and two others are described in detail in Broadband Information Communication (pp314 ~ 327).

이상에서 설명한 바와 같은 AAL3/4 계층은 종래에는 소프트웨어 프로그램으로 구현되었기 때문에 AAL3/4 수신처리 속도가 느린 문제점이 있었다.As described above, the AAL3 / 4 layer has a problem that the AAL3 / 4 reception processing speed is slow because it is conventionally implemented as a software program.

이에 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 ATM 통신 방식에서 AAL3/4 CPCS 계층과, SAR 트레일러를 수신하여 길이에러를 검출하는 기능을 하드웨어로 구현한 ATM 통신방식의 SAR 길이에거 검출장치를 제공하는데 그 목적이 있다.Therefore, the present invention is to detect the SAR length of the ATM communication method implemented in hardware to implement the function of detecting the length error by receiving the AAL3 / 4 CPCS layer and SAR trailer in the ATM communication method in order to solve the conventional problems as described above. The purpose is to provide a device.

상기와 같은 목적을 달성하기 위한 본 발명의 SAR 길이에러 검출장치는 SAR 트레일러의 길이표시(LI) 데이터를 입력하여 4와 비료하는 4비교기(12)와; SAR 트레일러의 길이표시(LI) 데이터를 입력하여8과 비교하는 8비교기(14); SAR 트레일러의 길이표시(LI) 데이터를 입력하여 44와 비교하는 44비교기(16); 및 상기 4,8,44비교기의 비교결과를 입력한 후 세그먼트형태에 따라 허용된 값을 벗어나는지를 판단하여 길이에러를 검출하는 길이에러 판단부(20)를 구비하는 것을 특징으로 한다.SAR length error detection apparatus of the present invention for achieving the above object is a four comparators 12 for inputting the length indication (LI) data of the SAR trailer 4 and fertilizer; An eight comparator 14 for inputting length indication (LI) data of the SAR trailer and comparing it with eight; 44 comparator 16 for inputting length indication (LI) data of the SAR trailer and comparing it with 44; And a length error determination unit 20 for detecting a length error by determining whether the deviation is outside the allowed value according to the segment type after inputting the comparison result of the 4,8,44 comparators.

이하, 첨부한 예시도면을 참조하여 본 발명의 실시예를 자세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명의 실시예를 설명하기 위하여 제1도의 (a)내지(c)에서 도시된 바와 같이 AAL 계층(본 발명의 실시예는 AAL3/4 계층에 관한 것으로 이하, AAL 계층은 AAL3/4 프로토콜에 따른 계층을 의미한다)에서의 데이터 흐름을 개괄적으로 살펴본다.First, in order to explain an embodiment of the present invention, as shown in (a) to (c) of FIG. 1, an AAL layer (an embodiment of the present invention relates to an AAL3 / 4 layer, where the AAL layer is AAL3 / 4). This is an overview of the data flow in the protocol layer.

제1도의 (a)는 ATM 통신방식에 따라 전송되는 과정에서 변화하는 데이터 포맷을 개괄적으로 도시한 개략도이다. ATM 계층에서는 광케이블과 같은 물리적인 전송로를 통해 53바이트의 ATM 셀(ATM-PDU)들을 수신하여 5바이트의 ATM 헤더를 처리한 후, 48 바이트의 ATM 서비스 데이터단위(ATM-SDU : ATM-Service Data Unit)를 ATM 서비스 접속점(ATM-SAP : ATM-Service Access Point)을 통해 AAL SAR 부계층으로 올려 보낸다. 이와 같이 ATM-SDU가 서비스접속점을 통과하여 AAL SAR 부계층에 도달하면 SAR 프로토콜 데이터 단위 (SAR-PDU : SAR-Preotocol Data Unit 혹은 세그먼트라고도 한다)로 불리어진다.FIG. 1 (a) is a schematic diagram schematically illustrating a data format changing in a process of being transmitted in accordance with an ATM communication scheme. The ATM layer receives 53 bytes of ATM cells (ATM-PDUs) through a physical transmission path such as an optical cable, processes 5 bytes of ATM headers, and then uses 48 bytes of ATM service data units (ATM-SDUs). Data Units are sent to the AAL SAR sublayer through ATM-SAP (ATM-SAP). As such, when the ATM-SDU reaches the AAL SAR sublayer through the service access point, it is called a SAR protocol data unit (SAR-PDU: SAR-Preotocol Data Unit or Segment).

AAL SAR 부계층에서는 48바이트이 SAR-PDU에서 2바이트의 SAR 헤더와 2바이트의 SAR 트레일러를 분리하여 전송오류 등을 검사하고, 44바이트의 유료 데이터는 세그먼트형태에 따라 관련된 세그먼트끼리 재결합하여 하나의 메시지 즉, CS-PDU로 복원시켜 AAL CS 부계층으로 올려보내고, AAL CS 부계층은 CS-PDU에서 CPCS헤더와 CPCS 트레일러를 처리하여 전송에러 및 하위계층의 에러여부를 확인하며 사용자 서비스 데이터(AAL-SDU : 즉, CPCS유료부하)를 상위계층의 선 워크스테이션으로 AAL-SAP와 입출력버스(SBUS)를 통해 올려보낸다.In the AAL SAR sublayer, 48 bytes separate the 2-byte SAR header and 2-byte SAR trailer from the SAR-PDU to check for transmission errors, and 44 bytes of paid data are re-combined with each other according to the segment type. That is, it restores the CS-PDU and uploads it to the AAL CS sublayer, and the AAL CS sublayer processes the CPCS header and the CPCS trailer in the CS-PDU to check whether there is a transmission error or an error in the lower layer, SDU: In other words, CPCS paid load is sent to upper level sun workstation through AAL-SAP and I / O bus (SBUS).

제1도의 (b)는 AAL3/4 프로토콜에 따른 SAR-PDU의 데이터 포맷을 도시한 도면으로서, 2바이트의 SAR 헤더와 44바이트의 SAR 유료부하와 2바이트의 SAR 트레일러로 구성되고, 상기 2바이트의 헤더(Header)는 2비트의 세그먼트 형태(ST : Segment Type), 4비트의 순서번호(SN : Sequency Number), 10비트의 다중화식별(MID : Multiplexing IDentification)로 이루어지고; 2바이트의 트레일러(Trailer)는 6비트의 길이표시(LI : Length Indication)와 10비트의 순환중복검사(CRC : Cyclic Redundancy Check)로 이루어진다.(B) of FIG. 1 shows a data format of a SAR-PDU according to the AAL3 / 4 protocol, which is composed of a 2-byte SAR header, a 44-byte SAR payload, and a 2-byte SAR trailer. A header consists of a 2-bit segment type (ST), a 4-bit sequence number (SN), and a 10-bit multiplexing identification (MID); The two-byte trailer consists of a 6-bit Length Indication (LI) and a 10-bit Cyclic Redundancy Check (CRC).

이때, 세그먼트형태(ST)는 다음 표4와 같이 각각 세그먼트의 특성을 구분하여 표시한다.In this case, the segment type (ST) is displayed by dividing the characteristics of each segment as shown in Table 4.

상기 표4에서와 같이 세그먼트형태(ST)가 '10'이면 44바이트의 유료부하가 메시지의 시작(즉, CPCS헤더)을 포함하는 데이터임을 알 수 있고, '00'이면 메시지의 중간부분임을 알 수 있고, '01'이면 메시지의 종료(즉, CPCS 트레일러를 포함)임을 알 수 있고, '11'이면 단일세그먼트이 메세지(CPCS 헤더와 CPCS 트레일러가 하나의 세그먼트에 포함됨)인 것을 알 수 있다.As shown in Table 4, if the segment type (ST) is '10', it can be seen that the 44-byte payload is data including the start of the message (that is, the CPCS header). If it is '01', it can be seen that the end of the message (that is, including the CPCS trailer), and if it is '11', it can be seen that the single segment is the message (CPCS header and CPCS trailer included in one segment).

또한, 제1도의 (b)에 있어서, 순서번호(SN)는 하나의 메시지를 여러게의 세그먼트로 분할할 때 각 세그먼트에대해 순차적으로 증가하면서 부여되는 일련번호로 전송중 에러의 유무를 확인하기 위하여 사용된다. 다중화식별번호(MID)는 한 개의 ATM계층 연결을 통하여 다수의 CPCS연결을 다중화할 경우에 사용되는 식별자로서 동일한 메시지에서 각 세그먼트는 동일한 값을 가지고, 길이표시(LI)는 SAR-PDU 유료부하 길이를 바이트로 표시한 것이다. 그리고 순환중복검사(CRC)는 SAR-PDU 전체에 대한 에러점검 및 정정 부호를 위한 것으로 10비트가 할당되며 사용되는 다항식은이다.In addition, in FIG. 1B, the sequence number SN is a serial number assigned to each segment in order to confirm whether there is an error during transmission when the message is divided into several segments. Used. Multiplexing Identification Number (MID) is an identifier used when multiplexing multiple CPCS connections through one ATM layer connection. Each segment has the same value in the same message, and the length indication (LI) indicates the SAR-PDU payload length. Is expressed in bytes. Cyclic redundancy check (CRC) is for error checking and correcting codes for the entire SAR-PDU, and 10 bits are allocated. to be.

제2도는 본 발명에 따른 SAR 길이에러 검출장치를 도기한 블록도로서, SAR 트레일러의 길이표시(LI)데이타를 입력하여 410와 비교하는 4비교기(12)와, SAR 트레일러의 길이표시(LI) 데이터를 입력하여 810와 비교하는 8비교기(14); SAR 트레일러의 길이표시(LI) 데이타를 입력하여 4410와 비교하는 44비교기(16); 및 상기 4, 8, 44비교기의 비교결과를 입력한 후 세그먼트형태에 따라 허용된 값을 벗어나는지를 판단하여 길이에러를 검출하는 에러판단부(20)로 구성된다.2 is a block diagram illustrating a SAR length error detecting apparatus according to the present invention. The 4 comparator 12 which inputs length indication (LI) data of a SAR trailer and compares it with 4 10 and a length indication (LI) of a SAR trailer. 8) a comparator 14 for inputting data and comparing it with 8 10 ; A 44 comparator 16 for inputting length indication (LI) data of the SAR trailer and comparing it with 44 10 ; And an error determination unit 20 for detecting a length error by inputting the comparison result of the 4, 8, 44 comparators and determining whether the deviation is from the allowed value according to the segment type.

먼저, 세그먼트형태(ST)에 따라 허용가능한 길이의 조합을 정리하면 다음 표5와 같다.First, the combination of allowable lengths according to the segment type ST is summarized in the following Table 5.

상기 표5에서와 같이 세그먼트형태(ST)에 따라 BOM 및 COM은 메시지의 길이가 큰 경우 절단한 앞부분이므로, 항시 SAR-PDU 유료부하의 길이가 44바이트이어야 하고, EOM은 최소한 4바이트의 CPCS 트레일러를 포함하므로 4바이트 이상 44바이트 이하이어야 하고, SSM은 최소한 하나의 세그먼트에 4바이트의 CPCS 헤더와 4바이트의 CPCS 트레일러를 포함하므로 8바이트 이상 44바이트 이하이어야 한다.As shown in Table 5, according to the segment type (ST), the BOM and COM are the front part cut when the message length is large, so the length of the SAR-PDU payload should be 44 bytes at all times, and the EOM is a CPCS trailer of at least 4 bytes. Must contain at least 4 bytes and not more than 44 bytes, and SSM must contain at least one segment with 4 bytes of CPCS header and 4 bytes of CPCS trailer.

따라서, 바이트단위로 SAR 유료부하의 길이를 표시하고 있는 길이표시(LI)데이타를 입력하여 4,8,44와 비교한 각각의 결과가 세그먼트형태에 따라 상기 표5와 같은 허용가능한 길이를 벗어나면 길이에러(length error)를 발생시켜 출력한다.Therefore, if the length indication (LI) data indicating the length of SAR payload in bytes is input and each result compared with 4,8,44 is out of the allowable length as shown in Table 5 according to the segment type, It generates and outputs a length error.

즉, BOM 및 COM은 44비교기(16)의 출력결과 44와 동일한 것으로 판단되면 정상이나 44보다 크거나 작으면 길이에러(length error)를 발생시키고, EOM은 4비교기(12)의 출력결과 4보다 작은 경우에 길이에러(length error)를 발생시키고, SSM은 8비교기(14)의 출력결과 8보다 작은 경우에 길이에러(length error)를 발생시킨다.That is, when it is determined that the BOM and COM are the same as the output result 44 of the 44 comparator 16, if it is normal or larger or smaller than 44, a length error is generated, and the EOM is greater than the output 4 of the 4 comparator 12. If it is small, a length error is generated, and the SSM generates a length error if it is smaller than 8 as the output result of the 8 comparator 14.

한편, 이와 같은 길이에러 검출회로는 프로그래머블 어레이 로직(RAL)로 구현할 경우, 다음 표6과 같이 하드웨어 기술언어(HDL)로 표현된다.On the other hand, when the length error detection circuit is implemented in the programmable array logic (RAL), it is represented in the hardware description language (HDL) as shown in Table 6.

상기 HDL로 구현한 본 발명의 실시예에 있어서, 길이표시(li[5..0]) 데이터는 4,8,44로 고정된 크기를 갖는 LI_F[ ], LI_E[ ], LI_FF[ ]와 각각 비교되어 그 결과가 (large_F, same_F), (large_E, same_E), large_FF, FF_same)에 각각 저장되고, 저장된 값들은 프로토콜이 허용가능한 범위에 있는지 판단되어 길이에러가 검출된다. 한편, EOM 세그먼트에서 CPCS의 길이 표시(L[15..0])중 상위 6비트, 즉 LI(15)~LI(10)이 모두 1이면 사용자 어보트(CPCS_U_Abort) 신호를 발생시킨다.In the embodiment of the present invention implemented by the HDL, the length indication (li [5..0]) data has LI_F [], LI_E [], LI_FF [] having a fixed size of 4, 8, 44, respectively. The result is compared and stored in (large_F, same_F), (large_E, same_E), large_FF, FF_same, respectively, and the stored values are judged whether the protocol is in an acceptable range and a length error is detected. On the other hand, if the upper six bits of the length indication L [15..0] of the CPCS, that is, the LI 15 to LI 10 are all 1 in the EOM segment, the user abort signal CPCS_U_Abort is generated.

이상에서 설명한 바와 같이 본 발명에 따른 SAR 길이에러 검출장치는 AAL3/4 SAR 계층의 길이에러 검출기능을 간단한 디지탈 로직으로 구현하여 길이에러 검출속도를 개선시키고, 신뢰성을 향상시키는 효과가 있다.As described above, the SAR length error detection apparatus according to the present invention implements the length error detection function of the AAL3 / 4 SAR layer with simple digital logic, thereby improving the length error detection speed and improving reliability.

Claims (1)

ATM 통신방식의 AAL3/4 프로토콜에 따라 데이터를 수신함에 있어 ATM 계층으로부터 48바이트의 ATM 셀 유료부하를 읽어 2바이트의 SAR 헤더 및 2바이트의 SAR 트레일러를 추출한 후 수신된 SAR 세그먼트의 길이에러를 검출하도록 된 비동기전달모드 통신장치에 있어서, 상기 SAR 트레일러의 길이표시(LI) 데이터를 입력하여 "4"와 비교하는 4비교기(12)와; SAR 트레일러의 길이표시(LI) 데이터를 입력하여 "8"과 비교하는 8비교기(14); 상기 SAR 트레일러의 길이표시(LI) 데이터를 입력하여 "4"4와 비교하는 44비료기(16) : 및 상기 4,8,44 비교기의 비교결과를 입력한 후 세그먼트형태에 따라 허용된 값을 벗어나는지를 판단하여 길이에러를 검출하는 에러판단부(20)를 구비한 것을 특징으로 하는 SAR 길이에러 검출장치.In receiving data according to AAL3 / 4 protocol of ATM communication method, it reads 48 bytes of ATM cell payload from ATM layer, extracts 2 bytes of SAR header and 2 bytes of SAR trailer, and detects length error of received SAR segment. An asynchronous transmission mode communication device, comprising: a four comparator (12) for inputting length indication (LI) data of the SAR trailer and comparing with "4"; An eight comparator 14 for inputting length indication (LI) data of the SAR trailer and comparing it with " 8 "; 44 fertilizer 16 comparing the length of the SAR trailer (LI) data and comparing it with " 4 " 4 and inputting a comparison result of the 4,8,44 comparators and then allowing the allowed values according to the segment type. SAR length error detection device characterized in that it comprises an error determination unit 20 for detecting the length error by determining whether the deviation.
KR1019940028210A 1994-10-31 1994-10-31 Detecting sar length error in aal type 3/4 of atm system KR0123225B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940028210A KR0123225B1 (en) 1994-10-31 1994-10-31 Detecting sar length error in aal type 3/4 of atm system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940028210A KR0123225B1 (en) 1994-10-31 1994-10-31 Detecting sar length error in aal type 3/4 of atm system

Publications (2)

Publication Number Publication Date
KR960016277A KR960016277A (en) 1996-05-22
KR0123225B1 true KR0123225B1 (en) 1997-11-20

Family

ID=19396559

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940028210A KR0123225B1 (en) 1994-10-31 1994-10-31 Detecting sar length error in aal type 3/4 of atm system

Country Status (1)

Country Link
KR (1) KR0123225B1 (en)

Also Published As

Publication number Publication date
KR960016277A (en) 1996-05-22

Similar Documents

Publication Publication Date Title
US6243382B1 (en) Interfacing to SAR devices in ATM switching apparatus
US6289016B1 (en) Method for eliminating misconcatenation of partial packets in AAL2 and partial packet with channel identifier
US6032272A (en) Method and apparatus for performing packet based policing
US6456629B1 (en) Interworking function
JP3888741B2 (en) Cell transmission rate decoupling method
KR0123225B1 (en) Detecting sar length error in aal type 3/4 of atm system
KR0123233B1 (en) Processing errors in sar sublayer of aal type 3/4 in atm system
EP0794685A1 (en) Maniplulation of header field in AMT cell
US5991532A (en) Method and apparatus for converting multimegabit-rate data into asynchronous transfer mode cells and vice versa
KR0123232B1 (en) A circuit for processing cpcs trailer in aal type 3/4 of atm
KR0123230B1 (en) Unit of processing sar header in aal type 3/4 of atm system
KR0123231B1 (en) Calculating length of received message in aal type 3/4 of atm system
KR0123223B1 (en) A device for receiving atm cells according to aal type 3/4 protocol
KR970002722B1 (en) Sar receiver processor of atm
KR0123227B1 (en) Interfacing the higher layer to the aal in atm system
KR100221330B1 (en) Method using effectively the residual bandwidth by excluding the idle cell at sar sublayer in aal layer
KR0123222B1 (en) Unit for reading fifo of aal 3/4 in atm system
KR0123226B1 (en) Interfacing the aal to higher layer
KR0123224B1 (en) Unit of receiving atm cells in aal type 5 sar layer
KR970002815B1 (en) A device for transmitting data of aal 3/4 in atm system
KR0123229B1 (en) Apparatus and method of interfacing aal with higher layer in atm system
KR100210392B1 (en) Order number processing method for detecting cell loss and erroneous insertion in aal type 1
KR100221329B1 (en) Apparatus for processing the real time data of moving picture in atm nic
KR100221332B1 (en) Method for using effectively the residual bandwidth at sar sublayer in aal layer
KR0185862B1 (en) Apparatus and method for extracting the boundary signal of structured data from the pointer of sdt in aal type 1

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee