KR970078212A - Asynchronous Transfer Mode (ATM) In a virtual channel (VC) exchange system, hash function. - Google Patents

Asynchronous Transfer Mode (ATM) In a virtual channel (VC) exchange system, hash function. Download PDF

Info

Publication number
KR970078212A
KR970078212A KR1019960016300A KR19960016300A KR970078212A KR 970078212 A KR970078212 A KR 970078212A KR 1019960016300 A KR1019960016300 A KR 1019960016300A KR 19960016300 A KR19960016300 A KR 19960016300A KR 970078212 A KR970078212 A KR 970078212A
Authority
KR
South Korea
Prior art keywords
value
size
key
key value
search
Prior art date
Application number
KR1019960016300A
Other languages
Korean (ko)
Other versions
KR0173377B1 (en
Inventor
유동희
송호영
Original Assignee
양승택
한국전자통신연구원
이준
한국전기통신공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 양승택, 한국전자통신연구원, 이준, 한국전기통신공사 filed Critical 양승택
Priority to KR1019960016300A priority Critical patent/KR0173377B1/en
Publication of KR970078212A publication Critical patent/KR970078212A/en
Application granted granted Critical
Publication of KR0173377B1 publication Critical patent/KR0173377B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 비동기 전달 모드(ATM) 가상채널(VC) 교환 시스템에서 해쉬 증가 함수와 테이블의 참조 변수를 이용한 테이블 검색방법에 관한 것으로서, 키를 입력받아 해쉬 함수를 이용하여 검색할 테이블의 인덱스 값을 계산하고, 증가 함수를 이용하여 검색 위치의 증가 값을 계산한 후, 검색 횟수를 초기화하고, 검색 횟수가 테이블의 사이즈를 넘지 않으면 인덱스 값에 해당하는 테이블의 레코드를 찾아 테이블의 상태를 파악하는 제1단계; 상기 제1단계에서 테이블 상태가 오프이거나 또는 온이지만 테이블의 키 값과 입력된 키 값이 일치하지 않으면 검색 실패를 알리고 종료하며, 테이블의 상태가 온이고 테이블의 키 값과 입력된 키 값이 일치하면 검색된 데이타를 출력하는 제2단계; 및 상기 제1단계에서 테이블 상태가 대기(wait) 이고 테이블의 키 값과 입력된 키 값이 일치하면 검색된 데이타를 출력하고, 테이블 상태가 대기이고 테이블의 키 값과 입력된 키 값이 일치하지 않으면 검색 횟수를 '1'증가시키고, 현재 인덱스 값에 증가 값을 더하여 다음 인덱스 값을 설정한 후, 테이블을 검색하는 과정 이하를 반복하는 제3단계(109 내지 111)를 포함하여 실제 필요한 테이블의 크기와 광범위한 영역의 데이타를 특성을 모두 만족하면서 신속하고 효율적으로 데이타를 검색할 수 있는 효과가 있다The present invention relates to a table search method using a hash increasing function and a reference variable of a table in an asynchronous transfer mode (ATM) virtual channel (VC) exchange system. The index of the table corresponding to the index value if the number of retrieval times does not exceed the size of the table, Stage 1; If the table status is off or on in the first step but the key value of the table does not match with the inputted key value, the search result is notified of failure and the process ends. If the state of the table is on and the key value of the table matches the input key value A second step of outputting the retrieved data; And if the table state is a wait in the first step and the key value of the table matches the input key value, the retrieved data is output. If the table state is standby and the key value of the table does not match the input key value A third step (109 to 111) of repeating a process of increasing the number of searches by '1', setting a next index value by adding an increment value to the current index value, and then searching for a table, And a wide range of data can be retrieved quickly and efficiently while satisfying all the characteristics of the data

Description

비동기 전달 모드(ATM) 가상채널(VC) 교환 시스템에서 해쉬 증가 함수와 테이블의 참조 변수를 이용한 테이블 검색방법Asynchronous Transfer Mode (ATM) Virtual channel (VC) exchange system, table lookup method using hash increasing function and table reference variable

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is a trivial issue, I did not include the contents of the text.

제1도는 본 발명이 적용되는 ATM 가상채널(VC) 교환 시스템의 구조도, 제2도는 본 발명이 적용되는 ATM 가상채널(VC) 교환 시스템의 소프트웨어 블럭 구성도, 제3도는 본 발명의 일실시예에 따른 테이블 검색 흐름도.FIG. 1 is a structural diagram of an ATM virtual channel (VC) switching system to which the present invention is applied, FIG. 2 is a software block diagram of an ATM virtual channel (VC) switching system to which the present invention is applied, FIG. A table retrieval flow chart according to an example.

Claims (4)

비동기 전달 모드(ATM) 가상채널(VC) 교환 시스템에 적용되는 해쉬 증가 함수와 테이블의 참조 변수를 이용한 테이블 검색방법에 있어서, 키를 입력받아 해쉬 함수를 이용하여 검색할 테이블의 인덱스 값을 계산하고, 증가 함수를 이용하여 검색 위치의 증가 값을 계산한 후, 검색 횟수를 초기화하고, 검색 횟수가 테이블의 사이즈를 넘지 않으면 인덱스 값에 해당하는 테이블의 레코드를 찾아 테이블의 상태를 파악하는 제1단계(100 내지 106); 상기 제1단계(100 내지 106)에서 테이블 상태가 오프이거나 또는 온이지만 테이블의 키 값과 입력된 키 값이 일치하지 않으면 검색 실패를 알리고 종료하며, 테이블의 상태가 온이고 테이블의 키 값과 입력된 키 값이 일치하면 검색된 데이타를 출력하는 제2단계(107,108); 및 상기 제1단계(100 내지 106)에서 테이블 상태가 대기(wait)이고 테이블의 키 값과 입력된 키 값이 일치하면 검색된 데이타를 출력하고, 테이블 상태가 대기이고 테이블의 키 값과 입력된 키 값이 일치하지 않으면 검색 횟수를 '1'증가시키고, 현재 인덱스 값에 증가 값을 더하여 다음 인덱스 값을 설정한 후, 검색 횟수가 테이블의 사이즈를 넘지 않는 범위 내에서 테이블을 검색하는 과정을 반복하는 제3단계(109 내지 111)를 포함하는 것을 특징으로 하는 테이블 검색 방법.In a table search method using a hash increasing function and a table reference variable applied to an asynchronous transfer mode (ATM) virtual channel (VC) exchange system, an index value of a table to be searched is calculated using a key input and a hash function A first step of calculating an increase value of a search position by using an increasing function, initializing a search number, and if the search number does not exceed the size of the table, searching the record of the table corresponding to the index value to grasp the state of the table (100 to 106); If the table status is off or on in the first step (100 to 106) but the key value of the table does not match the inputted key value, the search is notified of failure and the process ends. If the status of the table is on, A second step (107,108) of outputting the retrieved data if the key values match; And if the table state is a wait in the first step (100 to 106) and the key value of the table matches the input key value, the retrieved data is output. If the table state is standby and the key value of the table and the input key If the values do not match, the process repeats the process of increasing the number of searches by '1', adding the increment value to the current index value to set the next index value, and then searching the table within a range where the number of searches does not exceed the table size And a third step (109 to 111). 제1항에 있어서, 상기 제1단계(100 내지 106)는, 키를 입력받아 해쉬 함수를 이용하여 검색할 테이블의 인덱스 값을 계산하고, 증가 함수를 이용하여 검색 위치의 증가 값을 계산한 후, 검색 횟수를 '1'로 초기화하고, 검색 횟수가 테이블의 사이즈를 넘는 최소 소수보다 작거나 같은지를 판단하는 제4단계(100 내지 103); 및 상기 제4단계(100 내지 103)에서 검색 횟수가 테이블의 사이즈를 넘는 최소 소수보다 작거나 같지 않으면 검색 실패를 알리고 종료하며, 검색 횟수가 테이블의 사이즈를 넘는 최소 소수보다 작거나 같으면 인덱스 값에 해당하는 테이블의 레코드를 찾아 테이블의 상태를 파악하는 제5단계(104 내지 106)를 포함하는 것을 특징으로 하는 테이블 검색방법.2. The method as claimed in claim 1, wherein the first step (100 to 106) receives a key, calculates an index value of a table to be searched using a hash function, calculates an increase value of a search position using an increasing function A fourth step (100 to 103) of initializing the number of retrieval to '1', and determining whether the number of retrieval is smaller than or equal to a minimum prime number exceeding the size of the table; And if the number of retrievals is less than or equal to the minimum prime number exceeding the size of the table in the fourth step 100 to 103, And a fifth step (104-106) of finding a record of the corresponding table and grasping the state of the table. 제1항 또는 제2항에 있어서, 상기 해쉬 함수를 이용하여 검색할 테이블의 인덱스 값을 계산하는 과정은, 테이블의 사이즈를 넘는 최소의 소수를 설정한 후, 입력된 키 값을 테이블의 사이즈를 넘는 최소의 소수 값으로 나누어 그 값을 인덱스 값으로 취하여 이루어지는 것을 특징으로 하는 테이블 검색방법.3. The method of claim 1 or claim 2, wherein the step of calculating an index value of a table to be searched using the hash function comprises: setting a minimum prime number exceeding a size of a table; Dividing the result by the minimum prime number over the minimum value and taking the value as an index value. 제1항 또는 제2항에 있어서, 상기 증가함수를 이용하여 검색 위치 증가값을 계산하는 과정은, 테이블의 사이즈를 넘는 최소의 소수를 설정한 후, 테이블의 사이즈를 넘는 최소의 소수 값으로 입력된 키 값을 나누어 몫을 계산하고, 상기 계산된 몫을 다시 테이블의 사이즈를 넘는 최소 소수 값으로 나누어 증가 값을 계산한 후, 계산한 증가값이 '0'이면 증가값을 '1'증가하여 출력하고, 증가값이 '0'이 아니면 계산된 증가값을 출력하여 이루어지는 것을 특징으로 하는 테이블 검색방법.3. The method of claim 1 or claim 2, wherein the step of calculating a search position increase value using the increase function comprises: setting a minimum prime number exceeding the size of the table, and then inputting the minimum prime number exceeding the size of the table And then the calculated quotient is divided by the minimum decimal value exceeding the size of the table to calculate an increment value. If the increment value is '0', the increment value is incremented by '1' And outputs the calculated increment value if the increment value is not '0'. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.
KR1019960016300A 1996-05-15 1996-05-15 Hash in asynchronous delivery mode virtual channel exchange system. Table search method using increment function and table reference variable KR0173377B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960016300A KR0173377B1 (en) 1996-05-15 1996-05-15 Hash in asynchronous delivery mode virtual channel exchange system. Table search method using increment function and table reference variable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960016300A KR0173377B1 (en) 1996-05-15 1996-05-15 Hash in asynchronous delivery mode virtual channel exchange system. Table search method using increment function and table reference variable

Publications (2)

Publication Number Publication Date
KR970078212A true KR970078212A (en) 1997-12-12
KR0173377B1 KR0173377B1 (en) 1999-04-01

Family

ID=19458833

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960016300A KR0173377B1 (en) 1996-05-15 1996-05-15 Hash in asynchronous delivery mode virtual channel exchange system. Table search method using increment function and table reference variable

Country Status (1)

Country Link
KR (1) KR0173377B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990075509A (en) * 1998-03-20 1999-10-15 김영환 Local Reference Number Allocation Method in Connected Service of Signaling Controller in Mobile Communication System

Also Published As

Publication number Publication date
KR0173377B1 (en) 1999-04-01

Similar Documents

Publication Publication Date Title
US5051745A (en) String searcher, and compressor using same
Yao On random 2–3 trees
US5897637A (en) System and method for rapidly identifying the existence and location of an item in a file
KR100414236B1 (en) A search system and method for retrieval of data
Pugh A skip list cookbook
Albers et al. Self-organizing data structures
EP0806732B1 (en) Data searching apparatus
Okanohara et al. An online algorithm for finding the longest previous factors
KR970078212A (en) Asynchronous Transfer Mode (ATM) In a virtual channel (VC) exchange system, hash function.
Strain A fast Laplace transform based on Laguerre functions
JP3470782B2 (en) Information retrieval device
JP3418876B2 (en) Data base search apparatus and method
JP3394781B2 (en) Method and apparatus for generating a transform
KR970078211A (en) Table data allocation method using hash function and increment function
KR970078214A (en) A method for retrieving physical location information of a system subroutine using the source information in an asynchronous transfer mode (ATM) virtual channel (VC) exchange system
JPH08320879A (en) Adaptive feedback device
KR970078213A (en) How to delete table data using hash function and increment function
Ramirez et al. Case-based reasoning model applied to information retrieval
Bahrambeigy et al. Towards Accelerating IP Lookups on Commodity PC Routers using Bloom Filter: Proposal of Bloom-Bird
Koubarakis et al. Efficient Agent-Based Dissemination of Textual Information
Mehlhorn et al. Area-time optimal division for T= Ω ((logn) 1+ ε)
Hartung et al. Identification of Parameters in Hereditary Systems
JPH08153108A (en) Method and device for retrieving information
JP2715981B2 (en) Search result evaluation device
Boyd Large factors of small polynomials

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: 20041001

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee