KR0153924B1 - Packet data dividing/reassembling apparatus and method for aal-5 service - Google Patents
Packet data dividing/reassembling apparatus and method for aal-5 serviceInfo
- Publication number
- KR0153924B1 KR0153924B1 KR1019950053203A KR19950053203A KR0153924B1 KR 0153924 B1 KR0153924 B1 KR 0153924B1 KR 1019950053203 A KR1019950053203 A KR 1019950053203A KR 19950053203 A KR19950053203 A KR 19950053203A KR 0153924 B1 KR0153924 B1 KR 0153924B1
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- packet
- data
- signal
- transmission
- Prior art date
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
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/166—IP fragmentation; TCP segmentation
-
- 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)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 에이티엠 적응 계층 타입 5 서비스를 위한 패킷 데이타 분리/재결합 장치 및 그 방법에 관한 것으로서, 패킷 메모리(1)의 시작 어드레스 및 현재 어드레스, 패킷 데이타의 길이 등에 관한 테이블을 저장하여 출력하는 송/수신 제어 테이블 수단(12); CPU(2)와 정합하는 CPU 인터페이스 수단(13); 상기 CPU 인터페이스 수단(13)을 통해 제어 신호를 입출력하고, 패킷 데이타 송수신을 위한 제어 신호에 의해 패킷 메모리(1)와 패킷 데이타를 송수신하는 메모리 인터페이스 수단(11); 상기 메모리 인터페이스 수단(11)으로부터 송신 데이타 있음 신호를 수신하여 패킷 데이타를 수신하고, 셀 헤더를 부가하여 송신한 후, 송신이 완료되면 송신 읽기 완료 신호를 상기 메모리 인터페이스 수단(11)에 출력하는 송신 패킷 분리 수단(20); 및 외부로부터 패킷 데이타를 수신하여 셀 헤더를 분리한 후 어드레스를 출력하여 패킷 데이타를 상기 메모리 인터 페이스 수단(11)에 출력하는 수신 패킷 재결합 수단(30)을 구비하여 동시에 가능한 커넥션 수가 고정되어 있을 경우 외부의 제어 메모리 없이 간단하게 구현될 수 있으며, 패킷 메모리의 크기를 원하는 대로 최대 65536 바이트까지 사용자가 정의하여 사용함으로써 데이타의 길이에 제한이 없고, 구현 방법이 간단하여 AAL Type 5를 사용하는 가변 비트의 다양한 서비스 수용 시 데이타 처리 능력을 향상시킴과 동시에 칩의 게이트 수를 줄이고 구현 시간 단축할 수 있는 효과가 있다.The present invention relates to an apparatus and method for packet data separation / recombination for an ATM adaptation layer type 5 service. The present invention relates to a method for transmitting and storing a table relating to a start address and a current address of a packet memory 1, a length of packet data, and the like. Reception control table means 12; CPU interface means 13 for matching with the CPU 2; Memory interface means (11) for inputting and outputting control signals through the CPU interface means (13), and for transmitting and receiving packet data to and from the packet memory (1) by a control signal for transmitting and receiving packet data; A transmission data reception signal from the memory interface means 11 to receive packet data, transmission with a cell header added thereto, and a transmission read completion signal to the memory interface means 11 when the transmission is completed. Packet separation means 20; And receiving packet recombination means 30 which receives packet data from the outside, separates the cell headers, and outputs an address to output the packet data to the memory interface means 11. It can be easily implemented without external control memory, and there is no limit on the data length by user defined and used packet memory size up to 65536 bytes, and variable bit using AAL Type 5 because of simple implementation. In addition to improving the data processing capacity when accommodating various services, the number of gates of the chip can be reduced and the implementation time can be shortened.
Description
제1도는 본 발명의 일실시예에 따른 패킷 데이타 분리/재결합 장치의 개략적인 구성도.1 is a schematic configuration diagram of a packet data separation / recombination apparatus according to an embodiment of the present invention.
제2도는 본 발명의 일실시예에 따른 패킷 데이타 분리/재결합을 위한 전체 흐름도.2 is an overall flowchart for packet data separation / recombination according to an embodiment of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 제어부 20 : 송신 패킷 분리부10: control unit 20: transmission packet separation unit
30 : 수신 패킷 재결합부30: Receive packet recombination unit
본 발명은 에이티엠 적응 계층 타입 5 서비스를 위한 패킷 데이타 분리/재결합 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for packet data separation / recombination for ATM adaptation layer type 5 service.
ATM 적응 계층(AAL : ATM Adaptation Layer)은 수렴부계층(CS : Convergency Sublayer)과 분리 재결합(SAR : Segmentation And Reassembly)층으로 나뉜다. 수렴부계층은 다시 공통수렴부(CPCS : Common part Convergency Sublayer)와 서비스 특정 수렴부(SSCS : Service Specific Convergency Sublayer)로 나뉘어 전송 오류 검출과 상위 계층 서비스 처리에 대한 기능을 수행한다. 분리재결합층은 상위 계층(CPCS)에서 입력되는 서비스 데이타(CPCS-PDU : CPCS Protocol Data Unit)를 48바이트의 ATM 셀 페이로드 형태로 분리 및 ATM 계층에서 수신되는 다른 종류의 셀 페이로드를 원래의 서비스 데이타로 재결합하는 기능을 수행한다.The ATM Adaptation Layer (AAL) is divided into a Convergency Sublayer (CS) and a Segmentation And Reassembly (SAR) layer. The convergence layer is divided into a common part convergence sublayer (CPCS) and a service specific convergence sublayer (SSCS) to perform transmission error detection and higher layer service processing. The separation and recombination layer separates service data (CPCS-PDU) input from the upper layer (CPCS) into a 48-byte ATM cell payload and converts other types of cell payload received from the ATM layer. Recombines service data.
종래에는 상기와 같은 분리 및 재결합을 위해 메모리 관리를 위한 별도의 제어 메모리와 데이타를 저장하기 위한 패킷 메모리를 각각 따로 두어 구현하고 알고리즘 자체도 복잡한 문제점이 있었다.Conventionally, separate control memory for memory management and packet memory for storing data are separately implemented for the above separation and recombination, and the algorithm itself has a complicated problem.
상기와 같은 종래 기술의 문제점을 해결하기 위하여 안출된 본 발명은 동시에 가능한 커넥션 수가 고정되어 있을 경우 외부의 제어 메모리 없이 간단하게 구현될 수 있으며, 패킷 메모리의 크기를 원하는 대로 최대 65536바이트(ITU-T I.363에서 정의한 Maximum Packet Size)까지 사용자가 정의하여 사용함으로써 데이타의 길이에 제한이 없고, 구현 방법이 간단하여 AAL Type 5를 사용하는 가변 비트의 다양한 서비스 수용 시 데이타 처리 능력을 향상시킴과 동시에 칩의 게이트 수를 줄이고 구현 시간 단축할 수 있는 패킷 데이타 분리/재결합 장치 및 그 방법을 제공하는데 목적이 있다.The present invention devised to solve the above problems of the prior art can be simply implemented without an external control memory when the number of possible connections is fixed at the same time, the maximum size of the packet memory as desired 65536 bytes (ITU-T The maximum packet size defined in I.363 can be defined by the user, so that the data length is unlimited and the implementation method is simple, improving the data processing capacity when accommodating various services of variable bits using AAL Type 5 An object of the present invention is to provide a packet data separation / recombination device and method capable of reducing the number of gates of a chip and shortening an implementation time.
상기 목적을 달성하기 위한 본 발명은 각 커넥션 별로 필요한 패킷 메모리의 시작 어드레스 및 현재 어드레스, 패킷 데이타의 길이 등에 관한 테이블을 저장하여 출력하는 송/수신 제어 테이블 수단; CPU로 부터 제어 신호와 데이타를 수신하여 이를 해석하여 출력하고, 상기 CPU에 송신할 제어 신호를 입력받아 송신하는 CPU 인터페이스 수단; 상기 CPU 인터페이스 수단을 통해 제어 신호를 입출력하고, 상기 송/수신 제어 테이블 수단의 데이타를 액세스하여 패킷 데이타 송수신을 위한 제어 신호에 의해 패킷 메모리와 패킷 데이타를 송수신하는 메모리 인터페이스 수단; 상기 메모리 인터페이스 수단으로부터 송신 데이타 있음 신호를 수신하여 데이타를 읽기 위한 메모리 버스를 인가받아 상기 메모리 인터페이스 수단에 어드레스를 출력하여 패킷 데이타를 수신하고, 셀 헤더를 부가하여 송신한 후, 송신이 완료되면 송신 읽기 완료 신호를 상기 메모리 인터페이스 수단에 출력하는 송신 패킷 분리 수단; 및 외부로부터 패킷 데이타를 수신하여 수신 데이타가 있음 신호를 상기 메모리 인터페이스 수단에 출력하고, 메모리 버스 사용 허가를 알리는 수신 쓰기 인가 신호를 상기 메모리 인터페이스 수단으로부터 수신하여 셀 헤더를 분리한 후 어드레스를 출력하여 패킷 데이타를 상기 메모리 인터 페이스 수단에 출력하는 수신 패킷 재결합 수단을 구비한 것을 특징으로 한다.The present invention for achieving the above object is a transmission / reception control table means for storing and outputting a table relating to the start address and the current address of the packet memory required for each connection, the length of the packet data; CPU interface means for receiving a control signal and data from a CPU, interpreting and outputting the control signal, and receiving and transmitting a control signal to be transmitted to the CPU; A memory interface means for inputting / outputting a control signal through the CPU interface means and accessing data of the transmission / reception control table means to transmit and receive packet memory and packet data by a control signal for transmitting and receiving packet data; Receives a transmission data signal from the memory interface means, receives a memory bus for reading data, outputs an address to the memory interface means, receives packet data, transmits with a cell header, and transmits when transmission is complete. Transmission packet separation means for outputting a read completion signal to the memory interface means; And receiving packet data from the outside and outputting a reception data existence signal to the memory interface means, receiving a write write authorization signal indicating a memory bus usage permission from the memory interface means, separating a cell header, and outputting an address. And receiving packet recombination means for outputting packet data to the memory interface means.
또한, 에이티엠 적응 계층 타입 5 서비스를 위한 패킷 데이타 분리/재결합 장치에 적용되는 패킷 데이타 분리/재결합 방법에 있어서, 메모리 버스 요구 신호와 메모리 버스 사용 중 신호를 초기화하고, 수신 데이타가 있으면 수신 데이타를 패킷 메모리에 쓸 수 있도록 메모리 버스를 인가받은 후, 메모리 사용 중 신호를 어서트하여 메모리 사용중 임을 알리고, 송/수신 제어 테이블에서 해당되는 커넥션에 대한 현재 어드레스를 읽어와 47바이트의 데이타를 패킷 메모리에 쓰고, 47증가된 어드레스를 테이블의 현재 어드레스로 갱신한 후, 수신 절차가 완료되면 수신 데이타가 패킷 데이타의 마지막 데이타이고, 수신 패킷 데이타에 오류가 없으면 수신 데이타가 유효함을 송/수신 제어 테이블에 써서 알려주는 제 1 단계; 및 송신할 데이타가 있으면, 송신 읽기 요구 신호와 송신 읽기 중 신호를 통해 메모리 버스를 인가받아, 메모리 사용 중 신호를 어서트 하여 메모리 사용중 임을 알리고, 송/수신 제어 테이블에서 해당되는 커넥션에 대한 시작 어드레스와 패킷의 길이를 읽어 이를 이용해 패킷 메모리로부터 데이타를 읽어 48바이트의 셀 페이로드 형태로 분리한 후, 송/수신 제어 테이블로 부터 패킷에 대한 커넥션 정보를 읽어와 5바이트의 셀 헤더를 만든 후, 분리된 셀 페이로드에 셀 헤더를 덧붙여 53 바이트의 ATM셀 헤더를 생성하고, 읽기 수행이 완료되면 송신 절차가 완료 되었음을 알리는 제 2 단계를 포함하는 것을 특징으로 한다.In addition, in the packet data separation / recombination method applied to a packet data separation / recombination device for an ATM adaptive layer type 5 service, a memory bus request signal and a memory bus busy signal are initialized, and if there is received data, received data is received. After receiving the memory bus to write to the packet memory, it asserts the memory busy signal by asserting the memory busy signal, reads the current address for the connection from the transmit / receive control table, and writes 47 bytes of data into the packet memory. After updating the incremented address to the current address of the table, if the reception procedure is completed, the received data is the last data of the packet data. If there is no error in the received packet data, the received data is valid. First step of writing; And if there is data to be transmitted, the memory bus is applied through the transmit read request signal and the transmit read signal, asserting that the memory in use signal is in use, and indicating the start of the connection in the transmit / receive control table. After reading the length of the packet and using it to read the data from the packet memory and separating it into 48-byte cell payload, read the connection information about the packet from the transmit / receive control table and make a 5-byte cell header. And a second step of generating a 53-byte ATM cell header by adding a cell header to the separated cell payload, and notifying that the transmission procedure is completed when the read is completed.
이하, 첨부된 도면을 참조하여 본 발명의 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;
제1도는 본 발명의 일실시예에 따른 패킷 데이타 분리/재결합 장치의 개략적인 구성도로서, 도면에서 부호 1은 패킷 메모리, 2는 CPU, 3은 본 발명인 패킷 데이타 분리/재결합 장치, 그리고 10은 제어부, 20은 송신 패킷 분리부, 30은 수신 패킷 재결합부를 각각 나타낸다.1 is a schematic configuration diagram of a packet data separation / recombination apparatus according to an embodiment of the present invention, in which 1 is a packet memory, 2 is a CPU, 3 is a packet data separation / recombination apparatus according to the present invention, and 10 is The control unit 20 denotes a transmission packet separation unit and 30 denotes a reception packet recombination unit.
본 발명인 분리/재결합 장치(3)는 CPU(2)의 제어를 받으면서 송수신 패킷 데이타를 패킷 메모리(1)에 출력하여 저장한다. 본 발명은 패킷 메모리(1)의 관리 및 상태를 알려 주기 위한 제어부(10), 각각 송/수신과 관련되어 송신 패킷 분리부(20)와 수신 패킷 재결합부(20)로 구성된다. 제어부(10)는 송신 패킷 분리부(20)와 수신패킷 재결합부(30) 및 패킷 메모리(1)와의 인터페이스를 수행하는 메모리 인터페이스부(11), 송/수신 제어 테이블(12), CPU(2)와의 정합을 통해 제어 신호를 송신하거나, 제어 신호를 수신하여 메모리 인터페이스부(11)에 해석하여 출력하는 CPU 인터페이스부(13)로 구성된다. 메모리 인터페이스부(11)에서는 송신 패킷 분리부(20)와 수신 패킷 재결합부(30)에서 입출력 되는 어드레스 및 데이타의 선택이나 패킷 메모리(1)의 엑세스를 위한 기능을 가진다. 송/수신 제어 테이블(12)은 분리 및 재결합을 위하여, 각 커넥션 별로 필요한 패킷 메모리(1)의 시작 어드레스 및 현재 어드레스, 패킷 데이타의 길이 등에 관한 테이블을 관리한다. CPU 인터페이스부(13)에서는 CPU와 인터페이스 하기 위하여 필요한 신호들을 해석하거나 만든다.The separation / recombination apparatus 3 of the present invention outputs and stores packet data to and from the packet memory 1 under the control of the CPU 2. The present invention is composed of a control unit 10 for informing the management and status of the packet memory 1, a transmission packet separation unit 20 and a reception packet recombination unit 20 in association with transmission and reception, respectively. The control unit 10 includes a memory interface unit 11 for performing an interface between the transmission packet separation unit 20, the reception packet recombination unit 30, and the packet memory 1, the transmission / reception control table 12, and the CPU 2. ) Is a CPU interface unit 13 which transmits a control signal through matching with) or receives a control signal and interprets and outputs the control signal to the memory interface unit 11. The memory interface unit 11 has a function for selecting addresses and data input and output from the transmission packet separation unit 20 and the reception packet recombination unit 30 or accessing the packet memory 1. The transmission / reception control table 12 manages a table relating to a start address and a current address of the packet memory 1 required for each connection, length of packet data, and the like, for separation and recombination. The CPU interface unit 13 interprets or creates signals necessary for interfacing with the CPU.
상위 계층에서 송신할 서비스 데이타가 있을 경우, 서비스 데이타 유닛별로 패킷 메모리(1)에 데이타를 쓰고, CPU(2)는 패킷 메모리(1)에 송신할 데이타가 있음을 인지하면 데이타를 읽기 위한 제어 신호인 어드레스와 어드레스 스트로브 신호, 칩선택 신호, 읽기 선택신호를 CPU 인터페이스부(13)를 통하여 제어부(10)에 이를 알려준다. 제어부(10)의 상기 CPU 인터페이스부(13)는 메모리 인터페이스부(11)에 이를 알리고, 상기 메모리 인터페이스부(11)는 송/수신 제어 테이블(12)을 읽어 송신 데이타 있음 신호를 송신 패킷 분리부(20)에 전달한다. 송신 패킷 분리부(20)에서는 이 신호가 'low'로 어서트(Assert)되었을 경우, 송신할 데이타가 있음을 알고 패킷 메모리(1)에 있는 서비스 데이타를 읽어 갈 준비를 한다. 먼저 송신 읽기 요구 신호를 통하여 제어부(10)의 메모리 인터페이스부(11)에서 CPU 인터페이스부(13)를 통해 메모리 버스 사용을 요구하도록 한다. 즉, 메모리 버스 요구 신호를 통하여 CPU(2)에 알리도록 한다. CPU(2)에서 메모리 버스 사용을 허락하는 메모리 버스인가 신호가 어서트되면, 제어부(10)에서는 이를 송신 패킷 분리부(20)에 송신 읽기 인가 신호를 어서트하여 알려준다. 송신 패킷 분리부(20)에서는 송신 읽기 중 신호를 어서트하여 제어부(10)에 전달하고, 제어부(10)에서는 다시 메모리 버스 사용 중 신호를 CPU(2)에 어서트하여, 패킷 메모리(1)로부터 송신 데이타를 읽는 중임을 알려준다. 송신 패킷 분리부(20)에서는 CPU가 설정한 송/수신 제어 테이블(12)의 송신 데이타의 초기 어드레스 및 송신 데이타의 길이를 통하여 패킷 메모리(1)에 칩 선택신호, 어드레스, 읽기 선택 신호를 출력하여 패킷 메모리(1)에 저장된 서비스 데이타를 읽어 간다. 이 서비스 데이타를 다 읽은 후 송신 패킷 분리부(20)에서는 송신 읽기 요구 신호와 송신 읽기 중 신호를 'high'로 니게이트(Negate)한 후 송신 읽기 완료 신호를 어서트하여 데이타를 다 읽었음을 제어부(10)에 알린다. 제어부(10)에서는 이 신호들을 인지하고 메모리 버스 요구 신호와 메모리 버스 사용 중 신호를 'high'로 니게이트한 후, 송/수신 제어 테이블(12)의 송신 완료를 나타내는 비트를 어서트 하여 송신패킷을 다 읽었음을 최종적으로 CPU(2)에 알려준다.If there is service data to be transmitted from the upper layer, data is written to the packet memory 1 for each service data unit, and the CPU 2 recognizes that there is data to be transmitted to the packet memory 1, and then a control signal for reading the data. The in address, the address strobe signal, the chip select signal, and the read select signal are notified to the controller 10 through the CPU interface unit 13. The CPU interface unit 13 of the control unit 10 notifies the memory interface unit 11, and the memory interface unit 11 reads the transmission / reception control table 12 and transmits a transmission data present signal to the transmission packet separation unit. Pass in 20. When this signal is asserted 'low', the transmission packet separation unit 20 knows that there is data to transmit and prepares to read the service data in the packet memory 1. First, the memory interface unit 11 of the control unit 10 requests the use of the memory bus through the CPU interface unit 13 through the transmission read request signal. That is, the CPU 2 is informed via the memory bus request signal. When the memory bus application signal allowing the CPU 2 to use the memory bus is asserted, the control unit 10 asserts and transmits a transmission read authorization signal to the transmission packet separation unit 20. The transmission packet separation unit 20 asserts a signal during transmission read and transmits the signal to the control unit 10, and the control unit 10 asserts a memory bus busy signal to the CPU 2 again, and the packet memory 1 Indicates that reading data is being read from. The transmission packet separation section 20 outputs a chip selection signal, an address, and a read selection signal to the packet memory 1 through the initial address of the transmission data and the length of the transmission data of the transmission / reception control table 12 set by the CPU. Service data stored in the packet memory 1 is read. After reading the service data, the transmission packet separation unit 20 negates the transmission read request signal and the transmission read signal to 'high' and asserts the transmission read completion signal to read the data. Notify the control unit 10. The controller 10 recognizes these signals, negates the memory bus request signal and the memory bus busy signal to high, and asserts a bit indicating completion of transmission of the transmission / reception control table 12 to transmit packets. Finally, it tells the CPU 2 that it has finished reading.
역으로 수신 패킷 재결합부(30)에서 상위 계층으로 전송할 데이타가 있을 경우, 수신재결합부(30)에서는 수신 데이타 있음 신호를 어서트하여 패킷 메모리(1)에 전달할 데이타가 있음을 알리고 수신 쓰기 요구 신호를 통하여 송신 패킷 분리부(20)에서와 같이 메모리 버스 요구 절차를 시작한다. 메모리 버스 사용 인가 신호인 수신 쓰기 인가 신호가 어서트 되면, 수신 패킷 재결합부(30)에서는 수신 쓰기 중 신호를 어서트하여 제어부(10)에 전달하고, 제어부(10)에서는 다시 메모리 버스 사용 중 신호를 어서트하여, 패킷 메모리(1)로 수신 데이타를 쓰는 중임을 알려준다.Conversely, when there is data to be transmitted from the received packet recombination unit 30 to the upper layer, the reception recombination unit 30 asserts that there is data to be transmitted to the packet memory 1 by asserting the reception data present signal and receiving a write write request signal. Through the start of the memory bus request procedure as in the transmission packet separation section 20. When the reception write authorization signal, which is the memory bus usage authorization signal, is asserted, the reception packet recombination unit 30 asserts a signal during reception writing and transmits it to the controller 10, and the controller 10 again uses the memory bus busy signal. Asserts that it is writing the received data to the packet memory 1.
수신 패킷 재결합부(30)에서는 CPU(2)가 설정한 송/수신 제어 테이블(12)의 수신 데이타의 초기 어드레스 및 수신 데이타의 길이를 통하여 패킷 메모리(1)에 칩선택 신호와 어드레스, 쓰기 선택 신호를 출력하여 수신 데이타를 패킷 메모리(1)에 쓴다. 이 수신 데이타를 다 쓴 후 수신 패킷 재결합부(30)에서는 수신 쓰기 요구 신호와 수신 쓰기 중 신호를 'high'로 니게이트한 후 수신 쓰기 완료신호를 어서트하여 데이타를 다 썼음을 제어부(10)에 알린다.The reception packet recombination section 30 selects a chip select signal, an address, and a write selection to the packet memory 1 through the initial address of the reception data and the length of the reception data of the transmission / reception control table 12 set by the CPU 2. A signal is output and the received data is written to the packet memory 1. After the received data has been exhausted, the received packet recombination unit 30 negates the received write request signal and the received write signal to 'high', asserts the received write complete signal, and then the controller 10 runs out of data. Notify
제어부(10)에서는 이 신호들을 인지하고 메모리 버스 요구 신호와 메모리 버스 사용중 신호를 'high'로 니게이트한다. 또한 제어부(10)에서는 지금 쓴 수신 데이타가 원래 패킷 데이타의 마지막 데이타인가를 확인하고, 마지막 데이타인 경우는 송/수신 제어 테이블(12)의 수신 완료를 나타내는 비트를 어서트 하여 수신 패킷을 다 썼음을 최종적으로 CPU(2)에 알려준다. 그리고 수신 패킷 재결합부(30)에서 이 패킷 데이타의 오류 여부를 확인하여 오류 상태를 송/수신 제어 테이블(12)을 통하여 CPU(2)에 알려준다.The controller 10 recognizes these signals and negates the memory bus request signal and the memory bus busy signal to 'high'. In addition, the control unit 10 confirms whether the received data written now is the last data of the original packet data, and if it is the last data, asserts a bit indicating completion of reception of the transmission / reception control table 12 and exhausts the received packet. Is finally informed to the CPU 2. The received packet recombination unit 30 checks the error of the packet data and informs the CPU 2 of the error state through the transmission / reception control table 12.
제2도는 본 발명의 일실시예에 따른 송/수신 패킷 데이타의 분리 및 재결합을 위한 전체 흐름도이다.2 is a flowchart illustrating the separation and recombination of transmitted and received packet data according to an embodiment of the present invention.
먼저 휴지 상태에서 메모리 버스 요구 신호와 메모리 버스 사용중 신호를 니게이트하여 초기화 시킨다(100). 수신 패킷 재결합부(30)에서 패킷 메모리(1)에 재결합시킬 데이타가 있는가를 확인하여(110) 데이타가 있으면 수신 쓰기 요구 신호와 수신 쓰기 중 신호를 각각 메모리 버스 요구 신호와 메모리 버스 사용 중 신호로 매핑한 후(120), 수신 데이타를 패킷 메모리(1)에 쓸 수 있도록 메모리 사용을 요구한다(130). CPU(2)로 부터 메모리 사용의 허가를 나타내는 메모리 버스 인가 신호를 수신하면(140), 메모리 사용 중 신호를 어서트하여 수신 패킷 재결합부(30)에서 메모리 사용중임을 알린다(150). 그리고 47바이트의 수신 데이타를 패킷 메모리(1)에 쓰기를 수행하고(160), 이때 송/수신 제어 테이블(12)에서 해당되는 커넥션에 대한 현재 어드레스를 읽어와 47바이트의 데이타를 패킷 메모리(1)에 쓰고, 47증가된 어드레스를 데이블의 현재 어드레스로 갱신한다. 수신 절차의 한 사이클(여기서는 47바이트 단위로 데이타를 메모리에 쓰는 것으로 정의함)이 완료 되었음을 메모리 사용 중 및 메모리요구 신호를 니게이트하여 알린다(170). 수신 데이타가 패킷 데이타의 마지막 데이타 인가 즉, 패킷 데이타의 재결합을 다 끝냈는가를 확인하여(180) 다 끝냈을 경우에는 수신 패킷의 오류 여부를 확인하고(190), 재결합이 끝나지 않은 경우는 다시 재결합시킬 수신 데이타가 있는가를 조사한다(110).First, in the idle state, the memory bus request signal and the memory bus busy signal are negated and initialized (100). The received packet recombination unit 30 checks whether there is data to be recombined in the packet memory 1 (110), and if there is data, maps the receive write request signal and the receive write signal to the memory bus request signal and the memory bus busy signal, respectively. After that (120), the use of the memory is required to write the received data to the packet memory (1) (130). When the memory bus grant signal indicating permission of the memory usage is received from the CPU 2 (140), the memory busy signal is asserted to inform the reception packet recombination unit 30 that the memory is being used (150). Then, 47 bytes of received data are written to the packet memory 1 (160). At this time, the current address for the corresponding connection is read from the transmit / receive control table 12, and 47 bytes of data are read into the packet memory (1). ) And update the 47 increased address to the current address of the table. The memory busy and memory request signals are notified that one cycle of the reception procedure (defined here as writing data into the memory in units of 47 bytes) is completed (170). If the received data is the last data of the packet data, that is, whether the packet data has been recombined, it is checked (180). If the received data is finished, the received data is checked for errors (190). Check if data is present (110).
수신 패킷 데이타에 오류가 없는 경우는 수신 데이타가 유효함을 송/수신 제어 테이블(12)에 써서 알려준다(200). 오류가 발생한 경우는 수신 데이타의 오류 발생을 알리고, 수신 패킷 데이타를 폐기하거나 오류가 있는 패킷으로 꼬리표를 달아 전송한다(210).If there is no error in the received packet data, the transmission / reception control table 12 notifies that the received data is valid (200). If an error occurs, an error occurs in the received data, and the received packet data is discarded or a packet is sent with a tag (210).
재결합시킬 수신 데이타가 없으면, 패킷 메모리(1)로부터 송신 패킷 분리부(20)에 전달할 데이타가 있는가를 확인한다(220). 송신할 데이타가 있으면, 송신 읽기 요구 신호와 송신 읽기 중 신호를 각각 메모리 버스 요구 신호와 메모리 버스 사용중 신호를 매핑한다(230). 송신 데이타를 패킷 메모리(1)로 부터 읽을 수 있도록 메모리 사용을 요구한 후(240), CPU(2)로 부터 메모리 사용의 허가를 나타내는 메모리 버스 인가 신호를 수신하면(250), 메모리 사용 중 신호를 어서트하여 송신 패킷 분리부(20)에서 메모리 사용 중임을 알린다(260). 그리고 송/수신 제어 테이블(12)에서 해당되는 커넥션에 대한 시작 어드레스와 패킷의 길이를 읽어온 후, 이를 바탕으로 송신 패킷 분리부(20)에서는 패킷 메모리(1)로부터 데이타를 읽어 48바이트의 셀 페이로드 형태로 분리한다. 또한 이 때 송/수신 제어 테이블(12)로부터 패킷에 대한 커넥션 정보도 함께 읽어와 5바이트의 셀 헤더를 만든 후, 분리된 셀 페이로드에 셀 헤더를 덧붙여 53 바이트의 ATM셀 헤더를 생성한다(270). 읽기 수행이 완료되면 송신 정차가 완료 되었음을 메모리 사용 중 및 메모리 요구신호를 니게이트하여 알린다(280).If there is no received data to be recombined, it is checked whether there is data to be transmitted from the packet memory 1 to the transmission packet separation section 20 (220). If there is data to be transmitted, the transmit read request signal and the transmit read signal are mapped to the memory bus request signal and the memory bus busy signal, respectively (230). After requesting memory use so that transmission data can be read from the packet memory 1 (240), and receiving a memory bus authorization signal indicating permission of memory use from the CPU 2 (250), the memory busy signal Asserts that the transmission packet separation unit 20 is using the memory (260). After reading the start address and the packet length of the corresponding connection from the transmission / reception control table 12, the transmission packet separation unit 20 reads data from the packet memory 1 based on the 48-byte cell. Separate in payload form. At this time, the connection information about the packet is also read from the transmission / reception control table 12 to form a 5-byte cell header, and the 53-byte ATM cell header is generated by adding the cell header to the separated cell payload ( 270). When the read operation is completed, a notification indicating that the transmission stop is completed is performed by neglecting the memory in use and the memory request signal (280).
상기와 같이 구성되어 동작하는 본 발명은 동시에 가능한 커넥션 수가 고정되어 있을 경우 외부의 제어 메모리 없이 간단하게 구현될 수 있으며, 패킷 메모리의 크기를 원하는 대로 최대 65536바이트(ITU-T I.363에서 정의한 Maximum Packet Size)까지 사용자가 정의하여 사용함으로써 데이타의 길이에 제한이 없고, 구현방법이 간단하여 AAL Type 5를 가용하는 가변 비트의 다양한 서비스 수용 시 데이타 처리 능력을 향상시킴과 동시에 칩의 게이트수를 줄이고 구현 시간 단축할 수 있는 효과가 있다.The present invention configured and operated as described above can be simply implemented without an external control memory when the number of possible connections is fixed at the same time. The maximum size of the packet memory is 65536 bytes (Maximum defined in ITU-T I.363). By defining and using Packet Size), there is no limitation on the length of data, and the implementation method is simple, which improves the data processing capacity when accommodating various services of variable bits using AAL Type 5 and reduces the number of gates of the chip. This can reduce the implementation time.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950053203A KR0153924B1 (en) | 1995-12-21 | 1995-12-21 | Packet data dividing/reassembling apparatus and method for aal-5 service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950053203A KR0153924B1 (en) | 1995-12-21 | 1995-12-21 | Packet data dividing/reassembling apparatus and method for aal-5 service |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970056385A KR970056385A (en) | 1997-07-31 |
KR0153924B1 true KR0153924B1 (en) | 1998-11-16 |
Family
ID=19442216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950053203A KR0153924B1 (en) | 1995-12-21 | 1995-12-21 | Packet data dividing/reassembling apparatus and method for aal-5 service |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0153924B1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000034483A (en) * | 1998-11-30 | 2000-06-26 | 전주범 | Method for transmitting data packet of built-in type cable modem |
KR100340039B1 (en) * | 1999-12-23 | 2002-06-12 | 오길록 | A device of sar packet memory controller in mpls label edge router |
KR100800958B1 (en) * | 2001-10-04 | 2008-02-04 | 주식회사 케이티 | Method for controlling traffic flow using token bucket |
CN114465966B (en) * | 2022-01-23 | 2024-05-28 | 山东云海国创云计算装备产业创新中心有限公司 | Data packet reorganization control system and data packet reorganization method |
-
1995
- 1995-12-21 KR KR1019950053203A patent/KR0153924B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR970056385A (en) | 1997-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6262995B1 (en) | Asynchronous transfer mode adaptation layer (AAL) processing method | |
US5751951A (en) | Network interface | |
CA2160820C (en) | Method and apparatus for storing and retrieving routing information in a network node | |
US7570646B2 (en) | Apparatus and method for an interface unit for data transfer between a host processing unit and a multi-target digital signal processing unit in an asynchronous transfer mode | |
US6711167B1 (en) | ATM communication apparatus controlling method, ATM communication apparatus and recording medium therefor | |
US6804243B1 (en) | Hardware acceleration for segmentation of message packets in a universal serial bus peripheral device | |
US7215670B1 (en) | Hardware acceleration for reassembly of message packets in a universal serial bus peripheral device | |
KR0153924B1 (en) | Packet data dividing/reassembling apparatus and method for aal-5 service | |
US6788700B1 (en) | Interfacing between a network interface and a bus | |
KR100236035B1 (en) | Method of scheduling virtual channels by using subtables in an atm nic | |
JP3176837B2 (en) | ATM controller and ATM communication control device | |
US7352754B2 (en) | ATM-based data transmitting and receiving device and method | |
EP0674825B1 (en) | Device for the conversion of data blocks, frame structured, into atm cells and vice versa | |
US6603768B1 (en) | Multi-protocol conversion assistance method and system for a network accelerator | |
KR0164117B1 (en) | Hardware operating and data transferring method in atm host connection apparatus | |
KR100261440B1 (en) | Atm | |
KR100261887B1 (en) | Data interface method using pci bus | |
KR100497866B1 (en) | Method for Routing ATM Cell | |
KR100381377B1 (en) | ATM Interfacing Apparatus Having Received Cell Header Conversion Apparatus | |
US6870853B1 (en) | Device and method for converting data sequences between FR format and ATM format | |
KR970002720B1 (en) | Aal arbitraitor unit of atm | |
KR100415511B1 (en) | Apparatus for transmitting and receiving asynchronous transfer mode cell and method thereof | |
KR100470331B1 (en) | S cheduling apparatus and method for cell transmission in AAL0 and AAL1 SAR layer | |
KR100333672B1 (en) | Hierarchical cell header processing apparatus in atm lan system | |
KR100204050B1 (en) | Data transmission method by allocating the channel number allocating in atm host connection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20040630 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |