KR0123224B1 - Unit of receiving atm cells in aal type 5 sar layer - Google Patents
Unit of receiving atm cells in aal type 5 sar layerInfo
- Publication number
- KR0123224B1 KR0123224B1 KR1019940031342A KR19940031342A KR0123224B1 KR 0123224 B1 KR0123224 B1 KR 0123224B1 KR 1019940031342 A KR1019940031342 A KR 1019940031342A KR 19940031342 A KR19940031342 A KR 19940031342A KR 0123224 B1 KR0123224 B1 KR 0123224B1
- Authority
- KR
- South Korea
- Prior art keywords
- fifo
- atm
- output
- auu
- signal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/43—Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
- H04L12/5601—Transfer mode dependent, e.g. ATM
- H04L2012/5638—Services, e.g. multimedia, GOS, QOS
- H04L2012/5646—Cell characteristics, e.g. loss, delay, jitter, sequence integrity
- H04L2012/5652—Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
- H04L2012/5653—Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL]
- H04L2012/5658—Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly using the ATM adaptation layer [AAL] using the AAL5
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 ATM5 SAR 수신처리장치에 관한 것으로, ATM 계층으로부터 스타트(start)신호가 입력되면 모듈로 48카운트 하여 FIFO 제어신호, CRC 인에이블신호 및 완료신호를 발생하는 카운터 및 제어부(20);와, ATM 계층으로부터 AUU 비트를 입력하여 메시지의 지작과 종료를 판단하는 AUU 처리부(30); 상기 AUU 처리부(30)의 출력과 상기 카운터 및 제어부(20)의 출력에 의해 수신된 메시지의 길이를 계산하는 길이연산부(40); 상기 카운터 및 제어부(20)의 출력과 상기 AUU 처리부(30)의 출력에 따라 조립완료(CPCS_invoke) 신호를 발생하는 조립완료신호발생부(50); 상기 FIFO 제어신호에 따라 ATM FIFO(1)로부터 데이터를 읽어 AAL FIFO(3) 에 데이터를 쓰도록 상기 FIFO들(1,3)을 제어하는 FIFO 제어부(10); 및 상기 카운터 및 제어부(20)의 출력에 따라 수신된 메시지의 CRC 에러를 검출하는 CRC 처리부(60)를 구비하여 신속하게 AAL5 SAR 수신기를 처리한다.The present invention relates to an ATM5 SAR receiving processing apparatus, comprising: a counter and a controller 20 for generating a FIFO control signal, a CRC enable signal, and a completion signal by counting 48 modules into a module when a start signal is input from an ATM layer; and An AUU processing unit 30 for inputting the AUU bit from the ATM layer to determine the end of the message; A length calculation unit 40 for calculating a length of a message received by the output of the AUU processing unit 30 and the output of the counter and the control unit 20; An assembly completion signal generator 50 generating an assembly completion signal (CPCS_invoke) signal according to an output of the counter and the controller 20 and an output of the AUU processor 30; A FIFO controller (10) for controlling the FIFOs (1, 3) to read data from an ATM FIFO (1) and write data to an AAL FIFO (3) in accordance with the FIFO control signal; And a CRC processing unit 60 which detects a CRC error of the received message according to the output of the counter and the control unit 20 to quickly process the AAL5 SAR receiver.
Description
제1도는 본 발명에 따른 SAR 수신처리장치를 설명하기 위하여 도시한 것으로서,1 is a view illustrating a SAR receiving processing apparatus according to the present invention.
(a)는 AAL 계층의 데이터 흐름 구조를 도시한 도면.(a) is a diagram illustrating a data flow structure of an AAL layer.
(b)는 CPCS-PDU 데이터의 포맷을 도시한 도면.(b) shows a format of CPCS-PDU data.
(c)는 SAR-PDU 데이터의 포맷을 도시한 도면.(c) is a diagram showing the format of SAR-PDU data.
제2도는 본 발명에 따른 SAR 수신처리장치를 도시한 블록도.2 is a block diagram showing a SAR receiving processing apparatus according to the present invention.
제3도는 일반적인 ATM 셀의 구조를 도시한 것으로,3 shows the structure of a typical ATM cell.
(a)는 ATM 셀 전체의 구조를 도시한 도면.(a) is a diagram showing the structure of the entire ATM cell.
(b)는 사용자망점면(UNI)의 ATM 셀 헤더 구조를 도시한 도면.(b) is a diagram illustrating an ATM cell header structure of a user network point of view (UNI).
(c)는 망노드접면(NNI)의 ATM 셀 헤더 구조를 도시한 도면이다.(c) shows the ATM cell header structure of the network node interface (NNI).
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1,3 : FIFO 2 : SAR 수신처리장치1,3: FIFO 2: SAR receiver
10 : FIFO 제어부 20 : 카운터 및 제어부10: FIFO control unit 20: counter and control unit
30 : AUU 처리부 40 : 길이 연산부30: AUU processing unit 40: length calculation unit
50 : 조립완료신호 발생부 60 : CRC 처리부50: assembly completion signal generator 60: CRC processing unit
본 발명은 비동기 전달모드(ATM : Asynchronous Transfer Mode)통신방식에서 사용자 서비스정보와 ATM 셀 포맷을 정합시키는 ATM 적응계층(AAL :ATM Adaptation Layer)에 관한 것으로, 특히 AAL5 프로토콜에 따라 ATM 계층으로부터 수신한 세그먼트를 재조립하여 수렴(CS : Convergence Sublayer)부계층으로 올려 보내는 절단 및 조립 (SAR : Sagmentation and Reassembly Sublayer) 부계층의 수신처리장에 관한 것이다.The present invention relates to an ATM Adaptation Layer (AAL) that matches user service information and ATM cell format in an Asynchronous Transfer Mode (ATM) communication scheme. In particular, the present invention relates to an ATM Adaptation Layer (AAL) protocol. Sagmentation and Reassembly Sublayer (SAR) Sub-layer reception processing plant reassembles a segment and sends it to the Convergence Sublayer (CS) sublayer.
최근들어, 통신수단이 급속히 디지털화되고 광통신의 발달로 인하여 넓은 대역의 전송이 가능해짐에 따라 사용자의 다양한 서비스 요구를 충족시키기 위하여 광대역 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 : Aysnchronous Time Division Multiplexing)하여 통신하는 방식으로 셀단위로 전송한다는 점에서 종래의 패킷(packet)통신방식과 유사하나 ATM 통신방식에서는 실시간 및 항등비트율의 신호까지를 취급하며 국부적인 지역망은 물론 거대한 공중망에 사용되기 위하여 국제표준화 기구에 의해 표준화된 통신방식이다.The ATM communication method is similar to the conventional packet communication method in that ATM cells are asynchronously transmitted by asynchronous time division multiplexing (ATDM) and are transmitted in cell units. It handles even signal of bit rate and is standardized by international standardization organization for use in local area network as well as huge public network.
이러한 ATM 통신방식은 제4도의 (a) 내지 (c)에 도시된 바와 같은 ATM 셀을 기본으로 통신하는바, 사용자의 긴 메시지를 ATM 셀로 분할되어 송신되고, 수신된 ATM 셀들은 다시 하나의 메시지로 재조립되어 상위 사용자에게 전달된다.This ATM communication method communicates based on ATM cells as shown in (a) to (c) of FIG. 4, and the user's long message is divided into ATM cells and transmitted, and the received ATM cells are again one message. Is reassembled and forwarded to the parent user.
즉, 제3도의 (a)에 도시된 바와 같이, ATM 셀은 5바이트의 헤더(H:Header)구간과 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 5-byte header (H: Header) section and a 48-byte user information section, and the 5-byte header is divided into FIGS. As shown in (c), the header structure is divided into a header structure at a user network interface (UNI) and a header structure at a network node interface (NNI), and a header at a user network interface (UNI). The structure consists of 4 bytes of General Flow Control (GFC), 4 bytes of Virtual Path Identifier (VPI), and 2 bytes of 4 bytes of virtual path identification. It consists of a number (VPI) and a 4-bit virtual channel identifier (VCI), the third byte consists of an 8-bit virtual channel identifier (VCI), and the fourth byte is a 4-bit virtual channel. Identification number (VCI), 3-bit payload type (PT) and 1-bit cell abandonment ranking (CLP: Cel) Loss Priority (5), and the fifth byte consists of 8-bit header error control (HEC).
여기서, 3비트의 유료부하형태(PL)중 마지막 비트는 사용자비트(AUU:ATM_USER to ATM_USER)로서 AAL5 프로토콜에서 유용하게 사용되며, 첫 번째 비트가 1일 경우 운용관리용 부하형태(OAM:Operations, Administration, and Manageme nt)를 나타내며 개략적인 의미는 다음 표1과 같다.Here, the last bit of the 3-bit payload type (PL) is a user bit (AUU: ATM_USER to ATM_USER), which is useful in the AAL5 protocol.If the first bit is 1, the operation management load type (OAM: Operations, Administration, and Managent), and their meaning is summarized in Table 1 below.
또한, 망노드접면(NNI)에서의 헤더구조를 살펴보면, 앞서 설명한 사용자망접면(UNI)의 첫 번째 바이트에 있는 일반흐름제어(GFC)가 가상경로 식별번호(VPI)로 사용되는 것을 제외하고는 사용자망접면(UNI)의 헤더구조와 동일한 것을 알 수 있다.Also, when looking at the header structure at the network node interface (NNI), the general flow control (GFC) in the first byte of the user network interface (UNI) described above is used as the virtual path identification number (VPI). It can be seen that the header structure of the user network interface (UNI) is the same.
이러한 ATM 통신방식은 다음 표2에서와 같이 계층적인 구조를 이루고, 각각의 계층별로 표준화된 기준을 가지고 있다.This ATM communication method has a hierarchical structure as shown in Table 2 below, and has standardized standards for each layer.
상기 표2에서와 같이 ATM통신방식은 물리계층, ATM계층, ATM적응계층(AAL : ATM Adaptation Layer), 상위 프로토콜 계층과 같이 수직적인 구조로 구분되고, AAL 계층은 절단 및 재결합 부계층(SAR : Segmentation And Reassembly sublayer)과, 수렴(CS : Convergence Sublayer)부계층으로 구분되며, 물리계층은 물리매체(PM)와 전송수렴(TC : Transmission Convergence) 부계층으로 다시 구분된다.As shown in Table 2, 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 Reassembly sublayer, and Convergence Sublayer (CS) sublayer, and the physical layer is divided into physical media (PM) and Transmission Convergence (TC) sublayer.
또한, ATM 통신방식에서 사용자가 요구하는 서비스를 소스의 특성에 따라 다음 표3와 같이 분리할 수 있다.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 3 below.
상기 표3에서와 같이 B-ISDN에서 서비스의 종류는 소스의 성질에 따라 A~D종으로 분류되는 바, A종 서비스는 실시간성, 항등비트율, 연결성의 서비스이고, B종 서비스는 실시간성, 가변비트율, 연결성의 서비스이고, C종 서비스는 비실시간성, 가변비트율, 비연결성의 서비스이고, D종 서비스는 비실시간성, 가변비트율, 비연결성서비스이다. 이러한 서비스들의 대표적인 예를 들면 항등율 영상신호, 가변율 영상신호, 연결성 데이터전달, 비연결성 데이터전달등이 있다.As shown in Table 3, the types of services in B-ISDN are classified into Classes A to D according to the nature of the source. The Class A services are real-time, identity bit rate, and connectivity services, and the Class B service is real-time, 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프로토콜은 다음 표4과 같이 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 4, but conventionally divided into AAL1 to AAL4, but AAL3 and AAL4 are similar to each other and have been combined into AAL3 / 4. AAL5 has been proposed to reduce the overhead.
상기 표4에 있어서와 같이, AAL계층은 서비스의 종류에 따라 해당서비스를 효율적으로 처리해 주기 위하여 AAL1, AAL2, AAL3/4, AAL5와 같이 수평적으로 구분되는 바, AAL5 계층은 비트율이 가변적인 C종 및 D종 서비스의 데이터를 전달하는 AAL3/4계층의 오버헤드를 줄여 고속 데이터통신에 적합하도록 이루어졌으며, 서비스 사용자로부터의 서비스 데이터 유니트(U-SDU:User-Service Data Unit)를 투명하게 전달하고, 전송오류를 검출하며 정보의 식별 및 버퍼할당 기능을 수행하는 수렴부계층(CS)과 수렴부계층(CS)으로부터 받은 가변길이의 데이터를 분할하여 ATM셀을 만들어 ATM계층으로 전달하고, ATM계층으로부터 ATM셀을 수신하여 재조립하여 수렴부계층 프로토콜 데이터단위(CS-PDU:CS-Protocol Data Unit)를 복구하는 절단 및 재결합 부계층(SAR)으로 다시 분할된다. 또한, 수렴(CS)부계층은 연결성 및 비연결성 서비스에 공통되는 기능을 담당하는 공통부 수렴부계층(CPCS : Common Part Convergence Sublayer)과 특정 AAL 사용자 서비스를 제공하기 위한 서비스 특유 수렴부계층 (SSCS : Service Specific Convergence Layer)으로 구분된다.As shown in Table 4, the AAL layer is divided horizontally as AAL1, AAL2, AAL3 / 4, AAL5 in order to efficiently process the service according to the type of service. It is suitable for high-speed data communication by reducing overhead of AAL3 / 4 layer that transmits data of class and class D service, and transparently deliver service data unit (U-SDU) from service user. ATM data is generated by dividing the variable-length data received from the convergence layer layer CS and the convergence layer layer CS, which detects transmission errors, and performs information identification and buffer allocation. The ATM cell is received from the layer and reassembled into subdivision and recombination sublayers (SARs) for recovering a converged sublayer protocol data unit (CS-PDU). 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 Networki ng : 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 Byeong-gi It is described in detail in Broadband Information Communication (pp314 ~ 327).
이상에서 설명한 바와 같은 AAL5 절단 및 조립(SAR) 부계층은 종래에는 소프트웨어 프로그램으로 구현되었기 때문에 데이터 전송속도가 느리고 컴퓨터에 과부하가 걸리는 문제점이 있었다.Since the AAL5 cutting and assembly (SAR) sublayer as described above has been conventionally implemented as a software program, there is a problem that data transmission speed is slow and the computer is overloaded.
이에 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 ATM 통신 방식에서 AAL5 절단 및 재조립(SAR) 부계층의 수신기능을 하드웨어로 구현한 AAL5 SAR 수신처리장치를 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide an AAL5 SAR reception processing apparatus that implements a hardware reception function of an AAL5 truncation and reassembly (SAR) sublayer in an ATM communication scheme in order to solve the above problems.
상기와 같은 목적을 달성하기 위한 본 발명의 SAR 수신처리장치는, ATM 통신방식의 AAL5 프로토콜에 따라 데이터를 수신함에 있어 ATM 계층으로 48바이트 ATM 셀 유료부하를 ATM FIFO를 통해 입력받아 수신에러를 검사한 후 AAL FIFO를 통해 상위계층으로 전달하도록 된 비동기 전달모드 수신처리장치에 있어서, ATM 계층으로부터 스타트신호가 입력되면 모듈로 48 카운트하여 FIFO 제어신호와 CRC 인에이블신호 및 완료신호를 발생하는 카운터 및 제어부; 와 ATM 계층으로부터 AUU 비트를 입력하여 메시지의 시작과 종료를 판단하는 AUU 처리부; 상기 AUU 처리부의 출력과 상기 카운터 및 제어부의 출력에 의해 수신된 메시지의 길이를 계산하는 길이연산부; 상기 카운터 및 제어부의출력과 상기 AUU 처리부의 출력에 따라 조립완료신호를 발생하는 조립완료신호발생부; 상기 FIFO 제어신호에 따라 ATM FIFO로부터 데이터를 읽어 ALL FIFO에 데이터를 쓰도록 상기 FIFO 들을 제어하는 FIFO 제어부; 및 상기 카운터 및 제어부의 출력에 따라 수신된 메시지의 CRC 에러를 검출하는 CRC 처리부를 구비한 것을 특징으로 한다.The SAR receiving processing apparatus of the present invention for achieving the above object, the 48-byte ATM cell payload to the ATM layer to receive data according to the AAL5 protocol of the ATM communication method through the ATM FIFO to check the reception error In the asynchronous delivery mode receiving processing device to be delivered to the upper layer through the AAL FIFO, a counter for generating a FIFO control signal, a CRC enable signal, and a completion signal by counting 48 to the module when a start signal is input from the ATM layer; Control unit; And an AUU processing unit for determining the start and end of a message by inputting an AUU bit from an ATM layer. A length calculation unit calculating a length of a message received by the output of the AUU processing unit and the output of the counter and the control unit; An assembly completion signal generator configured to generate an assembly completion signal according to an output of the counter and the controller and an output of the AUU processor; A FIFO controller for controlling the FIFOs to read data from an ATM FIFO and write data to an ALL FIFO according to the FIFO control signal; And a CRC processing unit for detecting a CRC error of the received message according to the output of the counter and the controller.
이하, 첨부한 예시도면을 참조하여 본 발명을 자세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
먼저, 본 발명에 대한 이해를 쉽게 하기 위하여 AAL 계층에서의 데이터 구조 및 흐름을 제1도의 (a) 내지 (c)를 참조하여 살펴본다.First, in order to facilitate understanding of the present invention, the data structure and flow in the AAL layer will be described with reference to FIGS.
제1도의 (a)는 ATM 통신방식에서 AAL5 프로토콜에 따른 각 계층간의 데이터 흐름을 도시한 개략도로서, 상위계층(본 발명의 실시예에서는 선 워크스테이션, 이하 선 워크스테이션이라고 한다.)의 사용자 서비스 데이터 유니트(U-SDU)가 AAL 서비스접속점(ALL-SAP:AAL-Service Access Point)을 통과한 후 AAL 서비스데이타단위(AAL-SDU)로 형성되어 FIFO에 저장되고, AAL5 CPCS 계층에서는 AAL 서비스데이타단위(ALL-SDU)에 CPCS 트레일러를 부가하여 수렴 프로토콜단위(AAL-SDU)를 형성한 후 절단 및 재결합(SAR) 계층으로 FIFO를 통해 내려보낸다. AAL SAR 계층에서는 사용자가 전송하고자 하는 메세지에 따라 길이가 가변적인 CPCS-PDU를 48바이트씩 분할한 후 절단 및 재조립 프로토콜단위(SAR-PDU)를 형성하고, 4바이트의 ATM 헤더를 부가하여 52바이트를 ATM 서비스접속점(ATM-SAP)를 거쳐 ATM 계층으로 내려보낸다.(A) of FIG. 1 is a schematic diagram showing the data flow between layers according to the AAL5 protocol in the ATM communication method. The user service of the upper layer (hereinafter referred to as a sun workstation, hereinafter called a sun workstation) in the embodiment of the present invention. After the data unit (U-SDU) passes through the AAL Service Access Point (ALL-SAP), it is formed into AAL Service Data Units (AAL-SDU) and stored in the FIFO, and the AAL service data in the AAL5 CPCS layer. A CPCS trailer is added to the unit (ALL-SDU) to form a convergence protocol unit (AAL-SDU), which is then sent down the FIFO to the cut and recombine (SAR) layer. In the AAL SAR layer, a CPCS-PDU of variable length is divided into 48 bytes according to a message to be transmitted by a user, and then a truncation and reassembly protocol unit (SAR-PDU) is formed. The bytes are passed down to the ATM layer via the ATM-SAP.
ATM 계층에서는 52바이트의 세그먼트에 1바이트의 헤더오류제어(HEC)를 부착하여 52바이트의 ATM 셀을 형성한 후 물리계층의 광전송로를 통해 타 단말기 또는 ATM 교환기를 송신한다.The ATM layer attaches 1-byte header error control (HEC) to a 52-byte segment, forms a 52-byte ATM cell, and transmits another terminal or ATM switch through the optical transmission path of the physical layer.
즉, AAL5 프로토콜은 연결성 혹은 비연결성 데이터통신을 위한 AAL3/4의 복잡한 절차를 간소화한 것으로서, AAL3/4와 마찬가지로 SAR, CPCS, SSCS 부계층을 가지며 서비스 모드로 메시지모드와 스트립모드가 있다. 그러나 AAL5의 수렴부계층은 헤더가 없이 8바이트의 트레일러만 부가하고 전체 메시지의 길이가 48의 배수가 되도록 트레일러가 포함되는 마지막 셀에 0~48바이트의 패드를 부가하며, AAL5 SAR 부계층에서는 48바이트의 배수길이인 CPCS-PDU를 48바이트의 SAR-PDU 세그먼트로 분할하고, 마지막 세그먼트의 ATM 헤더의 유료부하형태(PL)의 AUU 비트를 1로 만들어 전송한다. 따라서, AAL5 프로토콜에 따른 데이터 전송시에 오버헤드가 줄어들고, 절차도 간소화되러 고속 전송이 가능하게 된다.That is, the AAL5 protocol simplifies the complex process of AAL3 / 4 for connected or disconnected data communication. Like AAL3 / 4, the AAL5 protocol has a sublayer of SAR, CPCS, and SSCS, and has a message mode and a strip mode. However, the AAL5 convergence layer adds only 8 bytes of trailer without headers and adds 0 to 48 bytes of pads to the last cell that contains the trailer so that the total message length is a multiple of 48. In the AAL5 SAR sublayer, 48 The CPCS-PDU, which is a multiple length of bytes, is divided into 48-byte SAR-PDU segments, and the AUU bit of the payload type (PL) of the ATM header of the last segment is set to 1 and transmitted. Therefore, overhead is reduced during data transmission according to the AAL5 protocol, and the procedure is simplified, and high speed transmission is possible.
제1도의 (b)는 AAL5 CPCS 계층에서 형성하는 데이터 포맷(CPCS-PDU)의 구조를 도시한 도면으로, 상위계층으로부터 수신한 가변길이의 CPCS-PDU 유료부하와 CPCS-PDU 전체길이르 48바이트의 배수가 되도록 삽입해주는 패드와 8바이트의 CPCS-PDU 트레일러로 구분되는 바, 상기 CPCS-PDU 트레일러는 2바이트의 공통부식별자(CPI:Common Part Indicator)와 2바이트의 길이영역(LI:Length field)과 4바이트의 CRC로 나누어진다. 또한, 2바이트이 공통부식별자(CPI)는 1바이트의 사용자식별영역(UU:User-to-User Indication field)과 1바이트의 공통부식별자(CPI)호 다시 나누기도 한다. 본 발명에서는 2바이트이 CPI를 사용하여 CPI의 내용은 상위계층인 선워크스테이션으로부터 입출력버스(SBUS)를 통해 입력하고, 길이영역(LI)의 내용은 패드와 트레일러를 제외한 순수한 유료부하의 크기이고, CRC는 32비트로서 강력한 오류검출 및 정정 능력을 갖는다.(B) of FIG. 1 is a diagram showing the structure of a data format (CPCS-PDU) formed in the AAL5 CPCS layer. The variable length CPCS-PDU payload received from the upper layer and the total length of the CPCS-PDU are 48 bytes. The CPCS-PDU trailer is divided into a pad and an 8-byte CPCS-PDU trailer. The CPCS-PDU trailer has a 2-byte common part indicator (CPI) and a 2-byte length field (LI: Length field). ) And a 4-byte CRC. In addition, the 2-byte common identifier (CPI) may be further divided into one byte of a user-to-user indication field (UU) and one byte of a common identifier identifier (CPI). In the present invention, 2 bytes using the CPI, the contents of the CPI is input through the input and output bus (SBUS) from the sun workstation, which is the upper layer, the content of the length area (LI) is the size of the net pay load excluding the pad and trailer, The CRC is 32 bits with strong error detection and correction capability.
제1도의 (c)는 AAL5 프로토콜에 따른 SAR-PDU의 데이터 포맷을 도시한 것으로 48바이트의 배수인 CPCS-PDU를 48바이트의 세그먼트로 분할하여 형성하며 제3도의 (b) 및 (c)와 같은 ATM 헤더의 유료부하형태(PL)의 AUU 비트를 트레일러가 포함되는 마지막 세그먼트는 1로 셋하고, 나머지 세그먼트0으로 래셋하여 ATM 계층으로 내려보낸다.(C) of FIG. 1 shows the data format of a SAR-PDU according to the AAL5 protocol, and is formed by dividing a CPCS-PDU, which is a multiple of 48 bytes, into segments of 48 bytes, and (b) and (c) of FIGS. The AUU bit of the payload type (PL) of the same ATM header is set to 1 for the last segment including the trailer and reset to the remaining segment 0 and sent down to the ATM layer.
이어서, 제2도를 참조하여 본 발명에 따른 SAR 수신처리장치를 자세히 설명하기로 한다.Next, a SAR reception processing apparatus according to the present invention will be described in detail with reference to FIG.
제2도는 본 발명에 따른 SAR 수신처리장치를 도시한 블록도로서, ATM 계층으로부터 스타트(START)신호가 입력되면 모듈로 48카운트를 하여 FIFO 제어신호와 CRC 인에이블신호와 완료신호를 발생하는 카운터 및 제어부(20); 와 ATM 계층으로부터 AUU 비트를 입력하여 메시지를 시작과 종료를 판단하는 AUU 처리부(30); 상기 AUU 처리부(30)의 출력과 상기 카운터 및 제어부(20)의 출력에 의해 수신된 메시지의 길이를 계산하는 길이연산부(40); 카운터 및 제어부(20)의 출력과 AUU 처리부(30)의 출력에 따라 조립완료(CPCS_invoke) 신호를 발생하는 조립완료신호발생부(50); 상기 FIFO 제어신호에 따라 ATM FIFO(1)로부터 데이터를 읽어 AAL FIFO(3)에 데이터를 쓰도록 상기 FIFO(1,3)들을 제어하는 FIFO 제어부(10); 및 상기 카운터 및 제어부(20)의 출력에 따라 수신된 메시지의 CRC 에러를 검출하는 CRC 처리부(60)를 구비한다.2 is a block diagram illustrating a SAR receiving processing apparatus according to the present invention. When a START signal is input from an ATM layer, the counter performs a 48 count modulo and generates a FIFO control signal, a CRC enable signal, and a completion signal. And a control unit 20; An AUU processing unit 30 for inputting the AUU bits from the ATM layer to determine the start and end of the message; A length calculation unit 40 for calculating a length of a message received by the output of the AUU processing unit 30 and the output of the counter and the control unit 20; An assembly completion signal generator 50 generating an assembly completion signal (CPCS_invoke) signal according to an output of the counter and the controller 20 and an output of the AUU processor 30; A FIFO controller (10) for controlling the FIFOs (1, 3) to read data from an ATM FIFO (1) and write data to an AAL FIFO (3) according to the FIFO control signal; And a CRC processing unit 60 for detecting a CRC error of the received message according to the output of the counter and the control unit 20.
즉, ATM 계층에서는 앞서 설명한 바와 같이 AAL5 프로토콜에 따른 포맷의 셀 데이터를 수신하여 ATM 헤더를 처리한 후 48바이트의 셀 데이터를 ATM FIFO(1)에 기록하고 ATM 헤더의 유료부하형태(PT)의 AUU 비트를 분리한 후 본 발명에 따른 SAR 수신처리장치(2)에 스타트(START) 신호와 AUU 비트를 인가한다.That is, the ATM layer receives the cell data in the format according to the AAL5 protocol as described above, processes the ATM header, and then records 48 bytes of cell data in the ATM FIFO 1, and the payload type (PT) of the ATM header is stored. After the AUU bit is separated, the start signal and the AUU bit are applied to the SAR receiving apparatus 2 according to the present invention.
그러면, SAR 수신처리장치(2)는 스타트(START) 신호에 따라 모듈로 48카운트를 시작하여 ATM FIFO(1)로부터48바이트씩 수신된 데이터를 읽어와 AAL FIFO(3)에 기록하고, 이를 AUU 비트가 0부터 1이 될 때까지의 세그먼트에 대해 반복하여 송신과정에서 분할된 세그먼트들을 재조립하여 하나의 메시지로 완성시킨 후 조립완료신호(CPCS_invoke)를 발생하여 CPCS 부계층에 알리고, CRC 에러(CRC_err) 발생을 검출한다.Then, the SAR reception processing apparatus 2 starts 48 counts modulo according to the START signal, reads the data received from the ATM FIFO 1 by 48 bytes, and writes the data to the AAL FIFO 3, which is then AUU. Repeat the segment from bit 0 to 1 to reassemble the segment in the transmission process and complete it as one message. Then, the assembly completion signal (CPCS_invoke) is generated to inform the CPCS sublayer. CRC_err) Detect occurrences.
이상에서 설명한 바와 같이 구성되는 본 발명에 따른 AAL5 SAR 수신처리 장치의 동작을 구성 블록별로 살펴본다.The operation of the AAL5 SAR reception processing apparatus according to the present invention configured as described above will be described for each configuration block.
카운터 및 제어부(20)는 ATM 계층으로부터 스타트(START) 신호가 인가되면 모듈로 48카운트를 시작하여 ATM FIFO(1)로부터 데이터를 읽어오기 위한 FIFO 제어신호와 읽어온 데이터를 AAL FIFO(3)에 기록하기 위한 FIFO 제어신호를 발생하고, 수신된 데이터의 CRC 에러를 검출하기 위한 CRC 처리부(60)를 인에이블시키는 신호를 발생하며 48카운트가 종료될 때마다 완료(cpmplete)신호를 발생한다.When the START signal is applied from the ATM layer, the counter and control unit 20 starts the module with 48 counts and sends the FIFO control signal for reading data from the ATM FIFO 1 and the read data to the AAL FIFO 3. A FIFO control signal for recording is generated, a signal for enabling the CRC processing unit 60 for detecting a CRC error of the received data is generated, and a completion signal is generated every 48 counts.
AUU 처리부(30)는 ATM 계층으로부터 AUU 비트를 입력하여 AUU 비트가 0이면 시작 세그먼트 또는 연속된 세그먼트로 판단하고, 1이면 마지막 세그먼트라는 것으로 판단하여 메시지의 시작과 종료를 구분한다. 즉, 앞서 설명한 바와 같이 송신시에 CPCS 트레일러가 포함되는 마지막 세그먼트의 AUU 비트는 1로하고, 나머지 세그먼트는 0으로 하므로 수신시에 ATM 계층으로부터 AUU 비트를 입력하여 관련된 세그먼트의 모입으로 구성되는 메시지를 구분할 수 있다.The AUU processing unit 30 inputs the AUU bit from the ATM layer, and if the AUU bit is 0, determines that it is a start segment or a continuous segment, and if it is 1, it determines that it is the last segment. That is, as described above, the AUU bit of the last segment including the CPCS trailer is set to 1 and the remaining segment is set to 0 at the time of transmission. Can be distinguished.
길이연산부(40)는 AUU 비트가 1에서 0으로 바뀌는 세그먼트부터 0에서 1로 바뀌는 세그먼트까지의 세그먼트의 수에 48을 곱하여 수신된 메시지의 길이를 계산한 후, 조립완료신호발생부(50)의 출력에 따라 CPCS 계층으로 수신된 메시지의 길이정보(len[15..0])를 출력한다. 즉, 송신시에 CPCS 계층에서 패드(PAD)를 삽입하여 SAR 계층의 데이터 길이는 48의 배수가 되므로 수신된 세그먼트의 수만 알면 쉽게 패드 및 CPCS 트레일러를 포함하는 메시지의 길이를 구할 수 있다. 또한, 필요에 따라서는 CPCS 트레일러의 길이정보를 이용하여 패드의 길이 및 상위계층으로 전송할 유료부하의 길이를 계산할 수도 있다.The length operation unit 40 calculates the length of the received message by multiplying the number of segments from the segment where the AUU bit is changed from 1 to 0 to the segment from 0 to 1 by 48, and then calculates the length of the assembly completion signal generator 50. According to the output, the length information len [15..0] of the message received in the CPCS layer is output. That is, since the data length of the SAR layer is a multiple of 48 by inserting a pad (PAD) in the CPCS layer at the time of transmission, it is possible to easily obtain the length of a message including the pad and the CPCS trailer by knowing only the number of received segments. In addition, if necessary, the length of the pad and the length of the payload to be transmitted to the upper layer may be calculated using the length information of the CPCS trailer.
FIFO 제어부(10)는 카운터 및 제어부(20)의 FIFO 제어신호(즉, fifo_start, fifo_end)에 따라 ATM FIFO(1)로부터 데이터를 리드하여 AAL FIFO(3)에 데이터를 라이트하여 메시지를 조립한다.The FIFO control unit 10 reads data from the ATM FIFO 1 according to the counter and the FIFO control signals of the control unit 20 (that is, fifo_start and fifo_end), writes data to the AAL FIFO 3, and assembles a message.
CRC 처리부(60)는 앞서 설명한 바와 같이 송신된 CPCS 트레일러의 32비트 CRC 코드를 해석하여 수신된 메시지의 CRC 에러를 검출한다.As described above, the CRC processing unit 60 detects a CRC error of the received message by analyzing a 32-bit CRC code of the transmitted CPCS trailer.
이상에서 설명한 바와 같이 본 발명에 따라 SAR 수신처리장치는 AAL5 SAR 계층의 수신기능을 간단한 디지털 로직으로 구현하여 데이터 처리속도를 개선시키고, 신뢰성을 향상시키는 효과가 있다.As described above, according to the present invention, the SAR reception apparatus has an effect of implementing the reception function of the AAL5 SAR layer with simple digital logic to improve data processing speed and improve reliability.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940031342A KR0123224B1 (en) | 1994-11-26 | 1994-11-26 | Unit of receiving atm cells in aal type 5 sar layer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940031342A KR0123224B1 (en) | 1994-11-26 | 1994-11-26 | Unit of receiving atm cells in aal type 5 sar layer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960020170A KR960020170A (en) | 1996-06-17 |
KR0123224B1 true KR0123224B1 (en) | 1997-11-20 |
Family
ID=19399122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940031342A Expired - Fee Related KR0123224B1 (en) | 1994-11-26 | 1994-11-26 | Unit of receiving atm cells in aal type 5 sar layer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0123224B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170028564A (en) | 2015-09-04 | 2017-03-14 | 이정완 | Safety plug consisting of plug and socket |
-
1994
- 1994-11-26 KR KR1019940031342A patent/KR0123224B1/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170028564A (en) | 2015-09-04 | 2017-03-14 | 이정완 | Safety plug consisting of plug and socket |
Also Published As
Publication number | Publication date |
---|---|
KR960020170A (en) | 1996-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6289016B1 (en) | Method for eliminating misconcatenation of partial packets in AAL2 and partial packet with channel identifier | |
KR0123224B1 (en) | Unit of receiving atm cells in aal type 5 sar layer | |
JP3888741B2 (en) | Cell transmission rate decoupling method | |
US6711168B1 (en) | Terminating apparatus for ATM adaptation layer | |
KR970002816B1 (en) | AAL 5 transmission processing device with OAM cell processing function | |
KR0123233B1 (en) | Processing errors in sar sublayer of aal type 3/4 in atm system | |
KR0123223B1 (en) | A device for receiving atm cells according to aal type 3/4 protocol | |
KR0123231B1 (en) | Calculating length of received message in aal type 3/4 of atm system | |
KR970002815B1 (en) | A device for transmitting data of aal 3/4 in atm system | |
KR0123232B1 (en) | CPCS Trailer Processing System of ATM Communication System | |
KR0123227B1 (en) | Transmission interface device of AAL layer | |
KR0123230B1 (en) | SAR header receiving processing device of ATM communication system | |
KR0123226B1 (en) | Interfacing the aal to higher layer | |
KR0123222B1 (en) | FIFO Read Circuit in Asynchronous Transfer Mode Adaptive Layer (AAL) 3/4 Transmitter | |
KR0123229B1 (en) | Apparatus and method of interfacing aal with higher layer in atm system | |
KR970002722B1 (en) | SAR receiver processing system of ATM communication system | |
KR0123225B1 (en) | Detecting sar length error in aal type 3/4 of atm system | |
KR100210392B1 (en) | Sequence Number Processing Method for Cell Loss and Misinsertion Detection in AAL Type 1 | |
KR970002723B1 (en) | Stream mode circuit of asynchronous cell adaptation layer 3/4 | |
KR0140679B1 (en) | Circuit for processing sscop | |
KR0129179B1 (en) | A circuit for decoding pdu in sscop sublayer | |
KR0185861B1 (en) | Apparatus and method for generating a pointer of sdt in aal type 1 | |
KR0143681B1 (en) | Apparatus for transmitting a packet of various aal types | |
KR0133404B1 (en) | PDU generation circuit of SSCOP sublayer | |
KR0129178B1 (en) | A circuit for generating pdu in sscop sublayer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
R17-X000 | Change to representative recorded |
St.27 status event code: A-3-3-R10-R17-oth-X000 |
|
PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20000912 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20000912 |
|
R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |