KR19980055986A - Asynchronous transfer mode cell connection mapping device - Google Patents
Asynchronous transfer mode cell connection mapping device Download PDFInfo
- Publication number
- KR19980055986A KR19980055986A KR1019960075237A KR19960075237A KR19980055986A KR 19980055986 A KR19980055986 A KR 19980055986A KR 1019960075237 A KR1019960075237 A KR 1019960075237A KR 19960075237 A KR19960075237 A KR 19960075237A KR 19980055986 A KR19980055986 A KR 19980055986A
- Authority
- KR
- South Korea
- Prior art keywords
- cell
- hash
- vpi
- vci
- bucket
- 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.)
- Ceased
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 41
- 230000006870 function Effects 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 ATM 계층 처리 시스템의 리어셈블리, 디멀티플렉싱 또는 스위칭 회로에서 입력 ATM 셀의 연결 처리를 수행하는 ATM 셀 연결 맵핑 장치에 관한 것으로, ATM 셀 연결 맵핑 장치는 해시 테이블을 구비하는 셀 연결 메모리와, ATM 셀의 VPI/VCI에 대하여 해시 함수를 수행하여 생성된 상기 셀 연결 메모리의 베이스 어드레스를 출력하는 셀 연결 맵핑 제어 블록과, 상기 ATM 셀의 VPI/VCI를 내부 캐시내의 데이터와 비교하여 히트시 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 직접 지정하는 타켓 어드레스를 생성하여 상기 셀 연결 메로리부로 직접 출력하는 캐시 블록과, 상기 셀 연결 맵핑 제어 블록으로부터의 베이스 어드레스를 이용하여 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 액서스하거나, 또는 상기 캐시 블록으로부터의 타겟 어드레스를 이용하여 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 액서스하여, 액서스된 해시 버킷 체인의 엔트리를 상시 ATM 셀의 VPI/VCI와 순차적으로 비교하여 상기 VPI/VCI에 대응하는 VC 테이블을 찾는 수단을 포함한다.The present invention relates to an ATM cell connection mapping apparatus for performing connection processing of an input ATM cell in a reassembly, demultiplexing, or switching circuit of an ATM layer processing system. The ATM cell connection mapping apparatus includes: a cell connection memory having a hash table; A cell link mapping control block for outputting the base address of the cell-connected memory generated by performing a hash function on the VPI / VCI of the ATM cell, and when the VPI / VCI of the ATM cell is compared with the data in the internal cache. A cache block for generating a target address for directly designating a location where the hash bucket chain of the cell-connected memory is stored and directly outputting the cell-connected memory to the cell-connected memory unit, and using a base address from the cell-linked mapping control block, Accesses the location where the hash bucket chain is stored, or from the cache block Access the location where the hash bucket chain of the cell-connected memory is stored by using a target address, and sequentially compare the entry of the accessed hash bucket chain with the VPI / VCI of the ATM cell and compare the VC table corresponding to the VPI / VCI. Means for finding.
Description
본 발명은 비동기 전송 모드(ATM : asynchronous transfer mode) 셀의 계층 처리 시스템에 관한 것으로, 특히, ATM 셀 계층 처리 시스템의 리어셀블리(reassembly), 디멀티플렉싱 또는 스위칭 회로에서 입력 ATM 셀의 연결(connection) 처리를 수행하는 ATM 셀 연결 맵핑(mapping) 장치에 관한 것이다.The present invention relates to a hierarchical processing system of an asynchronous transfer mode (ATM) cell, and more particularly, to the connection of input ATM cells in a reassembly, demultiplexing or switching circuit of an ATM cell hierarchical processing system. The present invention relates to an ATM cell connection mapping apparatus that performs) processing.
일반적으로 ATM 방식은 정보를 분할하여 헤더를 붙인 고정 길이의 짧은 셀(cell)을 단위로 고속 다중 교환하는 기술이다. 이러한 ATM 방식은 정보를 분할하여 헤더(header)를 붙인 고정 길이의 짧은 셀(cell)을 단위로 하여 데이타를 고속으로 다중 교환하는 기술을 말하는데, 헤더에는 전송하는 데이타의 수신처가 담겨 있어 이를 통해 각각의 셀을 다중 교환하게 된다.In general, the ATM method is a technique for fast multi-switching by splitting information into short cells of fixed length attached with headers. The ATM method is a technique for multi-switching data at high speed by dividing information into units of fixed-length short cells attached to a header. The header includes a destination of data to be transmitted. Multiple exchanges of cells
도 1은 일반적인 비동기 전송 모드용 셀의 구조를 도시한 도면으로서 GFC(10), VPI(20), VCI(30), PTI(40), RES(50), CLP(60), HEC(70)를 포함한다.1 is a diagram illustrating a structure of a cell for a general asynchronous transmission mode, GFC (10), VPI (20), VCI (30), PTI (40), RES (50), CLP (60), HEC (70) It includes.
GFC(10)은 각 단말에 발생하는 통화 흐름을 제어하는 부분으로 4비트(bit)의 크기를 가지며, VPI(20)는 셀의 경로를 나타내는 부분으로서 8비트로 구성되고, VIC(30)는 셀의 목적지를 나타내는 부분으로서 16비트의 크기를 가진다.The GFC 10 is a part for controlling a call flow occurring in each terminal, and has a size of 4 bits. The VPI 20 is configured as 8 bits as a part indicating a path of a cell, and the VIC 30 is a cell. It is a 16-bit size that indicates the destination of.
그리고, PTI(40)는 이용자 정보인지, 네트워크 관련 정보인지를 구분하는 부분으로서 2비트의 크기를 갖고, RES(50)는 예약 필드로서 1비트의 크기로 구성되며, CLP(60)는 셀 제거시 우선 순위를 나타내는 부분으로 1비트의 크기를 갖는다.The PTI 40 has a size of 2 bits as a part for discriminating whether it is user information or network related information, the RES 50 has a size of 1 bit as a reserved field, and the CLP 60 removes a cell. It indicates the priority of the city and has a size of 1 bit.
또한, HEC(70)는 헤더의 에러 체크와 셀 동기에 사용되는 부분으로서 8비트의 크기로 구성된다.In addition, the HEC 70 is configured to have an 8-bit size as a part used for error checking of the header and cell synchronization.
따라서, 비동기 전송 모드에서는 상술한 40비트, 즉 5바이트의 크기로 구성된 셀 헤더에 의해 전송하는 데이타의 수신처를 구별하게 된다.Therefore, in the asynchronous transmission mode, the destination of the data to be transmitted is distinguished by the above-described cell header composed of 40 bits, i.e., 5 bytes.
상술한 바와 같이 구성된 비동기 전송 모드 셀에 있어서, VPI(20)와 VCI(30)가 가질 수 있는 모든 값을 고려해 보면, UNI(user network interface)인 경우 각각 8비트와 16비트를 가지므로 VPI 및 VCI를 이용하여 구성할 수 있는 채널의 수는 224=16 메가(mega) 가 된다. 따라서, 할당되는 VPI, VCI를 예측하기가 불가능하므로 수신측에서는 입력가능한 모든 채널에 대한 제어 및 처리 정보를 가지고 있어야 하고, 셀 입력때마다 해당 채널의 정보 위치를 빠르게 찾아야 한다.In the asynchronous transmission mode cell configured as described above, in consideration of all the values that the VPI 20 and the VCI 30 can have, since the user network interface (UN) has 8 bits and 16 bits, respectively, VPI and The number of channels that can be configured using VCI is 2 24 = 16 mega. Therefore, since it is impossible to predict the assigned VPI and VCI, the receiving side should have control and processing information for all inputtable channels, and must quickly find the information position of the corresponding channel every cell input.
ATM 셀 계층 처리 시스템에서는 이러한 해당 채널의 정보 위치를 찾기 위하여 셀을 식별하는 셀 맵핑 방식을 이용하고 있다. 이러한 셀 맵핑 장치는 UNI가 할당할 수 있는 총 채널에 대응하는 어드레스를 설정하는 메모리 어드레스 방식, 현재 사용중인 채널에 대하여만 어드레스를 할당하는 순차적 억세스 방식 및 메모리의 어드레스에 의해서가 아니고 기억된 내용 또는 데이터에 의해 어드레스가 지정되는 CAM(content addressable memory)을 이용한 방식 등의 여러 가지 방법이 제안되어 있다.The ATM cell layer processing system utilizes a cell mapping scheme for identifying cells in order to locate the information of the corresponding channel. Such a cell mapping apparatus includes a memory address method for setting an address corresponding to a total channel allocated by UNI, a sequential access method for assigning an address only to a channel currently being used, and contents stored instead of an address of a memory or Various methods have been proposed, such as a method using a content addressable memory (CAM) addressed by data.
그러나, 일반 메모리 방식은 처리속도가 빠르지만 UNI에서 사용되지 않은 채널에 대하여도 어드레스를 할당해야 하기 때문에 큰 용량의 메모리를 사용하여야 한다는 단점이 있다.However, the general memory system has a disadvantage in that a large capacity memory is used because the processing speed is high but an address must be allocated to a channel not used in the UNI.
두 번째로, 순차적 억세스 방식은 적절한 크기의 메모리로 구현가능하지만, 입력되는 셀내 VPI/VCI 정보와 동일한 어드레스를 찾기 위하여 할당되어 있는 모든 어드레스를 순차적으로 비교해야 하므로 처리 속도가 느리다는 단점을 가지고 있다.Secondly, the sequential access method can be implemented with an appropriate size of memory, but it has a disadvantage in that the processing speed is slow because all the allocated addresses must be compared sequentially to find the same address with the input VPI / VCI information. .
세 번째로, 상술한 일반 메모리 방식과 순차 억세스 방식의 단점이 보완되어 빠른 처리 속도와 적은 메모리 용량을 갖게 되지만 CAM이 고가의 부품이기 때문에 비용 효과적이지 못하다는 단점이 있었다.Third, the shortcomings of the general memory method and the sequential access method described above are compensated for, resulting in a fast processing speed and a small memory capacity. However, there is a disadvantage in that the CAM is not cost effective because it is an expensive component.
그러므로, 본 발명은 상술한 문제를 해결하기 위하여 안출된 것으로, 일반 메모리를 이용하여 셀 식별이 가능하도록 한 셀 연결 맵핑 장치를 제공하는 것을 그 목적으로 한다.Therefore, an object of the present invention is to provide a cell connection mapping apparatus capable of cell identification using a general memory.
도 1은 비동기 전송 모드 셀의 구성을 도시하는 도면1 is a diagram illustrating a configuration of an asynchronous transmission mode cell.
도 2는 본 발명의 바람직한 실시예에 따른 비동기 전송 모드 셀 연결 맵핑 장치의 블록 구성도2 is a block diagram of an asynchronous transmission mode cell connection mapping apparatus according to a preferred embodiment of the present invention.
* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
100 : 셀 연결 맵핑 제어 블록110 : 셀 연결 캐시 블록100: cell connection mapping control block 110: cell connection cache block
120 : 해시 함수 블록130 : 함수 선택 레지스터120: hash function block 130: function selection register
140 : 멀티플렉서200 : 셀 연결 메모리부140: multiplexer 200: cell connection memory unit
210 : 해시 테이블220 : 해시 버킷 체인210: hash table 220: hash bucket chain
230 : VC 테이블300 : 맵핑 제어기230: VC table 300: mapping controller
상술한 목적을 달성하기 위한 본 발명에 따르면, 해시 테이블을 구비하는 셀 연결 메모리와, ATM 셀의 VPI/VCI에 대하여 해시 함수를 수행하여 생성된 상기 셀 연결 메모리의 베이스 어드레스를 출력하는 셀 연결 맵핑 제어 블록과, 상기 ATM 셀의 VPI/VCI를 내부 캐시내의 데이터와 비교하여 히트시 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 직접 지정하는 타겟 어드레스를 생성하여 상기 셀 연결 메모리부로 직접 출력하는 캐시 블록과, 상기 셀 연결 맵핑 제어 블록으로부터의 베이스 어드레스를 이용하여 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 액세스하거나, 또는 상기 캐시 블록으로부터의 타겟 어드레스를 이용하여 상기 셀 연결 메모리의 해시 버킷 체인이 저장된 장소를 액서스하여, 액서스된 해시 버킷 체인의 엔트리를 상기 ATM 셀이 VPI/VCI와 순차적으로 비교하여 상기 VPI/VCI에 대응하는 VC 테이블을 찾는 수단을 포함하는 셀 연결 맵핑 장치가 제공된다.According to the present invention for achieving the above object, a cell connection memory having a hash table and a cell connection mapping for outputting the base address of the cell connection memory generated by performing a hash function on the VPI / VCI of the ATM cell A cache that generates a target address that directly designates a location where the hash bucket chain of the cell-connected memory is stored when the control block and the VPI / VCI of the ATM cell are compared with data in an internal cache, and directly outputs the target address to the cell-connected memory unit. A hash bucket chain of the cell-connected memory using a block and a base address from the cell-linked mapping control block to access a location where the hash bucket chain of the cell-connected memory is stored, or a target address from the cache block. Access this stored location to access the entry of the accessed hash bucket chain. A cell mapping unit connected to the group ATM cells includes means to find the VC table corresponding to the VPI / VCI as compared to the VPI / VCI and the sequence is provided.
본 발명의 상기 및 기타 목적과 여러가지 장점은 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2를 참조하면, 본 발명의 바람직한 실시예에 따른 ATM 셀 연결 맵핑(cell connection mapping) 장치의 블록 구성이 도시된다. 셀 연결 맵핑 장치는 크게 셀 커넥션 맵핑 제어 블록(100), 셀 커넥션 메모리부(200) 및 맵핑 제어기(300)를 포함하낟.2, a block diagram of an ATM cell connection mapping apparatus according to a preferred embodiment of the present invention is shown. The cell connection mapping apparatus includes a cell connection mapping control block 100, a cell connection memory unit 200, and a mapping controller 300.
셀 커넥션 맵핑 제어 블록(100)은 셀 연결 캐시(12)와 캐시 제어기(114)로 구성된 캐시 블록(110), 다수의 해시 함수를 갖는 해시 함수 블록(120), 해시 함수 선택 레지스터(130), 멀티플렉서(140), 해시 테이블/베이스 레지스터(150), 가산기(160) 및 타겟 어드레스 선택기(170)을 구비한다.The cell connection mapping control block 100 includes a cache block 110 composed of a cell connection cache 12 and a cache controller 114, a hash function block 120 having a plurality of hash functions, a hash function selection register 130, Multiplexer 140, hash table / base register 150, adder 160, and target address selector 170 are provided.
셀 연결 맵핑 제어 블록(100)은 입력되는 ATM 셀의 VPI/VCI에 대하여 내부 캐시를 이용하여 처리하는 동시에 선택된 해시 함수를 사용하여 그 결과를 캐시 액서스와 동시에 구하고 캐시 미스(cache miss)시 셀 커넥션 메모리(200)를 액세스 한다.The cell connection mapping control block 100 processes the VPI / VCI of the input ATM cell by using an internal cache, simultaneously using the selected hash function to obtain the result simultaneously with the cache access, and the cell connection upon a cache miss. Access the memory 200.
SRAM으로 구성되는 셀 연결 메모리부(200)는 각기 한 채널에 대한 처리 정보를 가지고 있는 VC 테이블(230)에 대한 다수의 엔트리를 갖는 해시 버킷 체인(bucket chain)(220)을 지정하는 타겟 어드레스를 저장하는 버킷 포인터 필드(214)와 버킷 포인터 필드(212)의 물리적 어드레스를 저장하는 디프(depth) 필드(212)를 구비하는 해시 테이블(210)로 구성된다.The cell-connected memory unit 200 composed of SRAMs specifies a target address that designates a hash bucket chain 220 having a plurality of entries for the VC table 230 each having processing information for one channel. It consists of a hash table 210 having a bucket pointer field 214 for storing and a depth field 212 for storing the physical address of the bucket pointer field 212.
맵핑 제어기(300)는 셀 연결 맵핑 제어 블록(100)의 내부 레지스터에 선택된 정보를 기록하고 셀 연결 메모리부(200)에서 정보를 판독하고, 해시 함수 선택 정보, linear-array-length를 결정하여 셀 커넥션 맵핑 제어 블록(100)의 해시 테이블/베이스 레지스터(150) 영역에 기록하고, 내부 캐시 제어 정보를 캐시 제어부(110)에 기록한다.The mapping controller 300 records the selected information in an internal register of the cell-linked mapping control block 100, reads the information from the cell-connected memory unit 200, determines the hash function selection information, linear-array-length, and the cell. In the hash table / base register 150 area of the connection mapping control block 100, internal cache control information is recorded in the cache control unit 110.
상술한 구성의 셀 맵핑 장치의 작동이 하기에 설명된다.The operation of the cell mapping apparatus of the above-described configuration is described below.
셀 연결 맵핑 제어 블록(100)에 입력된 VPI/VCI 값은 내부 연결 캐시/제어기 블록(110)와 해시 함부 블록(120)으로 제공되어 다음의 두가지 방법으로 동시에 처리한다.The VPI / VCI value input to the cell connection mapping control block 100 is provided to the internal connection cache / controller block 110 and the hash messenger block 120 and processed simultaneously in the following two ways.
셀 연결 캐시/제어기 블록(110)에서 캐시 제어기(114)는 캐시(112)의 각 라인과 VPI/VCI를 비교하여 히트 도는 미스를 결정하며 캐시 히트 또는 미스 신호를 타겟 어드레스 선택기(170)으로 출력한다. 또한, 캐시 제어기(114)는 캐시 히트시 타겟 어드레스를 셀 연결 메모리부(200)의 해시 테이블(210)로 출력하여 해시 버킷 체인을 액서스한다. 이러한 타겟 어드레스는 입력된 ATM 셀의 해당 채널에 대한 VC 테이블을 지정하는 어드레스 신호로서, 셀 연결 메모리부(200)의 해시 테이블(210)의 버킷 포인터 필드(214)내 하나의 버킷 포인터를 직접 액서스한다.In cell-attached cache / controller block 110, cache controller 114 compares each line of cache 112 with VPI / VCI to determine a hit or miss and outputs a cache hit or miss signal to target address selector 170. do. In addition, the cache controller 114 outputs the target address to the hash table 210 of the cell-connected memory unit 200 to access the hash bucket chain during the cache hit. The target address is an address signal that designates a VC table for the corresponding channel of the input ATM cell, and directly accesses one bucket pointer in the bucket pointer field 214 of the hash table 210 of the cell-connected memory unit 200. do.
함수 선택 레지스터(130)는 멀티플렉서(140)로 함수 선택 신호를 제공하며, 멀티플렉서(140)는 함수 선택 신호에 응답하여 해시 함수 블록(120)의 해시 함수를 선택적으로 가산기(160)로 출력한다. 멀티플렉서(140)에 의해 선택된 해시 함수는 가산기(160)에서 키 값을 제공하는 해시 테이블/베이스 메모리(150)로부터의 해시 함수의 결과, 즉 베이스 어드레스와 가산되어 타겟 어드레스 선택기(170)로 출력된다.The function selection register 130 provides a function selection signal to the multiplexer 140, and the multiplexer 140 selectively outputs a hash function of the hash function block 120 to the adder 160 in response to the function selection signal. The hash function selected by the multiplexer 140 is added to the result of the hash function from the hash table / base memory 150 providing the key value in the adder 160, i.e., the base address, and output to the target address selector 170. .
타겟 어드레스 선택기(170)는 캐시 제어기(114)로부터의 캐시 히트/메스 제어신호에 따라 가산기(160)의 출력을 셀 연결 메모리(200)로 전달하는지를 결정한다. 즉, 캐시 히트 신호가 제공되면, 가산기(160)의 출력은 무시되며, 미스 신호가 제공되면, 가산기(160)의 출력은 셀 연결 메모리(200)로 전달되어 해시 테이블(210)의 디프 필드(212)의 한 물리적 어드레스를 지정하고, 이 물리적 어드레스에 의해 지정된 하나의 버킷 포인터가 액서스 됨으로써 입력된 ATM 셀의 해당 채널을 찾는다.The target address selector 170 determines whether to deliver the output of the adder 160 to the cell-connected memory 200 according to the cache hit / mass control signal from the cache controller 114. That is, if a cache hit signal is provided, the output of the adder 160 is ignored, and if a miss signal is provided, the output of the adder 160 is transferred to the cell-connected memory 200 to provide a deep field () of the hash table 210. A physical address of 212) is specified, and one bucket pointer designated by this physical address is accessed to find the corresponding channel of the input ATM cell.
맵핑 제어기(300)는 셀 연결 맵핑 제어 블록(100)으로부터의 출력에 따라 셀 연결 메모리부(200)내에서 최종의 VC 테이블(n)을 찾는다. 그 과정은 다음과 같이 설명된다.The mapping controller 300 finds the final VC table n in the cell connection memory unit 200 according to the output from the cell connection mapping control block 100. The process is explained as follows.
셀 연결 맵핑 제어 블록(100)의 캐시 블록(110)으로부터 타겟 어드레스가 제공되는 경우에는 셀 연결 메모리부(200)의 해시 테이블(210)의 버킷 포인터를 직접 액서스한다. 그러나, 셀 연결 맵핑 제어 블록(100)으로부터 베이스 어드레스가 제공되는 경우에는 셀 연결 메모리부(200)의 해시 테이블(210)의 디프 필드(212)를 참조한다. 디프 필드(212)의 참조에 따라서 그에 대응하는 버킷 포인터 필드(214)내의 타겟 어드레스인 버킷 포인터를 찾고 이를 이용하여 해시 버킷 체인(220)을 액서스한다. 여기서 Lin-Arr-Len(=K)내에 해당하는 엔트리는 한 번만에 액서스될 수 있다. 그 외에는 처리중인 엔트리의 다음 포인터의 필드를 읽은 후 다음 엔트리에 액서스할 수 있다.When the target address is provided from the cache block 110 of the cell connection mapping control block 100, the bucket pointer of the hash table 210 of the cell connection memory unit 200 is directly accessed. However, when the base address is provided from the cell connection mapping control block 100, the deep field 212 of the hash table 210 of the cell connection memory unit 200 is referred to. According to the reference of the deep field 212, a bucket pointer, which is a target address in the bucket pointer field 214, corresponding thereto is found and used to access the hash bucket chain 220. Here, entries corresponding to Lin-Arr-Len (= K) can be accessed only once. Otherwise, you can read the field of the next pointer of the entry being processed and access the next entry.
하나의 해시 버킷 체인(220)내에서 첫 번째 엔트리부터 마지막 엔트리까지 순차적으로 액서스되면서 각각의 엔트리에서 입력된 셀의 헤더가 테이블 엔트리내의 헤더 마스크(header mask)에 의해 저온 마스크된 셀헤더와 테이블 엔트리내의 헤더와 비교된다.Cell headers and table entries whose headers of cells entered in each entry are cold-masked by a header mask in the table entry while sequentially accessing the first entry to the last entry in one hash bucket chain 220. Is compared to a header within the.
비교 결과가 일치되는 경우, 일치된 엔트리가 지정하는 해시 버킷 체인(220)의 VC 테이블 포인터를 이용하여 VC 테이블(230)에서 하나의 VC 테이블을 찾는다. 비교 결과 일치하지 않는 경우, 다음번 엔트리를 찾아서 동일한 비교를 반복한다. 이때, 해당 해시 버킷 체인(220)에서 전체 엔트리의 비교 결과 맞는 엔트리를 찾지 못하면 입력된 ATM VPI/VCI 값은 잘못된 것으로 처리된다.When the comparison result is matched, one VC table is found in the VC table 230 using the VC table pointer of the hash bucket chain 220 designated by the matched entry. If the comparison does not match, the next entry is found and the same comparison is repeated. At this time, if a matching entry is not found in the hash bucket chain 220 as a result of the comparison of all entries, the input ATM VPI / VCI value is treated as wrong.
이와 같이, 캐시 히트시 또는 캐시 미스시 해시 함수를 이용하여 최종 VC 테이블에 도달하여 해당 ATM 셀에 대한 정보를 액서스할 때, 내부 캐시(112)를 갱신하는데 필요한 필드, 예로, 입력된 총 셀의 수 및 경과 시간은 새로이 수정된다.As such, when a cache hit or a cache miss hash function is used to reach the final VC table to access information for the corresponding ATM cell, the fields required to update the internal cache 112, e.g., of the total cells entered. The number and elapsed time are newly revised.
해시 테이블(210)에서, 셀 연결 메모리부(200)의 엔트리 수는 입력 방향의 새로운 채널이 생길 때 증가하고, 사용중인 채널이 없어질 때 감소하게 된다. 새로 생성된 채널의 VPI/VCI를 이용한 해시 함수의 결과로 발생한 어드레스가 지정하는 영역의 버킷 포인터 값이 설정되어 있지 않을 경우 버킷 포인터 0~N-1 비어있는 한 라인을 새로 갱신해야 한다. 그리고, 새로운 해시 버킷에 대한 새로운 엔트리를 생성하고 VC 테이블을 작성한 다음, 그 어드레스를 VC 테이블(230)에 기록한다. 그러나, 해시 함수의 결과로 생성된 어드레스가 지정하는 해시 테이블(210)내의 영역에 버킷 포인터가 존재한다면, 디프 필드(212)내 디프 값을 하나 증가시키고 버킷 포인터가 지정하는 버킷 체인(220)에 새로운 엔트리를 추가한다. 그리고 VC 테이블을 작성하고 그 어드레스를 새로운 버킷 엔트리내 VC 테이블 포인터에 저장한다.In the hash table 210, the number of entries of the cell-connected memory unit 200 increases when a new channel in the input direction is created and decreases when a channel in use is lost. If the bucket pointer value of the area specified by the address generated as a result of the hash function using the newly created channel's VPI / VCI is not set, the bucket pointer 0 to N-1 should be newly renewed. It then creates a new entry for the new hash bucket, creates a VC table, and writes its address to the VC table 230. However, if there is a bucket pointer in the area in the hash table 210 specified by the address generated as a result of the hash function, it increments one deep value in the deep field 212 and in the bucket chain 220 specified by the bucket pointer. Add a new entry. Create a VC table and store its address in the VC table pointer in the new bucket entry.
해시 테이블(210)의 디프 저장부(212) 영역은 ATM 셀의 VPI/VCI 할당에 따를 새로운 채널이 생성 및 소멸될 때 해당 해시 버킷의 엔트리 수가 증가되고 감소되는 것을 반영하기 때문에, 맵핑 제어기(300)는 디프 필드(212)가 갱신될 때마다 이를 판독하여 해시 함수의 성능을 평가하는 자료로 사용한다.Since the deep storage 212 area of the hash table 210 reflects that the number of entries in the hash bucket is increased and decreased when a new channel is created and destroyed according to the VPI / VCI allocation of the ATM cell, the mapping controller 300 ) Is used whenever the deep field 212 is updated to evaluate the performance of the hash function.
하나의 ATM 셀이 입력될 때, VPI/VCI 값에 의해 결정된 VC 테이블(230)의 내용중에는 전체 입력 셀의 수와 경과한 시간에 대하여 기록된 정보가 포함된다. 이 내용은 수시로 맵핑 제어기(300)에 의해 판독되어 캐시 교체(replacement)시 교체할 채널을 선택하는 기준으로 제공된다. 따라서, 맵핑 제어기(300)는 수시로 전체 입력 셀의 수 및 경과 시간에 관한 정보를 근거로 라인(180)을 통하여 교체할 채널 정보를 캐시(112)로 전달한다.When one ATM cell is input, the contents of the VC table 230 determined by the VPI / VCI value include the recorded information on the total number of input cells and the elapsed time. This content is frequently read by the mapping controller 300 and provided as a reference for selecting a channel to replace during cache replacement. Therefore, the mapping controller 300 frequently transmits channel information to be replaced through the line 180 to the cache 112 based on the information about the total number of input cells and the elapsed time.
맵핑 제어기(300)는 셀 맵핑 장치를 초기화할 때 또는 리어셈블리 할 사용자 채널이 모드 없어졌을 때 해시함수선택 레지스터(130)의 내용을 수정하여 해시 함수를 바꾸거나 해시 버킷 체인의 Linear-Array-Length을 바꿀 수 있다.The mapping controller 300 modifies the contents of the hash function selection register 130 when initializing the cell mapping device or when the user channel to be reassembled is out of mode to change the hash function or to change the linear bucket array of the hash bucket chain. Can be changed.
이상 설명한 바와 같이, 본 발명에 따라서 리어셈블리 처리를 하는데 필요한 제어/처리 데이터 메모리 영역을 공유할 수 있으므로 적은 비용으로 셀 연결 맵핑 장치의 구현이 가능하며, 빠른 셀 맵핑 처리가 가능하다는 잇점이 제공된다.As described above, according to the present invention, since the control / process data memory area required for reassembly processing can be shared, the cell connection mapping apparatus can be implemented at a low cost, and an advantage of fast cell mapping processing is provided. .
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019960075237A KR19980055986A (en) | 1996-12-28 | 1996-12-28 | Asynchronous transfer mode cell connection mapping device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1019960075237A KR19980055986A (en) | 1996-12-28 | 1996-12-28 | Asynchronous transfer mode cell connection mapping device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR19980055986A true KR19980055986A (en) | 1998-09-25 |
Family
ID=66395551
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1019960075237A Ceased KR19980055986A (en) | 1996-12-28 | 1996-12-28 | Asynchronous transfer mode cell connection mapping device |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR19980055986A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114756879A (en) * | 2022-04-13 | 2022-07-15 | 南京数睿数据科技有限公司 | Information table processing method and device, electronic equipment and computer readable medium |
-
1996
- 1996-12-28 KR KR1019960075237A patent/KR19980055986A/en not_active Ceased
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114756879A (en) * | 2022-04-13 | 2022-07-15 | 南京数睿数据科技有限公司 | Information table processing method and device, electronic equipment and computer readable medium |
| CN114756879B (en) * | 2022-04-13 | 2025-03-25 | 南京数睿数据科技有限公司 | Information table processing method, device, electronic device and computer readable medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100265151B1 (en) | Method and apparatus for atm switching | |
| US5463621A (en) | Fast connection setup interfaces using pre-assigned virtual channel identifiers | |
| US6034958A (en) | VP/VC lookup function | |
| US5920886A (en) | Accelerated hierarchical address filtering and translation using binary and ternary CAMs | |
| US6026467A (en) | Content-addressable memory implemented with a memory management unit | |
| US7990958B2 (en) | Method and apparatus for a four-way hash table | |
| KR880000861A (en) | Processing read memory device | |
| WO2000051298B1 (en) | Network router search engine using compressed tree forwarding table | |
| US6023466A (en) | Bit mapping apparatus and method | |
| EP0948849A2 (en) | High speed variable length best match look-up in a switching device | |
| US6457001B1 (en) | Method and apparatus for data retrieval | |
| US6055234A (en) | ATM switching control method and ATM switch having shared cell memory | |
| US20040210588A1 (en) | Methods and apparatus for address lookup | |
| US6556570B1 (en) | Method for translating an ATM switch cell header | |
| KR19980055986A (en) | Asynchronous transfer mode cell connection mapping device | |
| US6052374A (en) | Method and apparatus for dispatching ATM cells | |
| KR100260902B1 (en) | Atm cell connection mapping device | |
| US6370610B1 (en) | Apparatus for swapping input values into corresponding output values | |
| KR100319435B1 (en) | Address allocation method for records of values representing various parameters | |
| WO2000070422A2 (en) | Apparatus and method for restoring cell sequence in multipath atm switches | |
| JPH10341238A (en) | Reception atm cell processing controller | |
| KR100275486B1 (en) | Vitual table lookup table method for atm system | |
| KR100236605B1 (en) | Cell multiplexer for connecting atm net of atm card | |
| KR100357628B1 (en) | Cell processing apparatus having priority queue and method thereof in an asynchronous transfer mode system | |
| KR100258565B1 (en) | Channel information search device in asynchronous transmission mode |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 19961228 |
|
| A201 | Request for examination | ||
| PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 19970325 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 19961228 Comment text: Patent Application |
|
| PG1501 | Laying open of application | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 19990331 Patent event code: PE09021S01D |
|
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 19990628 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 19990331 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |